Home
last modified time | relevance | path

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

/PHP-5.5/ext/soap/
H A Dphp_soap.h176 HashTable *mem_cache; variable
H A Dphp_sdl.c3212 if ((cache_wsdl & WSDL_CACHE_MEMORY) && SOAP_GLOBAL(mem_cache)) { in get_sdl()
3215 if (SUCCESS == zend_hash_find(SOAP_GLOBAL(mem_cache), uri, uri_len+1, (void*)&p)) { in get_sdl()
3370 if (SOAP_GLOBAL(mem_cache) == NULL) { in get_sdl()
3371 SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); in get_sdl()
3372 zend_hash_init(SOAP_GLOBAL(mem_cache), 0, NULL, delete_psdl, 1); in get_sdl()
3374 SOAP_GLOBAL(cache_limit) <= zend_hash_num_elements(SOAP_GLOBAL(mem_cache))) { in get_sdl()
3383 for (zend_hash_internal_pointer_reset_ex(SOAP_GLOBAL(mem_cache), &pos); in get_sdl()
3385 zend_hash_move_forward_ex(SOAP_GLOBAL(mem_cache), &pos)) { in get_sdl()
3388 zend_hash_get_current_key_ex(SOAP_GLOBAL(mem_cache), &key, &key_len, &idx, 0, &pos); in get_sdl()
3392 zend_hash_del(SOAP_GLOBAL(mem_cache), key, key_len); in get_sdl()
[all …]
H A Dsoap.c583 soap_globals->mem_cache = NULL; in php_soap_init_globals()
593 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
594 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
595 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()

Completed in 29 milliseconds