Lines Matching refs:storage

53 	HashTable         storage;  member
82 zend_hash_destroy(&intern->storage); in spl_SplObjectStorage_free_storage()
131 return zend_hash_find_ptr(&intern->storage, key->key); in spl_object_storage_get()
133 return zend_hash_index_find_ptr(&intern->storage, key->h); in spl_object_storage_get()
154 zval *entry_zv = zend_hash_index_lookup(&intern->storage, handle); in spl_object_storage_attach_handle()
217 …pelement = zend_hash_update_mem(&intern->storage, key.key, &element, sizeof(spl_SplObjectStorageEl… in spl_object_storage_attach()
219 …pelement = zend_hash_index_update_mem(&intern->storage, key.h, &element, sizeof(spl_SplObjectStora… in spl_object_storage_attach()
228 return zend_hash_index_del(&intern->storage, obj->handle); in spl_object_storage_detach()
236 ret = zend_hash_del(&intern->storage, key.key); in spl_object_storage_detach()
238 ret = zend_hash_index_del(&intern->storage, key.h); in spl_object_storage_detach()
248 ZEND_HASH_FOREACH_PTR(&other->storage, element) { in spl_object_storage_addall()
270 zend_hash_init(&intern->storage, 0, NULL, spl_object_storage_dtor, 0); in spl_object_storage_new_ex()
332 zval tmp, storage; in spl_object_storage_debug_info() local
341 array_init(&storage); in spl_object_storage_debug_info()
343 ZEND_HASH_FOREACH_PTR(&intern->storage, element) { in spl_object_storage_debug_info()
352 zend_hash_next_index_insert(Z_ARRVAL(storage), &tmp); in spl_object_storage_debug_info()
356 zend_symtable_update(debug_info, zname, &storage); in spl_object_storage_debug_info()
370 ZEND_HASH_FOREACH_PTR(&intern->storage, element) { in spl_object_storage_get_gc()
403 …return zend_hash_compare(&(Z_SPLOBJSTORAGE_P(o1))->storage, &(Z_SPLOBJSTORAGE_P(o2))->storage, (co… in spl_object_storage_compare_objects()
418 return zend_hash_index_find(&intern->storage, obj->handle) != NULL; in spl_object_storage_contains()
426 bool found = zend_hash_exists(&intern->storage, key.key); in spl_object_storage_contains()
455 …spl_SplObjectStorageElement *element = zend_hash_index_find_ptr(&intern->storage, Z_OBJ_HANDLE_P(o… in spl_object_storage_has_dimension()
474 …spl_SplObjectStorageElement *element = zend_hash_index_find_ptr(&intern->storage, Z_OBJ_HANDLE_P(o… in spl_object_storage_read_dimension()
507 zend_hash_index_del(&intern->storage, Z_OBJ_HANDLE_P(offset)); in spl_object_storage_unset_dimension()
521 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
579 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
596 zend_hash_internal_pointer_reset(&other->storage); in PHP_METHOD()
597 while ((element = zend_hash_get_current_data_ptr(&other->storage)) != NULL) { in PHP_METHOD()
599 zend_hash_move_forward(&other->storage); in PHP_METHOD()
603 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
606 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
623 ZEND_HASH_FOREACH_PTR(&intern->storage, element) { in PHP_METHOD()
629 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
632 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
659 RETURN_LONG(php_count_recursive(&intern->storage)); in PHP_METHOD()
662 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
674 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
687 RETURN_BOOL(zend_hash_has_more_elements_ex(&intern->storage, &intern->pos) == SUCCESS); in PHP_METHOD()
712 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) == NULL) { in PHP_METHOD()
729 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) == NULL) { in PHP_METHOD()
746 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) == NULL) { in PHP_METHOD()
764 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
787 ZVAL_LONG(&flags, zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
790 zend_hash_internal_pointer_reset_ex(&intern->storage, &pos); in PHP_METHOD()
792 while (zend_hash_has_more_elements_ex(&intern->storage, &pos) == SUCCESS) { in PHP_METHOD()
794 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &pos)) == NULL) { in PHP_METHOD()
809 zend_hash_move_forward_ex(&intern->storage, &pos); in PHP_METHOD()
960 array_init_size(&tmp, 2 * zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
961 ZEND_HASH_FOREACH_PTR(&intern->storage, elem) { in PHP_METHOD()
1100 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1101 while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL) { in PHP_METHOD()
1106 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1127 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1151 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
1166 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1167 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in PHP_METHOD()
1170 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1187 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1188 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in PHP_METHOD()
1191 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1210 if (!zend_hash_num_elements(&intern->storage)) { in PHP_METHOD()
1216 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1217 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in PHP_METHOD()
1232 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1245 num_elements = zend_hash_num_elements(&intern->storage); in spl_multiple_iterator_get_all()
1254 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in spl_multiple_iterator_get_all()
1255 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in spl_multiple_iterator_get_all()
1304 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in spl_multiple_iterator_get_all()