Home
last modified time | relevance | path

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

/PHP-5.3/ext/soap/
H A Dphp_soap.h169 HashTable *mem_cache; variable
H A Dphp_sdl.c3211 if ((cache_wsdl & WSDL_CACHE_MEMORY) && SOAP_GLOBAL(mem_cache)) { in get_sdl()
3214 if (SUCCESS == zend_hash_find(SOAP_GLOBAL(mem_cache), uri, uri_len+1, (void*)&p)) { in get_sdl()
3369 if (SOAP_GLOBAL(mem_cache) == NULL) { in get_sdl()
3370 SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); in get_sdl()
3371 zend_hash_init(SOAP_GLOBAL(mem_cache), 0, NULL, delete_psdl, 1); in get_sdl()
3373 SOAP_GLOBAL(cache_limit) <= zend_hash_num_elements(SOAP_GLOBAL(mem_cache))) { in get_sdl()
3382 for (zend_hash_internal_pointer_reset_ex(SOAP_GLOBAL(mem_cache), &pos); in get_sdl()
3384 zend_hash_move_forward_ex(SOAP_GLOBAL(mem_cache), &pos)) { in get_sdl()
3387 zend_hash_get_current_key_ex(SOAP_GLOBAL(mem_cache), &key, &key_len, &idx, 0, &pos); in get_sdl()
3391 zend_hash_del(SOAP_GLOBAL(mem_cache), key, key_len); in get_sdl()
[all …]
H A Dsoap.c671 soap_globals->mem_cache = NULL; in php_soap_init_globals()
681 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
682 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
683 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()

Completed in 34 milliseconds