Lines Matching refs:properties
40 static uint32_t zho_find_dynamic_prop_offset(zend_array *properties) in zho_find_dynamic_prop_offset() argument
45 ZEND_HASH_MAP_FOREACH_VAL(properties, value) { in zho_find_dynamic_prop_offset()
58 zend_array *properties = zend_new_array(include_dynamic_props && zobj->properties in zho_build_properties_ex() local
59 ? zend_hash_num_elements(zobj->properties) in zho_build_properties_ex()
61 zend_hash_real_init_mixed(properties); in zho_build_properties_ex()
100 zend_hash_update_ptr(properties, property_name, prop_info); in zho_build_properties_ex()
103 HT_FLAGS(properties) |= HASH_FLAG_HAS_EMPTY_IND; in zho_build_properties_ex()
105 zval *tmp = zend_hash_lookup(properties, property_name); in zho_build_properties_ex()
117 if (include_dynamic_props && zobj->properties) { in zho_build_properties_ex()
120 ZEND_HASH_FOREACH_STR_KEY_VAL(zobj->properties, prop_name, prop_value) { in zho_build_properties_ex()
124 zval *tmp = _zend_hash_append(properties, prop_name, prop_value); in zho_build_properties_ex()
129 return properties; in zho_build_properties_ex()
147 zend_array *properties = zobj->handlers->get_properties(zobj); in zho_dynamic_it_init() local
149 hooked_iter->dynamic_prop_offset = zho_find_dynamic_prop_offset(properties); in zho_dynamic_it_init()
150 …hooked_iter->dynamic_prop_it = zend_hash_iterator_add(properties, hooked_iter->dynamic_prop_offset… in zho_dynamic_it_init()
159 zend_array *properties = Z_ARR(hooked_iter->declared_props); in zho_declared_it_fetch_current() local
161 zend_property_info *prop_info = Z_PTR_P(zend_hash_get_current_data(properties)); in zho_declared_it_fetch_current()
222 zend_array *properties = Z_OBJ(iter->data)->properties; in zho_dynamic_it_fetch_current() local
223 HashPosition pos = zend_hash_iterator_pos(hooked_iter->dynamic_prop_it, properties); in zho_dynamic_it_fetch_current()
225 if (pos >= properties->nNumUsed) { in zho_dynamic_it_fetch_current()
230 Bucket *bucket = properties->arData + pos; in zho_dynamic_it_fetch_current()
316 zend_array *properties = Z_ARR(hooked_iter->declared_props); in zho_it_move_forward() local
317 zend_hash_move_forward(properties); in zho_it_move_forward()
318 if (zend_hash_has_more_elements(properties) != SUCCESS) { in zho_it_move_forward()
322 zend_array *properties = Z_OBJ(iter->data)->properties; in zho_it_move_forward() local
323 HashPosition pos = zend_hash_iterator_pos(hooked_iter->dynamic_prop_it, properties); in zho_it_move_forward()
338 zend_array *properties = Z_ARR(hooked_iter->declared_props); in zho_it_rewind() local
339 zend_hash_internal_pointer_reset(properties); in zho_it_rewind()
340 hooked_iter->declared_props_done = !zend_hash_num_elements(properties); in zho_it_rewind()
383 zend_array *properties = zho_build_properties_ex(zobj, true, true, false); in zend_hooked_object_get_iterator() local
384 ZVAL_ARR(&iterator->declared_props, properties); in zend_hooked_object_get_iterator()
385 iterator->declared_props_done = !zend_hash_num_elements(properties); in zend_hooked_object_get_iterator()