Home
last modified time | relevance | path

Searched refs:to_json (Results 1 – 25 of 69) sorted by relevance

123

/external/protobuf/conformance/
Dconformance_ruby.rb88 response.json_payload = test_message.to_json
122 STDERR.puts("conformance_ruby: request=#{request.to_json}, " \
123 "response=#{response.to_json}\n")
/external/python/oauth2client/tests/contrib/
Dtest_keyring_storage.py87 credentials.to_json = to_json = mock.MagicMock(
90 to_json.assert_called_once_with()
150 'my_unit_test', 'me', credentials.to_json())
154 return_value=credentials.to_json(),
Dtest_appengine.py162 json = credentials.to_json()
348 self.credentials.to_json(),
349 retrieved.credentials.to_json())
360 self.credentials.to_json())
362 self.credentials.to_json(),
363 decoded.to_json())
486 self.assertEqual(credmodel.credentials.to_json(),
487 self.credentials.to_json())
499 self.assertEqual(credmodel.credentials.to_json(),
500 self.credentials.to_json())
[all …]
Dtest_flask_util.py396 session['google_oauth2_credentials'] = credentials.to_json()
410 credentials.to_json())
424 credentials.to_json())
465 session['google_oauth2_credentials'] = credentials.to_json()
490 session['google_oauth2_credentials'] = credentials2.to_json()
/external/mesa3d/src/amd/registers/
Dregdb.py124 def to_json(obj): member in Object
126 return dict((k, Object.to_json(v)) for k, v in obj.__dict__.items())
128 return dict((k, Object.to_json(v)) for k, v in obj.items())
130 return [Object.to_json(v) for v in obj]
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]))
751 def to_json(self): member in RegisterDatabase
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_events_reader.py349 def to_json(self): member in BaseDigest
386 def to_json(self): member in ExecutionDigest
387 output = super(ExecutionDigest, self).to_json()
481 def to_json(self): member in Execution
482 output = super(Execution, self).to_json()
600 def to_json(self): member in DebuggedGraph
632 def to_json(self): member in DebuggedDevice
717 def to_json(self): member in GraphOpCreationDigest
718 output = super(GraphOpCreationDigest, self).to_json()
770 def to_json(self): member in GraphExecutionTraceDigest
[all …]
Ddebug_events_writer_test.py692 json = execution_digest.to_json()
701 json = execution_digest.to_json()
719 json = execution.to_json()
745 json = execution.to_json()
777 self.assertEqual(debugged_device.to_json(), {
789 debugged_graph.to_json(), {
805 debugged_graph.to_json(), {
840 json = op_creation_digest.to_json()
862 json = op_creation_digest.to_json()
877 json = trace_digest.to_json()
[all …]
/external/python/pycparser/examples/
Dc_json.py125 def to_json(node, **kwargs): function
139 return to_json(ast, **kwargs)
201 print(to_json(ast, sort_keys=True, indent=4))
/external/protobuf/ruby/tests/
Dencode_decode_test.rb66 json = msg.to_json
72 json = msg.to_json({ preserve_proto_fieldnames: true })
/external/toolchain-utils/rust_tools/
Drust_watch.py62 def to_json(self) -> str: member in RustReleaseVersion
79 def to_json(self) -> Dict[str, Any]: member in State
81 'last_seen_release': self.last_seen_release.to_json(),
224 json.dump(state.to_json(), 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/mesa3d/bin/pick/
Dcore_test.py48 v = c.to_json()
55 v = c.to_json()
68 v = c.to_json()
74 v = c.to_json()
/external/protobuf/ruby/lib/google/protobuf/
Dmessage_exts.rb43 def to_json(options = {}) method
/external/protobuf/ruby/lib/google/
Dprotobuf.rb65 msg.to_json(options)
/external/python/oauth2client/oauth2client/contrib/
Ddictionary_storage.py60 serialized = credentials.to_json()
Dkeyring_storage.py90 credentials.to_json())
D_appengine_ndb.py124 return value.to_json()
Dgce.py84 def to_json(self): member in AppAssertionCredentials
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.preprocessing.sequence.-timeseries-generator.pbtxt18 name: "to_json"
Dtensorflow.keras.preprocessing.text.-tokenizer.pbtxt45 name: "to_json"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.preprocessing.sequence.-timeseries-generator.pbtxt18 name: "to_json"
/external/webrtc/stats/
Drtc_stats.cc133 #define WEBRTC_DEFINE_RTCSTATSMEMBER(T, type, is_seq, is_str, to_str, to_json) \ argument
154 return to_json; \
/external/python/oauth2client/oauth2client/
Dfile.py97 f.write(credentials.to_json())
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt207 googleapiclient.http.HttpRequest.to_json googleapiclient.http.HttpRequest-class.html#to_json
218 googleapiclient.http.MediaFileUpload.to_json googleapiclient.http.MediaFileUpload-class.html#to_json
230 googleapiclient.http.MediaIoBaseUpload.to_json googleapiclient.http.MediaIoBaseUpload-class.html#to…
245 googleapiclient.http.MediaIoBaseUpload.to_json googleapiclient.http.MediaIoBaseUpload-class.html#to…
257 googleapiclient.http.MediaUpload.to_json googleapiclient.http.MediaUpload-class.html#to_json
/external/tensorflow/tensorflow/python/keras/engine/
Dinput_layer_test.py278 model = model_config.model_from_json(model.to_json())
321 model = model_config.model_from_json(model.to_json())
370 model = model_config.model_from_json(model.to_json())

123