Lines Matching refs:SOAP_GLOBAL
172 if (zend_hash_find(&SOAP_GLOBAL(defEnc), (char*)nscat, len + 1, (void **)&enc) == SUCCESS) { in get_encoder_ex()
3193 char* old_error_code = SOAP_GLOBAL(error_code); in get_sdl()
3212 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()
3216 if (p->time < t - SOAP_GLOBAL(cache_ttl)) { in get_sdl()
3230 int len = strlen(SOAP_GLOBAL(cache_dir)); in get_sdl()
3241 memcpy(key,SOAP_GLOBAL(cache_dir),len); in get_sdl()
3251 if ((sdl = get_sdl_from_cache(key, uri, t-SOAP_GLOBAL(cache_ttl), &cached TSRMLS_CC)) != NULL) { in get_sdl()
3343 SOAP_GLOBAL(error_code) = "WSDL"; in get_sdl()
3350 SOAP_GLOBAL(error_code) = old_error_code; 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()
3373 } else if (SOAP_GLOBAL(cache_limit) > 0 && 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()
3384 zend_hash_get_current_data_ex(SOAP_GLOBAL(mem_cache), (void **) &q, &pos) == SUCCESS; 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()
3403 if (SUCCESS == zend_hash_update(SOAP_GLOBAL(mem_cache), uri, in get_sdl()