Home
last modified time | relevance | path

Searched refs:destpair (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
Dsocks.py394 def connect(self, destpair): argument
402 …if (not type(destpair) in (list,tuple)) or (len(destpair) < 2) or (not isinstance(destpair[0], bas…
410 self.__negotiatesocks5(destpair[0], destpair[1])
417 self.__negotiatesocks4(destpair[0], destpair[1])
424 self.__negotiatehttp(destpair[0], destpair[1])
431 if destpair[1] == 443:
432 self.__negotiatehttp(destpair[0],destpair[1])
436 _orgsocket.connect(self, (destpair[0], destpair[1]))
/external/chromium-trace/catapult/third_party/gsutil/third_party/socksipy-branch/
Dsocks.py353 def connect(self, destpair): argument
361 …if (not type(destpair) in (list,tuple)) or (len(destpair) < 2) or (type(destpair[0]) != type('')) …
369 self.__negotiatesocks5(destpair[0], destpair[1])
376 self.__negotiatesocks4(destpair[0], destpair[1])
383 self.__negotiatehttp(destpair[0], destpair[1])
385 _orgsocket.connect(self, (destpair[0], destpair[1]))