Searched refs:Json (Results 1 – 13 of 13) sorted by relevance
/development/vndk/tools/header-checker/src/utils/ |
D | api_level.cpp | 28 Json::CharReaderBuilder builder; in Load() 29 Json::Value json; in Load() 31 if (!Json::parseFromStream(builder, stream, &json, &error_message)) { in Load() 36 const Json::Value null_value; in Load() 37 for (const Json::String &key : json.getMemberNames()) { in Load() 38 Json::Value value = json.get(key, null_value); in Load()
|
D | config_file.cpp | 32 static std::map<std::string, bool> LoadFlags(const Json::Value §ion) { in LoadFlags() 43 LoadIgnoreLinkerSetKeys(const Json::Value §ion) { in LoadIgnoreLinkerSetKeys() 60 Json::Value root; in Load() 61 Json::CharReaderBuilder builder; in Load() 63 if (!Json::parseFromStream(builder, istream, &root, &errorMessage)) { in Load()
|
/development/vndk/tools/header-checker/src/repr/json/ |
D | converter.h | 33 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;
|
D | ir_reader.h | 35 JsonObjectRef(const Json::Value &json_value, bool &ok); 50 const Json::Value &GetIntegralValue(const std::string &key) const; 67 typedef bool (Json::Value::*IsExpectedJsonType)() const; 69 const Json::Value &Get(const std::string &key, 70 const Json::Value &default_value, 73 const Json::Value &object_; 82 Iterator(const Json::Value &json_value, bool &ok, int index) in Iterator() 97 const Json::Value &array_; 103 JsonArrayRef(const Json::Value &json_value, bool &ok) in JsonArrayRef() 111 const Json::Value &array_;
|
D | converter.cpp | 24 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()
|
D | ir_reader.cpp | 53 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::isInt64).asInt64(); in GetInt() 83 return Get(key, json_0, &Json::Value::isUInt64).asUInt64(); in GetUint() 86 const Json::Value &JsonObjectRef::GetIntegralValue( in GetIntegralValue() 88 return Get(key, json_0, &Json::Value::isIntegral); in GetIntegralValue() 92 return Get(key, json_empty_string, &Json::Value::isString).asString(); in GetString() [all …]
|
D | ir_dumper.cpp | 218 Json::Value &enum_field_value = enum_field["enum_field_value"]; in ConvertEnumFieldIR() 220 enum_field_value = Json::Int64(enum_field_ir->GetSignedValue()); in ConvertEnumFieldIR() 222 enum_field_value = Json::UInt64(enum_field_ir->GetUnsignedValue()); in ConvertEnumFieldIR() 390 Json::StreamWriterBuilder factory; in DumpJson() 392 return Json::writeString(factory, obj); in DumpJson()
|
/development/vndk/tools/header-checker/src/repr/ |
D | ir_reader.cpp | 39 case TextFormatIR::Json: in CreateIRReader()
|
D | ir_dumper.cpp | 37 case TextFormatIR::Json: in CreateIRDumper()
|
D | ir_representation.h | 42 Json = 1, enumerator
|
/development/vndk/tools/header-checker/src/diff/ |
D | header_abi_diff.cpp | 106 clEnumValN(TextFormatIR::Json, "Json", "JSON")), 107 llvm::cl::init(TextFormatIR::Json), 114 clEnumValN(TextFormatIR::Json, "Json", "JSON")), 115 llvm::cl::init(TextFormatIR::Json),
|
/development/vndk/tools/header-checker/src/dumper/ |
D | header_checker.cpp | 90 clEnumValN(TextFormatIR::Json, "Json", "JSON")), 91 llvm::cl::init(TextFormatIR::Json),
|
/development/vndk/tools/header-checker/src/linker/ |
D | header_abi_linker.cpp | 134 clEnumValN(TextFormatIR::Json, "Json", "JSON")), 135 llvm::cl::init(TextFormatIR::Json), 142 clEnumValN(TextFormatIR::Json, "Json", "JSON")), 143 llvm::cl::init(TextFormatIR::Json),
|