/PHP-7.4/Zend/ |
H A D | zend_smart_str.c | 67 char c = s[i]; in zend_compute_escaped_string_len() local 68 if (c == '\n' || c == '\r' || c == '\t' || in zend_compute_escaped_string_len() 69 c == '\f' || c == '\v' || c == '\\' || c == VK_ESCAPE) { in zend_compute_escaped_string_len() 71 } else if (c < 32 || c > 126) { in zend_compute_escaped_string_len() 88 if (c < 32 || c == '\\' || c > 126) { in smart_str_append_escaped() 90 switch (c) { in smart_str_append_escaped() 112 *res++ = c; in smart_str_append_escaped() 131 if (!str->c) { in _smart_string_alloc_persistent() 145 str->c = perealloc(str->c, str->a + 1, 1); in _smart_string_alloc_persistent() 151 if (!str->c) { in _smart_string_alloc() [all …]
|
/PHP-7.4/ext/fileinfo/ |
H A D | config.m4 | 10 libmagic/apprentice.c libmagic/apptype.c libmagic/ascmagic.c \ 11 libmagic/cdf.c libmagic/cdf_time.c libmagic/compress.c \ 12 libmagic/encoding.c libmagic/fsmagic.c libmagic/funcs.c \ 13 libmagic/is_json.c libmagic/is_tar.c libmagic/magic.c libmagic/print.c \ 14 libmagic/readcdf.c libmagic/softmagic.c libmagic/der.c \ 15 libmagic/buffer.c" 49 libmagic_sources="$libmagic_sources libmagic/strcasestr.c" 52 PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I@ext_srcdir@/libmagic)
|
/PHP-7.4/ext/spl/ |
H A D | config.m4 | 1 …pl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_exceptions.c spl…
|
H A D | config.w32 | 3 …pl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_exceptions.c spl…
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf16.c | 139 n = c & 0xff; in mbfl_filt_conv_utf16_wchar() 150 n = c & 0xff; in mbfl_filt_conv_utf16_wchar() 188 return c; in mbfl_filt_conv_utf16_wchar() 227 return c; in mbfl_filt_conv_utf16be_wchar() 237 if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { in mbfl_filt_conv_wchar_utf16be() 240 } else if (c >= MBFL_WCSPLANE_SUPMIN && c < MBFL_WCSPLANE_SUPMAX) { in mbfl_filt_conv_wchar_utf16be() 251 return c; in mbfl_filt_conv_wchar_utf16be() 264 n = c & 0xff; in mbfl_filt_conv_utf16le_wchar() 290 return c; in mbfl_filt_conv_utf16le_wchar() 300 if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { in mbfl_filt_conv_wchar_utf16le() [all …]
|
H A D | mbfilter_byte2.c | 101 n = (c & 0xff) << 8; in mbfl_filt_conv_byte2be_wchar() 105 n = (c & 0xff) | filter->cache; in mbfl_filt_conv_byte2be_wchar() 108 return c; in mbfl_filt_conv_byte2be_wchar() 113 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 114 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 115 return c; in mbfl_filt_conv_wchar_byte2be() 124 n = c & 0xff; in mbfl_filt_conv_byte2le_wchar() 128 n = ((c & 0xff) << 8) | filter->cache; in mbfl_filt_conv_byte2le_wchar() 131 return c; in mbfl_filt_conv_byte2le_wchar() 136 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2le() [all …]
|
H A D | mbfilter_base64.c | 108 n = filter->cache | (c & 0xff); in mbfl_filt_conv_base64enc() 115 return c; in mbfl_filt_conv_base64enc() 155 …if (c == 0x0d || c == 0x0a || c == 0x20 || c == 0x09 || c == 0x3d) { /* CR or LF or SPACE or HTAB … in mbfl_filt_conv_base64dec() 156 return c; in mbfl_filt_conv_base64dec() 160 if (c >= 0x41 && c <= 0x5a) { /* A - Z */ in mbfl_filt_conv_base64dec() 161 n = c - 65; in mbfl_filt_conv_base64dec() 162 } else if (c >= 0x61 && c <= 0x7a) { /* a - z */ in mbfl_filt_conv_base64dec() 163 n = c - 71; in mbfl_filt_conv_base64dec() 164 } else if (c >= 0x30 && c <= 0x39) { /* 0 - 9 */ in mbfl_filt_conv_base64dec() 165 n = c + 4; in mbfl_filt_conv_base64dec() [all …]
|
H A D | mbfilter_utf7imap.c | 75 if (c >= 0x41 && c <= 0x5a) { /* A - Z */ in mbfl_filt_conv_utf7imap_wchar() 77 } else if (c >= 0x61 && c <= 0x7a) { /* a - z */ in mbfl_filt_conv_utf7imap_wchar() 79 } else if (c >= 0x30 && c <= 0x39) { /* 0 - 9 */ in mbfl_filt_conv_utf7imap_wchar() 80 n = c + 4; in mbfl_filt_conv_utf7imap_wchar() 100 return c; in mbfl_filt_conv_utf7imap_wchar() 109 } else if (c >= 0 && c < 0x80) { /* ASCII */ in mbfl_filt_conv_utf7imap_wchar() 216 return c; in mbfl_filt_conv_utf7imap_wchar() 243 } else if ((c >= 0x20 && c <= 0x7e) || c == 0) { in mbfl_filt_conv_wchar_utf7imap() 245 } else if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { in mbfl_filt_conv_wchar_utf7imap() 252 return c; in mbfl_filt_conv_wchar_utf7imap() [all …]
|
/PHP-7.4/win32/ |
H A D | fnmatch.c | 61 char c, test; in fnmatch() local 81 c = *pattern; in fnmatch() 83 while (c == '*') in fnmatch() 84 c = *++pattern; in fnmatch() 92 if (c == EOS) in fnmatch() 127 c = '\\'; in fnmatch() 133 if (c == *string) in fnmatch() 155 char c, c2; in rangematch() local 172 c = *pattern++; in rangematch() 173 if (c == EOS) in rangematch() [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | add_006.phpt | 14 $c = $i + $s1; 15 var_dump($c); 17 $c = $i + $s2; 18 var_dump($c); 20 $c = $i + $s3; 21 var_dump($c); 23 $c = $i + $s4; 24 var_dump($c); 27 var_dump($c); 30 var_dump($c); [all …]
|
H A D | object_handlers.phpt | 64 $c = "tmp"; 81 $c = 0; 88 $c = "cv_get"; 89 $z = $x->{$c}; 92 $x->{$c} = 1; 95 $x->{$c}(); 98 $z = $x[$c]; 101 $x[$c] = 1; 111 $c = 5; 114 $c = 6; [all …]
|
/PHP-7.4/ext/standard/ |
H A D | md5.c | 156 #define STEP(f, a, b, c, d, x, t, s) \ argument 193 uint32_t a, b, c, d; in body() local 200 c = ctx->c; in body() 206 saved_c = c; in body() 283 c += saved_c; in body() 291 ctx->c = c; in body() 301 ctx->c = 0x98badcfe; in PHP_MD5Init() 382 result[8] = ctx->c; in PHP_MD5Final() 383 result[9] = ctx->c >> 8; in PHP_MD5Final() 384 result[10] = ctx->c >> 16; in PHP_MD5Final() [all …]
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | bug29038.phpt | 10 $c = extract(array("" => 1),EXTR_PREFIX_SAME,"prefix"); 12 var_dump($c); 19 var_dump($c); 26 var_dump($c); 32 var_dump($c); 38 var_dump($c); 52 [c] => 0 58 [c] => 1 65 [c] => 1 71 [c] => 0 [all …]
|
/PHP-7.4/ext/hash/ |
H A D | config.m4 | 18 EXT_HASH_SHA3_SOURCES="hash_sha3.c" 27 SHA3_OPT_SRC="$SHA3_DIR/KeccakP-1600-inplace32BI.c" 31 SHA3_OPT_SRC="$SHA3_DIR/KeccakP-1600-opt64.c" 33 EXT_HASH_SHA3_SOURCES="$SHA3_OPT_SRC $SHA3_DIR/KeccakHash.c $SHA3_DIR/KeccakSponge.c hash_sha3.c" 39 EXT_HASH_SOURCES="hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c \ 40 hash_tiger.c hash_gost.c hash_snefru.c hash_whirlpool.c hash_adler32.c \ 41 hash_crc32.c hash_fnv.c hash_joaat.c $EXT_HASH_SHA3_SOURCES"
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | serialization_objects_015.phpt | 17 $uobj->c = "obj->c.changed"; 26 $obj->c = 1; 78 ["c"]=> 87 ["c"]=> 95 ["c"]=> 103 ["c"]=> 111 ["c"]=> 122 ["c"]=> 131 ["c"]=> 139 ["c"]=> [all …]
|
H A D | serialization_objects_014.phpt | 27 $uobj->c = "obj->c.changed"; 80 ["c"]=> 89 ["c"]=> 97 ["c"]=> 105 ["c"]=> 113 ["c"]=> 124 ["c"]=> 133 ["c"]=> 141 ["c"]=> 149 ["c"]=> [all …]
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | pathinfo_basic1.phpt | 21 'c:', 22 'c:\\', 23 'c:/', 25 'c:\test\adir', 54 ' c:', 102 string(2) "c:" 104 string(2) "c:" 115 string(3) "c:\" 117 string(3) "c:\" 128 string(2) "c:" [all …]
|
/PHP-7.4/ext/pcre/ |
H A D | config0.m4 | 58 PHP_NEW_EXTENSION(pcre, php_pcre.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) 63 …pcrelib_sources="pcre2lib/pcre2_auto_possess.c pcre2lib/pcre2_chartables.c pcre2lib/pcre2_compile.… 64 …pcre2lib/pcre2_config.c pcre2lib/pcre2_context.c pcre2lib/pcre2_dfa_match.c pcre2lib/pcre2_error.c… 65 …pcre2lib/pcre2_jit_compile.c pcre2lib/pcre2_maketables.c pcre2lib/pcre2_match.c pcre2lib/pcre2_mat… 66 …pcre2lib/pcre2_newline.c pcre2lib/pcre2_ord2utf.c pcre2lib/pcre2_pattern_info.c pcre2lib/pcre2_ser… 67 …pcre2lib/pcre2_string_utils.c pcre2lib/pcre2_study.c pcre2lib/pcre2_substitute.c pcre2lib/pcre2_s… 68 pcre2lib/pcre2_tables.c pcre2lib/pcre2_ucd.c pcre2lib/pcre2_valid_utf.c pcre2lib/pcre2_xclass.c \ 69 …pcre2lib/pcre2_find_bracket.c pcre2lib/pcre2_convert.c pcre2lib/pcre2_extuni.c pcre2lib/pcre2_scri… 99 PHP_NEW_EXTENSION(pcre, $pcrelib_sources php_pcre.c, no,,$PHP_PCRE_CFLAGS)
|
/PHP-7.4/ext/xmlrpc/ |
H A D | config.w32 | 11 EXTENSION('xmlrpc', 'xmlrpc-epi-php.c', PHP_XMLRPC_SHARED, "-DVERSION=\"0.50\""); 12 ADD_SOURCES(configure_module_dirname + "/libxmlrpc", "base64.c simplestring.c xml_to_dandarpc.c \ 13 xmlrpc_introspection.c encodings.c system_methods.c xml_to_xmlrpc.c \ 14 queue.c xml_element.c xmlrpc.c xml_to_soap.c", "xmlrpc");
|
/PHP-7.4/ext/gd/ |
H A D | config.m4 | 141 extra_sources="libgd/gd.c libgd/gd_gd.c libgd/gd_gd2.c libgd/gd_io.c libgd/gd_io_dp.c \ 142 libgd/gd_io_file.c libgd/gd_ss.c libgd/gd_io_ss.c libgd/gd_webp.c \ 143 libgd/gd_png.c libgd/gd_jpeg.c libgd/gdxpm.c libgd/gdfontt.c libgd/gdfonts.c \ 144 libgd/gdfontmb.c libgd/gdfontl.c libgd/gdfontg.c libgd/gdtables.c libgd/gdft.c \ 145 libgd/gdcache.c libgd/gdkanji.c libgd/wbmp.c libgd/gd_wbmp.c libgd/gdhelpers.c \ 146 … libgd/gd_topal.c libgd/gd_gif_in.c libgd/gd_xbm.c libgd/gd_gif_out.c libgd/gd_security.c \ 147 libgd/gd_filter.c libgd/gd_pixelate.c libgd/gd_rotate.c libgd/gd_color_match.c \ 148 libgd/gd_transform.c libgd/gd_crop.c libgd/gd_interpolation.c libgd/gd_matrix.c \ 149 libgd/gd_bmp.c libgd/gd_tga.c" 179 extra_sources="gd_compat.c" [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | arrayObject_count_basic1.phpt | 12 $c = new C; 15 var_dump(count($c), count($ao)); 17 $c[] = 'a'; 19 var_dump(count($c), count($ao)); 21 $c[] = 'b'; 23 var_dump(count($c), count($ao)); 25 unset($c[0]); 40 $c = new D; 45 $c[] = 'a'; 49 $c[] = 'b'; [all …]
|
/PHP-7.4/ext/pcre/tests/ |
H A D | 005.phpt | 88 [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c 91 [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c 103 [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c 106 [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c 119 [5] => /p2/var/php_gcov/PHP_4_4/ext/oci8/oci8.c 222 [5] => /p2/var/php_gcov/PHP_4_4/regex/regexec.c 305 [2] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c 308 [5] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c 327 [5] => Zend/zend_language_scanner.c 360 [5] => Zend/zend_ini_scanner.c [all …]
|
/PHP-7.4/ext/calendar/ |
H A D | config.w32 | 6 EXTENSION("calendar", "calendar.c dow.c french.c gregor.c jewish.c \ 7 julian.c easter.c cal_unix.c");
|
/PHP-7.4/ext/gd/tests/ |
H A D | colorclosest.phpt | 11 $c = imagecolorclosest($im, 255,0,255); 12 printf("%X\n", $c); 16 $c = imagecolorclosest($im, 255,0,255); 17 print_r(imagecolorsforindex($im, $c)); 22 $c = imagecolorclosest($im, 255,0,255); 23 print_r(imagecolorsforindex($im, $c)); 28 $c = imagecolorclosest($im, 255,0,0); 29 print_r(imagecolorsforindex($im, $c)); 41 print_r(imagecolorsforindex($im, $c)); 46 printf("%X\n", $c); [all …]
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_valid_utf.c | 97 uint32_t c; in PRIV() local 138 c = *p; in PRIV() 187 case 1: if ((c & 0x3e) == 0) in PRIV() 209 if (c == 0xed && d >= 0xa0) in PRIV() 236 if (c > 0xf4 || (c == 0xf4 && d > 0x8f)) in PRIV() 331 c = *p; in PRIV() 334 if ((c & 0xf800) != 0xd800) in PRIV() 338 else if ((c & 0x0400) == 0) in PRIV() 376 c = *p; in PRIV() 377 if ((c & 0xfffff800u) != 0xd800u) in PRIV() [all …]
|