Lines Matching refs:storage

48 	HashTable         storage;  member
75 zend_hash_destroy(&intern->storage); in spl_SplObjectStorage_free_storage()
120 return zend_hash_find_ptr(&intern->storage, key->key); in spl_object_storage_get()
122 return zend_hash_index_find_ptr(&intern->storage, key->h); in spl_object_storage_get()
154 …pelement = zend_hash_update_mem(&intern->storage, key.key, &element, sizeof(spl_SplObjectStorageEl… in spl_object_storage_attach()
156 …pelement = zend_hash_index_update_mem(&intern->storage, key.h, &element, sizeof(spl_SplObjectStora… in spl_object_storage_attach()
170 ret = zend_hash_del(&intern->storage, key.key); in spl_object_storage_detach()
172 ret = zend_hash_index_del(&intern->storage, key.h); in spl_object_storage_detach()
182 ZEND_HASH_FOREACH_PTR(&other->storage, element) { in spl_object_storage_addall()
201 zend_hash_init(&intern->storage, 0, NULL, spl_object_storage_dtor, 0); in spl_object_storage_new_ex()
246 zval tmp, storage; in spl_object_storage_debug_info() local
256 array_init(&storage); in spl_object_storage_debug_info()
258 ZEND_HASH_FOREACH_PTR(&intern->storage, element) { in spl_object_storage_debug_info()
266 zend_hash_update(Z_ARRVAL(storage), md5str, &tmp); in spl_object_storage_debug_info()
271 zend_symtable_update(debug_info, zname, &storage); in spl_object_storage_debug_info()
285 ZEND_HASH_FOREACH_PTR(&intern->storage, element) { in spl_object_storage_get_gc()
318 …return zend_hash_compare(&(Z_SPLOBJSTORAGE_P(o1))->storage, &(Z_SPLOBJSTORAGE_P(o2))->storage, (co… in spl_object_storage_compare_objects()
338 found = zend_hash_exists(&intern->storage, key.key); in spl_object_storage_contains()
340 found = zend_hash_index_exists(&intern->storage, key.h); in spl_object_storage_contains()
370 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
430 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
447 zend_hash_internal_pointer_reset(&other->storage); in PHP_METHOD()
448 while ((element = zend_hash_get_current_data_ptr(&other->storage)) != NULL) { in PHP_METHOD()
450 zend_hash_move_forward(&other->storage); in PHP_METHOD()
454 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
457 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
474 ZEND_HASH_FOREACH_PTR(&intern->storage, element) { in PHP_METHOD()
480 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
483 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
513 ret = zend_hash_num_elements(&intern->storage); in PHP_METHOD()
515 ret = php_count_recursive(&intern->storage); in PHP_METHOD()
522 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
534 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
547 RETURN_BOOL(zend_hash_has_more_elements_ex(&intern->storage, &intern->pos) == SUCCESS); in PHP_METHOD()
572 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) == NULL) { in PHP_METHOD()
588 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) == NULL) { in PHP_METHOD()
605 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) == NULL) { in PHP_METHOD()
621 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
644 ZVAL_LONG(&flags, zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
647 zend_hash_internal_pointer_reset_ex(&intern->storage, &pos); in PHP_METHOD()
649 while (zend_hash_has_more_elements_ex(&intern->storage, &pos) == SUCCESS) { in PHP_METHOD()
650 if ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &pos)) == NULL) { in PHP_METHOD()
659 zend_hash_move_forward_ex(&intern->storage, &pos); in PHP_METHOD()
817 array_init_size(&tmp, 2 * zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
818 ZEND_HASH_FOREACH_PTR(&intern->storage, elem) { in PHP_METHOD()
962 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
963 while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL) { in PHP_METHOD()
968 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
989 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1013 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
1029 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1030 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in PHP_METHOD()
1033 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1051 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1052 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in PHP_METHOD()
1055 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1074 if (!zend_hash_num_elements(&intern->storage)) { in PHP_METHOD()
1080 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1081 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in PHP_METHOD()
1096 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in PHP_METHOD()
1109 num_elements = zend_hash_num_elements(&intern->storage); in spl_multiple_iterator_get_all()
1116 zend_hash_internal_pointer_reset_ex(&intern->storage, &intern->pos); in spl_multiple_iterator_get_all()
1117 …while ((element = zend_hash_get_current_data_ptr_ex(&intern->storage, &intern->pos)) != NULL && !E… in spl_multiple_iterator_get_all()
1166 zend_hash_move_forward_ex(&intern->storage, &intern->pos); in spl_multiple_iterator_get_all()