Home
last modified time | relevance | path

Searched refs:json_value (Results 1 – 17 of 17) sorted by relevance

/external/python/apitools/apitools/base/py/
Dextra_types.py73 def _ValidateJsonValue(json_value): argument
74 entries = [(f, json_value.get_assigned_value(f.name))
75 for f in json_value.all_fields()]
80 'Malformed JsonValue: %s' % json_value)
83 def _JsonValueToPythonValue(json_value): argument
85 util.Typecheck(json_value, JsonValue)
86 _ValidateJsonValue(json_value)
87 if json_value.is_null:
89 entries = [(f, json_value.get_assigned_value(f.name))
90 for f in json_value.all_fields()]
[all …]
Dextra_types_test.py121 json_value = '"abc"'
126 self.assertRoundTrip(json_value)
129 self.assertEqual(json_value, encoding.MessageToJson(value))
/external/autotest/server/
Dlab_status_unittest.py126 json_value = json.loads(json_string)
132 self.assertEqual(json_value, result)
138 json_value = json.loads(json_string)
147 self.assertEqual(json_value, result)
153 json_value = json.loads(json_string)
162 self.assertEqual(json_value, result)
168 json_value = json.loads(json_string)
182 json_value = json.loads(json_string)
332 json_value = json.loads(json_string)
333 site_utils._get_lab_status(_FAKE_URL).AndReturn(json_value)
/external/webrtc/talk/app/webrtc/
Dandroidvideocapturer.cc148 const Json::Value& json_value = json_values[i]; in AndroidVideoCapturer() local
149 RTC_CHECK(!json_value["width"].isNull() && in AndroidVideoCapturer()
150 !json_value["height"].isNull() && in AndroidVideoCapturer()
151 !json_value["framerate"].isNull()); in AndroidVideoCapturer()
153 json_value["width"].asInt(), in AndroidVideoCapturer()
154 json_value["height"].asInt(), in AndroidVideoCapturer()
155 cricket::VideoFormat::FpsToInterval(json_value["framerate"].asInt()), in AndroidVideoCapturer()
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc66 Json::Value json_value; in ReadJsonString() local
67 TF_RETURN_IF_ERROR(ReadJsonValue(json, name, &json_value)); in ReadJsonString()
68 if (!json_value.isString()) { in ReadJsonString()
72 *value = json_value.asString(); in ReadJsonString()
77 Json::Value json_value; in ReadJsonInt() local
78 TF_RETURN_IF_ERROR(ReadJsonValue(json, name, &json_value)); in ReadJsonInt()
79 if (!json_value.isIntegral()) { in ReadJsonInt()
83 *value = json_value.asInt64(); in ReadJsonInt()
/external/perfetto/src/trace_processor/
Dtrace_sorter.h128 : json_value(std::move(value)), in TimestampedTracePiece()
150 std::unique_ptr<Json::Value> json_value; member
171 std::unique_ptr<Json::Value> json_value) { in PushJsonValue() argument
174 TimestampedTracePiece(timestamp, packet_idx_++, std::move(json_value))); in PushJsonValue()
Djson_trace_parser.cc55 PERFETTO_DCHECK(ttp.json_value != nullptr); in ParseTracePacket()
56 const Json::Value& value = *(ttp.json_value); in ParseTracePacket()
Dproto_trace_parser.cc289 PERFETTO_DCHECK(ttp.json_value == nullptr); in ParseTracePacket()
501 PERFETTO_DCHECK(ttp.json_value == nullptr); in ParseFtracePacket()
/external/jsoncpp/src/lib_json/
Dsconscript5 json_value.cpp
DCMakeLists.txt35 json_value.cpp
Djson_valueiterator.inl6 // included by json_value.cpp
Djson_internalarray.inl6 // included by json_value.cpp
Djson_internalmap.inl6 // included by json_value.cpp
/external/perfetto/protos/perfetto/trace/chrome/
Dchrome_trace_event.proto56 string json_value = 8; field
95 string json_value = 5; field
/external/skqp/third_party/jsoncpp/
DBUILD.gn23 "../externals/jsoncpp/src/lib_json/json_value.cpp",
/external/jsoncpp/
DAndroid.bp6 "src/lib_json/json_value.cpp",
/external/perfetto/buildtools/
DBUILD.gn791 "jsoncpp/src/lib_json/json_value.cpp",