Home
last modified time | relevance | path

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

/external/python/cpython2/Mac/Modules/
D_scproxy.c51 CFDictionaryRef proxyDict = NULL; in get_proxy_settings() local
58 proxyDict = SCDynamicStoreCopyProxies(NULL); in get_proxy_settings()
59 if (!proxyDict) { in get_proxy_settings()
68 aNum = CFDictionaryGetValue(proxyDict, in get_proxy_settings()
85 anArray = CFDictionaryGetValue(proxyDict, in get_proxy_settings()
116 CFRelease(proxyDict); in get_proxy_settings()
120 if (proxyDict) CFRelease(proxyDict); in get_proxy_settings()
126 set_proxy(PyObject* proxies, char* proto, CFDictionaryRef proxyDict, in set_proxy() argument
132 aNum = CFDictionaryGetValue(proxyDict, enabledKey); in set_proxy()
136 hostString = CFDictionaryGetValue(proxyDict, hostKey); in set_proxy()
[all …]
/external/python/cpython3/Modules/
D_scproxy.c58 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()
[all …]
/external/webrtc/webrtc/base/
Dproxydetect.cc955 const CFDictionaryRef proxyDict, in p_getProxyInfoForTypeFromDictWithKeys() argument
970 if ((proxyDict != NULL) && in p_getProxyInfoForTypeFromDictWithKeys()
971 (CFGetTypeID(proxyDict) == CFDictionaryGetTypeID())) { in p_getProxyInfoForTypeFromDictWithKeys()
978 enabledCFNum = (CFNumberRef)CFDictionaryGetValue(proxyDict, enabledKey); in p_getProxyInfoForTypeFromDictWithKeys()
982 hostCFStr = (CFStringRef)CFDictionaryGetValue(proxyDict, hostKey); in p_getProxyInfoForTypeFromDictWithKeys()
985 portCFNum = (CFNumberRef)CFDictionaryGetValue(proxyDict, portKey); in p_getProxyInfoForTypeFromDictWithKeys()
1009 const CFDictionaryRef proxyDict) { in GetMacProxySettingsFromDictionary() argument
1017 proxyDict, in GetMacProxySettingsFromDictionary()
1026 proxyDict, in GetMacProxySettingsFromDictionary()
1035 proxy, PROXY_HTTPS, proxyDict, kSCPropNetProxiesHTTPEnable, in GetMacProxySettingsFromDictionary()
[all …]