Home
last modified time | relevance | path

Searched refs:mem_cache (Results 1 – 3 of 3) sorted by relevance

/PHP-8.1/ext/soap/
H A Dphp_soap.h171 HashTable *mem_cache; variable
H A Dphp_sdl.c3198 if ((cache_wsdl & WSDL_CACHE_MEMORY) && SOAP_GLOBAL(mem_cache)) { in get_sdl()
3201 if (NULL != (p = zend_hash_str_find_ptr(SOAP_GLOBAL(mem_cache), uri, uri_len))) { in get_sdl()
3360 if (SOAP_GLOBAL(mem_cache) == NULL) { in get_sdl()
3361 SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); in get_sdl()
3362 zend_hash_init(SOAP_GLOBAL(mem_cache), 0, NULL, delete_psdl, 1); in get_sdl()
3364 … SOAP_GLOBAL(cache_limit) <= (zend_long)zend_hash_num_elements(SOAP_GLOBAL(mem_cache))) { in get_sdl()
3370 ZEND_HASH_FOREACH_STR_KEY_PTR(SOAP_GLOBAL(mem_cache), key, q) { in get_sdl()
3377 zend_hash_del(SOAP_GLOBAL(mem_cache), latest_key); in get_sdl()
3388 zend_hash_str_update_mem(SOAP_GLOBAL(mem_cache), uri, in get_sdl()
H A Dsoap.c321 soap_globals->mem_cache = NULL; in php_soap_init_globals()
331 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
332 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
333 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()

Completed in 37 milliseconds