/AliOS-Things-master/components/jsoncpp/src/test_lib_json/ |
A D | main.cpp | 68 Json::Value emptyArray_{Json::arrayValue}; 69 Json::Value emptyObject_{Json::objectValue}; 72 Json::Value smallUnsignedInteger_{Json::Value::UInt(Json::Value::maxInt)}; 565 val = Json::Value(Json::intValue); in JSONTEST_FIXTURE_LOCAL() 593 val = Json::Value(Json::uintValue); in JSONTEST_FIXTURE_LOCAL() 621 val = Json::Value(Json::realValue); in JSONTEST_FIXTURE_LOCAL() 760 val = Json::Value(Json::UInt(1 << 20)); in JSONTEST_FIXTURE_LOCAL() 980 val = Json::Value(Json::Int64(1) << 40); in JSONTEST_FIXTURE_LOCAL() 1623 checkIsLess(Json::Value(true), Json::Value(Json::arrayValue))); in JSONTEST_FIXTURE_LOCAL() 1715 Json::Value objVal(Json::objectValue); in JSONTEST_FIXTURE_LOCAL() [all …]
|
A D | jsontest.cpp | 167 Json::String TestResult::indentText(const Json::String& text, in indentText() 169 Json::String reindented; in indentText() 170 Json::String::size_type lastIndex = 0; in indentText() 173 if (nextIndex == Json::String::npos) { in indentText() 226 Json::String Runner::testNameAt(size_t index) const { in testNameAt() 228 Json::String name = test->testName(); in testNameAt() 306 Json::String opt = argv[index]; in runCommandLine() 407 Json::String ToJsonString(const char* toConvert) { in ToJsonString() 408 return Json::String(toConvert); in ToJsonString() 411 Json::String ToJsonString(Json::String in) { return in; } in ToJsonString() [all …]
|
A D | jsontest.h | 36 Json::String expr_; 37 Json::String message_; 69 void setTestName(const Json::String& name); 86 Json::OStringStream oss; 94 TestResult& operator<<(Json::Int64 value); 95 TestResult& operator<<(Json::UInt64 value); 102 static Json::String indentText(const Json::String& text, 107 Json::String name_; 154 Json::String testNameAt(size_t index) const; 187 Json::String ToJsonString(Json::String in); [all …]
|
A D | fuzz.cpp | 14 namespace Json { namespace 19 Json::CharReaderBuilder builder; in LLVMFuzzerTestOneInput() 44 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in LLVMFuzzerTestOneInput() 46 Json::Value root; in LLVMFuzzerTestOneInput() 50 } catch (Json::Exception const&) { in LLVMFuzzerTestOneInput()
|
/AliOS-Things-master/components/jsoncpp/src/jsontestrunner/ |
A D | main.cpp | 24 Json::String path; 25 Json::Features features; 27 using writeFuncType = Json::String (*)(Json::Value const&); 35 Json::String s(buffer); in normalizeFloatingPointStr() 65 Json::String text; in readInputTestFile() 79 case Json::nullValue: in printValueTree() 82 case Json::intValue: in printValueTree() 182 static Json::String useStyledWriter(Json::Value const& root) { in useStyledWriter() 186 static Json::String useStyledStreamWriter(Json::Value const& root) { in useStyledStreamWriter() 211 static Json::String removeSuffix(const Json::String& path, in removeSuffix() [all …]
|
/AliOS-Things-master/components/jsoncpp/example/ |
A D | jsoncpp_comp_example.cpp | 24 Json::Value root; in jsoncpp_comp_read_stream_example() 28 Json::CharReaderBuilder builder; in jsoncpp_comp_read_stream_example() 52 Json::Value root; in jsoncpp_comp_write_stream_example() 53 Json::StreamWriterBuilder builder; in jsoncpp_comp_write_stream_example() 78 Json::Value root; in jsoncpp_comp_read_string_example() 81 Json::Reader reader; in jsoncpp_comp_read_string_example() 84 Json::CharReaderBuilder builder; in jsoncpp_comp_read_string_example() 117 Json::Value root; in jsoncpp_comp_write_string_example() 118 Json::Value data; in jsoncpp_comp_write_string_example() 125 Json::FastWriter writer; in jsoncpp_comp_write_string_example() [all …]
|
/AliOS-Things-master/components/jsoncpp/example/stringWrite/ |
A D | stringWrite.cpp | 16 Json::Value root; in main() 17 Json::Value data; in main() 24 Json::FastWriter writer; in main() 28 Json::StreamWriterBuilder builder; in main() 29 const std::string json_file = Json::writeString(builder, root); in main()
|
/AliOS-Things-master/components/jsoncpp/include/json/ |
A D | config.h | 107 namespace Json { 144 using JSONCPP_STRING = Json::String; 145 using JSONCPP_ISTRINGSTREAM = Json::IStringStream; 146 using JSONCPP_OSTRINGSTREAM = Json::OStringStream; 147 using JSONCPP_ISTREAM = Json::IStream; 148 using JSONCPP_OSTREAM = Json::OStream;
|
A D | reader.h | 28 namespace Json { 332 Json::Value settings_; 342 bool validate(Json::Value* invalid) const; 353 static void setDefaults(Json::Value* settings); 359 static void strictMode(Json::Value* settings);
|
A D | assertions.h | 26 Json::throwLogicError("assert json failed"); \ 34 Json::throwLogicError(oss.str()); \
|
/AliOS-Things-master/components/jsoncpp/example/readFromString/ |
A D | readFromString.cpp | 17 Json::Value root; in main() 20 Json::Reader reader; in main() 23 Json::CharReaderBuilder builder; in main() 24 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in main()
|
/AliOS-Things-master/components/jsoncpp/example/streamWrite/ |
A D | streamWrite.cpp | 13 Json::Value root; in main() 14 Json::StreamWriterBuilder builder; in main() 15 const std::unique_ptr<Json::StreamWriter> writer(builder.newStreamWriter()); in main()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/ |
A D | Utils.cc | 249 Json::Value jsonObject; in MapToJson() 250 Json::FastWriter writer; in MapToJson() 261 Json::Reader reader; in JsonToMap() 262 Json::Value value; in JsonToMap() 267 Json::Value::Members members = value.getMemberNames(); in JsonToMap() 268 for (Json::Value::Members::iterator it = members.begin(); in JsonToMap() 270 Json::ValueType vt = value[*it].type(); in JsonToMap() 272 case Json::stringValue: { in JsonToMap() 277 case Json::intValue: { in JsonToMap() 283 case Json::arrayValue: { in JsonToMap()
|
/AliOS-Things-master/components/oss/src/external/json/ |
A D | json.h | 274 namespace Json { 340 namespace Json { 397 namespace Json { 511 namespace Json { 645 typedef Json::UInt UInt; 646 typedef Json::Int Int; 649 typedef Json::Int64 Int64; 1396 namespace Json { 1706 Json::Value settings_; 1822 namespace Json { [all …]
|
A D | json-forwards.h | 240 namespace Json { 261 #define JSONCPP_STRING std::basic_string<char, std::char_traits<char>, Json::SecureAllocator… 262 #define JSONCPP_OSTRINGSTREAM std::basic_ostringstream<char, std::char_traits<char>, Json::SecureAl… 264 #define JSONCPP_ISTRINGSTREAM std::basic_istringstream<char, std::char_traits<char>, Json::SecureAl… 307 namespace Json {
|
/AliOS-Things-master/components/jsoncpp/doc/ |
A D | jsoncpp.dox | 53 Json::Value root; // 'root' will contain the root value after parsing. 65 const Json::Value plugins = root["plug-ins"]; 76 // necessary to explicitly construct the Json::Value object. 92 configuration, we use our own `Json::Value` (rather than 98 Json::StreamWriterBuilder wbuilder; 100 std::string document = Json::writeString(wbuilder, root); 104 Json::CharReaderBuilder rbuilder; 107 bool ok = Json::parseFromStream(rbuilder, std::cin, &root, &errs); 111 but `Json::Value` lets you 117 Json::CharReaderBuilder rbuilder; [all …]
|
/AliOS-Things-master/components/oss/src/resumable/ |
A D | ResumableDownloader.cc | 119 Json::Value root; in Download() 250 Json::Value root; in prepare() 293 Json::Value root; in validateRecord() 329 Json::Value root; in loadRecord() 330 Json::CharReaderBuilder rbuilder; in loadRecord() 332 if (!Json::parseFromStream(rbuilder, *recordStream, &root, &errMsg)) in loadRecord() 347 Json::Value partValue = root["parts"][i]; in loadRecord() 355 if (root["rangeStart"] != Json::nullValue && root["rangeEnd"] != Json::nullValue) { in loadRecord() 359 else if(root["rangeStart"] == Json::nullValue && root["rangeEnd"] == Json::nullValue){ in loadRecord()
|
/AliOS-Things-master/components/jsoncpp/example/readFromStream/ |
A D | readFromStream.cpp | 17 Json::Value root; in main() 21 Json::CharReaderBuilder builder; in main()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/facebody/src/model/ |
A D | AddFaceEntityResult.cc | 38 Json::Reader reader; in parse() 39 Json::Value value; in parse()
|
A D | CreateFaceDbResult.cc | 38 Json::Reader reader; in parse() 39 Json::Value value; in parse()
|
A D | DeleteFaceDbResult.cc | 38 Json::Reader reader; in parse() 39 Json::Value value; in parse()
|
A D | UpdateFaceEntityResult.cc | 38 Json::Reader reader; in parse() 39 Json::Value value; in parse()
|
A D | DeleteFaceEntityResult.cc | 38 Json::Reader reader; in parse() 39 Json::Value value; in parse()
|
A D | DeleteFaceResult.cc | 38 Json::Reader reader; in parse() 39 Json::Value value; in parse()
|
A D | EnhanceFaceResult.cc | 38 Json::Reader reader; in parse() 39 Json::Value value; in parse()
|