Home
last modified time | relevance | path

Searched refs:uint64 (Results 1 – 25 of 156) sorted by relevance

1234567

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dint128.h54 UINT128_CONSTEXPR uint128(uint64 top, uint64 bottom);
59 UINT128_CONSTEXPR uint128(uint64 bottom); // hi_ = 0
64 void Initialize(uint64 top, uint64 bottom);
83 friend uint64 Uint128Low64(const uint128& v);
84 friend uint64 Uint128High64(const uint128& v);
97 uint64 lo_;
98 uint64 hi_;
115 uint64 hi;
116 uint64 lo;
128 inline uint64 Uint128Low64(const uint128& v) { return v.lo_; } in Uint128Low64()
[all …]
Dport.h110 typedef unsigned __int64 uint64; typedef
120 typedef uint64_t uint64; typedef
146 static const uint64 kuint64max = GOOGLE_ULONGLONG(0xFFFFFFFFFFFFFFFF);
246 #define GOOGLE_UNALIGNED_LOAD64(_p) (*reinterpret_cast<const uint64 *>(_p))
250 #define GOOGLE_UNALIGNED_STORE64(_p, _val) (*reinterpret_cast<uint64 *>(_p) = (_val))
265 inline uint64 GOOGLE_UNALIGNED_LOAD64(const void *p) { in GOOGLE_UNALIGNED_LOAD64()
266 uint64 t; in GOOGLE_UNALIGNED_LOAD64()
279 inline void GOOGLE_UNALIGNED_STORE64(void *p, uint64 v) { in GOOGLE_UNALIGNED_STORE64()
315 static inline uint64 bswap_64(uint64 x) { in bswap_64()
343 static uint64 FromHost64(uint64 x) { return bswap_64(x); } in FromHost64()
[all …]
Dfastmem.h71 uint64 u = GOOGLE_UNALIGNED_LOAD64(a) ^ GOOGLE_UNALIGNED_LOAD64(b); in memeq()
72 uint64 v = GOOGLE_UNALIGNED_LOAD64(a + n - 8) ^ GOOGLE_UNALIGNED_LOAD64(b + n - 8); in memeq()
86 uint64 x = GOOGLE_UNALIGNED_LOAD64(a) ^ GOOGLE_UNALIGNED_LOAD64(b); in memeq()
87 uint64 y = GOOGLE_UNALIGNED_LOAD64(a + 8) ^ GOOGLE_UNALIGNED_LOAD64(b + 8); in memeq()
103 while (a + sizeof(uint64) <= a_limit && in fastmemcmp_inlined()
105 a += sizeof(uint64); in fastmemcmp_inlined()
106 b += sizeof(uint64); in fastmemcmp_inlined()
Dint128.cc41 static_cast<uint64>(GOOGLE_LONGLONG(0xFFFFFFFFFFFFFFFF)),
42 static_cast<uint64>(GOOGLE_LONGLONG(0xFFFFFFFFFFFFFFFF))
58 static inline int Fls64(uint64 n) { in Fls64()
61 STEP(uint64, n, pos, 0x20); in Fls64()
73 if (uint64 hi = Uint128High64(n)) { in Fls128()
148 div = static_cast<uint64>(GOOGLE_ULONGLONG(0x1000000000000000)); // 16^15 in operator <<()
152 div = static_cast<uint64>(GOOGLE_ULONGLONG(01000000000000000000000)); // 8^21 in operator <<()
156 div = static_cast<uint64>(GOOGLE_ULONGLONG(10000000000000000000)); // 10^19 in operator <<()
Dstrutil.h377 inline uint64 strtou64(const char *nptr, char **endptr, int base) { in strtou64()
378 GOOGLE_COMPILE_ASSERT(sizeof(uint64) == sizeof(unsigned long long), in strtou64()
410 LIBPROTOBUF_EXPORT bool safe_strtou64(const string& str, uint64* value);
417 inline bool safe_strtou64(const char* str, uint64* value) { in safe_strtou64()
420 inline bool safe_strtou64(StringPiece str, uint64* value) { in safe_strtou64()
468 char* FastUInt64ToBuffer(uint64 i, char* buffer); // inline below
470 LIBPROTOBUF_EXPORT char* FastHex64ToBuffer(uint64 i, char* buffer);
510 LIBPROTOBUF_EXPORT char* FastUInt64ToBufferLeft(uint64 i, char* buffer);
517 inline char* FastUInt64ToBuffer(uint64 i, char* buffer) { in FastUInt64ToBuffer()
592 uint64 value;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwire_format.py139 def UInt64ByteSize(field_number, uint64): argument
140 return TagByteSize(field_number) + _VarUInt64ByteSizeNoTag(uint64)
232 def _VarUInt64ByteSizeNoTag(uint64): argument
237 if uint64 <= 0x7f: return 1
238 if uint64 <= 0x3fff: return 2
239 if uint64 <= 0x1fffff: return 3
240 if uint64 <= 0xfffffff: return 4
241 if uint64 <= 0x7ffffffff: return 5
242 if uint64 <= 0x3ffffffffff: return 6
243 if uint64 <= 0x1ffffffffffff: return 7
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunknown_field_set.h118 void AddVarint(int number, uint64 value);
120 void AddFixed64(int number, uint64 value);
187 inline uint64 varint() const;
189 inline uint64 fixed64() const;
193 inline void set_varint(uint64 value);
195 inline void set_fixed64(uint64 value);
233 uint64 varint_;
235 uint64 fixed64_;
287 inline uint64 UnknownField::varint() const { in varint()
295 inline uint64 UnknownField::fixed64() const { in fixed64()
[all …]
Darena.cc92 uint64 space_allocated = ResetInternal(); in ~Arena()
100 uint64 Arena::Reset() { in Reset()
106 uint64 Arena::ResetInternal() { in ResetInternal()
108 uint64 space_allocated = FreeBlocks(); in ResetInternal()
225 uint64 Arena::SpaceAllocated() const { in SpaceAllocated()
226 uint64 space_allocated = 0; in SpaceAllocated()
235 uint64 Arena::SpaceUsed() const { in SpaceUsed()
236 uint64 space_used = 0; in SpaceUsed()
245 pair<uint64, uint64> Arena::SpaceAllocatedAndUsed() const { in SpaceAllocatedAndUsed()
246 uint64 allocated = 0; in SpaceAllocatedAndUsed()
[all …]
Dwire_format_lite.h222 static uint64 EncodeDouble(double value);
223 static double DecodeDouble(uint64 value);
233 static uint64 ZigZagEncode64(int64 n);
234 static int64 ZigZagDecode64(uint64 n);
361 INL static void WriteUInt64NoTag (uint64 value, output);
365 INL static void WriteFixed64NoTag (uint64 value, output);
377 static void WriteUInt64 (field_number, uint64 value, output);
381 static void WriteFixed64 (field_number, uint64 value, output);
427 INL static uint8* WriteUInt64NoTagToArray (uint64 value, output);
431 INL static uint8* WriteFixed64NoTagToArray (uint64 value, output);
[all …]
Dwire_format_lite_inl.h73 uint64 temp;
85 inline bool WireFormatLite::ReadPrimitive<uint64, WireFormatLite::TYPE_UINT64>(
87 uint64* value) {
103 uint64 temp;
115 inline bool WireFormatLite::ReadPrimitive<uint64, WireFormatLite::TYPE_FIXED64>(
117 uint64* value) {
133 uint64 temp;
151 uint64 temp;
160 uint64 temp;
184 uint64, WireFormatLite::TYPE_FIXED64>(
[all …]
/frameworks/ml/nn/common/random/
Dsimple_philox.h39 PHILOX_DEVICE_INLINE uint64 Rand64() { in Rand64()
41 return lo | static_cast<uint64>(hi) << 32; in Rand64()
59 uint64 Uniform64(uint64 n);
Dsimple_philox.cc28 uint64 SimplePhilox::Uniform64(uint64 n) { in Uniform64()
29 return ExactUniformInt<uint64>(n, [this]() { return Rand64(); }); in Uniform64()
Dphilox_random.h47 typedef uint64_t uint64; typedef
121 explicit PhiloxRandom(uint64 seed) { in PhiloxRandom()
127 explicit PhiloxRandom(uint64 seed_lo, uint64 seed_hi) { in PhiloxRandom()
139 void Skip(uint64 count) { in Skip()
212 const uint64 product = static_cast<uint64>(a) * b; in MultiplyHighLow()
Drandom.h26 uint64 New64();
30 uint64 New64DefaultSeed();
Drandom.cc36 uint64 New64() { in New64()
43 uint64 New64DefaultSeed() { in New64DefaultSeed()
Drandom_distributions.h217 : lo_(lo), range_(static_cast<uint64>(hi) - static_cast<uint64>(lo)) {} in UniformDistribution()
224 auto bits = sample[2 * i] | static_cast<uint64>(sample[2 * i + 1]) << 32; in operator()
235 uint64 range_;
265 void Skip(uint64 num_skips) { in Skip()
289 void SkipFromGenerator(uint64 num_skips) { in SkipFromGenerator()
727 const uint64 man = (static_cast<uint64>(mhi) << 32) | mlo; // mantissa in Uint64ToDouble()
728 const uint64 exp = static_cast<uint64>(1023); in Uint64ToDouble()
729 const uint64 val = (exp << 52) | man; in Uint64ToDouble()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream.h222 bool ReadLittleEndian64(uint64* value);
231 uint64* value);
238 bool ReadVarint64(uint64* value);
609 std::pair<uint64, bool> ReadVarint64Fallback();
611 bool ReadVarint64Slow(uint64* value);
614 bool ReadLittleEndian64Fallback(uint64* value);
755 void WriteLittleEndian64(uint64 value);
757 static uint8* WriteLittleEndian64ToArray(uint64 value, uint8* target);
766 void WriteVarint64(uint64 value);
768 static uint8* WriteVarint64ToArray(uint64 value, uint8* target);
[all …]
Dcoded_stream.cc319 bool CodedInputStream::ReadLittleEndian64Fallback(uint64* value) { in ReadLittleEndian64Fallback()
380 const uint8* buffer, uint64* value);
382 const uint8* buffer, uint64* value) { in ReadVarint64FromArray()
416 *value = (static_cast<uint64>(part0)) | in ReadVarint64FromArray()
417 (static_cast<uint64>(part1) << 28) | in ReadVarint64FromArray()
418 (static_cast<uint64>(part2) << 56); in ReadVarint64FromArray()
427 std::pair<uint64, bool> p = ReadVarint64Fallback(); in ReadVarint32Slow()
457 std::pair<uint64, bool> p = ReadVarint64Fallback(); in ReadVarintSizeAsIntSlow()
458 if (!p.second || p.first > static_cast<uint64>(INT_MAX)) return -1; in ReadVarintSizeAsIntSlow()
467 uint64 temp; in ReadVarintSizeAsIntFallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Dtouch_analytics.proto52 optional uint64 timeOffsetNanos = 1;
70 optional uint64 timeOffsetNanos = 2;
72 optional uint64 timestamp = 4;
109 optional uint64 timeOffsetNanos = 2;
126 optional uint64 startTimestampMillis = 1;
127 optional uint64 durationMillis = 2;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dgenerated_code.proto9 uint64 optional_uint64 = 4;
21 repeated uint64 repeated_uint64 = 24;
34 uint64 oneof_uint64 = 44;
47 map<uint64, string> map_uint64_string = 64;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/
Druby_generated_code.proto9 uint64 optional_uint64 = 4;
21 repeated uint64 repeated_uint64 = 24;
34 uint64 oneof_uint64 = 44;
47 map<uint64, string> map_uint64_string = 64;
/frameworks/base/core/proto/android/util/
Dlog.proto29 optional uint64 sec = 1;
30 optional uint64 nanosec = 2;
56 optional uint64 sec = 1;
57 optional uint64 nanosec = 2;
/frameworks/native/cmds/surfacereplayer/proto/src/
Dtrace.proto111 required uint64 frame_number = 2;
126 required uint64 buffer_queue_id = 1;
158 required uint64 frame_number = 4;
168 optional uint64 display_id = 3;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Ddatapiece.cc151 StatusOr<uint64> DataPiece::ToUint64() const { in ToUint64()
152 if (type_ == TYPE_STRING) return StringToNumber<uint64>(safe_strtou64); in ToUint64()
155 return FloatingPointToIntConvertAndCheck<uint64, double>(double_); in ToUint64()
158 return FloatingPointToIntConvertAndCheck<uint64, float>(float_); in ToUint64()
160 return GenericConvert<uint64>(); in ToUint64()
300 return NumberConvertAndCheck<To, uint64>(u64_); in GenericConvert()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
Dunittest_runtime_proto3.proto45 uint64 optional_uint64 = 4;
64 repeated uint64 repeated_uint64 = 34;
84 uint64 oneof_uint64 = 54;
105 map<uint64 , uint64 > map_uint64_uint64 = 73;

1234567