Searched defs:storage (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/sapi/phpdbg/
H A Dzend_mm_structs.h74 zend_mm_storage *storage; member in struct:_zend_mm_heap
H A Dphpdbg_sigsafe.c9 static void* zend_mm_mem_alloc(zend_mm_storage *storage, size_t size, size_t alignment) { argument
27 static void zend_mm_mem_free(zend_mm_storage *storage, void *ptr, size_t size) { argument
/PHP_TRUNK/TSRM/
H A DTSRM.c30 void **storage; member in struct:_tsrm_tls_entry
64 /* Read a resource from a thread's resource storage */
97 /* Thread local storage */
182 if (p->storage[j]) {
184 resource_types_table[j].dtor(p->storage[j]);
186 free(p->storage[j]);
189 free(p->storage);
236 TSRM_ERROR((TSRM_ERROR_LEVEL_ERROR, "Unable to allocate storage for resource"));
255 p->storage = (void *) realloc(p->storage, sizeo
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_observer.c83 HashTable storage; member in struct:_spl_SplObjectStorage
93 /* {{{ storage is an assoc aray of [zend_object_value]=>[zval *obj, zval *inf] */
112 zend_hash_destroy(&intern->storage);
196 return (spl_SplObjectStorageElement*)zend_hash_find_ptr(&intern->storage, hash);
227 pelement = zend_hash_update_mem(&intern->storage, hash, &element, sizeof(spl_SplObjectStorageElement));
239 ret = zend_hash_del(&intern->storage, hash);
248 ZEND_HASH_FOREACH_PTR(&other->storage, element) {
267 zend_hash_init(&intern->storage, 0, NULL, spl_object_storage_dtor, 0);
314 zval tmp, storage; local
327 array_init(&storage);
[all...]
H A Dspl_array.c800 zval *storage; local
820 storage = &intern->array;
821 Z_TRY_ADDREF_P(storage);
825 zname = spl_gen_private_prop_name(base, "storage", sizeof("storage")-1);
826 zend_symtable_update(debug_info, zname, storage);
1666 /* storage */
1727 /* storage */
/PHP_TRUNK/Zend/
H A Dzend_alloc.c131 # define ZEND_MM_STORAGE 1 /* support for custom memory storage */
232 zend_mm_storage *storage; member in struct:_zend_mm_heap
772 if (UNEXPECTED(heap->storage)) {
773 void *ptr = heap->storage->handlers.chunk_alloc(heap->storage, size, alignment);
784 if (UNEXPECTED(heap->storage)) {
785 heap->storage->handlers.chunk_free(heap->storage, addr, size);
795 if (UNEXPECTED(heap->storage)) {
796 if (heap->storage
2506 zend_mm_storage tmp_storage, *storage; local
[all...]

Completed in 11 milliseconds