/php-src/Zend/Optimizer/ |
H A D | dfa_pass.c | 433 zend_ulong idx; in zend_dfa_optimize_calls() local 451 if (Z_TYPE_P(val) != IS_STRING || ZEND_HANDLE_NUMERIC(Z_STR_P(val), idx)) { in zend_dfa_optimize_calls()
|
H A D | zend_optimizer.c | 1745 ZEND_API void zend_optimizer_unregister_pass(int idx) in zend_optimizer_unregister_pass() argument 1747 zend_optimizer_registered_passes.pass[idx-1] = NULL; in zend_optimizer_unregister_pass()
|
H A D | zend_optimizer.h | 98 ZEND_API void zend_optimizer_unregister_pass(int idx);
|
/php-src/Zend/ |
H A D | zend_ast.c | 1573 zend_long idx; in zend_ast_export_zval() local 1578 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(zv), idx, key, val) { in zend_ast_export_zval() 1589 smart_str_append_long(str, idx); in zend_ast_export_zval()
|
H A D | zend_builtin_functions.c | 458 zend_ulong idx; in copy_constant_array() local 462 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(src), idx, key, val) { in copy_constant_array() 468 new_val = zend_hash_index_add_new(Z_ARRVAL_P(dst), idx, val); in copy_constant_array()
|
H A D | zend_gc.c | 167 #define GC_IDX2PTR(idx) (GC_G(buf) + (idx)) argument 669 idx = gc_compress(idx); in gc_possible_root_when_full() 705 idx = gc_compress(idx); in gc_possible_root() 738 idx = gc_compress(idx); in gc_extra_root() 1376 idx++; in gc_scan_roots() 1388 idx++; in gc_scan_roots() 1412 idx = gc_compress(idx); in gc_add_garbage() 1639 idx++; in gc_collect_roots() 1862 idx++; in zend_gc_collect_cycles() 1876 idx++; in zend_gc_collect_cycles() [all …]
|
H A D | zend_hash.c | 2061 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply() 2076 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply() 2101 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument() 2115 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument() 2142 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments() 2163 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments() 2245 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy() 2257 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy() 2564 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge() 2646 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge_ex() [all …]
|
H A D | zend_hash.h | 466 zend_ulong idx; in zend_symtable_add_new() local 477 zend_ulong idx; in zend_symtable_update() local 489 zend_ulong idx; in zend_symtable_update_ind() local 501 zend_ulong idx; in zend_symtable_del() local 513 zend_ulong idx; in zend_symtable_del_ind() local 525 zend_ulong idx; in zend_symtable_find() local 537 zend_ulong idx; in zend_symtable_find_ind() local 549 zend_ulong idx; in zend_symtable_exists() local 561 zend_ulong idx; in zend_symtable_exists_ind() local 573 zend_ulong idx; in zend_symtable_str_update() local [all …]
|
H A D | zend_inheritance.c | 936 uint32_t idx = i; in zend_get_function_declaration() local 940 ++idx; in zend_get_function_declaration() 943 && op->op1.num == (zend_ulong)idx) in zend_get_function_declaration() 2595 #define DISPLAY_ABSTRACT_FN(idx) \ argument 2596 ai.afn[idx] ? ZEND_FN_SCOPE_NAME(ai.afn[idx]) : "", \ 2597 ai.afn[idx] ? "::" : "", \ 2598 ai.afn[idx] ? ZSTR_VAL(ai.afn[idx]->common.function_name) : "", \ 2599 …ai.afn[idx] && ai.afn[idx + 1] ? ", " : (ai.afn[idx] && ai.cnt > MAX_ABSTRACT_INFO_CNT ? ", ..." :… 2816 zend_ulong idx; in load_delayed_classes() local 2817 while (zend_hash_get_current_key_ex(delayed_autoloads, &name, &idx, &pos) in load_delayed_classes()
|
H A D | zend_object_handlers.c | 659 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_read_property() local 661 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_read_property() 662 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_read_property() 677 uintptr_t idx = (char*)retval - (char*)zobj->properties->arData; in zend_std_read_property() local 678 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_read_property() 1835 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(property_offset); in zend_std_has_property() local 1837 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_has_property() 1838 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_has_property() 1853 uintptr_t idx = (char*)value - (char*)zobj->properties->arData; in zend_std_has_property() local 1854 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_ENCODE_DYN_PROP_OFFSET(idx)); in zend_std_has_property()
|
H A D | zend_portability.h | 247 # define ZEND_ATTRIBUTE_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first))) argument 249 # define ZEND_ATTRIBUTE_FORMAT(type, idx, first) argument 253 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first))) argument 255 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) argument
|
H A D | zend_string.c | 140 uint32_t idx; in zend_interned_string_ht_lookup_ex() local 144 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup_ex() 145 while (idx != HT_INVALID_IDX) { in zend_interned_string_ht_lookup_ex() 146 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup_ex() 150 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup_ex() 160 uint32_t idx; in zend_interned_string_ht_lookup() local 164 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup() 165 while (idx != HT_INVALID_IDX) { in zend_interned_string_ht_lookup() 166 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup() 170 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup()
|
H A D | zend_string.h | 110 #define ZSTR_KNOWN(idx) zend_known_strings[idx] argument
|
H A D | zend_types.h | 445 # define HT_IDX_TO_HASH(idx) \ argument 446 ((idx) * sizeof(Bucket)) 447 # define HT_HASH_TO_IDX(idx) \ argument 448 ((idx) / sizeof(Bucket)) 452 ((data) + (idx)) 453 # define HT_IDX_TO_HASH(idx) \ argument 454 (idx) 455 # define HT_HASH_TO_IDX(idx) \ argument 456 (idx) 463 #define HT_HASH(ht, idx) \ argument [all …]
|
H A D | zend_vm_def.h | 2091 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); 2094 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); 2256 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); 8522 uintptr_t idx; variable 8530 idx = (uintptr_t)CACHED_PTR(opline->extended_value) - 1; 8531 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) { 8532 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx); 8547 idx = (char*)value - (char*)EG(symbol_table).arData; 8549 CACHE_PTR(opline->extended_value, (void*)(idx + 1)); 8551 idx = (char*)value - (char*)EG(symbol_table).arData; [all …]
|
H A D | zend_vm_execute.h | 6556 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_R_SPEC_CONST_CONST_HANDLER() local 6683 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_IS_SPEC_CONST_CONST_HANDLER() local 9076 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_R_SPEC_CONST_TMPVAR_HANDLER() local 9203 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER() local 11463 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_R_SPEC_CONST_CV_HANDLER() local 44461 uintptr_t idx; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER() local 44469 idx = (uintptr_t)CACHED_PTR(opline->extended_value) - 1; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER() 44486 idx = (char*)value - (char*)EG(symbol_table).arData; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER() 44488 CACHE_PTR(opline->extended_value, (void*)(idx + 1)); in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER() 44490 idx = (char*)value - (char*)EG(symbol_table).arData; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER() [all …]
|
/php-src/ext/com_dotnet/ |
H A D | com_com.c | 246 UINT idx; in PHP_METHOD() local 248 if (SUCCEEDED(ITypeInfo_GetContainingTypeLib(obj->typeinfo, &TL, &idx))) { in PHP_METHOD()
|
H A D | com_typeinfo.c | 97 UINT idx; in php_com_load_typelib() local 101 hr = ITypeInfo_GetContainingTypeLib(info, &TL, &idx); in php_com_load_typelib() 341 unsigned int idx; in php_com_locate_typeinfo() local 343 ITypeInfo_GetContainingTypeLib(obj->typeinfo, &typelib, &idx); in php_com_locate_typeinfo() 348 unsigned int idx; in php_com_locate_typeinfo() local 350 ITypeInfo_GetContainingTypeLib(typeinfo, &typelib, &idx); in php_com_locate_typeinfo()
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | array.c | 115 if (idx >= array->length) { in lexbor_array_insert() 116 size_t up_to = (idx - array->length) + 1; in lexbor_array_insert() 118 if (idx >= array->size) { in lexbor_array_insert() 126 array->list[ idx ] = value; in lexbor_array_insert() 138 memmove(&array->list[idx + 1], &array->list[idx], in lexbor_array_insert() 141 array->list[ idx ] = value; in lexbor_array_insert() 150 if (idx >= array->length) { in lexbor_array_set() 151 size_t up_to = (idx - array->length) + 1; in lexbor_array_set() 153 if (idx >= array->size) { in lexbor_array_set() 164 array->list[idx] = value; in lexbor_array_set() [all …]
|
H A D | array.h | 49 lexbor_array_insert(lexbor_array_t *array, size_t idx, void *value); 52 lexbor_array_set(lexbor_array_t *array, size_t idx, void *value); 62 lexbor_array_get(lexbor_array_t *array, size_t idx) in lexbor_array_get() argument 64 if (idx >= array->length) { in lexbor_array_get() 68 return array->list[idx]; in lexbor_array_get() 87 lexbor_array_get_noi(lexbor_array_t *array, size_t idx);
|
H A D | array_obj.c | 189 lexbor_array_obj_get_noi(lexbor_array_obj_t *array, size_t idx) in lexbor_array_obj_get_noi() argument 191 return lexbor_array_obj_get(array, idx); in lexbor_array_obj_get_noi()
|
H A D | array_obj.h | 70 lexbor_array_obj_get(const lexbor_array_obj_t *array, size_t idx) in lexbor_array_obj_get() argument 72 if (idx >= array->length) { in lexbor_array_obj_get() 76 return array->list + (idx * array->struct_size); in lexbor_array_obj_get() 115 lexbor_array_obj_get_noi(lexbor_array_obj_t *array, size_t idx);
|
/php-src/ext/dom/lexbor/lexbor/css/ |
H A D | parser.h | 305 lxb_css_parser_failed_set_by_id(lxb_css_parser_t *parser, int idx, bool is) in lxb_css_parser_failed_set_by_id() argument 307 lxb_css_syntax_rule_t *rules = parser->rules + idx; in lxb_css_parser_failed_set_by_id()
|
/php-src/ext/dom/lexbor/lexbor/dom/ |
H A D | collection.c | 82 lxb_dom_collection_element_noi(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_element_noi() argument 84 return lxb_dom_collection_element(col, idx); in lxb_dom_collection_element_noi() 88 lxb_dom_collection_node_noi(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_node_noi() argument 90 return lxb_dom_collection_node(col, idx); in lxb_dom_collection_node_noi()
|
H A D | collection.h | 69 lxb_dom_collection_element(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_element() argument 71 return (lxb_dom_element_t *) lexbor_array_get(&col->array, idx); in lxb_dom_collection_element() 75 lxb_dom_collection_node(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_node() argument 77 return (lxb_dom_node_t *) lexbor_array_get(&col->array, idx); in lxb_dom_collection_node() 99 lxb_dom_collection_element_noi(lxb_dom_collection_t *col, size_t idx); 102 lxb_dom_collection_node_noi(lxb_dom_collection_t *col, size_t idx);
|