Lines Matching refs:SOAP_GLOBAL
180 if ((enc = zend_hash_str_find_ptr(&SOAP_GLOBAL(defEnc), nscat, len)) != NULL) { in get_encoder_ex()
2102 …f = php_open_temporary_fd_ex(SOAP_GLOBAL(cache_dir), "tmp.wsdl.", &temp_file_path, PHP_TMP_FILE_SI… in add_sdl_to_cache()
3156 char* old_error_code = SOAP_GLOBAL(error_code); in get_sdl()
3177 if ((cache_wsdl & WSDL_CACHE_MEMORY) && SOAP_GLOBAL(mem_cache)) { in get_sdl()
3180 if (NULL != (p = zend_hash_str_find_ptr(SOAP_GLOBAL(mem_cache), uri, uri_len))) { in get_sdl()
3181 if (p->time < t - SOAP_GLOBAL(cache_ttl)) { in get_sdl()
3195 size_t len = strlen(SOAP_GLOBAL(cache_dir)); in get_sdl()
3206 memcpy(key,SOAP_GLOBAL(cache_dir),len); in get_sdl()
3226 if ((sdl = get_sdl_from_cache(key, uri, uri_len, t-SOAP_GLOBAL(cache_ttl), &cached)) != NULL) { in get_sdl()
3310 SOAP_GLOBAL(error_code) = "WSDL"; in get_sdl()
3317 SOAP_GLOBAL(error_code) = old_error_code; in get_sdl()
3337 if (SOAP_GLOBAL(mem_cache) == NULL) { in get_sdl()
3338 SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); in get_sdl()
3339 zend_hash_init(SOAP_GLOBAL(mem_cache), 0, NULL, delete_psdl, 1); in get_sdl()
3340 } else if (SOAP_GLOBAL(cache_limit) > 0 && in get_sdl()
3341 … SOAP_GLOBAL(cache_limit) <= (zend_long)zend_hash_num_elements(SOAP_GLOBAL(mem_cache))) { in get_sdl()
3347 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(SOAP_GLOBAL(mem_cache), key, q) { in get_sdl()
3354 zend_hash_del(SOAP_GLOBAL(mem_cache), latest_key); in get_sdl()
3365 zend_hash_str_update_mem(SOAP_GLOBAL(mem_cache), uri, in get_sdl()