Home
last modified time | relevance | path

Searched refs:u64 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dpointertest.cpp656 const uint64_t u64 = RAPIDJSON_UINT64_C2(0xFFFFFFFFF, 0xFFFFFFFFF); in TEST() local
657 EXPECT_EQ(u64, Pointer("/foo/uint64").GetWithDefault(d, u64, a).GetUint64()); in TEST()
658 EXPECT_EQ(u64, Pointer("/foo/uint64").GetWithDefault(d, u64 - 1, a).GetUint64()); in TEST()
708 const uint64_t u64 = RAPIDJSON_UINT64_C2(0xFFFFFFFFF, 0xFFFFFFFFF); in TEST() local
709 EXPECT_EQ(u64, Pointer("/foo/uint64").GetWithDefault(d, u64).GetUint64()); in TEST()
710 EXPECT_EQ(u64, Pointer("/foo/uint64").GetWithDefault(d, u64 - 1).GetUint64()); in TEST()
766 const uint64_t u64 = RAPIDJSON_UINT64_C2(0xFFFFFFFFF, 0xFFFFFFFFF); in TEST() local
767 Pointer("/foo/uint64").Set(d, u64, a); in TEST()
768 EXPECT_EQ(u64, GetValueByPointer(d, "/foo/uint64")->GetUint64()); in TEST()
825 const uint64_t u64 = RAPIDJSON_UINT64_C2(0xFFFFFFFFF, 0xFFFFFFFFF); in TEST() local
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp399 bool WriteUint64(uint64_t u64) { in WriteUint64() argument
403 *p++ = char(u64 % 10) + '0'; in WriteUint64()
404 u64 /= 10; in WriteUint64()
405 } while (u64 > 0); in WriteUint64()
487 bool WriteUint64(uint64_t u64) { in WriteUint64() argument
490 while (u64 >= 100) { in WriteUint64()
491 const unsigned i = static_cast<unsigned>(u64 % 100) << 1; in WriteUint64()
492 u64 /= 100; in WriteUint64()
496 if (u64 < 10) in WriteUint64()
497 *p++ = char(u64) + '0'; in WriteUint64()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Ddiyfp.h46 uint64_t u64; in DiyFp() member
49 int biased_e = static_cast<int>((u.u64 & kDpExponentMask) >> kDpSignificandSize); in DiyFp()
50 uint64_t significand = (u.u64 & kDpSignificandMask); in DiyFp()
137 uint64_t u64; in ToDouble() member
141 u.u64 = (f & kDpSignificandMask) | (be << kDpSignificandSize); in ToDouble()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h518 data_.n.u64 = u;
538 explicit GenericValue(uint64_t u64) RAPIDJSON_NOEXCEPT : data_(), flags_(kNumberUint64Flag) {
539 data_.n.u64 = u64;
540 if (!(u64 & RAPIDJSON_UINT64_C2(0x80000000, 0x00000000)))
542 if (!(u64 & RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x00000000)))
544 if (!(u64 & RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0x80000000)))
737 return data_.n.u64 == rhs.data_.n.u64;
1451 uint64_t GetUint64() const { RAPIDJSON_ASSERT(flags_ & kUint64Flag); return data_.n.u64; }
1459 …RAPIDJSON_ASSERT((flags_ & kUint64Flag) != 0); return (double)data_.n.u64; // uint64_t -> double …
1465 …GenericValue& SetUint64(uint64_t u64) { this->~GenericValue(); new (this) GenericValue(u64); re…
[all …]
Dwriter.h113 bool Uint64(uint64_t u64) { Prefix(kNumberType); return WriteUint64(u64); } in Uint64() argument
228 bool WriteUint64(uint64_t u64) { in WriteUint64() argument
230 char* end = internal::u64toa(u64, buffer); in WriteUint64()
Dprettywriter.h70 bool Uint64(uint64_t u64) { PrettyPrefix(kNumberType); return Base::WriteUint64(u64); } in Uint64() argument