/PHP-7.4/Zend/ |
H A D | zend_vm_def.h | 5098 HashTable *ht; variable 5895 HashTable *ht; variable 5965 ht = zend_array_dup(ht); 6177 HashTable *ht; variable 6907 HashTable *ht; variable 7026 HashTable *ht; variable 8426 HashTable *ht; variable 8434 if (!ht) { 8442 ht = zend_array_dup(ht); 8796 zend_array *ht; variable [all …]
|
H A D | zend_opcode.c | 425 HashTable *ht = ZEND_MAP_PTR_GET(op_array->static_variables_ptr); in destroy_op_array() local 426 if (ht && !(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in destroy_op_array() 427 if (GC_DELREF(ht) == 0) { in destroy_op_array() 428 zend_array_destroy(ht); in destroy_op_array()
|
H A D | zend_exceptions.c | 494 tmp = zend_hash_find(ht, key); \ 563 static void _build_trace_string(smart_str *str, HashTable *ht, uint32_t num) /* {{{ */ in _build_trace_string() argument 571 file = zend_hash_find_ex(ht, ZSTR_KNOWN(ZEND_STR_FILE), 1); in _build_trace_string() 578 tmp = zend_hash_find_ex(ht, ZSTR_KNOWN(ZEND_STR_LINE), 1); in _build_trace_string() 601 tmp = zend_hash_find_ex(ht, ZSTR_KNOWN(ZEND_STR_ARGS), 1); in _build_trace_string()
|
H A D | zend_operators.c | 624 HashTable *ht = zend_new_array(1); in convert_scalar_to_array() local 625 zend_hash_index_add_new(ht, 0, op); in convert_scalar_to_array() 626 ZVAL_ARR(op, ht); in convert_scalar_to_array() 677 HashTable *ht = zend_symtable_to_proptable(Z_ARR_P(op)); in convert_to_object() local 680 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) { in convert_to_object() 682 ht = zend_array_dup(ht); in convert_to_object() 683 } else if (ht != Z_ARR_P(op)) { in convert_to_object() 686 GC_DELREF(ht); in convert_to_object() 689 obj->properties = ht; in convert_to_object()
|
H A D | zend_constants.c | 476 static void* zend_hash_add_constant(HashTable *ht, zend_string *key, zend_constant *c) in zend_hash_add_constant() argument 482 ret = zend_hash_add_ptr(ht, key, copy); in zend_hash_add_constant()
|
H A D | zend_vm_execute.h | 2051 HashTable *ht; in ZEND_SEND_ARRAY_SPEC_HANDLER() local 3970 HashTable *ht; in ZEND_CAST_SPEC_CONST_HANDLER() local 4039 ht = zend_array_dup(ht); in ZEND_CAST_SPEC_CONST_HANDLER() 6400 HashTable *ht; in ZEND_ARRAY_KEY_EXISTS_SPEC_CONST_CONST_HANDLER() local 7380 HashTable *ht; in ZEND_FETCH_DIM_R_INDEX_SPEC_CONST_TMPVARCV_HANDLER() local 8601 HashTable *ht; in ZEND_ARRAY_KEY_EXISTS_SPEC_CONST_TMPVAR_HANDLER() local 18214 ht = zend_array_dup(ht); in ZEND_CAST_SPEC_TMP_HANDLER() 21322 ht = zend_array_dup(ht); in ZEND_CAST_SPEC_VAR_HANDLER() 37519 ht = zend_array_dup(ht); in ZEND_CAST_SPEC_CV_HANDLER() 46588 if (!ht) { in ZEND_BIND_STATIC_SPEC_CV_UNUSED_HANDLER() [all …]
|
H A D | zend_inheritance.c | 2268 HashTable *ht; in get_or_init_obligations_for_class() local 2276 ht = zend_hash_index_find_ptr(CG(delayed_variance_obligations), key); in get_or_init_obligations_for_class() 2277 if (ht) { in get_or_init_obligations_for_class() 2278 return ht; in get_or_init_obligations_for_class() 2281 ALLOC_HASHTABLE(ht); in get_or_init_obligations_for_class() 2282 zend_hash_init(ht, 0, NULL, variance_obligation_dtor, 0); in get_or_init_obligations_for_class() 2283 zend_hash_index_add_new_ptr(CG(delayed_variance_obligations), key, ht); in get_or_init_obligations_for_class() 2285 return ht; in get_or_init_obligations_for_class()
|
H A D | zend.c | 284 static void print_hash(smart_str *buf, HashTable *ht, int indent, zend_bool is_object) /* {{{ */ in print_hash() argument 296 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_hash() 335 static void print_flat_hash(HashTable *ht) /* {{{ */ in print_flat_hash() argument 342 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_flat_hash()
|
/PHP-7.4/ext/sockets/ |
H A D | multicast.c | 112 static int php_get_if_index_from_array(const HashTable *ht, const char *key, in php_get_if_index_from_array() argument 117 if ((val = zend_hash_str_find(ht, key, strlen(key))) == NULL) { in php_get_if_index_from_array() 125 static int php_get_address_from_array(const HashTable *ht, const char *key, in php_get_address_from_array() argument 131 if ((val = zend_hash_str_find(ht, key, strlen(key))) == NULL) { in php_get_address_from_array()
|
/PHP-7.4/ext/ftp/ |
H A D | ftp.h | 167 int ftp_mlsd_parse_line(HashTable *ht, const char *input);
|
/PHP-7.4/ |
H A D | UPGRADING.INTERNALS | 105 HashTable *ht = Z_OBJDEBUG_P(obj, is_temp); 108 zend_hash_destroy(ht); 109 FREE_HASHTABLE(ht); 113 HashTable *ht = zend_get_properties_for(obj, ZEND_PROP_PURPOSE_DEBUG); 115 zend_release_properties(ht);
|
/PHP-7.4/ext/standard/ |
H A D | info.c | 91 static ZEND_COLD void php_info_print_stream_hash(const char *name, HashTable *ht) /* {{{ */ in php_info_print_stream_hash() argument 95 if (ht) { in php_info_print_stream_hash() 96 if (zend_hash_num_elements(ht)) { in php_info_print_stream_hash() 105 ZEND_HASH_FOREACH_STR_KEY(ht, key) { in php_info_print_stream_hash()
|
H A D | array.c | 738 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_count_recursive() 739 if (GC_IS_RECURSIVE(ht)) { in php_count_recursive() 743 GC_PROTECT_RECURSION(ht); in php_count_recursive() 746 cnt = zend_array_count(ht); in php_count_recursive() 747 ZEND_HASH_FOREACH_VAL(ht, element) { in php_count_recursive() 754 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_count_recursive() 755 GC_UNPROTECT_RECURSION(ht); in php_count_recursive() 5870 if ((uint32_t)num_avail < ht->nNumUsed - (ht->nNumUsed>>1)) { 6337 HashTable *ht; local 6345 ht = Z_ARRVAL_P(array); [all …]
|
H A D | html.c | 810 static inline int resolve_named_entity_html(const char *start, size_t length, const entity_ht *ht, … in resolve_named_entity_html() argument 815 s = ht->buckets[hash % ht->num_elems]; in resolve_named_entity_html()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | zend_inference.h | 165 HashTable *ht = Z_ARRVAL_P(zv); in DEFINE_SSA_OP_MIN_RANGE() local 176 ZEND_HASH_FOREACH_STR_KEY_VAL(ht, str, val) { in DEFINE_SSA_OP_MIN_RANGE()
|
H A D | sccp.c | 724 HashTable *ht; in ct_eval_in_array() local 730 ht = Z_ARRVAL_P(op2); in ct_eval_in_array() 732 res = zend_hash_exists(ht, Z_STR_P(op1)); in ct_eval_in_array() 735 res = zend_hash_index_exists(ht, Z_LVAL_P(op1)); in ct_eval_in_array() 740 res = zend_hash_exists(ht, ZSTR_EMPTY_ALLOC()); in ct_eval_in_array() 746 ZEND_HASH_FOREACH_STR_KEY(ht, key) { in ct_eval_in_array()
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 584 HashTable *ht; in accel_copy_permanent_strings() local 718 ZEND_HASH_FOREACH_BUCKET(ht, p) { in accel_copy_permanent_strings() 725 ZEND_HASH_FOREACH_BUCKET(ht, p) { in accel_copy_permanent_strings() 731 ht = php_stream_xport_get_hash(); in accel_copy_permanent_strings() 732 ZEND_HASH_FOREACH_BUCKET(ht, p) { in accel_copy_permanent_strings() 4081 op_array->static_variables = ht; in preload_fix_trait_methods() 4446 if (ht) { in accel_preload() 4448 zend_array_destroy(ht); in accel_preload() 4481 if (ht) { in accel_preload() 4482 if (GC_DELREF(ht) == 0) { in accel_preload() [all …]
|
/PHP-7.4/ext/soap/ |
H A D | php_encoding.c | 389 HashTable *ht = Z_OBJPROP_P(data); in master_to_xml_int() local 425 zdata = zend_hash_str_find_deref(ht, "enc_value", sizeof("enc_value")-1); in master_to_xml_int() 1613 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object() local 1616 ZEND_HASH_FOREACH_VAL(ht, val) { in model_to_xml_object() 1692 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object() local 1695 ZEND_HASH_FOREACH_VAL(ht, val) { in model_to_xml_object() 2971 HashTable *ht = Z_ARRVAL_P(data); in to_xml_list() local 2973 ZEND_HASH_FOREACH_VAL(ht, tmp) { in to_xml_list() 3478 HashTable *ht; in get_array_type() local 3491 ht = Z_ARRVAL_P(array); in get_array_type() [all …]
|
H A D | php_sdl.c | 584 HashTable ht; in wsdl_soap_binding_body() local 617 *params = ht; in wsdl_soap_binding_body() 1226 zend_hash_next_index_insert_ptr(ht, data); in sdl_deserialize_key() 1228 zend_hash_str_add_ptr(ht, *in, len, data); in sdl_deserialize_key() 1519 HashTable *ht; in sdl_deserialize_parameters() local 1523 ht = emalloc(sizeof(HashTable)); in sdl_deserialize_parameters() 1527 sdl_deserialize_key(ht, param, in); in sdl_deserialize_parameters() 1536 return ht; in sdl_deserialize_parameters() 2033 if (ht) { in sdl_serialize_parameters() 2034 i = zend_hash_num_elements(ht); in sdl_serialize_parameters() [all …]
|
H A D | php_schema.c | 2066 static void* schema_find_by_ref(HashTable *ht, char *ref) in schema_find_by_ref() argument 2070 if ((tmp = zend_hash_str_find_ptr(ht, ref, strlen(ref))) != NULL) { in schema_find_by_ref() 2075 if ((tmp = zend_hash_str_find_ptr(ht, ref, strlen(ref))) != NULL) { in schema_find_by_ref() 2131 static void schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) in schema_attributegroup_fixup() argument 2156 HashTable *ht = emalloc(sizeof(HashTable)); in schema_attributegroup_fixup() local 2157 …zend_hash_init(ht, zend_hash_num_elements(newAttr->extraAttributes), NULL, delete_extra_attribute,… in schema_attributegroup_fixup() 2158 zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute); in schema_attributegroup_fixup() 2159 newAttr->extraAttributes = ht; in schema_attributegroup_fixup() 2163 zend_hash_add_ptr(ht, _key, newAttr); in schema_attributegroup_fixup() 2169 schema_attributegroup_fixup(ctx, tmp_attr, ht); in schema_attributegroup_fixup()
|
/PHP-7.4/ext/exif/ |
H A D | exif.c | 1361 HashTable *ht = malloc(sizeof(HashTable)); in exif_make_tag_ht() local 1362 zend_hash_init(ht, 0, NULL, NULL, 1); in exif_make_tag_ht() 1369 return ht; in exif_make_tag_ht() 1374 HashTable *ht = Z_PTR_P(zv); in exif_tag_ht_dtor() local 1375 zend_hash_destroy(ht); in exif_tag_ht_dtor() 1376 free(ht); in exif_tag_ht_dtor() 1381 HashTable *ht; in exif_get_tag_ht() local 1389 if (ht) { in exif_get_tag_ht() 1390 return ht; in exif_get_tag_ht() 1393 ht = exif_make_tag_ht(tag_table); in exif_get_tag_ht() [all …]
|
/PHP-7.4/ext/intl/converter/ |
H A D | converter.c | 205 HashTable *ht = Z_ARRVAL_P(val); in php_converter_append_toUnicode_target() local 208 ZEND_HASH_FOREACH_VAL(ht, tmpzval) { in php_converter_append_toUnicode_target() 290 HashTable *ht = Z_ARRVAL_P(val); in php_converter_append_fromUnicode_target() local 292 ZEND_HASH_FOREACH_VAL(ht, tmpzval) { in php_converter_append_fromUnicode_target()
|
/PHP-7.4/ext/phar/ |
H A D | dirstream.c | 142 static int phar_add_empty(HashTable *ht, char *arKey, uint32_t nKeyLength) /* {{{ */ in phar_add_empty() argument 147 zend_hash_str_update(ht, arKey, nKeyLength, &dummy); in phar_add_empty()
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 1940 HashTable *ht = NULL; in zend_ffi_cdata_get_debug_info() local 1969 ht = zend_new_array(1); in zend_ffi_cdata_get_debug_info() 1972 return ht; in zend_ffi_cdata_get_debug_info() 1977 ht = zend_new_array(1); in zend_ffi_cdata_get_debug_info() 1980 return ht; in zend_ffi_cdata_get_debug_info() 1986 return ht; in zend_ffi_cdata_get_debug_info() 1992 return ht; in zend_ffi_cdata_get_debug_info() 2010 return ht; in zend_ffi_cdata_get_debug_info() 2019 return ht; in zend_ffi_cdata_get_debug_info() 2021 ht = zend_new_array(0); in zend_ffi_cdata_get_debug_info() [all …]
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 3851 HashTable *ht; in mb_recursive_encoder_detector_feed() local 3870 ht = HASH_OF(var); in mb_recursive_encoder_detector_feed() 3871 if (ht != NULL) { in mb_recursive_encoder_detector_feed() 3872 ZEND_HASH_FOREACH_VAL_IND(ht, entry) { in mb_recursive_encoder_detector_feed() 3897 HashTable *ht; in mb_recursive_convert_variable() local 3923 ht = HASH_OF(var); in mb_recursive_convert_variable() 3924 if (ht != NULL) { in mb_recursive_convert_variable() 3925 ZEND_HASH_FOREACH_VAL_IND(ht, entry) { in mb_recursive_convert_variable() 4173 static int _php_mbstr_parse_mail_headers(HashTable *ht, const char *str, size_t str_len) in _php_mbstr_parse_mail_headers() argument 4283 zend_hash_update(ht, fld_name, &val); in _php_mbstr_parse_mail_headers() [all …]
|