Searched defs:storage (Results 1 - 7 of 7) 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
35 mem->storage.chunk_alloc = zend_mm_mem_alloc;
36 mem->storage.chunk_free = zend_mm_mem_free;
38 mem->heap = zend_mm_startup_ex(&mem->storage);
H A Dphpdbg_sigsafe.h16 zend_mm_storage storage; member in struct:__anon306
/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
782 if (UNEXPECTED(heap->storage)) {
783 void *ptr = heap->storage->chunk_alloc(heap->storage, size, alignment);
794 if (UNEXPECTED(heap->storage)) {
795 heap->storage->chunk_free(heap->storage, addr, size);
805 if (UNEXPECTED(heap->storage)) {
806 heap->storage
1993 zend_mm_storage *storage = heap->storage; local
2488 zend_mm_startup_ex(zend_mm_storage *storage) argument
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_observer.c83 HashTable storage; member in struct:_spl_SplObjectStorage
92 /* {{{ storage is an assoc aray of [zend_object_value]=>[zval *obj, zval *inf] */
111 zend_hash_destroy(&intern->storage);
195 return (spl_SplObjectStorageElement*)zend_hash_find_ptr(&intern->storage, hash);
226 pelement = zend_hash_update_mem(&intern->storage, hash, &element, sizeof(spl_SplObjectStorageElement));
238 ret = zend_hash_del(&intern->storage, hash);
247 ZEND_HASH_FOREACH_PTR(&other->storage, element) {
266 zend_hash_init(&intern->storage, 0, NULL, spl_object_storage_dtor, 0);
313 zval tmp, storage; local
330 array_init(&storage);
[all...]
H A Dspl_array.c848 zval *storage; local
871 storage = &intern->array;
872 zval_add_ref(storage);
875 zname = spl_gen_private_prop_name(base, "storage", sizeof("storage")-1);
876 zend_symtable_update(intern->debug_info, zname, storage);
1736 /* storage */
1798 /* storage */
/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...]

Completed in 20 milliseconds