Lines Matching refs:SOAP_GLOBAL
172 if ((enc = zend_hash_str_find_ptr(&SOAP_GLOBAL(defEnc), (char*)nscat, len)) != NULL) { in get_encoder_ex()
2128 …f = php_open_temporary_fd_ex(SOAP_GLOBAL(cache_dir), "tmp.wsdl.", &temp_file_path, PHP_TMP_FILE_SI… in add_sdl_to_cache()
3181 char* old_error_code = SOAP_GLOBAL(error_code); in get_sdl()
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()
3206 if (p->time < t - SOAP_GLOBAL(cache_ttl)) { in get_sdl()
3220 int len = strlen(SOAP_GLOBAL(cache_dir)); in get_sdl()
3231 memcpy(key,SOAP_GLOBAL(cache_dir),len); in get_sdl()
3251 if ((sdl = get_sdl_from_cache(key, uri, uri_len, t-SOAP_GLOBAL(cache_ttl), &cached)) != NULL) { in get_sdl()
3335 SOAP_GLOBAL(error_code) = "WSDL"; in get_sdl()
3342 SOAP_GLOBAL(error_code) = old_error_code; 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()
3365 } else if (SOAP_GLOBAL(cache_limit) > 0 && 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()