/php-src/ext/curl/tests/ |
H A D | curl_write_return.phpt | 20 $ch = curl_init(); 21 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 22 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file); 23 $result = curl_exec($ch); 24 curl_close($ch);
|
H A D | curl_write_stdout.phpt | 19 $ch = curl_init(); 20 curl_setopt($ch, CURLOPT_FILE, STDOUT); 21 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file); 22 curl_exec($ch); 23 curl_close($ch);
|
H A D | curl_write_trampoline.phpt | 23 $ch = curl_init(); 24 curl_setopt($ch, CURLOPT_WRITEFUNCTION, $callback); 25 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file); 26 curl_exec($ch); 27 curl_close($ch);
|
H A D | curl_writeheader_callback.phpt | 22 $ch = curl_init(); 23 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 24 curl_setopt($ch, CURLOPT_HEADERFUNCTION, 'curl_header_callback'); 25 curl_setopt($ch, CURLOPT_URL, $host); 26 curl_exec($ch); 27 curl_close($ch);
|
H A D | curl_writeheader_tranpoline.phpt | 20 $ch = curl_init(); 21 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 22 curl_setopt($ch, CURLOPT_HEADERFUNCTION, $callback); 23 curl_setopt($ch, CURLOPT_URL, $host); 24 curl_exec($ch);
|
H A D | curl_xferinfo_trampoline.phpt | 24 $ch = curl_init($url); 25 curl_setopt($ch, CURLOPT_NOPROGRESS, 0); 26 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 27 curl_setopt($ch, CURLOPT_XFERINFOFUNCTION, $callback); 28 echo curl_exec($ch), PHP_EOL;
|
H A D | skipif-nocaddy.inc | 3 $ch = curl_init("https://localhost"); 4 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 6 $body = curl_exec($ch); 8 curl_close($ch);
|
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/ |
H A D | document.c | 305 const lxb_char_t *ch = memchr(data, ']', sizeof(lxb_char_t) * len); in lxb_dom_document_create_cdata_section() local 307 while (ch != NULL) { in lxb_dom_document_create_cdata_section() 308 if ((end - ch) < 3) { in lxb_dom_document_create_cdata_section() 312 if(memcmp(ch, "]]>", 3) == 0) { in lxb_dom_document_create_cdata_section() 316 ch++; in lxb_dom_document_create_cdata_section() 317 ch = memchr(ch, ']', sizeof(lxb_char_t) * (end - ch)); in lxb_dom_document_create_cdata_section() 350 while (ch != NULL) { in lxb_dom_document_create_processing_instruction() 351 if ((end - ch) < 2) { in lxb_dom_document_create_processing_instruction() 355 if(memcmp(ch, "?>", 2) == 0) { in lxb_dom_document_create_processing_instruction() 359 ch++; in lxb_dom_document_create_processing_instruction() [all …]
|
/php-src/ext/dom/lexbor/lexbor/encoding/ |
H A D | decode.c | 17 if (ch < _lower || ch > _upper) { \ 1332 lxb_char_t ch; in lxb_encoding_decode_utf_8() local 1376 ch = *p++; in lxb_encoding_decode_utf_8() 1460 ch = *p++; in lxb_encoding_decode_utf_8() 1462 if (ch < 0x80 || ch > 0xBF) { in lxb_encoding_decode_utf_8() 2784 lxb_char_t ch; in lxb_encoding_decode_utf_8_single() local 2800 ch = *(*data)++; in lxb_encoding_decode_utf_8_single() 2802 if (ch < 0x80) { in lxb_encoding_decode_utf_8_single() 2803 return ch; in lxb_encoding_decode_utf_8_single() 2855 ch = *p; in lxb_encoding_decode_utf_8_single() [all …]
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | encoding.c | 427 lxb_char_t ch; in lxb_html_get_attribute() local 503 ch = *data++; in lxb_html_get_attribute() 511 if (*data == ch) { in lxb_html_get_attribute()
|
/php-src/ext/ffi/ |
H A D | ffi.c | 4528 Z_PARAM_LONG(ch) in ZEND_METHOD() 5952 value = val->ch; 6358 length = len->ch; 7171 val->ch = val->ch OP op2->ch; \ 7229 val->ch = val->ch OP op2->ch; \ 7299 val->i64 = val->ch OP op2->ch; \ 7596 val->ch = -val->ch; 7610 val->ch = ~val->ch; 7800 val->ch = '\b'; 7824 val->ch = n; [all …]
|
H A D | ffi_parser.c | 1097 if ((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f')) { in get_skip_sym() 1266 …if ((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'Z') || ch == '_' || (ch >= 'a' && ch <= 'z'))… in get_skip_sym() 1362 } else if (YYPOS < YYEND && (ch <= '!' || (ch >= '#' && ch <= '[') || ch >= ']')) { in get_skip_sym() 1386 } else if (YYPOS < YYEND && (ch <= '&' || (ch >= '(' && ch <= '[') || ch >= ']')) { in get_skip_sym() 1396 if (ch == '\t' || ch == '\v' || ch == '\f' || ch == ' ') { in get_skip_sym() 1420 } else if (YYPOS < YYEND && (ch <= '\t' || ch == '\v' || ch == '\f' || ch >= '\016')) { in get_skip_sym() 1431 } else if (ch == 'F' || ch == 'L' || ch == 'f' || ch == 'l') { in get_skip_sym() 1530 if (ch == '+' || ch == '-') { in get_skip_sym() 1618 } else if ((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f')) { in get_skip_sym() 1628 } else if (ch == 'F' || ch == 'L' || ch == 'f' || ch == 'l') { in get_skip_sym() [all …]
|
H A D | php_ffi.h | 201 signed char ch; member
|
/php-src/ext/fileinfo/tests/ |
H A D | magic | 2576 # from Alex Myczko <alex@aiei.ch> 5625 # From: Alex Myczko <alex@aiei.ch> 6002 # from Alex Myczko <alex@aiei.ch> 7215 # from Alex Myczko <alex@aiei.ch> 9521 # From: Alex Myczko <alex@aiei.ch> 15579 # From: Alex Myczko <alex@aiei.ch> 16798 # https://midas.psi.ch/elog/ 16813 # alex myczko <alex@aiei.ch> 16822 # alex myczko <alex@aiei.ch> 22553 # pointer to optional product string; like: 0 (2975BIOS.BIN) 6ch 70h 7ch d9h 160h 281h 29bh 329h [all …]
|
H A D | magic私はガラスを食べられます | 2576 # from Alex Myczko <alex@aiei.ch> 5625 # From: Alex Myczko <alex@aiei.ch> 6002 # from Alex Myczko <alex@aiei.ch> 7215 # from Alex Myczko <alex@aiei.ch> 9521 # From: Alex Myczko <alex@aiei.ch> 15579 # From: Alex Myczko <alex@aiei.ch> 16798 # https://midas.psi.ch/elog/ 16813 # alex myczko <alex@aiei.ch> 16822 # alex myczko <alex@aiei.ch> 22553 # pointer to optional product string; like: 0 (2975BIOS.BIN) 6ch 70h 7ch d9h 160h 281h 29bh 329h [all …]
|
/php-src/ext/ftp/ |
H A D | ftp.c | 2004 int ch, lastch; in ftp_genlist() local 2073 while ((ch = php_stream_getc(tmpstream)) != EOF) { in ftp_genlist() 2074 if (ch == '\n' && lastch == '\r') { in ftp_genlist() 2078 *text++ = ch; in ftp_genlist() 2080 lastch = ch; in ftp_genlist()
|
/php-src/ext/gd/ |
H A D | gd.c | 2746 int ch = 0, col, x, y, i, l = 0; in php_imagechar() local 2765 ch = (int)((unsigned char)*C); in php_imagechar() 2778 gdImageChar(im, font, x, y, ch, col); in php_imagechar() 2781 php_gdimagecharup(im, font, x, y, ch, col); in php_imagechar() 3974 unsigned char ch = (unsigned char) c; in _php_image_output_putc() local 3975 php_write(&ch, 1); in _php_image_output_putc() 3989 char ch = (char) c; in _php_image_stream_putc() local 3991 php_stream_write(stream, &ch, 1); in _php_image_stream_putc()
|
/php-src/ext/gd/libgd/ |
H A D | gd.c | 18 #define ASC(ch) ch argument 20 #define ASC(ch) gd_toascii[(unsigned char)ch] argument
|
H A D | gd_gd.c | 193 int ch; in gdImageCreateFromGdCtx() local 194 ch = gdGetC(in); in gdImageCreateFromGdCtx() 195 if (ch == EOF) { in gdImageCreateFromGdCtx() 199 im->pixels[y][x] = ch; in gdImageCreateFromGdCtx()
|
H A D | gd_gd2.c | 58 int ch; in _gd2GetHeader() local 67 ch = gdGetC(in); in _gd2GetHeader() 68 if (ch == EOF) { in _gd2GetHeader() 71 id[i] = ch; in _gd2GetHeader() 353 int ch; in gdImageCreateFromGd2Ctx() local 442 unsigned int ch; in gdImageCreateFromGd2PartCtx() local 584 ch = 0; in gdImageCreateFromGd2PartCtx() 589 ch = 0; in gdImageCreateFromGd2PartCtx() 595 ch = (ch << 8) + chunkBuf[chunkPos++]; in gdImageCreateFromGd2PartCtx() 596 ch = (ch << 8) + chunkBuf[chunkPos++]; in gdImageCreateFromGd2PartCtx() [all …]
|
H A D | gd_xbm.c | 45 int ch; in gdImageCreateFromXbm() local 107 if ((ch=getc(fd)) == EOF) { in gdImageCreateFromXbm() 111 if (ch == 'x') { in gdImageCreateFromXbm() 119 if ((ch=getc(fd)) == EOF) { in gdImageCreateFromXbm() 122 h[0] = ch; in gdImageCreateFromXbm() 123 if ((ch=getc(fd)) == EOF) { in gdImageCreateFromXbm() 126 h[1] = ch; in gdImageCreateFromXbm() 128 if ((ch=getc(fd)) == EOF) { in gdImageCreateFromXbm() 131 h[2] = ch; in gdImageCreateFromXbm() 132 if ((ch=getc(fd)) == EOF) { in gdImageCreateFromXbm() [all …]
|
H A D | gdft.c | 320 ch <<= 6; in gdTcl_UtfToUniChar() 324 *chPtr = ch; in gdTcl_UtfToUniChar() 980 ch = *next; 983 if (ch == '\r') { 993 if (ch == '\n') { 1017 ch |= 0xf000; 1043 if (ch & 1) { 1052 ch = (ch - 0x21) / 2 + 0x81; 1054 ch += 0x40; 1057 ch = (ch << 8) + jiscode; [all …]
|
/php-src/ext/hash/tests/ |
H A D | fnv132.phpt | 39 array( "ch", "6e772a5c" ), 55 array( "ch\0", "4197aed4" ), 122 array( "http://www.fourmilab.ch/gravitation/orbits/", "12e6dffe" ),
|
H A D | fnv164.phpt | 39 array( "ch", "08326507b4eb341c" ), 55 array( "ch\0", "d8d5c8186ba98b94" ), 122 array( "http://www.fourmilab.ch/gravitation/orbits/", "d47e8d8a2333c6de" ),
|
/php-src/ext/mbstring/tests/ |
H A D | mb_chr_ord.phpt | 8 for($ch = 1; $ch < 80000; $ch++) { 9 $str = mb_chr($ch); 11 echo "ERROR($ch)\n"; 14 if ($ch != mb_ord($str)) { 15 echo "REAL ERROR($ch)\n";
|