/php-src/ext/mysqli/ |
H A D | mysqli_warning.c | 32 while (w) { in php_clear_warnings() 33 n = w; in php_clear_warnings() 36 w = w->next; in php_clear_warnings() 46 MYSQLI_WARNING *w; in php_new_warning() local 57 return w; in php_new_warning() 102 first = w; in php_get_warnings() 107 prev = w; in php_get_warnings() 130 if (w && w->next) { in PHP_METHOD() 131 w = w->next; in PHP_METHOD() 143 MYSQLI_WARNING *w; in mysqli_warning_message() local [all …]
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cjk.c | 2260 …if (w == 0xE6 || (w >= 0x254 && w <= 0x2E9) || (w >= 0x304B && w <= 0x3053) || (w >= 0x30AB && w <… in mb_wchar_to_iso2022jp2004() 5593 …w == 0x1ED9 || w == 0x1EDA || w == 0x1EE8 || w == 0x1EF3 || (w >= 0x1EF5 && w <= 0x1EFB) || w == 0… in mb_sjismac_to_wchar() 7272 …if (w == 0xE6 || (w >= 0x254 && w <= 0x2E9) || (w >= 0x304B && w <= 0x3053) || (w >= 0x30AB && w <… in mb_wchar_to_sjis2004() 9323 …if (w == 0xE6 || (w >= 0x254 && w <= 0x2E9) || (w >= 0x304B && w <= 0x3053) || (w >= 0x30AB && w <… in mb_wchar_to_eucjp2004() 9442 …} else if ((w >= 0x1921 && w <= 0x192A) || w == 0x1963 || (w >= 0x1C59 && w <= 0x1C7E) || (w >= 0x… in mbfl_filt_conv_euccn_wchar() 9564 …} else if ((w >= 0x1921 && w <= 0x192A) || w == 0x1963 || (w >= 0x1C59 && w <= 0x1C7E) || (w >= 0x… in mb_euccn_to_wchar() 9597 if (w != 0xB7 && w != 0x144 && w != 0x148 && w != 0x251 && w != 0x261) { in mb_wchar_to_euccn() 12488 …w == 0xA2 || w == 0xA3 || w == 0x401 || (w >= 0x414 && w <= 0x41C) || (w >= 0x423 && w <= 0x44F) |… in mb_wchar_to_cp950() 12876 …if (w == 0xB7 || w == 0x144 || w == 0x148 || w == 0x251 || w == 0x261 || w == 0x2CA || w == 0x2CB … in mb_wchar_to_hz() 12884 …w == 0x2010 || w == 0x2013 || w == 0x2014 || w == 0x2016 || w == 0x2025 || w == 0x2035 || w == 0x2… in mb_wchar_to_hz() [all …]
|
H A D | mbfilter_utf8.c | 553 …out = mb_convert_buf_add3(out, ((w >> 12) & 0xF) | 0xE0, ((w >> 6) & 0x3F) | 0x80, (w & 0x3F) | 0x… in mb_wchar_to_utf8() 556 …out = mb_convert_buf_add4(out, ((w >> 18) & 0x7) | 0xF0, ((w >> 12) & 0x3F) | 0x80, ((w >> 6) & 0x… in mb_wchar_to_utf8() 848 if ((w == '#' || (w >= '0' && w <= '9')) && len) { in mb_wchar_to_utf8_docomo() 884 w = c1; in mb_wchar_to_utf8_docomo() 897 …out = mb_convert_buf_add4(out, ((w >> 18) & 0x7) | 0xF0, ((w >> 12) & 0x3F) | 0x80, ((w >> 6) & 0x… in mb_wchar_to_utf8_docomo() 925 if ((w == '#' || (w >= '0' && w <= '9')) && len) { in mb_wchar_to_utf8_kddi() 981 w = c1; in mb_wchar_to_utf8_kddi() 994 …out = mb_convert_buf_add4(out, ((w >> 18) & 0x7) | 0xF0, ((w >> 12) & 0x3F) | 0x80, ((w >> 6) & 0x… in mb_wchar_to_utf8_kddi() 1037 if ((w == '#' || (w >= '0' && w <= '9')) && len) { in mb_wchar_to_utf8_sb() 1093 w = c1; in mb_wchar_to_utf8_sb() [all …]
|
H A D | mbfilter_utf32.c | 268 if (w == 0xFFFE0000) { in mb_utf32_to_wchar() 274 } else if (w == 0xFEFF) { in mb_utf32_to_wchar() 297 if (w < MBFL_WCSPLANE_UTF32MAX && (w < 0xD800 || w > 0xDFFF)) { in mb_utf32be_to_wchar() 298 *out++ = w; in mb_utf32be_to_wchar() 322 uint32_t w = *in++; in mb_wchar_to_utf32be() local 323 if (w < MBFL_WCSPLANE_UTF32MAX) { in mb_wchar_to_utf32be() 324 out = mb_convert_buf_add4(out, (w >> 24) & 0xFF, (w >> 16) & 0xFF, (w >> 8) & 0xFF, w & 0xFF); in mb_wchar_to_utf32be() 346 if (w < MBFL_WCSPLANE_UTF32MAX && (w < 0xD800 || w > 0xDFFF)) { in mb_utf32le_to_wchar() 347 *out++ = w; in mb_utf32le_to_wchar() 371 uint32_t w = *in++; in mb_wchar_to_utf32le() local [all …]
|
H A D | mbfilter_singlebyte.c | 120 uint32_t w = *in++; \ 121 if (w < tbl_min) { \ 181 uint32_t w = *in++; in mb_wchar_to_ascii() local 182 if (w < 0x80) { in mb_wchar_to_ascii() 234 uint32_t w = *in++; in mb_wchar_to_8859_1() local 235 if (w < 0x100) { in mb_wchar_to_8859_1() 556 uint32_t w = *in++; in mb_wchar_to_cp1252() local 558 if (w >= 0x100) { in mb_wchar_to_cp1252() 567 …} else if (w <= 0x7F || w >= 0xA0 || w == 0x81 || w == 0x8D || w == 0x8F || w == 0x90 || w == 0x9D… in mb_wchar_to_cp1252() 752 uint32_t w = *in++; in mb_wchar_to_armscii8() local [all …]
|
H A D | mbfilter_ucs4.c | 334 uint32_t w = (c1 << 24) | (c2 << 16) | (c3 << 8) | c4; in mb_ucs4_to_wchar() local 336 if (w == 0xFFFE0000) { in mb_ucs4_to_wchar() 342 } else if (w == 0xFEFF) { in mb_ucs4_to_wchar() 364 *out++ = w; in mb_ucs4be_to_wchar() 385 uint32_t w = *in++; in mb_wchar_to_ucs4be() local 386 if (w != MBFL_BAD_INPUT) { in mb_wchar_to_ucs4be() 387 out = mb_convert_buf_add4(out, (w >> 24) & 0xFF, (w >> 16) & 0xFF, (w >> 8) & 0xFF, w & 0xFF); in mb_wchar_to_ucs4be() 408 *out++ = w; in mb_ucs4le_to_wchar() 429 uint32_t w = *in++; in mb_wchar_to_ucs4le() local 430 if (w != MBFL_BAD_INPUT) { in mb_wchar_to_ucs4le() [all …]
|
H A D | mbfilter_ucs2.c | 251 uint32_t w = (c1 << 8) | c2; in mb_ucs2_to_wchar() local 253 if (w == 0xFFFE) { in mb_ucs2_to_wchar() 259 } else if (w == 0xFEFF) { in mb_ucs2_to_wchar() 278 uint32_t w = (c1 << 8) | c2; in mb_ucs2be_to_wchar() local 279 *out++ = w; in mb_ucs2be_to_wchar() 300 uint32_t w = *in++; in mb_wchar_to_ucs2be() local 302 out = mb_convert_buf_add2(out, (w >> 8) & 0xFF, w & 0xFF); in mb_wchar_to_ucs2be() 320 uint32_t w = (c2 << 8) | c1; in mb_ucs2le_to_wchar() local 321 *out++ = w; in mb_ucs2le_to_wchar() 342 uint32_t w = *in++; in mb_wchar_to_ucs2le() local [all …]
|
/php-src/ext/mbstring/ |
H A D | php_unicode.c | 306 *p++ = (UNEXPECTED(w > 0xFFFFFF)) ? w : php_unicode_toupper_simple(w, src_encoding); in php_unicode_convert_case() 313 *p++ = (UNEXPECTED(w > 0xFFFFFF)) ? w : php_unicode_tolower_simple(w, src_encoding); in php_unicode_convert_case() 320 *p++ = (UNEXPECTED(w > 0xFFFFFF)) ? w : php_unicode_tofold_simple(w, src_encoding); in php_unicode_convert_case() 328 *p++ = w; in php_unicode_convert_case() 342 *p++ = w; in php_unicode_convert_case() 345 w = php_unicode_toupper_raw(w, src_encoding); in php_unicode_convert_case() 349 *p++ = w; in php_unicode_convert_case() 358 *p++ = w; in php_unicode_convert_case() 398 w = php_unicode_tolower_raw(w, src_encoding); in php_unicode_convert_case() 402 *p++ = w; in php_unicode_convert_case() [all …]
|
/php-src/ext/hash/ |
H A D | hash_gost.c | 69 ((w[4] & 0x000000ff) << 16) | ((w[6] & 0x000000ff) << 24); \ 71 ((w[4] & 0x0000ff00) << 8) | ((w[6] & 0x0000ff00) << 16); \ 73 (w[4] & 0x00ff0000) | ((w[6] & 0x00ff0000) << 8); \ 75 ((w[4] & 0xff000000) >> 8) | (w[6] & 0xff000000); \ 76 key[4] = (w[1] & 0x000000ff) | ((w[3] & 0x000000ff) << 8) | \ 77 ((w[5] & 0x000000ff) << 16) | ((w[7] & 0x000000ff) << 24); \ 79 ((w[5] & 0x0000ff00) << 8) | ((w[7] & 0x0000ff00) << 16); \ 81 (w[5] & 0x00ff0000) | ((w[7] & 0x00ff0000) << 8); \ 83 ((w[5] & 0xff000000) >> 8) | (w[7] & 0xff000000); 194 X(w, u, v); \ [all …]
|
/php-src/ext/ctype/tests/ |
H A D | lc_ctype_inheritance.phpt | 7 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); } 17 echo 'preg_match(\w, \xe4): '; 18 var_dump(preg_match('/\w/', "\xe4")); 22 echo 'preg_match(\w, \xe4): '; 23 var_dump(preg_match('/\w/', "\xe4")); 28 echo 'preg_match(\w, \xe4): '; 29 var_dump(preg_match('/\w/', "\xe4")); 34 preg_match(\w, \xe4): int(0) 37 preg_match(\w, \xe4): int(0) 41 preg_match(\w, \xe4): int(1)
|
/php-src/ext/standard/tests/array/ |
H A D | array_reduce.phpt | 10 function reduce_int($w, $v) { return $w + strlen($v); } 15 function reduce_float($w, $v) { return $w + strlen($v) / 10; } 20 function reduce_string($w, $v) { return $w . $v; } 25 function reduce_array($w, $v) { $w[$v]++; return $w; } 30 function reduce_null($w, $v) { return $w . $v; }
|
/php-src/ext/standard/tests/file/ |
H A D | 007_variation4.phpt | 2 Test fopen and fclose() functions - usage variations - "w+" mode 6 /* Test fopen() and fclose(): Opening the file in "w+" mode, 9 checking for the file truncation when trying to open an existing file in "w+" mode, 15 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 4, "bytes"); 19 echo "*** Test fopen() & fclose() functions: with 'w+' mode ***\n"; 20 $file_handle = fopen($file, "w+"); //opening the file "w+" mode 32 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+… 34 fclose( fopen($file, "w+") ); //Opening the existing data file again in "w+" mode 35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+"… 39 fclose( fopen($file, "w+") ); //Opening the non-existing file in "w+" mode, which will be created [all …]
|
H A D | 007_variation12-win32.phpt | 2 Test fopen and fclose() functions - usage variations - "w+t" mode 11 /* Test fopen() and fclose(): Opening the file in "w+t" mode, 14 checking for the file truncation when trying to open an existing file in "w+t" mode, 20 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes"); 24 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n"; 25 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode 37 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+… 39 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode 40 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t… 44 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created [all …]
|
H A D | 007_variation12.phpt | 2 Test fopen and fclose() functions - usage variations - "w+t" mode 11 /* Test fopen() and fclose(): Opening the file in "w+t" mode, 14 checking for the file truncation when trying to open an existing file in "w+t" mode, 20 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes"); 24 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n"; 25 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode 37 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+… 39 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode 40 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t… 44 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created [all …]
|
H A D | 007_variation3.phpt | 2 Test fopen and fclose() functions - usage variations - "w" mode 6 /* Test fopen() and fclose(): Opening the file in "w" mode, 9 checking for the file truncation when trying to open an existing file in "w" mode, 15 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 3, "bytes"); 19 echo "*** Test fopen() & fclose() functions: with 'w' mode ***\n"; 20 $file_handle = fopen($file, "w"); //opening the file "w" mode 32 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w"… 34 fclose( fopen($file, "w") ); //Opening the existing data file again in "w" mode 35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w" … 39 fclose( fopen($file, "w") ); //Opening the non-existing file in "w" mode, which will be created [all …]
|
H A D | 007_variation20.phpt | 2 Test fopen and fclose() functions - usage variations - "w+b" mode 6 /* Test fopen() and fclose(): Opening the file in "w+b" mode, 9 checking for the file truncation when trying to open an existing file in "w+b" mode, 15 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 20, "bytes"); 19 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n"; 20 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode 32 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+… 34 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode 35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+b… 39 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created [all …]
|
H A D | is_executable_variation2.phpt | 27 create_files(__DIR__, 1, "numeric", 0755, 1, "w", $name_prefix, 1); 28 create_files(__DIR__, 1, "text", 0755, 1, "w", $name_prefix, 2); 29 create_files(__DIR__, 1, "empty", 0755, 1, "w", $name_prefix, 3); 30 create_files(__DIR__, 1, "numeric", 0755, 1, "w", $name_prefix, 4); 31 create_files(__DIR__, 1, "text", 0222, 1, "w", $name_prefix, 5); 32 create_files(__DIR__, 1, "numeric", 0711, 1, "w", $name_prefix, 6); 33 create_files(__DIR__, 1, "text", 0714, 1, "w", $name_prefix, 7); 34 create_files(__DIR__, 1, "numeric", 0744, 1, "w", $name_prefix, 8); 35 create_files(__DIR__, 1, "text", 0421, 1, "w", $name_prefix, 9); 36 create_files(__DIR__, 1, "text", 0712, 1, "w", $name_prefix, 10);
|
H A D | is_readable_variation2.phpt | 27 create_files(__DIR__, 1, "numeric", 0755, 1, "w", $name_prefix, 1); 28 create_files(__DIR__, 1, "text", 0755, 1, "w", $name_prefix, 2); 29 create_files(__DIR__, 1, "empty", 0755, 1, "w", $name_prefix, 3); 30 create_files(__DIR__, 1, "numeric", 0555, 1, "w", $name_prefix, 4); 31 create_files(__DIR__, 1, "text", 0222, 1, "w", $name_prefix, 5); 32 create_files(__DIR__, 1, "numeric", 0711, 1, "w", $name_prefix, 6); 33 create_files(__DIR__, 1, "text", 0411, 1, "w", $name_prefix, 7); 34 create_files(__DIR__, 1, "numeric", 0444, 1, "w", $name_prefix, 8); 35 create_files(__DIR__, 1, "text", 0421, 1, "w", $name_prefix, 9); 36 create_files(__DIR__, 1, "text", 0422, 1, "w", $name_prefix, 10);
|
/php-src/ext/pcre/tests/ |
H A D | 004.phpt | 6 …(?:(?:unsigned|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s*\])?)\s*(?:(=)[^,;]+)?((?… 9 var_dump(preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', '&a, b,… 15 var_dump(preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(…
|
/php-src/Zend/Optimizer/ |
H A D | zend_worklist.h | 72 #define ZEND_WORKLIST_ALLOCA(w, _len, use_heap) do { \ argument 73 …(w)->stack.buf = (int*)do_alloca(ZEND_MM_ALIGNED_SIZE(sizeof(int) * _len) + sizeof(zend_ulong) * z… 74 (w)->stack.len = 0; \ 75 (w)->stack.capacity = _len; \ 76 (w)->visited = (zend_bitset)((char*)(w)->stack.buf + ZEND_MM_ALIGNED_SIZE(sizeof(int) * _len)); \ 77 memset((w)->visited, 0, sizeof(zend_ulong) * zend_bitset_len(_len)); \ 80 #define ZEND_WORKLIST_FREE_ALLOCA(w, use_heap) \ argument 81 free_alloca((w)->stack.buf, use_heap)
|
/php-src/ext/standard/tests/general_functions/ |
H A D | phpcredits.phpt | 24 %wPHP Authors%w 27 %wSAPI Modules%w 30 %wModule Authors%w 33 %wPHP Documentation%w 39 %wWebsites and Infrastructure team%w
|
/php-src/ext/gd/libgd/ |
H A D | gd_io.c | 34 void Putword (int w, gdIOCtx * ctx) in Putword() argument 38 buf[0] = w & 0xff; in Putword() 39 buf[1] = (w / 256) & 0xff; in Putword() 53 void gdPutWord (int w, gdIOCtx * ctx) in gdPutWord() argument 56 (ctx->putC) (ctx, (unsigned char) (w >> 8)); in gdPutWord() 57 (ctx->putC) (ctx, (unsigned char) (w & 0xFF)); in gdPutWord() 61 void gdPutInt (int w, gdIOCtx * ctx) in gdPutInt() argument 64 (ctx->putC) (ctx, (unsigned char) (w >> 24)); in gdPutInt() 65 (ctx->putC) (ctx, (unsigned char) ((w >> 16) & 0xFF)); in gdPutInt() 66 (ctx->putC) (ctx, (unsigned char) ((w >> 8) & 0xFF)); in gdPutInt() [all …]
|
/php-src/ext/standard/tests/streams/ |
H A D | bug46024.phpt | 15 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')) 23 $w = array($pipes[0]); 25 $ret = stream_select($r, $w, $e, 1); 26 var_dump($ret === (count($r) + count($w))); 30 $w = array($pipes[0]); 32 $ret = stream_select($r, $w, $e, 1); 33 var_dump($ret === (count($r) + count($w)));
|
/php-src/Zend/tests/weakrefs/ |
H A D | weakrefs_006.phpt | 9 global $w, $all; 13 $w[$v] = $i; 18 $w = new WeakMap(); 21 $w[$o] = new HasDtor(); 22 $w[$o] = 123; 23 var_dump($w);
|
/php-src/ext/bz2/tests/ |
H A D | 002.phpt | 10 $fp = fopen("bz_open_002.txt", "w"); 11 var_dump(bzopen($fp, "w")); 18 var_dump(bzopen($fp, "w")); 28 var_dump(bzopen($fp, "w")); 39 var_dump(bzopen($fp, "w")); 45 var_dump(bzopen($fp, "w")); 51 var_dump(bzopen($fp, "w")); 57 var_dump(bzopen($fp, "w")); 66 var_dump(bzopen($fp, "w")); 72 var_dump(bzopen($fp, "w")); [all …]
|