/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_base64.c | 123 int status, cache, len; in mbfl_filt_conv_base64enc_flush() local 126 cache = filter->cache; in mbfl_filt_conv_base64enc_flush() 129 filter->cache = 0; in mbfl_filt_conv_base64enc_flush() 197 n |= filter->cache; in mbfl_filt_conv_base64dec() 209 int status, cache; in mbfl_filt_conv_base64dec_flush() local 212 cache = filter->cache; in mbfl_filt_conv_base64dec_flush() 214 filter->cache = 0; in mbfl_filt_conv_base64dec_flush() 268 cache = (cache << 6) | (value & 0x3F); in mb_base64_to_wchar() 273 bits = cache = 0; in mb_base64_to_wchar() 320 cache = (cache << 8) | (w & 0xFF); in mb_wchar_to_base64() [all …]
|
H A D | mbfilter_utf7.c | 167 filter->cache = s; in mbfl_filt_conv_utf7_wchar() 184 filter->cache = n; in mbfl_filt_conv_utf7_wchar() 207 filter->cache = s; in mbfl_filt_conv_utf7_wchar() 224 filter->cache = n; in mbfl_filt_conv_utf7_wchar() 242 filter->cache = s; in mbfl_filt_conv_utf7_wchar() 274 filter->cache = 0; in mbfl_filt_conv_utf7_wchar_flush() 320 s = filter->cache; in mbfl_filt_conv_wchar_utf7() 337 s = filter->cache; in mbfl_filt_conv_wchar_utf7() 355 s = filter->cache; in mbfl_filt_conv_wchar_utf7() 380 int cache = filter->cache; in mbfl_filt_conv_wchar_utf7_flush() local [all …]
|
H A D | mbfilter_utf7imap.c | 195 filter->cache = s; in mbfl_filt_conv_utf7imap_wchar() 207 filter->cache = n; in mbfl_filt_conv_utf7imap_wchar() 232 filter->cache = s; in mbfl_filt_conv_utf7imap_wchar() 243 filter->cache = n; in mbfl_filt_conv_utf7imap_wchar() 263 filter->cache = s; in mbfl_filt_conv_utf7imap_wchar() 274 filter->cache = 0; in mbfl_filt_conv_utf7imap_wchar() 358 s = filter->cache; in mbfl_filt_conv_wchar_utf7imap() 376 s = filter->cache; in mbfl_filt_conv_wchar_utf7imap() 395 s = filter->cache; in mbfl_filt_conv_wchar_utf7imap() 420 int status = filter->status, cache = filter->cache; in mbfl_filt_conv_wchar_utf7imap_flush() local [all …]
|
H A D | mbfilter_uuencode.c | 90 filter->cache = 0; in mbfl_filt_conv_uudec() 92 filter->cache++; in mbfl_filt_conv_uudec() 100 if (filter->cache == 5) in mbfl_filt_conv_uudec() 104 filter->cache = 0; in mbfl_filt_conv_uudec() 114 filter->cache = n << 24; in mbfl_filt_conv_uudec() 120 filter->cache |= (n << 16); in mbfl_filt_conv_uudec() 126 filter->cache |= (n << 8); in mbfl_filt_conv_uudec() 132 filter->cache |= n; in mbfl_filt_conv_uudec() 140 B = (filter->cache >> 8) & 0xff; in mbfl_filt_conv_uudec() 141 C = (filter->cache) & 0xff; in mbfl_filt_conv_uudec() [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() 149 filter->cache = 0; in mbfl_filt_conv_qprintenc_flush() 187 filter->cache = c; in mbfl_filt_conv_qprintdec() 203 CK((*filter->output_function)(filter->cache, filter->data)); in mbfl_filt_conv_qprintdec() 206 n = hex2code_map[filter->cache] << 4 | m; in mbfl_filt_conv_qprintdec() 231 int status, cache; in mbfl_filt_conv_qprintdec_flush() local 234 cache = filter->cache; in mbfl_filt_conv_qprintdec_flush() 236 filter->cache = 0; in mbfl_filt_conv_qprintdec_flush() [all …]
|
H A D | mbfilter_utf32.c | 162 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32_wchar() 165 int n = ((unsigned int)filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32_wchar() 166 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar() 185 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32be_wchar() 188 int n = ((unsigned int)filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32be_wchar() 189 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32be_wchar() 212 filter->cache |= ((c & 0xFFU) << (8 * filter->status)); in mbfl_filt_conv_utf32le_wchar() 215 int n = ((c & 0xFFU) << 24) | filter->cache; in mbfl_filt_conv_utf32le_wchar() 216 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32le_wchar() 242 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar_flush()
|
H A D | mbfilter_ucs4.c | 172 filter->cache = n; in mbfl_filt_conv_ucs4_wchar() 181 filter->cache |= n; in mbfl_filt_conv_ucs4_wchar() 190 filter->cache |= n; in mbfl_filt_conv_ucs4_wchar() 199 n |= filter->cache; in mbfl_filt_conv_ucs4_wchar() 226 filter->cache = n; in mbfl_filt_conv_ucs4be_wchar() 230 filter->cache |= n; in mbfl_filt_conv_ucs4be_wchar() 234 filter->cache |= n; in mbfl_filt_conv_ucs4be_wchar() 237 n = (c & 0xff) | filter->cache; in mbfl_filt_conv_ucs4be_wchar() 270 filter->cache = n; in mbfl_filt_conv_ucs4le_wchar() 274 filter->cache |= n; in mbfl_filt_conv_ucs4le_wchar() [all …]
|
H A D | mbfilter_utf8.c | 341 filter->cache = c & 0xf; in mbfl_filt_conv_utf8_wchar() 344 filter->cache = c & 0x7; in mbfl_filt_conv_utf8_wchar() 363 c1 = filter->cache & 0xf; in mbfl_filt_conv_utf8_wchar() 369 filter->cache = s; in mbfl_filt_conv_utf8_wchar() 378 c1 = filter->cache & 0x7; in mbfl_filt_conv_utf8_wchar() 384 filter->cache = s; in mbfl_filt_conv_utf8_wchar() 393 filter->cache = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_wchar() 613 filter->cache = 0; in mbfl_filt_conv_utf8_mobile_wchar() 643 filter->cache = s; in mbfl_filt_conv_utf8_mobile_wchar() 659 filter->cache = s; in mbfl_filt_conv_utf8_mobile_wchar() [all …]
|
H A D | mbfilter_utf16.c | 296 filter->cache = c & 0xFF; in mbfl_filt_conv_utf16_wchar() 299 int n = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16_wchar() 300 filter->cache = filter->status = 0; in mbfl_filt_conv_utf16_wchar() 328 filter->cache = c & 0xFF; in mbfl_filt_conv_utf16be_wchar() 333 n = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16be_wchar() 348 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16be_wchar() 356 filter->cache = n & 0x3FF; in mbfl_filt_conv_utf16be_wchar() 400 filter->cache = c & 0xff; in mbfl_filt_conv_utf16le_wchar() 407 filter->cache += ((c & 0x3) << 8); in mbfl_filt_conv_utf16le_wchar() 420 filter->cache = (filter->cache << 10) + (c & 0xff); in mbfl_filt_conv_utf16le_wchar() [all …]
|
/php-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | tokenizer.c | 165 tkz->cache = lxb_css_syntax_tokenizer_cache_destroy(tkz->cache); in lxb_css_syntax_tokenizer_destroy() 188 cache->length = 0; in lxb_css_syntax_tokenizer_cache_init() 189 cache->size = size; in lxb_css_syntax_tokenizer_cache_init() 202 if (cache != NULL) { in lxb_css_syntax_tokenizer_cache_clean() 210 if (cache == NULL) { in lxb_css_syntax_tokenizer_cache_destroy() 214 if (cache->list) { in lxb_css_syntax_tokenizer_cache_destroy() 239 cache->list = list; in lxb_css_syntax_tokenizer_cache_expand() 249 if (cache->length >= cache->size) { in lxb_css_syntax_tokenizer_cache_push() 255 cache->list[ cache->length ] = value; in lxb_css_syntax_tokenizer_cache_push() 256 cache->length++; in lxb_css_syntax_tokenizer_cache_push() [all …]
|
/php-src/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-src/ext/dom/lexbor/lexbor/core/ |
H A D | dobject.c | 54 dobject->cache = lexbor_array_create(); in lexbor_dobject_init() 56 status = lexbor_array_init(dobject->cache, chunk_size); in lexbor_dobject_init() 70 lexbor_array_clean(dobject->cache); in lexbor_dobject_clean() 81 dobject->cache = lexbor_array_destroy(dobject->cache, true); in lexbor_dobject_destroy() 95 if (lexbor_array_length(dobject->cache) != 0) { in lexbor_dobject_alloc() 99 data = lexbor_array_pop(dobject->cache); in lexbor_dobject_alloc() 104 return lexbor_array_pop(dobject->cache); in lexbor_dobject_alloc() 145 if (lexbor_array_push(dobject->cache, data) == LXB_STATUS_OK) { in lexbor_dobject_free()
|
H A D | mraw.c | 63 mraw->cache = lexbor_bst_create(); in lexbor_mraw_init() 65 status = lexbor_bst_init(mraw->cache, 512); in lexbor_mraw_init() 80 lexbor_bst_clean(mraw->cache); in lexbor_mraw_clean() 94 mraw->cache = lexbor_bst_destroy(mraw->cache, true); in lexbor_mraw_destroy() 151 lexbor_bst_insert(mraw->cache, in lexbor_mraw_mem_alloc() 152 lexbor_bst_root_ref(mraw->cache), diff, in lexbor_mraw_mem_alloc() 186 if (mraw->cache->tree_length != 0) { in lexbor_mraw_alloc() 187 data = lexbor_bst_remove_close(mraw->cache, in lexbor_mraw_alloc() 352 lexbor_bst_insert(mraw->cache, lexbor_bst_root_ref(mraw->cache), in lexbor_mraw_realloc() 370 lexbor_bst_insert(mraw->cache, lexbor_bst_root_ref(mraw->cache), in lexbor_mraw_realloc() [all …]
|
H A D | dobject.h | 21 lexbor_array_t *cache; member 73 return lexbor_array_length(dobject->cache); in lexbor_dobject_cache_length()
|
/php-src/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
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_item_cache_invalidation.phpt | 2 DOMDocument node list item cache invalidation 14 $elements->item(0); // Activate item cache 18 var_dump($elements->item(2)->textContent); // Uses cache 19 var_dump($elements->item(1)->textContent); // Does not use cache 27 $item = $elements->item(0); // Activate item cache
|
H A D | DOMDocument_length_cache_invalidation.phpt | 2 DOMDocument node list length cache invalidation 12 $item = $elements->item(0); // Activate item cache
|
/php-src/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-src/ext/standard/tests/streams/ |
H A D | user_streams_consumed_bug.phpt | 7 public static $cache = ''; 11 self::$cache .= $bucket->data;
|
/php-src/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-src/ext/skeleton/ |
H A D | .gitignore.in | 7 autom4te.cache 9 config.cache
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | encoding.h | 26 lexbor_array_obj_t cache; member 61 lexbor_array_obj_clean(&em->cache); in lxb_html_encoding_clean()
|
/php-src/Zend/tests/lazy_objects/ |
H A D | jit_assign_obj_unknown_prop_info.phpt | 26 // - test() handlers are executed once, and prime the runtime cache 27 // - On subsequent calls, the JIT'ed code is used, and we enter the valid runtime cache path
|