Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 17 of 17) sorted by relevance

/PHP-8.0/ext/session/
H A Dmod_mm.c111 uint32_t hv, slot; in ps_sd_new() local
125 slot = hv & data->hash_max; in ps_sd_new()
134 sd->next = data->hash[slot]; in ps_sd_new()
135 data->hash[slot] = sd; in ps_sd_new()
152 uint32_t slot; in ps_sd_destroy() local
156 if (data->hash[slot] == sd) { in ps_sd_destroy()
157 data->hash[slot] = sd->next; in ps_sd_destroy()
177 uint32_t hv, slot; in ps_sd_lookup() local
181 slot = hv & data->hash_max; in ps_sd_lookup()
195 ret->next = data->hash[slot]; in ps_sd_lookup()
[all …]
/PHP-8.0/Zend/
H A Dzend_objects_API.h98 static inline zend_property_info *zend_get_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_property_info_for_slot() argument
101 intptr_t prop_num = slot - obj->properties_table; in zend_get_property_info_for_slot()
107 …atic inline zend_property_info *zend_get_typed_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_typed_property_info_for_slot() argument
109 zend_property_info *prop_info = zend_get_property_info_for_slot(obj, slot); in zend_get_typed_property_info_for_slot()
H A Dzend_execute.h377 slot[0] = (ce); \
378 slot[1] = (ptr); \
381 #define CACHED_PTR_EX(slot) \ argument
382 (slot)[0]
384 #define CACHE_PTR_EX(slot, ptr) do { \ argument
385 (slot)[0] = (ptr); \
388 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
389 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
391 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
392 (slot)[0] = (ce); \
[all …]
H A Dzend_object_handlers.c993 zval *slot = OBJ_PROP(zobj, property_offset); in zend_std_unset_property() local
995 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property()
996 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
997 (ZEND_DEBUG || ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(slot)))) { in zend_std_unset_property()
999 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(slot), prop_info); in zend_std_unset_property()
1003 ZVAL_COPY_VALUE(&tmp, slot); in zend_std_unset_property()
1004 ZVAL_UNDEF(slot); in zend_std_unset_property()
1011 if (UNEXPECTED(Z_PROP_FLAG_P(slot) == IS_PROP_UNINIT)) { in zend_std_unset_property()
1013 Z_PROP_FLAG_P(slot) = 0; in zend_std_unset_property()
H A Dzend_API.c1339 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_init_ex() local
1348 ZVAL_COPY_VALUE(slot, &tmp); in object_properties_init_ex()
1350 ZVAL_COPY_VALUE(slot, prop); in object_properties_init_ex()
1352 ZVAL_INDIRECT(prop, slot); in object_properties_init_ex()
1391 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_load() local
1392 zval_ptr_dtor(slot); in object_properties_load()
1393 ZVAL_COPY_VALUE(slot, prop); in object_properties_load()
1394 zval_add_ref(slot); in object_properties_load()
1396 ZVAL_INDIRECT(&tmp, slot); in object_properties_load()
H A Dzend_opcode.c991 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two() local
992 Z_CACHE_SLOT_P(val) = slot; in pass_two()
H A Dzend_execute.c2771 zend_object *obj, zval *slot) in zend_object_fetch_property_type_info() argument
2778 if (UNEXPECTED(slot < obj->properties_table || in zend_object_fetch_property_type_info()
2779 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
2783 return zend_get_typed_property_info_for_slot(obj, slot); in zend_object_fetch_property_type_info()
/PHP-8.0/Zend/tests/
H A Dassign_obj_op_cache_slot.phpt2 The ASSIGN_OBJ_OP cache slot is on the OP_DATA opcode
/PHP-8.0/ext/mbstring/ucgendat/
H A Ducgendat.php578 $slot = hashInt($d, $k) % $tableSize;
579 if (isset($table[$slot]) || isset($used[$slot])) {
585 $used[$slot] = true;
611 $slot = $freeSlots[$freeIdx++];
612 $table[$slot] = $elem;
615 $gTable[$g] = -$slot;
/PHP-8.0/ext/gd/libgd/
H A Dgdft.c824 FT_GlyphSlot slot; local
890 slot = face->glyph; /* shortcut */
1097 if (FT_Get_Glyph(slot, &image)) {
1112 glyph_bbox.xMax += slot->metrics.horiAdvance;
1137 penf.x += slot->metrics.horiAdvance;
1155 if (FT_Get_Glyph(slot, &image)) {
/PHP-8.0/ext/pcre/pcre2lib/
H A Dpcre2_study.c479 PCRE2_UCHAR *slot = in find_minlength() local
490 recno = GET2(slot, 0); in find_minlength()
535 slot += re->name_entry_size; in find_minlength()
H A Dpcre2_compile.c5205 PCRE2_UCHAR *slot = cb->name_table; in find_dupname_details() local
5212 slot[IMM2_SIZE+length] == 0) break; in find_dupname_details()
5213 slot += cb->name_entry_size; in find_dupname_details()
5235 groupnumber = GET2(slot,0); in find_dupname_details()
5239 slot += cb->name_entry_size; in find_dupname_details()
5241 (slot+IMM2_SIZE)[length] != 0) break; in find_dupname_details()
8762 PCRE2_UCHAR *slot = cb->name_table; in add_name_to_table() local
8777 (void)memmove(slot + cb->name_entry_size, slot, in add_name_to_table()
8784 slot += cb->name_entry_size; in add_name_to_table()
8787 PUT2(slot, 0, groupno); in add_name_to_table()
[all …]
H A Dpcre2_match.c4697 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
4702 Loffset = (GET2(slot, 0) << 1) - 2; in match()
4704 slot += mb->name_entry_size; in match()
5346 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
5349 number = GET2(slot, 0); in match()
5352 slot += mb->name_entry_size; in match()
5365 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
5368 offset = (GET2(slot, 0) << 1) - 2; in match()
5371 slot += mb->name_entry_size; in match()
H A Dpcre2_jit_compile.c1071 PCRE2_SPTR slot; in check_opcode_types() local
1102 slot = bracketend(cc); in check_opcode_types()
1103 if (slot > assert_na_end) in check_opcode_types()
1104 assert_na_end = slot; in check_opcode_types()
1162 slot = bracketend(cc); in check_opcode_types()
1163 if (slot > assert_back_end) in check_opcode_types()
1164 assert_back_end = slot; in check_opcode_types()
8939 offset = GET2(slot, 0) << 1; in compile_dnref_search()
8942 slot += common->name_entry_size; in compile_dnref_search()
8945 offset = GET2(slot, 0) << 1; in compile_dnref_search()
[all …]
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_helpers.c1927 zend_object *obj, zval *slot) in zend_object_fetch_property_type_info() argument
1934 if (UNEXPECTED(slot < obj->properties_table || in zend_object_fetch_property_type_info()
1935 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
1939 return zend_get_typed_property_info_for_slot(obj, slot); in zend_object_fetch_property_type_info()
H A Dzend_jit_x86.dasc48 |.define A6, [r4+0x28] // preallocated slot for 6-th argument
49 |.define A5, [r4+0x20] // preallocated slot for 5-th argument
/PHP-8.0/ext/standard/
H A Dvar_unserializer.re613 /* Remember to which property this slot belongs, so we can add a

Completed in 249 milliseconds