Searched refs:Value (Results 1 – 25 of 37) sorted by relevance
12
21 TEST(Value, DefaultConstructor) { in TEST() argument22 Value x; in TEST()39 TEST(Value, Traits) { in TEST() argument40 typedef GenericValue<UTF8<>, CrtAllocator> Value; in TEST() typedef41 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 …]
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 …]
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()
171 Value& v = d["en"]; in TEST()202 Value o; in TEST()220 Value().Swap(d1); in TEST()
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 …]
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 Value147 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 …]
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…
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.…
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…
17 // Value in column CoalescedAnnotatedCallLog._ID20 // Value in column CoalescedAnnotatedCallLog.TIMESTAMP23 // Value in column CoalescedAnnotatedCallLog.NUMBER26 // Value in column CoalescedAnnotatedCallLog.FORMATTED_NUMBER29 // Value in column CoalescedAnnotatedCallLog.NUMBER_PRESENTATION32 // Value in column CoalescedAnnotatedCallLog.IS_READ35 // Value in column CoalescedAnnotatedCallLog.NEW38 // Value in column CoalescedAnnotatedCallLog.GEOCODED_LOCATION41 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_COMPONENT_NAME44 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_ID[all …]
15 // Value in column AnnotatedCallLog._ID18 // Value in column AnnotatedCallLog.TIMESTAMP21 // Value in column AnnotatedCallLog.NUMBER24 // Value in column AnnotatedCallLog.FORMATTED_NUMBER27 // Value in column AnnotatedCallLog.GEOCODED_LOCATION30 // Value in column AnnotatedCallLog.DURATION33 // Value in column AnnotatedCallLog.TRANSCRIPTION36 // Value in column AnnotatedCallLog.VOICEMAIL_URI39 // Value in column AnnotatedCallLog.CALL_TYPE42 // Value in column AnnotatedCallLog.IS_READ[all …]
43 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 …]
44 static const bool Value = Cond; member58 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> {};
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()
29 double Value() const { return d_; } in Value() function34 return Double(u_ + 1).Value(); in NextPositiveDouble()
39 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()
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 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()
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()
31 Value39 Value -> Document47 Value -> Handler [label="calls"]
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;
META-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
128 rapidjson::Value tmp; in test_string_empty_return_wrapper()156 rapidjson::Value tmp; in test_string_max_return_wrapper()
18 Value& s = d["stars"]; in main()
221 rapidjson::Value tmp; in bt_binder_get_local_name_wrapper()285 rapidjson::Value tmp; in bt_binder_get_local_address_wrapper()
23 // Value of android.provider.ContactsContract.CommonDataKinds.Photo#_ID