Searched refs:mem_cache (Results 1 – 3 of 3) sorted by relevance
/PHP-8.2/ext/soap/ |
H A D | php_soap.h | 171 HashTable *mem_cache; variable
|
H A D | php_sdl.c | 3202 if ((cache_wsdl & WSDL_CACHE_MEMORY) && SOAP_GLOBAL(mem_cache)) { in get_sdl() 3205 if (NULL != (p = zend_hash_str_find_ptr(SOAP_GLOBAL(mem_cache), uri, uri_len))) { in get_sdl() 3362 if (SOAP_GLOBAL(mem_cache) == NULL) { in get_sdl() 3363 SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); in get_sdl() 3364 zend_hash_init(SOAP_GLOBAL(mem_cache), 0, NULL, delete_psdl, 1); in get_sdl() 3366 … SOAP_GLOBAL(cache_limit) <= (zend_long)zend_hash_num_elements(SOAP_GLOBAL(mem_cache))) { in get_sdl() 3372 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(SOAP_GLOBAL(mem_cache), key, q) { in get_sdl() 3379 zend_hash_del(SOAP_GLOBAL(mem_cache), latest_key); in get_sdl() 3390 zend_hash_str_update_mem(SOAP_GLOBAL(mem_cache), uri, in get_sdl()
|
H A D | soap.c | 347 soap_globals->mem_cache = NULL; in php_soap_init_globals() 357 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION() 358 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION() 359 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
|
Completed in 47 milliseconds