/php-src/Zend/Optimizer/ |
H A D | zend_cfg.c | 657 int *postnum, int *cur, const zend_cfg *cfg, int block_num) /* {{{ */ in compute_postnum_recursive() argument 667 compute_postnum_recursive(postnum, cur, cfg, block->successors[s]); in compute_postnum_recursive() 669 postnum[block_num] = (*cur)++; in compute_postnum_recursive()
|
H A D | zend_ssa.c | 1333 zend_ssa_phi **cur = &ssa->vars[source].phi_use_chain; in zend_ssa_remove_use_of_phi_source() local 1334 while (*cur && *cur != phi) { in zend_ssa_remove_use_of_phi_source() 1335 cur = zend_ssa_next_use_phi_ptr(ssa, source, *cur); in zend_ssa_remove_use_of_phi_source() 1337 if (*cur) { in zend_ssa_remove_use_of_phi_source() 1338 *cur = next_use_phi; in zend_ssa_remove_use_of_phi_source() 1355 zend_ssa_phi **cur = &block->phis; in zend_ssa_remove_phi_from_block() local 1356 while (*cur != phi) { in zend_ssa_remove_phi_from_block() 1357 ZEND_ASSERT(*cur != NULL); in zend_ssa_remove_phi_from_block() 1358 cur = &(*cur)->next; in zend_ssa_remove_phi_from_block() 1360 *cur = (*cur)->next; in zend_ssa_remove_phi_from_block()
|
/php-src/Zend/ |
H A D | zend_compile.c | 5466 int d, cur = CG(context).current_brk_cont; in zend_compile_break_continue() local 5468 cur = CG(context).brk_cont_array[cur].parent; in zend_compile_break_continue() 5469 ZEND_ASSERT(cur != -1); in zend_compile_break_continue() 5472 if (CG(context).brk_cont_array[cur].is_switch) { in zend_compile_break_continue() 5474 if (CG(context).brk_cont_array[cur].parent == -1) { in zend_compile_break_continue() 5484 if (CG(context).brk_cont_array[cur].parent == -1) { in zend_compile_break_continue()
|
H A D | zend_execute_API.c | 194 EG(get_gc_buffer).start = EG(get_gc_buffer).end = EG(get_gc_buffer).cur = NULL; in init_executor()
|
H A D | zend_gc.c | 2024 gc_buffer->cur = gc_buffer->start; in zend_get_gc_buffer_create() 2033 gc_buffer->cur = gc_buffer->start + old_capacity; in zend_get_gc_buffer_grow() 2039 gc_buffer->start = gc_buffer->end = gc_buffer->cur = NULL; in zend_get_gc_buffer_release()
|
H A D | zend_gc.h | 115 zval *cur; member 126 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_zval() 129 ZVAL_COPY_VALUE(gc_buffer->cur, zv); in zend_get_gc_buffer_add_zval() 130 gc_buffer->cur++; in zend_get_gc_buffer_add_zval() 136 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_obj() 139 ZVAL_OBJ(gc_buffer->cur, obj); in zend_get_gc_buffer_add_obj() 140 gc_buffer->cur++; in zend_get_gc_buffer_add_obj() 145 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_ptr() 148 ZVAL_PTR(gc_buffer->cur, ptr); in zend_get_gc_buffer_add_ptr() 149 gc_buffer->cur++; in zend_get_gc_buffer_add_ptr() [all …]
|
H A D | zend_vm_gen.php | 1097 $cur = $switch_labels ? end($switch_labels) + 1 : 0; 1098 out($f,"case $cur: /* $spec_name */"); 1099 $switch_labels[$spec_name] = $cur;
|
/php-src/ext/date/lib/ |
H A D | parse_date.c | 94 #define RET(i) {s->cur = cursor; return i;} 105 #define TIMELIB_HAVE_TZ() { s->cur = cursor; if (s->time->have_zone) { s->time->have_zone > 1 ? add… 107 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 138 uchar *lim, *str, *ptr, *cur, *tok, *pos; member 471 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); in timelib_string() 472 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() 1010 uchar *cursor = s->cur; in scan() 24884 in.cur = in.str; in timelib_strtotime()
|
H A D | parse_date.re | 92 #define RET(i) {s->cur = cursor; return i;} 103 #define TIMELIB_HAVE_TZ() { s->cur = cursor; if (s->time->have_zone) { s->time->have_zone > 1 ? add… 105 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 136 uchar *lim, *str, *ptr, *cur, *tok, *pos; 469 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); 470 memcpy(tmp, s->tok, s->cur - s->tok); 1008 uchar *cursor = s->cur; 2034 in.cur = in.str;
|
H A D | parse_iso_intervals.c | 58 #define RET(i) {s->cur = cursor; return i;} 62 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 75 uchar *lim, *str, *ptr, *cur, *tok, *pos; member 102 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); in timelib_string() 103 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() 172 uchar *cursor = s->cur; in scan() 974 in.cur = in.str; in timelib_strtointerval()
|
H A D | parse_iso_intervals.re | 56 #define RET(i) {s->cur = cursor; return i;} 60 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 73 uchar *lim, *str, *ptr, *cur, *tok, *pos; 100 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); 101 memcpy(tmp, s->tok, s->cur - s->tok); 170 uchar *cursor = s->cur; 369 in.cur = in.str;
|
/php-src/ext/dba/ |
H A D | dba_lmdb.c | 34 MDB_cursor *cur; member 137 if (LMDB_IT(cur)) { in DBA_FETCH_FUNC() 163 if (LMDB_IT(cur)) { in DBA_FETCH_FUNC() 212 if (LMDB_IT(cur)) { in DBA_EXISTS_FUNC() 234 if (LMDB_IT(cur)) { in DBA_EXISTS_FUNC() 293 rc = mdb_cursor_get(LMDB_IT(cur), &k, &v, MDB_FIRST); in DBA_FIRSTKEY_FUNC() 296 mdb_cursor_close(LMDB_IT(cur)); in DBA_FIRSTKEY_FUNC() 297 LMDB_IT(cur) = NULL; in DBA_FIRSTKEY_FUNC() 325 rc = mdb_cursor_get(LMDB_IT(cur), &k, &v, MDB_NEXT); in DBA_NEXTKEY_FUNC() 328 mdb_cursor_close(LMDB_IT(cur)); in DBA_NEXTKEY_FUNC() [all …]
|
/php-src/ext/dom/ |
H A D | characterdata.c | 107 xmlChar *cur; in PHP_METHOD() local 122 cur = node->content; in PHP_METHOD() 123 if (cur == NULL) { in PHP_METHOD() 125 cur = BAD_CAST ""; in PHP_METHOD() 216 cur = node->content; in dom_character_data_insert_data() 217 if (cur == NULL) { in dom_character_data_insert_data() 219 cur = BAD_CAST ""; in dom_character_data_insert_data() 286 if (cur == NULL) { in dom_character_data_delete_data() 288 cur = BAD_CAST ""; in dom_character_data_delete_data() 360 if (cur == NULL) { in dom_character_data_replace_data() [all …]
|
H A D | document.c | 1706 xincnode = cur; in php_dom_free_xinclude_node() 1707 cur = cur->next; in php_dom_free_xinclude_node() 1711 return cur; in php_dom_free_xinclude_node() 1717 while(cur) { in php_dom_remove_xinclude_nodes() 1719 cur = php_dom_free_xinclude_node(cur); in php_dom_remove_xinclude_nodes() 1722 while(cur && cur->type != XML_XINCLUDE_END) { in php_dom_remove_xinclude_nodes() 1727 cur = cur->next; in php_dom_remove_xinclude_nodes() 1730 if (cur && cur->type == XML_XINCLUDE_END) { in php_dom_remove_xinclude_nodes() 1731 cur = php_dom_free_xinclude_node(cur); in php_dom_remove_xinclude_nodes() 1734 if (cur->type == XML_ELEMENT_NODE) { in php_dom_remove_xinclude_nodes() [all …]
|
H A D | documenttype.c | 135 xmlNodePtr cur = intsubset->children; in dom_documenttype_internal_subset_read() local 137 while (cur != NULL) { in dom_documenttype_internal_subset_read() 141 xmlNodeDumpOutput (buff, NULL, cur, 0, 0, NULL); in dom_documenttype_internal_subset_read() 149 cur = cur->next; in dom_documenttype_internal_subset_read()
|
H A D | dom_iterators.c | 29 int cur; member 43 if (priv->cur < priv->index) { in itemHashScanner() 44 priv->cur++; in itemHashScanner() 71 iter.cur = 0; in php_dom_libxml_hash_iter_ex()
|
H A D | element.c | 520 xmlNsPtr cur = prev->next; in dom_remove_attribute() local 521 while (cur) { in dom_remove_attribute() 522 if (cur == ns) { in dom_remove_attribute() 523 prev->next = cur->next; in dom_remove_attribute() 526 prev = cur; in dom_remove_attribute() 527 cur = cur->next; in dom_remove_attribute()
|
H A D | html_collection.c | 49 int cur = 0; in dom_html_collection_named_item() local 50 int next = cur; /* not +1, otherwise we skip the first candidate */ in dom_html_collection_named_item() 53 …s_by_tag_name_ns_raw(basep, candidate, objmap->ns, objmap->local, objmap->local_lower, &cur, next); in dom_html_collection_named_item() 75 next = cur + 1; in dom_html_collection_named_item()
|
H A D | namespace_compat.c | 472 for (const xmlNode *cur = node; cur != NULL; cur = cur->parent) { in php_dom_get_in_scope_ns() local 473 if (cur->type == XML_ELEMENT_NODE) { in php_dom_get_in_scope_ns() 475 if (cur->ns != NULL && cur->ns->prefix != NULL) { in php_dom_get_in_scope_ns() 476 const char *prefix = (const char *) cur->ns->prefix; in php_dom_get_in_scope_ns() 477 zend_hash_str_add_ptr(&tmp_prefix_to_ns_table, prefix, strlen(prefix), cur->ns); in php_dom_get_in_scope_ns() 481 for (const xmlAttr *attr = cur->properties; attr != NULL; attr = attr->next) { in php_dom_get_in_scope_ns()
|
H A D | php_dom.c | 1763 (*cur)++; in dom_get_elements_by_tag_name_ns_raw() 2112 xmlNsPtr cur; in dom_get_nsdecl() local 2118 cur = node->nsDef; in dom_get_nsdecl() 2119 while (cur != NULL) { in dom_get_nsdecl() 2120 if (cur->prefix == NULL && cur->href != NULL) { in dom_get_nsdecl() 2121 ret = cur; in dom_get_nsdecl() 2124 cur = cur->next; in dom_get_nsdecl() 2127 cur = node->nsDef; in dom_get_nsdecl() 2129 if (cur->prefix != NULL && xmlStrEqual(localName, cur->prefix)) { in dom_get_nsdecl() 2130 ret = cur; in dom_get_nsdecl() [all …]
|
H A D | php_dom.h | 145 …r basep, xmlNodePtr nodep, xmlChar *ns, xmlChar *local, xmlChar *local_lower, int *cur, int index);
|
H A D | text.c | 104 xmlChar *cur; in PHP_METHOD() local 124 cur = node->content; in PHP_METHOD() 125 if (cur == NULL) { in PHP_METHOD() 127 cur = BAD_CAST ""; in PHP_METHOD() 129 length = xmlUTF8Strlen(cur); in PHP_METHOD() 138 first = xmlUTF8Strndup(cur, (int)offset); in PHP_METHOD() 139 second = xmlUTF8Strsub(cur, (int)offset, (int)(length - offset)); in PHP_METHOD()
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | encoding.c | 228 size_t i, len, cur; in lxb_html_encoding_meta() local 238 cur = lexbor_array_obj_length(&em->result); in lxb_html_encoding_meta() 335 if (cur != lexbor_array_obj_length(&em->result)) { in lxb_html_encoding_meta()
|
/php-src/ext/fileinfo/tests/ |
H A D | magic | 27970 >>0 use cur-ico-dir 27973 >>0 use cur-ico-dir 27975 0 name cur-ico-dir 27995 #!:mime image/x-cur 27997 !:ext cur 28001 >>>>0x06 use cur-entry 28004 0 name cur-entry 28005 >0 use cur-ico-entry 28010 >0 use cur-ico-entry 28016 0 name cur-ico-entry [all …]
|
H A D | magic私はガラスを食べられます | 27970 >>0 use cur-ico-dir 27973 >>0 use cur-ico-dir 27975 0 name cur-ico-dir 27995 #!:mime image/x-cur 27997 !:ext cur 28001 >>>>0x06 use cur-entry 28004 0 name cur-entry 28005 >0 use cur-ico-entry 28010 >0 use cur-ico-entry 28016 0 name cur-ico-entry [all …]
|