/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | valuetest.cpp | 21 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 …]
|
D | pointertest.cpp | 534 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 …]
|
D | readertest.cpp | 320 *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()
|
D | documenttest.cpp | 171 Value& v = d["en"]; in TEST() 202 Value o; in TEST() 220 Value().Swap(d1); in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | tutorial.md | 9 # 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 …]
|
D | pointer.md | 47 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 …]
|
D | internals.md | 15 … 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… 31 …Value` 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 | 117 …Value` has 12 or 16 bytes (32-bit or 64-bit) for storing actual data. Instead of storing a pointer…
|
D | faq.md | 117 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.…
|
D | dom.md | 9 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…
|
D | features.md | 68 * Store short string in `Value` internally without additional allocation.
|
/packages/apps/Dialer/java/com/android/dialer/calllog/model/ |
D | coalesced_row.proto | 16 // Value in column CoalescedAnnotatedCallLog._ID 19 // Value in column CoalescedAnnotatedCallLog.TIMESTAMP 22 // Value in column CoalescedAnnotatedCallLog.NUMBER 25 // Value in column CoalescedAnnotatedCallLog.FORMATTED_NUMBER 28 // Value in column CoalescedAnnotatedCallLog.NUMBER_PRESENTATION 31 // Value in column CoalescedAnnotatedCallLog.IS_READ 34 // Value in column CoalescedAnnotatedCallLog.NEW 37 // Value in column CoalescedAnnotatedCallLog.GEOCODED_LOCATION 40 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_COMPONENT_NAME 43 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_ID [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/model/ |
D | voicemail_entry.proto | 14 // Value in column AnnotatedCallLog._ID 17 // Value in column AnnotatedCallLog.TIMESTAMP 20 // Value in column AnnotatedCallLog.NUMBER 23 // Value in column AnnotatedCallLog.FORMATTED_NUMBER 26 // Value in column AnnotatedCallLog.GEOCODED_LOCATION 29 // Value in column AnnotatedCallLog.DURATION 32 // Value in column AnnotatedCallLog.TRANSCRIPTION 35 // Value in column AnnotatedCallLog.VOICEMAIL_URI 38 // Value in column AnnotatedCallLog.CALL_TYPE 41 // Value in column AnnotatedCallLog.IS_READ [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | meta.h | 44 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> {};
|
D | strtod.h | 211 int cmp = CheckWithinHalfULP(a.Value(), dInt, dExp); in StrtodBigInteger() 213 return a.Value(); // within half ULP in StrtodBigInteger() 219 return a.Value(); in StrtodBigInteger()
|
D | ieee754.h | 29 double Value() const { return d_; } in Value() function 34 return Double(u_ + 1).Value(); in NextPositiveDouble()
|
/packages/services/Car/evs/app/ |
D | ConfigManager.cpp | 35 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 displayNode = rootNode["display"]; in initialize() 104 Json::Value graphicNode = rootNode["graphic"]; in initialize() 119 Json::Value cameraArray = rootNode["cameras"]; in initialize() 128 Json::Value nameNode = node.get("cameraId", "MISSING"); in initialize() 131 Json::Value usageNode = node.get("function", ""); in initialize()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
D | tutorial.cpp | 45 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/ |
D | architecture.dot | 31 Value 39 Value -> Document 47 Value -> Handler [label="calls"]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | pointer.h | 393 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/apps/Test/connectivity/sl4n/facades/test/ |
D | test_facade.cpp | 128 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/ |
D | simpledom.cpp | 18 Value& s = d["stars"]; in main()
|
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/ |
D | bt_binder_facade.cpp | 221 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/ |
D | photo_info.proto | 22 // Value of android.provider.ContactsContract.CommonDataKinds.Photo#_ID
|
/packages/modules/DnsResolver/tests/ |
D | resolv_stats_test_utils.h | 78 ::testing::Value(arg.dns_query_event(i), DnsQueryEventEq(other.dns_query_event(i)));
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | CHANGELOG.md | 10 * Add Value::XXXMember(...) overloads for std::string (#335)
|