/php-src/ext/opcache/jit/ir/ |
H A D | ir_cfg.c | 504 static void compute_postnum(const ir_ctx *ctx, uint32_t *cur, uint32_t b) 518 compute_postnum(ctx, cur, *p); 522 bb->postnum = (*cur)++;
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 1015 const xmlChar *cur = node->content; in sxe_prop_is_empty() local 1016 if (*cur != 0) { in sxe_prop_is_empty() 1121 const xmlChar *cur = node->content; in sxe_get_prop_hash() local 1123 if (*cur != 0) { in sxe_get_prop_hash()
|
/php-src/ext/dom/ |
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 | 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 | 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 | 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 | 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 | 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 | 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()
|
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 | 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 | 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()
|
/php-src/ext/standard/ |
H A D | browscap.c | 631 const char *cur; in browser_reg_compare() local 639 cur = ZSTR_VAL(agent_name) + entry->prefix_len; in browser_reg_compare() 642 cur = zend_memnstr(cur, in browser_reg_compare() 646 if (!cur) { in browser_reg_compare() 650 cur += entry->contains_len[i]; in browser_reg_compare()
|
H A D | string.c | 134 _locale_t cur = _get_current_locale(); in localeconv_r() local 135 *out = *cur->locinfo->lconv; in localeconv_r() 136 _free_locale(cur); in localeconv_r()
|
/php-src/main/ |
H A D | fastcgi.c | 769 cur = ip; in fcgi_listen() 773 cur++; in fcgi_listen() 777 cur = ip; in fcgi_listen() 778 while (cur) { in fcgi_listen() 795 cur = end; in fcgi_listen() 828 cur = ip; in fcgi_set_allowed_clients() 830 while (*cur) { in fcgi_set_allowed_clients() 832 cur++; in fcgi_set_allowed_clients() 837 cur = ip; in fcgi_set_allowed_clients() 838 while (cur) { in fcgi_set_allowed_clients() [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 833 phpdbg_watch_element *cur = parent; local 835 phpdbg_clean_watch_element(cur); 836 phpdbg_free_watch_element(cur); 839 phpdbg_watch_element *cur = child; local 845 phpdbg_clean_watch_element(cur); 847 phpdbg_free_watch_element(cur); 897 phpdbg_watch_element *cur = parent; local 899 phpdbg_clean_watch_element(cur); 900 phpdbg_free_watch_element(cur); 903 phpdbg_watch_element *cur = child; local [all …]
|
H A D | phpdbg_print.c | 370 phpdbg_oplog_entry *cur = zend_arena_alloc(&PHPDBG_G(oplog_arena), sizeof(phpdbg_oplog_entry)); in phpdbg_print_opline() local 372 cur->op = (zend_op *) EX(opline); in phpdbg_print_opline() 373 cur->opcodes = op_array->opcodes; in phpdbg_print_opline() 374 cur->filename = op_array->filename; in phpdbg_print_opline() 375 cur->scope = op_array->scope; in phpdbg_print_opline() 376 cur->function_name = op_array->function_name; in phpdbg_print_opline() 377 cur->next = NULL; in phpdbg_print_opline() 378 PHPDBG_G(oplog_cur)->next = cur; in phpdbg_print_opline() 379 PHPDBG_G(oplog_cur) = cur; in phpdbg_print_opline()
|
H A D | phpdbg.c | 207 efree(cur); in PHP_MSHUTDOWN_FUNCTION() 208 cur = prev; in PHP_MSHUTDOWN_FUNCTION() 209 } while (cur != NULL); in PHP_MSHUTDOWN_FUNCTION() 459 for (; cur < end; cur++) { in phpdbg_oplog_fill_executable() 468 insert_idx = cur->lineno; in phpdbg_oplog_fill_executable() 472 cur++; in phpdbg_oplog_fill_executable() 590 phpdbg_oplog_entry *cur; in PHP_FUNCTION() local 649 } else if (cur->function_name != last_function || cur->scope != last_scope) { in PHP_FUNCTION() 652 last_scope = cur->scope; in PHP_FUNCTION() 664 insert_idx = cur->op - cur->opcodes; in PHP_FUNCTION() [all …]
|
/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()
|
/php-src/ext/zlib/ |
H A D | zlib.c | 807 zval *cur; in zlib_create_dictionary_string() local 811 ZEND_HASH_FOREACH_VAL(dictionary, cur) { in zlib_create_dictionary_string() 814 *++ptr = zval_get_string(cur); in zlib_create_dictionary_string()
|
/php-src/ext/posix/ |
H A D | posix.c | 1196 zend_long res, cur, max; in PHP_FUNCTION() local 1200 Z_PARAM_LONG(cur) in PHP_FUNCTION() 1204 rl.rlim_cur = cur; in PHP_FUNCTION()
|
/php-src/ext/xsl/ |
H A D | xsltprocessor.c | 130 …xsltTransformError(NULL, sheet, (xmlNodePtr) cur, "Namespaces prefix %s used for multiple namespac… in xsl_add_ns_to_map() 140 const xmlNode *cur = xmlDocGetRootElement(doc); in xsl_build_ns_map() local 142 while (cur != NULL) { in xsl_build_ns_map() 143 if (cur->type == XML_ELEMENT_NODE) { in xsl_build_ns_map() 144 if (cur->ns != NULL && cur->ns->prefix != NULL) { in xsl_build_ns_map() 145 xsl_add_ns_to_map(table, sheet, cur, cur->ns->prefix, cur->ns->href); in xsl_build_ns_map() 148 for (const xmlAttr *attr = cur->properties; attr != NULL; attr = attr->next) { in xsl_build_ns_map() 155 xsl_add_ns_to_map(table, sheet, cur, prefix, ns->href); in xsl_build_ns_map() 159 if (cur->children != NULL) { in xsl_build_ns_map() 160 cur = cur->children; in xsl_build_ns_map() [all …]
|
/php-src/ext/pdo/ |
H A D | pdo_stmt.c | 960 zval cur; in do_fetch() local 964 ZVAL_COPY_VALUE(&cur, curr_val); in do_fetch() 967 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &cur); in do_fetch()
|