Home
last modified time | relevance | path

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

/bionic/libc/dns/
Dgethnamaddr.c751 const char *cache_mode = getenv("ANDROID_DNS_MODE"); in gethostbyname_internal() local
755 if (cache_mode != NULL && strcmp(cache_mode, "local") == 0) { in gethostbyname_internal()
880 const char *cache_mode = getenv("ANDROID_DNS_MODE"); in android_gethostbyaddrfornet() local
882 if (cache_mode == NULL || strcmp(cache_mode, "local") != 0) { in android_gethostbyaddrfornet()
/bionic/libc/dns/resolv/
Dres_cache.c1392 const char* cache_mode = getenv("ANDROID_DNS_MODE"); in _res_cache_get_max_entries() local
1393 if (cache_mode == NULL || strcmp(cache_mode, "local") != 0) { in _res_cache_get_max_entries()
/bionic/libc/dns/net/
Dgetaddrinfo.c602 const char* cache_mode = getenv("ANDROID_DNS_MODE"); in android_getaddrinfofornet() local
740 if (cache_mode == NULL || strcmp(cache_mode, "local") != 0) { in android_getaddrinfofornet()