/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
H A D | valuetest.cpp | 21 TEST(Value, DefaultConstructor) {
22 Value x;
26 //std::cout << "sizeof(Value): " << sizeof(x) << std::endl;
30 //TEST(Value, copy_constructor) {
31 // Value x(1234);
32 // Value y = x;
39 TEST(Value, Traits) {
40 typedef GenericValue<UTF8<>, CrtAllocator> Value;
typedef 41 static_assert(std::is_constructible<Value>::value, "");
42 static_assert(std::is_default_constructible<Value> 76 typedef GenericValue<UTF8<>, CrtAllocator> Value; typedef [all...] |
H A D | pointertest.cpp | 534 Pointer q = p.Append(Value("foo").Move()); 536 q = q.Append(Value(1234).Move()); 538 q = q.Append(Value(kStringType).Move()); 570 Value* v = &Pointer("").Create(d, d.GetAllocator()); 574 Value* v = &Pointer("/foo").Create(d, d.GetAllocator()); 578 Value* v = &Pointer("/foo/0").Create(d, d.GetAllocator()); 582 Value* v = &Pointer("/foo/-").Create(d, d.GetAllocator()); 587 Value* v = &Pointer("/foo/-/-").Create(d, d.GetAllocator()); 596 Value* v = &Pointer("/foo/-").Create(d); 601 // Value (no [all...] |
H A D | documenttest.cpp | 171 Value& v = d["en"];
202 Value o;
205 // Swap between Document and Value
220 Value().Swap(d1);
279 // Issue 226: Value of string type should not point to NULL
|
H A D | readertest.cpp | 320 *internal::dtoa(d.Value(), buffer) = '\0';
330 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value());
334 EXPECT_DOUBLE_EQ(d.Value(), h.actual_);
346 *internal::dtoa(d.Value(), buffer) = '\0';
357 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value());
361 EXPECT_DOUBLE_EQ(d.Value(), h.actual_);
365 d = d.Value() * 0.5;
395 *internal::dtoa(e.Value(), buffer) = '\0';
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/ |
H A D | simpledom.cpp | 18 Value& s = d["stars"];
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
H A D | tutorial.cpp | 45 Value::MemberIterator hello = document.FindMember("hello");
68 const Value& a = document["a"]; // Using a reference for consecutive access is handy and faster.
78 for (Value::ConstValueIterator itr = a.Begin(); itr != a.End(); ++itr)
85 for (Value::ConstMemberIterator itr = document.MemberBegin(); itr != document.MemberEnd(); ++itr)
102 Value& a = document["a"]; // This time we uses non-const reference.
122 Value author;
132 // Value author(buffer, len, document.GetAllocator());
133 // Value author(buffer, document.GetAllocator());
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
H A D | meta.h | 44 static const bool Value = Cond;
member in struct:internal::BoolType 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)) };
enumerator in enum:internal::IsBaseOfImpl::__anon39 141 struct EnableIf : EnableIfCond<Condition::Value, [all...] |
H A D | ieee754.h | 29 double Value() const { return d_; } function in class:internal::Double 34 return Double(u_ + 1).Value();
|
H A D | strtod.h | 211 int cmp = CheckWithinHalfULP(a.Value(), dInt, dExp); 213 return a.Value(); // within half ULP 219 return a.Value();
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | pointer.h | 68 However, Allocator of GenericPointer is independent of Allocator of Value. 73 typedef typename ValueType::EncodingType EncodingType; //!< Encoding type from Value 74 typedef typename EncodingType::Ch Ch; //!< Character type from Value 274 \param value Value (either Uint or String) to be appended. 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); 513 Value [all...] |
H A D | document.h | 246 Value v("foo"); // ok, no need to copy & calculate length
251 // Value x(bar); // not ok, can't rely on bar's lifetime
252 Value x(StringRef(bar)); // lifetime explicitly guaranteed by user
253 Value y(StringRef(bar, 3)); // ok, explicitly pass length
410 //! Represents a JSON value. Use Value for UTF8 encoding and default allocator.
415 Use the Value if UTF8 and default allocator
431 typedef GenericValue* ValueIterator; //!< Value iterator for iterating in array.
433 typedef GenericValue<Encoding, Allocator> ValueType; //!< Value type of itself.
465 /*! This creates a Value of specified type with default content.
483 /*! Creates a copy of a Value b 1758 typedef GenericValue<UTF8<> > Value; typedef [all...] |
/packages/apps/Test/connectivity/sl4n/utils/ |
H A D | command_receiver.cpp | 62 rapidjson::Value tmp; 126 rapidjson::Value tmp;
|