Home
last modified time | relevance | path

Searched refs:from_json (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/amd/registers/
Dregdb.py108 def from_json(json, keys=None): member in Object
110 return [Object.from_json(v) for v in json]
117 v = Object.from_json(v)
634 regtype = Object.from_json(Object.to_json(self.__register_types[type_ref]))
685 regmap = Object.from_json(Object.to_json(regmap))
713 regmap = Object.from_json(Object.to_json(regmap))
717 regtype = Object.from_json(Object.to_json(other.__register_types[type_ref]))
725 enum = Object.from_json(Object.to_json(other.__enums[enum_ref]))
804 def from_json(json): member in RegisterDatabase
807 db.__enums = dict((k, Object.from_json(v)) for k, v in json['enums'].items())
[all …]
Dmergedbs.py44 regdb.update(RegisterDatabase.from_json(json.load(filp)))
Dcanonicalize.py72 regdb = RegisterDatabase.from_json(json.load(filp))
Dmakeregheader.py369 db = RegisterDatabase.from_json(json.load(filp))
/external/toolchain-utils/rust_tools/
Drust_watch.py66 def from_json(s: str) -> 'RustReleaseVersion': member in RustReleaseVersion
86 def from_json(s: Dict[str, Any]) -> 'State': member in State
88 last_seen_release=RustReleaseVersion.from_json(s['last_seen_release']),
217 return State.from_json(json.load(f))
Drust_watch_test.py44 rust_watch.RustReleaseVersion.from_json(ver.to_json()), ver)
52 self.assertEqual(rust_watch.State.from_json(state.to_json()), state)
/external/python/oauth2client/tests/contrib/django_util/
Dtest_decorators.py73 OAuth2Credentials.from_json.return_value = credentials_mock
169 OAuth2Credentials.from_json.return_value = credentials_mock
187 OAuth2Credentials.from_json.return_value = credentials_mock
/external/python/oauth2client/oauth2client/contrib/
Ddictionary_storage.py48 credentials = client.OAuth2Credentials.from_json(serialized)
Dgce.py80 def from_json(cls, json_data): member in AppAssertionCredentials
Ddevshell.py139 def from_json(cls, json_data): member in DevshellCredentials
Dappengine.py156 def from_json(cls, json_data): member in AppAssertionCredentials
/external/python/oauth2client/oauth2client/
Dclient.py316 return kls.from_json(json_data_as_unicode)
319 def from_json(cls, unused_data): member in Credentials
614 def from_json(cls, json_data): member in OAuth2Credentials
973 def from_json(cls, json_data): member in AccessTokenCredentials
1138 def from_json(cls, json_data): member in GoogleCredentials
1148 return service_account.ServiceAccountCredentials.from_json(data)
1151 return service_account._JWTAccessCredentials.from_json(data)
Dservice_account.py424 def from_json(cls, json_data): member in ServiceAccountCredentials
/external/mesa3d/bin/pick/
Dcore_test.py69 c2 = core.Commit.from_json(v)
75 c2 = core.Commit.from_json(v)
Dcore.py133 def from_json(cls, data: 'CommitDict') -> 'Commit': member in Commit
371 return [Commit.from_json(c) for c in raw]
/external/python/pycparser/examples/
Dc_json.py189 def from_json(ast_json): function
/external/python/oauth2client/tests/contrib/
Dtest_gce.py63 gce.AppAssertionCredentials.from_json({})
Dtest_devshell.py260 devshell.DevshellCredentials.from_json(None)
/external/python/google-api-python-client/googleapiclient/
Dhttp.py397 from_json = getattr(kls, "from_json")
398 return from_json(s)
590 def from_json(s): member in MediaFileUpload
1096 def from_json(s, http, postproc): member in HttpRequest
/external/mesa3d/src/amd/common/
Dgfx10_format_table.py259 db = RegisterDatabase.from_json(json.load(filp))
Dsid_tables.py351 db = RegisterDatabase.from_json(json.load(filp))
/external/python/oauth2client/tests/
Dtest_client.py219 credentials = client.Credentials.from_json(unused_data)
794 creds2 = client.GoogleCredentials.from_json(json)
803 creds2 = client.GoogleCredentials.from_json(creds1.to_json())
817 creds2 = client.GoogleCredentials.from_json(creds1.to_json())
965 self.credentials = self.credentials.from_json(original_credentials)
978 instance = client.OAuth2Credentials.from_json(json)
988 instance = client.OAuth2Credentials.from_json(json.dumps(data))
994 instance = client.OAuth2Credentials.from_json(json.dumps(data))
1056 instance = client.OAuth2Credentials.from_json(
/external/python/apitools/apitools/base/py/
Dcredentials_lib.py428 def from_json(cls, json_data): member in GceAssertionCredentials
477 def from_json(cls, json_data): member in GaeAssertionCredentials
/external/python/oauth2client/
DCHANGELOG.md80 * Added `to_json` and `from_json` methods to all `Credentials`
258 * Quick bugfix for bad error handling in from_json.
319 * Make `from_json` behavior inheritable.
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt202 googleapiclient.http.HttpRequest.from_json googleapiclient.http.HttpRequest-class.html#from_json
216 googleapiclient.http.MediaFileUpload.from_json googleapiclient.http.MediaFileUpload-class.html#from…

12