Lines Matching refs:proxyDict
58 CFDictionaryRef proxyDict = NULL; in get_proxy_settings() local
66 proxyDict = SCDynamicStoreCopyProxies(NULL); in get_proxy_settings() local
69 if (!proxyDict) { in get_proxy_settings()
76 aNum = CFDictionaryGetValue(proxyDict, in get_proxy_settings()
90 anArray = CFDictionaryGetValue(proxyDict, in get_proxy_settings()
121 CFRelease(proxyDict); in get_proxy_settings()
125 if (proxyDict) CFRelease(proxyDict); in get_proxy_settings()
131 set_proxy(PyObject* proxies, const char* proto, CFDictionaryRef proxyDict, in set_proxy() argument
137 aNum = CFDictionaryGetValue(proxyDict, enabledKey); in set_proxy()
141 hostString = CFDictionaryGetValue(proxyDict, hostKey); in set_proxy()
142 aNum = CFDictionaryGetValue(proxyDict, portKey); in set_proxy()
176 CFDictionaryRef proxyDict = NULL; in get_proxies() local
179 proxyDict = SCDynamicStoreCopyProxies(NULL); in get_proxies() local
182 if (proxyDict == NULL) { in get_proxies()
189 r = set_proxy(result, "http", proxyDict, in get_proxies()
194 r = set_proxy(result, "https", proxyDict, in get_proxies()
199 r = set_proxy(result, "ftp", proxyDict, in get_proxies()
204 r = set_proxy(result, "gopher", proxyDict, in get_proxies()
210 CFRelease(proxyDict); in get_proxies()
213 if (proxyDict) CFRelease(proxyDict); in get_proxies()