Home
last modified time | relevance | path

Searched refs:Json (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/vulkan/vkjson/
Dvkjson.cc850 Json::Value ToJsonValue(const T& value);
853 inline Json::Value ToJsonValue(const T& value) { in ToJsonValue()
854 return Json::Value(static_cast<double>(value)); in ToJsonValue()
857 inline Json::Value ToJsonValue(const uint64_t& value) { in ToJsonValue()
860 return Json::Value(string); in ToJsonValue()
865 inline Json::Value ToJsonValue(const T& value) { in ToJsonValue()
866 return Json::Value(static_cast<double>(value)); in ToJsonValue()
870 inline Json::Value ArrayToJsonValue(uint32_t count, const T* values) { in ArrayToJsonValue()
871 Json::Value array(Json::arrayValue); in ArrayToJsonValue()
877 inline Json::Value ToJsonValue(const T (&value)[N]) { in ToJsonValue()
[all …]
/frameworks/base/tools/bit/
Dmake.cpp91 Json::Value json; in BuildVars()
92 Json::Reader reader; in BuildVars()
107 const Json::Value& value = json[name]; in BuildVars()
135 Json::StyledStreamWriter writer(" "); in save()
137 Json::Value json(Json::objectValue); in save()
182 get_values(const Json::Value& json, const string& name, vector<string>* result) in get_values()
184 Json::Value nullValue; in get_values()
186 const Json::Value& value = json.get(name, nullValue); in get_values()
193 const Json::Value& child = value[i]; in get_values()
214 Json::Value json; in read_modules()
[all …]
/frameworks/av/media/libnblog/
DReportPerformance.cpp43 static std::unique_ptr<Json::Value> dumpToJson(const PerformanceData& data) in dumpToJson()
45 std::unique_ptr<Json::Value> rootPtr = std::make_unique<Json::Value>(Json::objectValue); in dumpToJson()
46 Json::Value& root = *rootPtr; in dumpToJson()
49 root["frameCount"] = (Json::Value::Int)data.threadParams.frameCount; in dumpToJson()
50 root["sampleRate"] = (Json::Value::Int)data.threadParams.sampleRate; in dumpToJson()
54 root["underruns"] = (Json::Value::Int64)data.underruns; in dumpToJson()
55 root["overruns"] = (Json::Value::Int64)data.overruns; in dumpToJson()
56 root["activeMs"] = (Json::Value::Int64)ns2ms(data.active); in dumpToJson()
57 root["durationMs"] = (Json::Value::Int64)ns2ms(systemTime() - data.start); in dumpToJson()
81 Json::Value root(Json::arrayValue); in dumpJson()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djson.h227 namespace Json {
276 namespace Json {
327 namespace Json {
419 namespace Json {
553 typedef Json::UInt UInt;
554 typedef Json::Int Int;
556 typedef Json::UInt64 UInt64;
557 typedef Json::Int64 Int64;
559 typedef Json::LargestInt LargestInt;
560 typedef Json::LargestUInt LargestUInt;
[all …]
Djsoncpp.cpp101 namespace Json { namespace
235 namespace Json { namespace
2135 bool CharReaderBuilder::validate(Json::Value* invalid) const in validate()
2137 Json::Value my_invalid; in validate()
2139 Json::Value& inv = *invalid; in validate()
2157 void CharReaderBuilder::strictMode(Json::Value* settings) in strictMode()
2172 void CharReaderBuilder::setDefaults(Json::Value* settings) in setDefaults()
2241 namespace Json { namespace
2438 namespace Json { namespace
2475 static inline double integerToDouble(Json::UInt64 value) { in integerToDouble()
[all …]
/frameworks/base/cmds/bootanimation/iot/
DBootParameters.cpp31 using Json::ArrayIndex;
32 using Json::Reader;
33 using Json::Value;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance_test.cc431 Json::Reader reader; in RunValidJsonTestWithValidator()
432 Json::Value value; in RunValidJsonTestWithValidator()
758 [](const Json::Value& value) { in RunSuite()
769 [](const Json::Value& value) { in RunSuite()
783 [](const Json::Value& value) { in RunSuite()
931 [](const Json::Value& value) { in RunSuite()
932 return value["optionalInt64"].type() == Json::stringValue && in RunSuite()
938 [](const Json::Value& value) { in RunSuite()
939 return value["optionalUint64"].type() == Json::stringValue && in RunSuite()
1142 [](const Json::Value& value) { in RunSuite()
[all …]
Dconformance_test.h137 typedef std::function<bool(const Json::Value&)> Validator;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DProgram.cs112 case global::Conformance.WireFormat.Json: in PerformRequest()
DConformance.cs203 [pbr::OriginalName("JSON")] Json = 2, enumerator
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/
DCHANGES.txt80 - Issue 24: Support for using Json/Xml formats with ICodedInputStream