Home
last modified time | relevance | path

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

/PHP-7.4/ext/session/
H A Dmod_mm.c113 uint32_t hv, slot; in ps_sd_new() local
127 slot = hv & data->hash_max; in ps_sd_new()
136 sd->next = data->hash[slot]; in ps_sd_new()
137 data->hash[slot] = sd; in ps_sd_new()
154 uint32_t slot; in ps_sd_destroy() local
158 if (data->hash[slot] == sd) { in ps_sd_destroy()
159 data->hash[slot] = sd->next; in ps_sd_destroy()
179 uint32_t hv, slot; in ps_sd_lookup() local
183 slot = hv & data->hash_max; in ps_sd_lookup()
197 ret->next = data->hash[slot]; in ps_sd_lookup()
[all …]
/PHP-7.4/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.h357 slot[0] = (ce); \
358 slot[1] = (ptr); \
361 #define CACHED_PTR_EX(slot) \ argument
362 (slot)[0]
364 #define CACHE_PTR_EX(slot, ptr) do { \ argument
365 (slot)[0] = (ptr); \
368 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
369 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
371 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
372 (slot)[0] = (ce); \
[all …]
H A Dzend_object_handlers.c1131 zval *slot = OBJ_PROP(zobj, property_offset); in zend_std_unset_property() local
1133 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property()
1134 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
1135 (ZEND_DEBUG || ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(slot)))) { in zend_std_unset_property()
1137 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(slot), prop_info); in zend_std_unset_property()
1141 ZVAL_COPY_VALUE(&tmp, slot); in zend_std_unset_property()
1142 ZVAL_UNDEF(slot); in zend_std_unset_property()
1149 if (UNEXPECTED(Z_PROP_FLAG_P(slot) == IS_PROP_UNINIT)) { in zend_std_unset_property()
1151 Z_PROP_FLAG_P(slot) = 0; in zend_std_unset_property()
H A Dzend_API.c1302 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_init_ex() local
1311 ZVAL_COPY_VALUE(slot, &tmp); in object_properties_init_ex()
1313 ZVAL_COPY_VALUE(slot, prop); in object_properties_init_ex()
1315 ZVAL_INDIRECT(prop, slot); in object_properties_init_ex()
1354 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_load() local
1355 zval_ptr_dtor(slot); in object_properties_load()
1356 ZVAL_COPY_VALUE(slot, prop); in object_properties_load()
1357 zval_add_ref(slot); in object_properties_load()
1359 ZVAL_INDIRECT(&tmp, slot); in object_properties_load()
H A Dzend_opcode.c935 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two() local
936 Z_CACHE_SLOT_P(val) = slot; in pass_two()
H A Dzend_execute.c2749 zend_object *obj, zval *slot) in zend_object_fetch_property_type_info() argument
2756 if (UNEXPECTED(slot < obj->properties_table || in zend_object_fetch_property_type_info()
2757 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
2761 return zend_get_typed_property_info_for_slot(obj, slot); in zend_object_fetch_property_type_info()
/PHP-7.4/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-7.4/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-7.4/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-7.4/ext/sockets/tests/
H A Dsocket_strerror.phpt81 string(12) "Invalid slot"
/PHP-7.4/ext/standard/
H A Dvar_unserializer.re570 /* Remember to which property this slot belongs, so we can add a

Completed in 127 milliseconds