Searched refs:cache_mode (Results 1 – 3 of 3) sorted by relevance
751 const char *cache_mode = getenv("ANDROID_DNS_MODE"); in gethostbyname_internal() local755 if (cache_mode != NULL && strcmp(cache_mode, "local") == 0) { in gethostbyname_internal()880 const char *cache_mode = getenv("ANDROID_DNS_MODE"); in android_gethostbyaddrfornet() local882 if (cache_mode == NULL || strcmp(cache_mode, "local") != 0) { in android_gethostbyaddrfornet()
1392 const char* cache_mode = getenv("ANDROID_DNS_MODE"); in _res_cache_get_max_entries() local1393 if (cache_mode == NULL || strcmp(cache_mode, "local") != 0) { in _res_cache_get_max_entries()
602 const char* cache_mode = getenv("ANDROID_DNS_MODE"); in android_getaddrinfofornet() local740 if (cache_mode == NULL || strcmp(cache_mode, "local") != 0) { in android_getaddrinfofornet()