Searched refs:i64 (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | misctest.cpp | 390 bool WriteInt64(int64_t i64) { in WriteInt64() argument 391 if (i64 < 0) { in WriteInt64() 393 i64 = -i64; in WriteInt64() 395 WriteUint64((uint64_t)i64); in WriteInt64() 478 bool WriteInt64(int64_t i64) { in WriteInt64() argument 479 if (i64 < 0) { in WriteInt64() 481 i64 = -i64; in WriteInt64() 483 WriteUint64((uint64_t)i64); in WriteInt64() 549 bool WriteInt64(int64_t i64) { in WriteInt64() argument 550 if (i64 < 0) { in WriteInt64() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | pointertest.cpp | 652 const int64_t i64 = static_cast<int64_t>(RAPIDJSON_UINT64_C2(0x80000000, 0)); in TEST() local 653 EXPECT_EQ(i64, Pointer("/foo/int64").GetWithDefault(d, i64, a).GetInt64()); in TEST() 654 EXPECT_EQ(i64, Pointer("/foo/int64").GetWithDefault(d, i64 + 1, a).GetInt64()); in TEST() 704 const int64_t i64 = static_cast<int64_t>(RAPIDJSON_UINT64_C2(0x80000000, 0)); in TEST() local 705 EXPECT_EQ(i64, Pointer("/foo/int64").GetWithDefault(d, i64).GetInt64()); in TEST() 706 EXPECT_EQ(i64, Pointer("/foo/int64").GetWithDefault(d, i64 + 1).GetInt64()); in TEST() 762 const int64_t i64 = static_cast<int64_t>(RAPIDJSON_UINT64_C2(0x80000000, 0)); in TEST() local 763 Pointer("/foo/int64").Set(d, i64, a); in TEST() 764 EXPECT_EQ(i64, GetValueByPointer(d, "/foo/int64")->GetInt64()); in TEST() 821 const int64_t i64 = static_cast<int64_t>(RAPIDJSON_UINT64_C2(0x80000000, 0)); in TEST() local [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | reader.h | 785 uint64_t i64 = 0; in ParseNumber() local 799 i64 = i; in ParseNumber() 811 i64 = i; in ParseNumber() 829 … if (i64 >= RAPIDJSON_UINT64_C2(0x0CCCCCCC, 0xCCCCCCCC)) // 2^63 = 9223372036854775808 in ParseNumber() 830 if (i64 != RAPIDJSON_UINT64_C2(0x0CCCCCCC, 0xCCCCCCCC) || s.Peek() > '8') { in ParseNumber() 831 d = i64; in ParseNumber() 835 i64 = i64 * 10 + static_cast<unsigned>(s.TakePush() - '0'); in ParseNumber() 840 … if (i64 >= RAPIDJSON_UINT64_C2(0x19999999, 0x99999999)) // 2^64 - 1 = 18446744073709551615 in ParseNumber() 841 if (i64 != RAPIDJSON_UINT64_C2(0x19999999, 0x99999999) || s.Peek() > '5') { in ParseNumber() 842 d = i64; in ParseNumber() [all …]
|
D | writer.h | 112 bool Int64(int64_t i64) { Prefix(kNumberType); return WriteInt64(i64); } in Int64() argument 220 bool WriteInt64(int64_t i64) { in WriteInt64() argument 222 const char* end = internal::i64toa(i64, buffer); in WriteInt64() 366 inline bool Writer<StringBuffer>::WriteInt64(int64_t i64) { in WriteInt64() argument 368 const char* end = internal::i64toa(i64, buffer); in WriteInt64()
|
D | document.h | 511 data_.n.i64 = i; 524 explicit GenericValue(int64_t i64) RAPIDJSON_NOEXCEPT : data_(), flags_(kNumberInt64Flag) { 525 data_.n.i64 = i64; 526 if (i64 >= 0) { 528 if (!(static_cast<uint64_t>(i64) & RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x00000000))) 530 if (!(static_cast<uint64_t>(i64) & RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x80000000))) 533 else if (i64 >= static_cast<int64_t>(RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x80000000))) 1450 int64_t GetInt64() const { RAPIDJSON_ASSERT(flags_ & kInt64Flag); return data_.n.i64; } 1458 …if ((flags_ & kInt64Flag) != 0) return (double)data_.n.i64; // int64_t -> double (… 1464 …GenericValue& SetInt64(int64_t i64) { this->~GenericValue(); new (this) GenericValue(i64); re… [all …]
|
D | prettywriter.h | 69 bool Int64(int64_t i64) { PrettyPrefix(kNumberType); return Base::WriteInt64(i64); } in Int64() argument
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/ |
D | stdint.h | 68 #define INT64_C(val) val##i64 279 #define INT64_C(val) val##i64
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | internals.md | 86 | `int64_t i64` | 64-bit signed integer |8 |8 | 92 | `uint64_t i64` | 64-bit unsigned integer |8 |8 | 98 | `uint64_t i64` | Double precision floating-point |8 |8 |
|