Home
last modified time | relevance | path

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

12

/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…
/packages/apps/Dialer/java/com/android/dialer/calllog/model/
Dcoalesced_row.proto17 // Value in column CoalescedAnnotatedCallLog._ID
20 // Value in column CoalescedAnnotatedCallLog.TIMESTAMP
23 // Value in column CoalescedAnnotatedCallLog.NUMBER
26 // Value in column CoalescedAnnotatedCallLog.FORMATTED_NUMBER
29 // Value in column CoalescedAnnotatedCallLog.NUMBER_PRESENTATION
32 // Value in column CoalescedAnnotatedCallLog.IS_READ
35 // Value in column CoalescedAnnotatedCallLog.NEW
38 // Value in column CoalescedAnnotatedCallLog.GEOCODED_LOCATION
41 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_COMPONENT_NAME
44 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_ID
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/model/
Dvoicemail_entry.proto15 // Value in column AnnotatedCallLog._ID
18 // Value in column AnnotatedCallLog.TIMESTAMP
21 // Value in column AnnotatedCallLog.NUMBER
24 // Value in column AnnotatedCallLog.FORMATTED_NUMBER
27 // Value in column AnnotatedCallLog.GEOCODED_LOCATION
30 // Value in column AnnotatedCallLog.DURATION
33 // Value in column AnnotatedCallLog.TRANSCRIPTION
36 // Value in column AnnotatedCallLog.VOICEMAIL_URI
39 // Value in column AnnotatedCallLog.CALL_TYPE
42 // Value in column AnnotatedCallLog.IS_READ
[all …]
/packages/services/Car/evs/sampleDriver/
DConfigManager.cpp43 LOG(VERBOSE) << "[ATTR] " << prefix << curAttr->Name() << ": " << curAttr->Value(); in printElementNames()
65 const char *id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
78 const char *sync = curElem->FindAttribute("synchronized")->Value(); in readCameraInfo()
93 const char *id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
96 const char *pos = curElem->FindAttribute("position")->Value(); in readCameraInfo()
173 const char *nameAttr = ctrlElem->FindAttribute("name")->Value();; in readCameraCapabilities()
174 const int32_t minVal = stoi(ctrlElem->FindAttribute("min")->Value()); in readCameraCapabilities()
175 const int32_t maxVal = stoi(ctrlElem->FindAttribute("max")->Value()); in readCameraCapabilities()
180 stepVal = stoi(stepAttr->Value()); in readCameraCapabilities()
206 const int32_t id = stoi(idAttr->Value()); in readCameraCapabilities()
[all …]
/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> {};
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()
Dieee754.h29 double Value() const { return d_; } in Value() function
34 return Double(u_ + 1).Value(); in NextPositiveDouble()
/packages/services/Car/evs/support_library/
DConfigManager.cpp39 const Json::Value& parentNode, in readChildNodeAsFloat()
45 Json::Value childNode = parentNode[childName]; in readChildNodeAsFloat()
65 Json::Value rootNode; in initialize()
78 Json::Value car = rootNode["car"]; in initialize()
94 Json::Value displayNode = rootNode["display"]; in initialize()
108 Json::Value graphicNode = rootNode["graphic"]; in initialize()
123 Json::Value cameraArray = rootNode["cameras"]; in initialize()
132 Json::Value nameNode = node.get("cameraId", "MISSING"); in initialize()
135 Json::Value usageNode = node.get("function", ""); in initialize()
/packages/services/Car/evs/apps/default/
DConfigManager.cpp35 const Json::Value& parentNode, in readChildNodeAsFloat()
41 Json::Value childNode = parentNode[childName]; in readChildNodeAsFloat()
61 Json::Value rootNode; in initialize()
74 Json::Value car = rootNode["car"]; in initialize()
90 Json::Value displayArray = rootNode["displays"]; in initialize()
113 Json::Value graphicNode = rootNode["graphic"]; in initialize()
128 Json::Value cameraArray = rootNode["cameras"]; in initialize()
137 Json::Value nameNode = node.get("cameraId", "MISSING"); in initialize()
140 Json::Value usageNode = node.get("function", ""); in initialize()
/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;
/packages/services/Car/tests/BugReportApp/libs/
Dopencensus-api-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
/packages/apps/Test/connectivity/sl4n/facades/test/
Dtest_facade.cpp128 rapidjson::Value tmp; in test_string_empty_return_wrapper()
156 rapidjson::Value tmp; in test_string_max_return_wrapper()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp18 Value& s = d["stars"]; in main()
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
Dbt_binder_facade.cpp221 rapidjson::Value tmp; in bt_binder_get_local_name_wrapper()
285 rapidjson::Value tmp; in bt_binder_get_local_address_wrapper()
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/
Dphoto_info.proto23 // Value of android.provider.ContactsContract.CommonDataKinds.Photo#_ID

12