Searched refs:_helpers (Results 1 – 25 of 31) sorted by relevance
12
/external/python/google-api-python-client/tests/ |
D | test__helpers.py | 24 from googleapiclient import _helpers 30 _helpers.positional_parameters_enforcement = ( 31 _helpers.POSITIONAL_EXCEPTION) 34 @_helpers.positional(1) 44 @_helpers.positional(0) 54 @_helpers.positional 65 _helpers.positional_parameters_enforcement = ( 66 _helpers.POSITIONAL_WARNING) 68 @_helpers.positional(1) 77 _helpers.positional_parameters_enforcement = _helpers.POSITIONAL_IGNORE [all …]
|
D | __init__.py | 19 from googleapiclient import _helpers as util
|
/external/python/oauth2client/tests/ |
D | test__helpers.py | 18 from oauth2client import _helpers 25 result = _helpers._parse_pem_key(test_string) 30 result = _helpers._parse_pem_key(test_string) 40 result = _helpers._json_encode(data) 45 result = _helpers._json_encode(data) 53 self.assertEqual(_helpers._to_bytes(value), value) 58 self.assertEqual(_helpers._to_bytes(value), encoded_value) 63 _helpers._to_bytes(value) 70 self.assertEqual(_helpers._from_bytes(value), value) 75 self.assertEqual(_helpers._from_bytes(value), decoded_value) [all …]
|
D | test__pure_python_crypt.py | 25 from oauth2client import _helpers 85 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())
|
D | test_clientsecrets.py | 25 from oauth2client import _helpers 201 src = _helpers._from_bytes(src)
|
D | test_jwt.py | 24 from oauth2client import _helpers 166 _helpers._urlsafe_b64encode('{"a":"b"}'),
|
D | test_crypt.py | 21 from oauth2client import _helpers 63 pkcs12_key_as_pem = _helpers._parse_pem_key(pkcs12_key_as_pem)
|
/external/python/oauth2client/oauth2client/ |
D | _openssl_crypt.py | 18 from oauth2client import _helpers 45 message = _helpers._to_bytes(message, encoding='utf-8') 46 signature = _helpers._to_bytes(signature, encoding='utf-8') 68 key_pem = _helpers._to_bytes(key_pem) 96 message = _helpers._to_bytes(message, encoding='utf-8') 113 key = _helpers._to_bytes(key) 114 parsed_pem_key = _helpers._parse_pem_key(key) 118 password = _helpers._to_bytes(password, encoding='utf-8') 133 private_key_password = _helpers._to_bytes(private_key_password)
|
D | crypt.py | 22 from oauth2client import _helpers 92 _helpers._urlsafe_b64encode(_helpers._json_encode(header)), 93 _helpers._urlsafe_b64encode(_helpers._json_encode(payload)), 98 segments.append(_helpers._urlsafe_b64encode(signature)) 224 jwt = _helpers._to_bytes(jwt) 232 signature = _helpers._urlsafe_b64decode(signature) 235 payload_bytes = _helpers._urlsafe_b64decode(payload) 237 payload_dict = json.loads(_helpers._from_bytes(payload_bytes))
|
D | _pycrypto_crypt.py | 21 from oauth2client import _helpers 48 message = _helpers._to_bytes(message, encoding='utf-8') 65 key_pem = _helpers._to_bytes(key_pem) 67 certDer = _helpers._urlsafe_b64decode(b''.join(pemLines[1:-1])) 98 message = _helpers._to_bytes(message, encoding='utf-8') 116 parsed_pem_key = _helpers._parse_pem_key(_helpers._to_bytes(key))
|
D | _pure_python_crypt.py | 29 from oauth2client import _helpers 88 message = _helpers._to_bytes(message, encoding='utf-8') 113 key_pem = _helpers._to_bytes(key_pem) 147 message = _helpers._to_bytes(message, encoding='utf-8') 166 key = _helpers._from_bytes(key) # pem expects str in Py3
|
D | client.py | 36 from oauth2client import _helpers 300 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]))) [all …]
|
D | service_account.py | 24 from oauth2client import _helpers 437 json_data = json.loads(_helpers._from_bytes(json_data))
|
D | transport.py | 21 from oauth2client._helpers import _to_bytes
|
/external/python/oauth2client/tests/contrib/ |
D | test_xsrfutil.py | 22 from oauth2client import _helpers 64 mock.call.update(_helpers._to_bytes(str(TEST_USER_ID_1))), 68 mock.call.update(_helpers._to_bytes(str(TEST_TIME))), 73 _helpers._to_bytes(str(TEST_TIME))) 98 mock.call.update(_helpers._to_bytes(str(TEST_USER_ID_1))), 102 mock.call.update(_helpers._to_bytes(str(int(curr_time)))), 108 _helpers._to_bytes(str(int(curr_time)))) 143 token = base64.b64encode(_helpers._to_bytes(str(token_time))) 154 token = base64.b64encode(_helpers._to_bytes(str(token_time))) 166 token = base64.b64encode(_helpers._to_bytes(str(token_time))) [all …]
|
D | test_devshell.py | 26 from oauth2client import _helpers 104 msg = _helpers._to_bytes( 159 resp_buffer += _helpers._from_bytes( 179 request_message = _helpers._to_bytes(
|
/external/python/oauth2client/oauth2client/contrib/ |
D | xsrfutil.py | 22 from oauth2client import _helpers 52 digester = hmac.new(_helpers._to_bytes(key, encoding='utf-8')) 53 digester.update(_helpers._to_bytes(str(user_id), encoding='utf-8')) 55 digester.update(_helpers._to_bytes(action_id, encoding='utf-8')) 57 when = _helpers._to_bytes(str(when or int(time.time())), encoding='utf-8')
|
D | _metadata.py | 27 from oauth2client import _helpers 65 decoded = _helpers._from_bytes(content)
|
D | multiprocess_file_storage.py | 87 from oauth2client import _helpers 180 encoded_credential = _helpers._from_bytes(base64.b64encode( 181 _helpers._to_bytes(credential_json)))
|
D | devshell.py | 22 from oauth2client import _helpers 83 sock.sendall(_helpers._to_bytes(msg, encoding='utf-8'))
|
/external/libxcam/modules/ocl/ |
D | cv_wiener_filter.cpp | 30 _helpers = new CVImageProcessHelper (); in CVWienerFilter() 39 _helpers->compute_dft (blurred_image, y_ft); in wiener_filter() 46 _helpers->compute_dft (padded, padded_ft); in wiener_filter() 68 _helpers->compute_idft (unknown_ft, temp_unknown); in wiener_filter()
|
D | cv_wiener_filter.h | 44 SmartPtr<CVImageProcessHelper> _helpers; variable
|
/external/python/google-api-python-client/googleapiclient/ |
D | errors.py | 26 from googleapiclient import _helpers as util
|
D | channel.py | 78 from googleapiclient import _helpers as util
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_models.py | 27 from oauth2client._helpers import _from_bytes
|
12