Searched refs:mem_cache (Results 1 – 3 of 3) sorted by relevance
/PHP-5.6/ext/soap/ |
H A D | php_soap.h | 176 HashTable *mem_cache; variable
|
H A D | php_sdl.c | 3214 if ((cache_wsdl & WSDL_CACHE_MEMORY) && SOAP_GLOBAL(mem_cache)) { in get_sdl() 3217 if (SUCCESS == zend_hash_find(SOAP_GLOBAL(mem_cache), uri, uri_len+1, (void*)&p)) { in get_sdl() 3372 if (SOAP_GLOBAL(mem_cache) == NULL) { in get_sdl() 3373 SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); in get_sdl() 3374 zend_hash_init(SOAP_GLOBAL(mem_cache), 0, NULL, delete_psdl, 1); in get_sdl() 3376 SOAP_GLOBAL(cache_limit) <= zend_hash_num_elements(SOAP_GLOBAL(mem_cache))) { in get_sdl() 3385 for (zend_hash_internal_pointer_reset_ex(SOAP_GLOBAL(mem_cache), &pos); in get_sdl() 3387 zend_hash_move_forward_ex(SOAP_GLOBAL(mem_cache), &pos)) { in get_sdl() 3390 zend_hash_get_current_key_ex(SOAP_GLOBAL(mem_cache), &key, &key_len, &idx, 0, &pos); in get_sdl() 3394 zend_hash_del(SOAP_GLOBAL(mem_cache), key, key_len); in get_sdl() [all …]
|
H A D | soap.c | 585 soap_globals->mem_cache = NULL; in php_soap_init_globals() 595 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION() 596 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION() 597 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
|
Completed in 31 milliseconds