/external/oss-fuzz/projects/jsoncpp/ |
D | json_proto_converter.cc | 60 void JsonProtoConverter::AppendValue(const JsonValue& json_value) { in AppendValue() argument 61 if (json_value.has_object_value()) { in AppendValue() 62 AppendObject(json_value.object_value()); in AppendValue() 63 } else if (json_value.has_array_value()) { in AppendValue() 64 AppendArray(json_value.array_value()); in AppendValue() 65 } else if (json_value.has_number_value()) { in AppendValue() 66 AppendNumber(json_value.number_value()); in AppendValue() 67 } else if (json_value.has_string_value()) { in AppendValue() 68 data_ << '"' << json_value.string_value().value() << '"'; in AppendValue() 69 } else if (json_value.has_boolean_value()) { in AppendValue() [all …]
|
/external/python/apitools/apitools/base/py/ |
D | extra_types.py | 77 def _ValidateJsonValue(json_value): argument 78 entries = [(f, json_value.get_assigned_value(f.name)) 79 for f in json_value.all_fields()] 84 'Malformed JsonValue: %s' % json_value) 87 def _JsonValueToPythonValue(json_value): argument 89 util.Typecheck(json_value, JsonValue) 90 _ValidateJsonValue(json_value) 91 if json_value.is_null: 93 entries = [(f, json_value.get_assigned_value(f.name)) 94 for f in json_value.all_fields()] [all …]
|
D | extra_types_test.py | 120 json_value = '"abc"' 125 self.assertRoundTrip(json_value) 128 self.assertEqual(json_value, encoding.MessageToJson(value))
|
/external/perfetto/src/trace_processor/types/ |
D | variadic.h | 91 static Variadic Json(StringPool::Id json_value) { in Json() 94 variadic.json_value = json_value; in Json() 115 return json_value == other.json_value; 129 StringPool::Id json_value; member
|
/external/autotest/server/ |
D | lab_status_unittest.py | 132 json_value = json.loads(json_string) 138 self.assertEqual(json_value, result) 144 json_value = json.loads(json_string) 153 self.assertEqual(json_value, result) 159 json_value = json.loads(json_string) 168 self.assertEqual(json_value, result) 174 json_value = json.loads(json_string) 188 json_value = json.loads(json_string) 338 json_value = json.loads(json_string) 339 site_utils._get_lab_status(_FAKE_URL).AndReturn(json_value)
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | oauth_client.cc | 67 Json::Value json_value; in ReadJsonString() local 68 TF_RETURN_IF_ERROR(ReadJsonValue(json, name, &json_value)); in ReadJsonString() 69 if (!json_value.isString()) { in ReadJsonString() 73 *value = json_value.asString(); in ReadJsonString() 78 Json::Value json_value; in ReadJsonInt() local 79 TF_RETURN_IF_ERROR(ReadJsonValue(json, name, &json_value)); in ReadJsonInt() 80 if (!json_value.isIntegral()) { in ReadJsonInt() 84 *value = json_value.asInt64(); in ReadJsonInt()
|
/external/libchrome/base/trace_event/ |
D | trace_event_argument.cc | 518 TraceEvent::TraceValue json_value; in AppendAsTraceFormat() local 519 CHECK(it.ReadBool(&json_value.as_bool)); in AppendAsTraceFormat() 521 TraceEvent::AppendValueAsJSON(TRACE_VALUE_TYPE_BOOL, json_value, out); in AppendAsTraceFormat() 529 TraceEvent::TraceValue json_value; in AppendAsTraceFormat() local 530 json_value.as_int = value; in AppendAsTraceFormat() 531 TraceEvent::AppendValueAsJSON(TRACE_VALUE_TYPE_INT, json_value, out); in AppendAsTraceFormat() 536 TraceEvent::TraceValue json_value; in AppendAsTraceFormat() local 537 CHECK(it.ReadDouble(&json_value.as_double)); in AppendAsTraceFormat() 539 TraceEvent::AppendValueAsJSON(TRACE_VALUE_TYPE_DOUBLE, json_value, out); in AppendAsTraceFormat() 547 TraceEvent::TraceValue json_value; in AppendAsTraceFormat() local [all …]
|
/external/perfetto/src/trace_processor/ |
D | timestamped_trace_piece.h | 111 : json_value(std::move(value)), in TimestampedTracePiece() 172 new (&json_value) std::string(std::move(ttp.json_value)); in TimestampedTracePiece() 220 json_value.~basic_string(); in ~TimestampedTracePiece() 253 std::string json_value; member
|
D | trace_sorter.h | 81 inline void PushJsonValue(int64_t timestamp, std::string json_value) { in PushJsonValue() argument 84 TimestampedTracePiece(timestamp, packet_idx_++, std::move(json_value))); in PushJsonValue()
|
/external/llvm-project/lldb/tools/lldb-vscode/ |
D | VSCode.cpp | 372 llvm::Expected<llvm::json::Value> json_value = llvm::json::parse(json_sref); in GetNextObject() local 373 if (!json_value) { in GetNextObject() 374 auto error = json_value.takeError(); in GetNextObject() 385 object = *json_value->getAsObject(); in GetNextObject() 386 if (!json_value->getAsObject()) { in GetNextObject()
|
/external/perfetto/src/trace_processor/importers/common/ |
D | global_args_tracker.h | 74 hash.Update(arg.value.json_value.raw_id()); in operator() 151 row.string_value = arg.value.json_value; in AddArgSet()
|
/external/openscreen/util/ |
D | BUILD.gn | 52 "json/json_value.cc", 53 "json/json_value.h",
|
/external/skqp/third_party/jsoncpp/ |
D | BUILD.gn | 23 "../externals/jsoncpp/src/lib_json/json_value.cpp",
|
/external/perfetto/protos/perfetto/trace/chrome/ |
D | chrome_trace_event.proto | 55 string json_value = 8; field 94 string json_value = 5; field
|
/external/tensorflow/third_party/ |
D | jsoncpp.BUILD | 11 "src/lib_json/json_value.cpp",
|
/external/openscreen/third_party/jsoncpp/ |
D | BUILD.gn | 36 "src/src/lib_json/json_value.cpp",
|
/external/perfetto/bazel/ |
D | jsoncpp.BUILD | 22 "src/lib_json/json_value.cpp",
|
/external/jsoncpp/ |
D | Android.bp | 36 "src/lib_json/json_value.cpp",
|
D | meson.build | 50 'src/lib_json/json_value.cpp',
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | metadata_tracker.cc | 107 metadata_table->mutable_str_value()->Set(row, value.json_value); in WriteValue()
|
/external/jsoncpp/src/lib_json/ |
D | json_valueiterator.inl | 6 // included by json_value.cpp
|
D | CMakeLists.txt | 57 json_value.cpp
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_trace_parser.cc | 82 auto opt_value = json::ParseJsonString(base::StringView(ttp.json_value)); in ParseTracePacket()
|
/external/perfetto/src/trace_processor/sqlite/ |
D | sqlite_raw_table.cc | 503 const auto& str = storage_->GetString(value.json_value); in WriteValue()
|
/external/perfetto/src/trace_processor/storage/ |
D | trace_storage.h | 688 v.json_value = opt_value ? *opt_value : kNullStringId; in GetArgValue()
|