Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 163) sorted by relevance

1234567

/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_base64.c123 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 Dmbfilter_utf7.c167 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 Dmbfilter_utf7imap.c195 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 Dmbfilter_uuencode.c90 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 Dmbfilter_qprint.c86 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 Dmbfilter_utf32.c162 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 Dmbfilter_ucs4.c172 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 Dmbfilter_utf8.c341 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 Dmbfilter_utf16.c296 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 …]
H A Dmbfilter_ucs2.c160 filter->cache = c & 0xFF; in mbfl_filt_conv_ucs2_wchar()
163 int n = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_ucs2_wchar()
181 filter->cache = (c & 0xFF) << 8; in mbfl_filt_conv_ucs2be_wchar()
184 CK((*filter->output_function)((c & 0xFF) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2be_wchar()
204 filter->cache = c & 0xFF; in mbfl_filt_conv_ucs2le_wchar()
207 CK((*filter->output_function)(((c & 0xFF) << 8) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2le_wchar()
/php-src/Zend/tests/
H A Dbug69996.phpt6 function method($cache) {
7 $prepared = clone $cache;
13 $cache = new stdClass();
14 $cache->data = "good";
17 method($cache);
H A Dbug41209.phpt19 class cache implements ArrayAccess
36 $cache = new cache();
37 var_dump(isset($cache[$id]));
H A Dsymtable_cache_recursive_dtor.phpt2 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 Ddobject.c54 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 Dmraw.c63 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 Ddobject.h21 lexbor_array_t *cache; member
73 return lexbor_array_length(dobject->cache); in lexbor_dobject_cache_length()
/php-src/ext/opcache/tests/
H A Dfile_cache_error.phpt2 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 Dgh9164.phpt27 // Child: Declare classes to allocate CE cache slots.
35 // Populates local cache
/php-src/ext/dom/tests/
H A DDOMDocument_item_cache_invalidation.phpt2 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 DDOMDocument_length_cache_invalidation.phpt2 DOMDocument node list length cache invalidation
12 $item = $elements->item(0); // Activate item cache
/php-src/ext/pcre/tests/
H A Dcache_limit.phpt2 Compiled regex cache limit
21 var_dump(preg_match('/./', $str)); // this one was already deleted from the cache
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug71103.phpt15 $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/standard/tests/streams/
H A Duser_streams_consumed_bug.phpt7 public static $cache = '';
11 self::$cache .= $bucket->data;
/php-src/ext/dom/lexbor/lexbor/html/
H A Dencoding.h26 lexbor_array_obj_t cache; member
61 lexbor_array_obj_clean(&em->cache); in lxb_html_encoding_clean()
H A Dencoding.c75 status = lexbor_array_obj_init(&em->cache, 12, in lxb_html_encoding_init()
92 lexbor_array_obj_destroy(&em->cache, false); in lxb_html_encoding_destroy()
240 lexbor_array_obj_clean(&em->cache); in lxb_html_encoding_meta()
259 for (i = 0; i < lexbor_array_obj_length(&em->cache); i++) { in lxb_html_encoding_meta()
260 attr = lexbor_array_obj_get(&em->cache, i); in lxb_html_encoding_meta()
270 attr = lexbor_array_obj_push(&em->cache); in lxb_html_encoding_meta()

Completed in 59 milliseconds

1234567