Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dvaluetest.cpp21 TEST(Value, DefaultConstructor) { in TEST() argument
22 Value x; in TEST()
39 TEST(Value, Traits) { in TEST() argument
40 typedef GenericValue<UTF8<>, CrtAllocator> Value; in TEST() typedef
41 static_assert(std::is_constructible<Value>::value, ""); in TEST()
42 static_assert(std::is_default_constructible<Value>::value, ""); in TEST()
44 static_assert(!std::is_copy_constructible<Value>::value, ""); in TEST()
46 static_assert(std::is_move_constructible<Value>::value, ""); in TEST()
49 static_assert(std::is_nothrow_constructible<Value>::value, ""); in TEST()
50 static_assert(std::is_nothrow_default_constructible<Value>::value, ""); in TEST()
[all …]
Dpointertest.cpp534 Pointer q = p.Append(Value("foo").Move()); in TEST()
536 q = q.Append(Value(1234).Move()); in TEST()
538 q = q.Append(Value(kStringType).Move()); in TEST()
570 Value* v = &Pointer("").Create(d, d.GetAllocator()); in TEST()
574 Value* v = &Pointer("/foo").Create(d, d.GetAllocator()); in TEST()
578 Value* v = &Pointer("/foo/0").Create(d, d.GetAllocator()); in TEST()
582 Value* v = &Pointer("/foo/-").Create(d, d.GetAllocator()); in TEST()
587 Value* v = &Pointer("/foo/-/-").Create(d, d.GetAllocator()); in TEST()
596 Value* v = &Pointer("/foo/-").Create(d); in TEST()
602 Value* v = &Pointer("/-").Create(d["foo"], d.GetAllocator()); in TEST()
[all …]
Dreadertest.cpp320 *internal::dtoa(d.Value(), buffer) = '\0'; in TestParseDouble()
330 … printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value()); in TestParseDouble()
334 EXPECT_DOUBLE_EQ(d.Value(), h.actual_); in TestParseDouble()
346 *internal::dtoa(d.Value(), buffer) = '\0'; in TestParseDouble()
357 … printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value()); in TestParseDouble()
361 EXPECT_DOUBLE_EQ(d.Value(), h.actual_); in TestParseDouble()
365 d = d.Value() * 0.5; in TestParseDouble()
395 *internal::dtoa(e.Value(), buffer) = '\0'; in TEST()
Ddocumenttest.cpp171 Value& v = d["en"]; in TEST()
202 Value o; in TEST()
220 Value().Swap(d1); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md9 # Value & Document {#ValueDocument}
11 …ch JSON value is stored in a type called `Value`. A `Document`, representing the DOM, contains the…
13 # Query Value {#QueryValue}
50 Let's query whether a `"hello"` member exists in the root object. Since a `Value` can contain diffe…
103 const Value& a = document["a"];
128 for (Value::ConstValueIterator itr = a.Begin(); itr != a.End(); ++itr)
144 for (Value::ConstMemberIterator itr = document.MemberBegin();
167 Value::ConstMemberIterator itr = document.FindMember("hello");
205 In addition to `GetString()`, the `Value` class also contains `GetStringLength()`. Here explains wh…
247 ## Change Value Type {#ChangeValueType}
[all …]
Dpointer.md47 if (Value* stars = Pointer("/stars").Get(d))
58 Value& hello = Pointer("/hello").GetWithDefault(d, "world");
63 Value x("C++");
88 if (Value* stars = GetValueByPointer(d, "/stars"))
93 Value& hello = GetValueByPointerWithDefault(d, "/hello", "world");
95 Value x("C++");
136 …et the other functions can resolve this for array, equivalent to calling `Value::PushBack()` to th…
145 ## Resolving Document and Value
147 When using `p.Get(root)` or `GetValueByPointer(root, p)`, `root` is a (const) `Value&`. That means,…
149 …ture. One group uses `Document& document` as parameter, another one uses `Value& root`. The first …
[all …]
Dinternals.md15 … the `Handler` concept to build a DOM according to the events. `Value` supports a `Value::Accept(H…
17 …his provides flexibility to chain event publisher and handlers. Besides, `Value` does not depends …
25 # Value {#Value}
27 `Value` (actually a typedef of `GenericValue<UTF8<>>`) is the core of DOM API. This section describ…
31Value` is a [variant type](http://en.wikipedia.org/wiki/Variant_type). In RapidJSON's context, an …
65 | `Value* values` | Pointer to array of values (owned) |4 |8 |
117Value` has 12 or 16 bytes (32-bit or 64-bit) for storing actual data. Instead of storing a pointer…
Dfaq.md117 Value(kObjectType).Swap(d);
121 d.Swap(Value(kObjectType).Move());
159 Value addressValue = Value(address["address"], person.GetAllocator());
163 ## Document/Value (DOM)
167 …Instead of copy semantics, move semantics is used in `Value`. That means, when assigning a source …
173 …There are two APIs: constructor with allocator, and `CopyFrom()`. See [Deep Copy Value](doc/tutori…
183 …Since the APIs are member functions of `Value`, we do not want to save an allocator pointer in eve…
267 …In the DOM API, each `Value` consumes exactly 16/24 bytes for 32/64-bit architecture respectively.…
Ddom.md9 In the tutorial, `Value` and `Document` was used. Similarly to `std::string`, these are actually `…
24 typedef GenericValue<UTF8<> > Value;
61 …cating memory for `Document`/`Value`. `Document` owns, or references to an `Allocator` instance. O…
248 …`Value::Accept()` is responsible for publishing SAX events about the value to the handler. With th…
Dfeatures.md68 * Store short string in `Value` internally without additional allocation.
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dmeta.h44 static const bool Value = Cond; member
58 template <typename C, typename T1, typename T2> struct SelectIf : SelectIfCond<C::Value, T1, T2> {};
67 template <typename C1, typename C2> struct AndExpr : AndExprCond<C1::Value, C2::Value>::Type {};
68 template <typename C1, typename C2> struct OrExpr : OrExprCond<C1::Value, C2::Value>::Type {};
91 BoolType<IsConst<CT>::Value >= IsConst<T>::Value> >::Type {};
122 enum { Value = (sizeof(Check(Host(), 0)) == sizeof(Yes)) };
141 struct EnableIf : EnableIfCond<Condition::Value, T> {};
144 struct DisableIf : DisableIfCond<Condition::Value, T> {};
Dieee754.h29 double Value() const { return d_; } in Value() function
34 return Double(u_ + 1).Value(); in NextPositiveDouble()
Dstrtod.h211 int cmp = CheckWithinHalfULP(a.Value(), dInt, dExp); in StrtodBigInteger()
213 return a.Value(); // within half ULP in StrtodBigInteger()
219 return a.Value(); in StrtodBigInteger()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
Dtutorial.cpp45 Value::MemberIterator hello = document.FindMember("hello"); in main()
68 … const Value& a = document["a"]; // Using a reference for consecutive access is handy and faster. in main()
78 for (Value::ConstValueIterator itr = a.Begin(); itr != a.End(); ++itr) in main()
85 … for (Value::ConstMemberIterator itr = document.MemberBegin(); itr != document.MemberEnd(); ++itr) in main()
102 Value& a = document["a"]; // This time we uses non-const reference. in main()
122 Value author; in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Darchitecture.dot31 Value
39 Value -> Document
47 Value -> Handler [label="calls"]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h393 v->PushBack(Value().Move(), allocator);
411 v->PushBack(Value().Move(), allocator);
419 … v->AddMember(Value(t->name, t->length, allocator).Move(), Value().Move(), allocator);
506 Value& v = Create(root, allocator, &alreadyExist); in GetWithDefault()
513 Value& v = Create(root, allocator, &alreadyExist); in GetWithDefault()
521 Value& v = Create(root, allocator, &alreadyExist); in GetWithDefault()
1012 typedef GenericPointer<Value> Pointer;
Ddocument.h506 RAPIDJSON_STATIC_ASSERT((internal::IsSame<bool,T>::Value));
1758 typedef GenericValue<UTF8<> > Value;
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp18 Value& s = d["stars"]; in main()
/packages/apps/Test/connectivity/sl4n/utils/
Dcommand_receiver.cpp62 rapidjson::Value tmp; in bluetooth_binder_get_local_name_wrapper()
126 rapidjson::Value tmp; in bluetooth_binder_get_local_address_wrapper()
/packages/apps/Test/connectivity/sl4n/rapidjson/
DCHANGELOG.md10 * Add Value::XXXMember(...) overloads for std::string (#335)
Dreadme.md109 Value& s = d["stars"];
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt87080 …:20:15.110] executeForCursorWindow took 1ms - succeeded, sql="SELECT Value AS Value FROM CONFIG WH…
87081 …1: [2016-01-13 23:20:15.072] prepare took 0ms - succeeded, sql="SELECT Value AS Value FROM CONFIG …
87082 …:19:58.687] executeForCursorWindow took 8ms - succeeded, sql="SELECT Value AS Value FROM CONFIG WH…
87083 …3: [2016-01-13 23:19:58.677] prepare took 0ms - succeeded, sql="SELECT Value AS Value FROM CONFIG …
87084 …19:58.654] executeForCursorWindow took 10ms - succeeded, sql="SELECT Value AS Value FROM CONFIG WH…
87085 …5: [2016-01-13 23:19:58.649] prepare took 0ms - succeeded, sql="SELECT Value AS Value FROM CONFIG …
87086 …19:58.618] executeForCursorWindow took 16ms - succeeded, sql="SELECT Value AS Value FROM CONFIG WH…
87087 …7: [2016-01-13 23:19:58.612] prepare took 0ms - succeeded, sql="SELECT Value AS Value FROM CONFIG …
87088 …19:58.576] executeForCursorWindow took 26ms - succeeded, sql="SELECT Value AS Value FROM CONFIG WH…
87089 …9: [2016-01-13 23:19:58.566] prepare took 0ms - succeeded, sql="SELECT Value AS Value FROM CONFIG …
[all …]