Home
last modified time | relevance | path

Searched refs:GetValueByPointerWithDefault (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dpointertest.cpp956 EXPECT_TRUE(Value("bar") == GetValueByPointerWithDefault(d, Pointer("/foo/0"), v, a)); in TEST()
957 EXPECT_TRUE(Value("bar") == GetValueByPointerWithDefault(d, Pointer("/foo/0"), v, a)); in TEST()
958 EXPECT_TRUE(Value("baz") == GetValueByPointerWithDefault(d, Pointer("/foo/1"), v, a)); in TEST()
959 EXPECT_TRUE(Value("qux") == GetValueByPointerWithDefault(d, Pointer("/foo/2"), v, a)); in TEST()
960 …EXPECT_TRUE(Value("last") == GetValueByPointerWithDefault(d, Pointer("/foo/-"), Value("last").Move… in TEST()
963 EXPECT_TRUE(GetValueByPointerWithDefault(d, Pointer("/foo/null"), Value().Move(), a).IsNull()); in TEST()
964 EXPECT_TRUE(GetValueByPointerWithDefault(d, Pointer("/foo/null"), "x", a).IsNull()); in TEST()
967 EXPECT_EQ(-1, GetValueByPointerWithDefault(d, Pointer("/foo/int"), -1, a).GetInt()); in TEST()
968 EXPECT_EQ(-1, GetValueByPointerWithDefault(d, Pointer("/foo/int"), -2, a).GetInt()); in TEST()
969 …EXPECT_EQ(0x87654321, GetValueByPointerWithDefault(d, Pointer("/foo/uint"), 0x87654321, a).GetUint… in TEST()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h1066 typename T::ValueType& GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::Value… in GetValueByPointerWithDefault() function
1071 typename T::ValueType& GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::Value… in GetValueByPointerWithDefault() function
1077 typename T::ValueType& GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::Value… in GetValueByPointerWithDefault() function
1084 GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, T2 defa… in GetValueByPointerWithDefault() function
1089 typename T::ValueType& GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const type… in GetValueByPointerWithDefault() function
1094 typename T::ValueType& GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const type… in GetValueByPointerWithDefault() function
1100 typename T::ValueType& GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const std:… in GetValueByPointerWithDefault() function
1107 GetValueByPointerWithDefault(T& root, const CharType(&source)[N], T2 defaultValue, typename T::Allo… in GetValueByPointerWithDefault() function
1114 typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const Generi… in GetValueByPointerWithDefault() function
1119 typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const Generi… in GetValueByPointerWithDefault() function
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dpointer.md93 Value& hello = GetValueByPointerWithDefault(d, "/hello", "world");