Home
last modified time | relevance | path

Searched refs:_from_bytes (Results 1 – 12 of 12) sorted by relevance

/external/python/oauth2client/tests/
Dtest__helpers.py70 self.assertEqual(_helpers._from_bytes(value), value)
75 self.assertEqual(_helpers._from_bytes(value), decoded_value)
80 _helpers._from_bytes(value)
Dtest__pure_python_crypt.py85 public_key = _helpers._from_bytes(self._load_public_key_bytes())
99 public_cert = _helpers._from_bytes(self._load_public_cert_bytes())
143 key_bytes = _helpers._from_bytes(self._load_pkcs1_key_bytes())
157 six.StringIO(_helpers._from_bytes(key_bytes)),
170 key_bytes = _helpers._from_bytes(self._load_pkcs8_key_bytes())
Dtest_clientsecrets.py201 src = _helpers._from_bytes(src)
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_models.py27 from oauth2client._helpers import _from_bytes
39 self.pickle_str = _from_bytes(
/external/python/oauth2client/oauth2client/
Dclient.py300 json_data_as_unicode = _helpers._from_bytes(json_data)
625 data = json.loads(_helpers._from_bytes(json_data))
798 content = _helpers._from_bytes(content)
869 d = json.loads(_helpers._from_bytes(content))
908 content = _helpers._from_bytes(content)
974 data = json.loads(_helpers._from_bytes(json_data))
1142 data = json.loads(_helpers._from_bytes(json_data))
1577 certs = json.loads(_helpers._from_bytes(content))
1604 _helpers._from_bytes(_helpers._urlsafe_b64decode(segments[1])))
1621 content = _helpers._from_bytes(content)
[all …]
D_helpers.py74 def _from_bytes(value): function
D_pure_python_crypt.py166 key = _helpers._from_bytes(key) # pem expects str in Py3
Dcrypt.py237 payload_dict = json.loads(_helpers._from_bytes(payload_bytes))
Dservice_account.py437 json_data = json.loads(_helpers._from_bytes(json_data))
/external/python/oauth2client/oauth2client/contrib/
D_metadata.py65 decoded = _helpers._from_bytes(content)
Dmultiprocess_file_storage.py180 encoded_credential = _helpers._from_bytes(base64.b64encode(
/external/python/oauth2client/tests/contrib/
Dtest_devshell.py159 resp_buffer += _helpers._from_bytes(