Home
last modified time | relevance | path

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

/development/vndk/tools/header-checker/src/repr/json/
Dconverter.h33 class JsonArray : public Json::Value {
35 JsonArray() : Json::Value(Json::ValueType::arrayValue) {} in JsonArray()
39 class JsonObject : public Json::Value {
41 JsonObject() : Json::Value(Json::ValueType::objectValue) {} in JsonObject()
74 extern const Json::Value json_0;
75 extern const Json::Value json_false;
76 extern const Json::Value json_empty_string;
Dconverter.cpp24 const Json::Value json_0(0);
25 const Json::Value json_false(false);
26 const Json::Value json_empty_string("");
47 SetOmissible<Json::UInt64>(key, value, 0); in Set()
52 SetOmissible<Json::Int64>(key, value, 0); in Set()
Dir_reader.h35 JsonObjectRef(const Json::Value &json_value, bool &ok);
61 typedef bool (Json::Value::*IsExpectedJsonType)() const;
63 const Json::Value &Get(const std::string &key,
64 const Json::Value &default_value,
67 const Json::Value &object_;
76 Iterator(const Json::Value &json_value, bool &ok, int index) in Iterator()
91 const Json::Value &array_;
97 JsonArrayRef(const Json::Value &json_value, bool &ok) in JsonArrayRef()
105 const Json::Value &array_;
Dir_reader.cpp53 JsonObjectRef::JsonObjectRef(const Json::Value &json_value, bool &ok) in JsonObjectRef()
60 const Json::Value &
61 JsonObjectRef::Get(const std::string &key, const Json::Value &default_value, in Get()
66 const Json::Value &value = object_[key]; in Get()
75 return Get(key, json_false, &Json::Value::isBool).asBool(); in GetBool()
79 return Get(key, json_0, &Json::Value::isIntegral).asInt64(); in GetInt()
83 return Get(key, json_0, &Json::Value::isIntegral).asUInt64(); in GetUint()
87 return Get(key, json_empty_string, &Json::Value::isString).asString(); in GetString()
91 return JsonObjectRef(Get(key, json_empty_object, &Json::Value::isObject), in GetObject()
98 Get(key, json_empty_array, &Json::Value::isArray), ok_); in GetObjects()
[all …]
Dir_dumper.cpp206 enum_field["enum_field_value"] = Json::Int64(enum_field_ir->GetValue()); in ConvertEnumFieldIR()
365 Json::StreamWriterBuilder factory; in DumpJson()
367 return Json::writeString(factory, obj); in DumpJson()
/development/vndk/tools/header-checker/src/repr/
Dir_reader.cpp39 case TextFormatIR::Json: in CreateIRReader()
Dir_dumper.cpp37 case TextFormatIR::Json: in CreateIRDumper()
Dir_representation.h42 Json = 1, enumerator
/development/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp109 clEnumValN(TextFormatIR::Json, "Json", "JSON")),
110 llvm::cl::init(TextFormatIR::Json),
117 clEnumValN(TextFormatIR::Json, "Json", "JSON")),
118 llvm::cl::init(TextFormatIR::Json),
/development/vndk/tools/header-checker/src/dumper/
Dheader_checker.cpp91 clEnumValN(TextFormatIR::Json, "Json", "JSON")),
92 llvm::cl::init(TextFormatIR::Json),
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp100 clEnumValN(TextFormatIR::Json, "Json", "JSON")),
101 llvm::cl::init(TextFormatIR::Json),
108 clEnumValN(TextFormatIR::Json, "Json", "JSON")),
109 llvm::cl::init(TextFormatIR::Json),