/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_base64.c | 124 int status, cache, len; in mbfl_filt_conv_base64enc_flush() local 127 cache = filter->cache; in mbfl_filt_conv_base64enc_flush() 130 filter->cache = 0; in mbfl_filt_conv_base64enc_flush() 200 n |= filter->cache; in mbfl_filt_conv_base64dec() 212 int status, cache; in mbfl_filt_conv_base64dec_flush() local 215 cache = filter->cache; in mbfl_filt_conv_base64dec_flush() 217 filter->cache = 0; in mbfl_filt_conv_base64dec_flush() 271 cache = (cache << 6) | (value & 0x3F); in mb_base64_to_wchar() 276 bits = cache = 0; in mb_base64_to_wchar() 323 cache = (cache << 8) | (w & 0xFF); in mb_wchar_to_base64() [all …]
|
H A D | mbfilter_utf7.c | 166 filter->cache = s; in mbfl_filt_conv_utf7_wchar() 183 filter->cache = n; in mbfl_filt_conv_utf7_wchar() 206 filter->cache = s; in mbfl_filt_conv_utf7_wchar() 223 filter->cache = n; in mbfl_filt_conv_utf7_wchar() 241 filter->cache = s; in mbfl_filt_conv_utf7_wchar() 273 filter->cache = 0; in mbfl_filt_conv_utf7_wchar_flush() 319 s = filter->cache; in mbfl_filt_conv_wchar_utf7() 336 s = filter->cache; in mbfl_filt_conv_wchar_utf7() 354 s = filter->cache; in mbfl_filt_conv_wchar_utf7() 379 int cache = filter->cache; in mbfl_filt_conv_wchar_utf7_flush() local [all …]
|
H A D | mbfilter_utf7imap.c | 194 filter->cache = s; in mbfl_filt_conv_utf7imap_wchar() 206 filter->cache = n; in mbfl_filt_conv_utf7imap_wchar() 231 filter->cache = s; in mbfl_filt_conv_utf7imap_wchar() 242 filter->cache = n; in mbfl_filt_conv_utf7imap_wchar() 262 filter->cache = s; in mbfl_filt_conv_utf7imap_wchar() 273 filter->cache = 0; in mbfl_filt_conv_utf7imap_wchar() 357 s = filter->cache; in mbfl_filt_conv_wchar_utf7imap() 375 s = filter->cache; in mbfl_filt_conv_wchar_utf7imap() 394 s = filter->cache; in mbfl_filt_conv_wchar_utf7imap() 419 int status = filter->status, cache = filter->cache; in mbfl_filt_conv_wchar_utf7imap_flush() local [all …]
|
H A D | mbfilter_uuencode.c | 89 filter->cache = 0; in mbfl_filt_conv_uudec() 91 filter->cache++; in mbfl_filt_conv_uudec() 99 if (filter->cache == 5) in mbfl_filt_conv_uudec() 103 filter->cache = 0; in mbfl_filt_conv_uudec() 113 filter->cache = n << 24; in mbfl_filt_conv_uudec() 119 filter->cache |= (n << 16); in mbfl_filt_conv_uudec() 125 filter->cache |= (n << 8); in mbfl_filt_conv_uudec() 131 filter->cache |= n; in mbfl_filt_conv_uudec() 139 B = (filter->cache >> 8) & 0xff; in mbfl_filt_conv_uudec() 140 C = (filter->cache) & 0xff; in mbfl_filt_conv_uudec() [all …]
|
H A D | mbfilter_utf8.c | 95 filter->status = filter->cache = 0; in mbfl_filt_put_invalid_char() 111 filter->cache = c & 0x1f; in mbfl_filt_conv_utf8_wchar() 114 filter->cache = c & 0xf; in mbfl_filt_conv_utf8_wchar() 117 filter->cache = c & 0x7; in mbfl_filt_conv_utf8_wchar() 127 filter->status = filter->cache = 0; in mbfl_filt_conv_utf8_wchar() 135 s = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_wchar() 136 c1 = filter->cache & 0xf; in mbfl_filt_conv_utf8_wchar() 142 filter->cache = s; in mbfl_filt_conv_utf8_wchar() 151 c1 = filter->cache & 0x7; in mbfl_filt_conv_utf8_wchar() 157 filter->cache = s; in mbfl_filt_conv_utf8_wchar() [all …]
|
H A D | mbfilter_qprint.c | 86 filter->cache = c; in mbfl_filt_conv_qprintenc() 90 s = filter->cache; in mbfl_filt_conv_qprintenc() 91 filter->cache = c; in mbfl_filt_conv_qprintenc() 156 filter->cache = 0; in mbfl_filt_conv_qprintenc_flush() 194 filter->cache = c; in mbfl_filt_conv_qprintdec() 210 CK((*filter->output_function)(filter->cache, filter->data)); in mbfl_filt_conv_qprintdec() 213 n = hex2code_map[filter->cache] << 4 | m; in mbfl_filt_conv_qprintdec() 238 int status, cache; in mbfl_filt_conv_qprintdec_flush() local 241 cache = filter->cache; in mbfl_filt_conv_qprintdec_flush() 243 filter->cache = 0; in mbfl_filt_conv_qprintdec_flush() [all …]
|
H A D | mbfilter_utf16.c | 151 filter->cache = c & 0xFF; in mbfl_filt_conv_utf16_wchar() 154 int n = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16_wchar() 155 filter->cache = filter->status = 0; in mbfl_filt_conv_utf16_wchar() 183 filter->cache = c & 0xFF; in mbfl_filt_conv_utf16be_wchar() 188 n = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16be_wchar() 203 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16be_wchar() 211 filter->cache = n & 0x3FF; in mbfl_filt_conv_utf16be_wchar() 255 filter->cache = c & 0xff; in mbfl_filt_conv_utf16le_wchar() 262 filter->cache += ((c & 0x3) << 8); in mbfl_filt_conv_utf16le_wchar() 275 filter->cache = (filter->cache << 10) + (c & 0xff); in mbfl_filt_conv_utf16le_wchar() [all …]
|
H A D | mbfilter_utf32.c | 159 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32_wchar() 162 int n = ((unsigned int)filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32_wchar() 163 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar() 182 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32be_wchar() 185 int n = ((unsigned int)filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32be_wchar() 186 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32be_wchar() 209 filter->cache |= ((c & 0xFFU) << (8 * filter->status)); in mbfl_filt_conv_utf32le_wchar() 212 int n = ((c & 0xFFU) << 24) | filter->cache; in mbfl_filt_conv_utf32le_wchar() 213 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32le_wchar() 239 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar_flush()
|
H A D | mbfilter_euc_tw.c | 107 filter->cache = c; in mbfl_filt_conv_euctw_wchar() 117 c1 = filter->cache; in mbfl_filt_conv_euctw_wchar() 132 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar() 140 filter->cache = c - 0xA1; in mbfl_filt_conv_euctw_wchar() 142 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar() 149 c1 = filter->cache; in mbfl_filt_conv_euctw_wchar() 153 filter->cache = (c1 << 8) + c - 0xA1; in mbfl_filt_conv_euctw_wchar() 155 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar() 162 c1 = filter->cache; in mbfl_filt_conv_euctw_wchar() 187 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar()
|
H A D | mbfilter_ucs4.c | 169 filter->cache = n; in mbfl_filt_conv_ucs4_wchar() 178 filter->cache |= n; in mbfl_filt_conv_ucs4_wchar() 187 filter->cache |= n; in mbfl_filt_conv_ucs4_wchar() 196 n |= filter->cache; in mbfl_filt_conv_ucs4_wchar() 223 filter->cache = n; in mbfl_filt_conv_ucs4be_wchar() 227 filter->cache |= n; in mbfl_filt_conv_ucs4be_wchar() 231 filter->cache |= n; in mbfl_filt_conv_ucs4be_wchar() 234 n = (c & 0xff) | filter->cache; in mbfl_filt_conv_ucs4be_wchar() 267 filter->cache = n; in mbfl_filt_conv_ucs4le_wchar() 271 filter->cache |= n; in mbfl_filt_conv_ucs4le_wchar() [all …]
|
H A D | mbfilter_sjis_mac.c | 160 filter->cache = c; in mbfl_filt_conv_sjis_mac_wchar() 181 c1 = filter->cache; in mbfl_filt_conv_sjis_mac_wchar() 309 c1 = filter->cache; in mbfl_filt_conv_wchar_sjis_mac() 412 filter->cache = c; in mbfl_filt_conv_wchar_sjis_mac() 420 filter->cache = c; in mbfl_filt_conv_wchar_sjis_mac() 498 c1 = filter->cache; in mbfl_filt_conv_wchar_sjis_mac() 499 filter->cache = 0; in mbfl_filt_conv_wchar_sjis_mac() 536 c1 = filter->cache & 0xffff; in mbfl_filt_conv_wchar_sjis_mac() 584 filter->cache = 0; in mbfl_filt_conv_wchar_sjis_mac() 670 c1 = filter->cache; in mbfl_filt_conv_wchar_sjis_mac_flush() [all …]
|
H A D | mbfilter_sjis_mobile.c | 410 filter->cache = c; in mbfilter_unicode2sjis_emoji_docomo() 478 filter->cache = c; in mbfilter_unicode2sjis_emoji_kddi() 482 filter->cache = c; in mbfilter_unicode2sjis_emoji_kddi() 550 filter->cache = c; in mbfilter_unicode2sjis_emoji_sb() 554 filter->cache = c; in mbfilter_unicode2sjis_emoji_sb() 595 filter->cache = c; in mbfl_filt_conv_sjis_mobile_wchar() 604 filter->cache = c; in mbfl_filt_conv_sjis_mobile_wchar() 612 c1 = filter->cache; in mbfl_filt_conv_sjis_mobile_wchar() 681 filter->cache = c; in mbfl_filt_conv_sjis_mobile_wchar() 692 filter->cache = c; in mbfl_filt_conv_sjis_mobile_wchar() [all …]
|
H A D | mbfilter_gb18030.c | 125 filter->cache = c; in mbfl_filt_conv_gb18030_wchar() 132 c1 = filter->cache; in mbfl_filt_conv_gb18030_wchar() 138 filter->cache = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar() 143 filter->cache = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar() 186 c1 = (filter->cache >> 8) & 0xff; in mbfl_filt_conv_gb18030_wchar() 187 c2 = filter->cache & 0xff; in mbfl_filt_conv_gb18030_wchar() 188 filter->status = filter->cache = 0; in mbfl_filt_conv_gb18030_wchar() 198 c1 = (filter->cache >> 16) & 0xff; in mbfl_filt_conv_gb18030_wchar() 199 c2 = (filter->cache >> 8) & 0xff; in mbfl_filt_conv_gb18030_wchar() 200 c3 = filter->cache & 0xff; in mbfl_filt_conv_gb18030_wchar() [all …]
|
H A D | mbfilter_ucs2.c | 157 filter->cache = c & 0xFF; in mbfl_filt_conv_ucs2_wchar() 160 int n = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_ucs2_wchar() 178 filter->cache = (c & 0xFF) << 8; in mbfl_filt_conv_ucs2be_wchar() 181 CK((*filter->output_function)((c & 0xFF) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2be_wchar() 201 filter->cache = c & 0xFF; in mbfl_filt_conv_ucs2le_wchar() 204 CK((*filter->output_function)(((c & 0xFF) << 8) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2le_wchar()
|
H A D | mbfilter_utf8_mobile.c | 207 filter->cache = c & 0x1f; in mbfl_filt_conv_utf8_mobile_wchar() 210 filter->cache = c & 0xf; in mbfl_filt_conv_utf8_mobile_wchar() 213 filter->cache = c & 0x7; in mbfl_filt_conv_utf8_mobile_wchar() 225 filter->cache = 0; in mbfl_filt_conv_utf8_mobile_wchar() 248 s = (filter->cache << 6) | (c & 0x3f); in mbfl_filt_conv_utf8_mobile_wchar() 249 c1 = filter->cache & 0xf; in mbfl_filt_conv_utf8_mobile_wchar() 255 filter->cache = s; in mbfl_filt_conv_utf8_mobile_wchar() 264 s = (filter->cache << 6) | (c & 0x3f); in mbfl_filt_conv_utf8_mobile_wchar() 265 c1 = filter->cache & 0x7; in mbfl_filt_conv_utf8_mobile_wchar() 271 filter->cache = s; in mbfl_filt_conv_utf8_mobile_wchar() [all …]
|
/PHP-8.2/Zend/tests/ |
H A D | bug69996.phpt | 6 function method($cache) { 7 $prepared = clone $cache; 13 $cache = new stdClass(); 14 $cache->data = "good"; 17 method($cache);
|
H A D | bug41209.phpt | 19 class cache implements ArrayAccess 36 $cache = new cache(); 37 var_dump(isset($cache[$id]));
|
H A D | symtable_cache_recursive_dtor.phpt | 2 Symtable cache slots may be acquired while cleaning symtable 6 // Must be larger than the symtable cache.
|
/PHP-8.2/ext/opcache/tests/ |
H A D | file_cache_error.phpt | 2 File cache error 001 15 if (ini_parse_quantity(ini_get('opcache.jit_buffer_size')) !== 0) die('skip File cache is disabled … 35 // Should cause writing to cache file to fail 38 // Will attempt to write to cache file, and fail
|
H A D | gh9164.phpt | 28 // Child: Declare classes to allocate CE cache slots. 36 // Populates local cache
|
/PHP-8.2/ext/pcre/tests/ |
H A D | cache_limit.phpt | 2 Compiled regex cache limit 21 var_dump(preg_match('/./', $str)); // this one was already deleted from the cache
|
/PHP-8.2/ext/standard/tests/streams/ |
H A D | user_streams_consumed_bug.phpt | 7 public static $cache = ''; 11 self::$cache .= $bucket->data;
|
/PHP-8.2/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_bug71103.phpt | 15 $d = $base . '\\dev\\http\\tproj\\app\\cache\\dev_old\\annotations\\72'; 48 string(%d) "%s\dev\http\tproj\app\cache\dev_old\annotations\72\5b53796d666f6e795c42756e646c655c5477… 56 string(%d) "%s\dev\http\tproj\app\cache\dev_old\annotations\72\5b53796d666f6e795c42756e646c655c5477…
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | lstat_stat_variation4.phpt | 24 // clear the cache 37 // clear the cache
|
/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_filename_uri.phpt | 9 $db = new PDO('sqlite:file::memory:?cache=shared'); 14 $db = new PDO('sqlite:file::memory:?cache=shared');
|