Home
last modified time | relevance | path

Searched refs:little_endian (Results 1 – 25 of 112) sorted by relevance

12345

/external/libtextclassifier/native/utils/hash/
Dcityhash.cc60 uint64_t a = absl::little_endian::Load64(s); in HashLen0to16()
61 uint64_t b = absl::little_endian::Load64(s + len - 8); in HashLen0to16()
65 uint64_t a = absl::little_endian::Load32(s); in HashLen0to16()
66 return HashLen16(len + (a << 3), absl::little_endian::Load32(s + len - 4)); in HashLen0to16()
97 return WeakHashLen32WithSeeds(absl::little_endian::Load64(s), in WeakHashLen32WithSeeds()
98 absl::little_endian::Load64(s + 8), in WeakHashLen32WithSeeds()
99 absl::little_endian::Load64(s + 16), in WeakHashLen32WithSeeds()
100 absl::little_endian::Load64(s + 24), a, b); in WeakHashLen32WithSeeds()
110 uint64_t a = absl::little_endian::Load64(s) * k1; in HashLen17to32()
111 uint64_t b = absl::little_endian::Load64(s + 8); in HashLen17to32()
[all …]
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/abseil-cpp/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dendian_test.cc183 TEST(EndianessTest, little_endian) { in TEST() argument
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
207 little_endian::Store16(&u16Buf, k16Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
212 little_endian::Store32(&u32Buf, k32Value); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/
Dmatch.cc78 uint16_t xor_bytes = absl::little_endian::Load16(pa + count) ^ in FindLongestCommonPrefix()
79 absl::little_endian::Load16(pb + count); in FindLongestCommonPrefix()
93 uint64_t xor_bytes = absl::little_endian::Load64(pa + count) ^ in FindLongestCommonPrefix()
94 absl::little_endian::Load64(pb + count); in FindLongestCommonPrefix()
103 uint64_t xor_bytes = absl::little_endian::Load64(pa + count) ^ in FindLongestCommonPrefix()
104 absl::little_endian::Load64(pb + count); in FindLongestCommonPrefix()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DDecodeRaw.pbtxt28 name: "little_endian"
63 name: "little_endian"
100 name: "little_endian"
138 name: "little_endian"
177 name: "little_endian"
/external/cronet/third_party/abseil-cpp/absl/crc/internal/
Dcrc32c_inline.h42 *crc = CRC32_u16(*crc, absl::little_endian::Load16(p)); in ExtendCrc32cInline()
47 *crc = CRC32_u32(*crc, absl::little_endian::Load32(p)); in ExtendCrc32cInline()
52 *crc = CRC32_u64(*crc, absl::little_endian::Load64(p)); in ExtendCrc32cInline()
Dcrc.cc284 uint32_t buf0 = absl::little_endian::Load32(p) ^ l; in Extend()
285 uint32_t buf1 = absl::little_endian::Load32(p + 4); in Extend()
286 uint32_t buf2 = absl::little_endian::Load32(p + 8); in Extend()
287 uint32_t buf3 = absl::little_endian::Load32(p + 12); in Extend()
294 return absl::little_endian::Load32(ptr) ^ in Extend()
/external/angle/third_party/abseil-cpp/absl/crc/internal/
Dcrc32c_inline.h42 *crc = CRC32_u16(*crc, absl::little_endian::Load16(p)); in ExtendCrc32cInline()
47 *crc = CRC32_u32(*crc, absl::little_endian::Load32(p)); in ExtendCrc32cInline()
52 *crc = CRC32_u64(*crc, absl::little_endian::Load64(p)); in ExtendCrc32cInline()
Dcrc.cc281 uint32_t buf0 = absl::little_endian::Load32(p) ^ l; in Extend()
282 uint32_t buf1 = absl::little_endian::Load32(p + 4); in Extend()
283 uint32_t buf2 = absl::little_endian::Load32(p + 8); in Extend()
284 uint32_t buf3 = absl::little_endian::Load32(p + 12); in Extend()
291 return absl::little_endian::Load32(ptr) ^ in Extend()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DDecodeRaw.pbtxt28 name: "little_endian"
63 name: "little_endian"
100 name: "little_endian"
138 name: "little_endian"
/external/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf16_length.pass.cpp98 typedef std::codecvt_utf16<wchar_t, 0x10ffff, std::little_endian> C; in main()
121 typedef std::codecvt_utf16<wchar_t, 0x1000, std::little_endian> C; in main()
146 std::little_endian)> C; in main()
238 typedef std::codecvt_utf16<char32_t, 0x10ffff, std::little_endian> C; in main()
261 typedef std::codecvt_utf16<char32_t, 0x1000, std::little_endian> C; in main()
286 std::little_endian)> C; in main()
379 typedef std::codecvt_utf16<char16_t, 0x10ffff, std::little_endian> C; in main()
402 typedef std::codecvt_utf16<char16_t, 0x1000, std::little_endian> C; in main()
427 std::little_endian)> C; in main()
/external/tensorflow/tensorflow/python/kernel_tests/image_ops/
Ddecode_raw_op_test.py67 ["\x01\x02\x03\x04"], dtypes.int32, little_endian=True))
71 ["\x01\x02\x03\x04"], dtypes.int32, little_endian=False))
75 little_endian=True))
79 little_endian=False))
/external/tensorflow/tensorflow/python/ops/
Dparsing_ops.py846 little_endian=True, argument
970 little_endian=little_endian,
974 input_bytes, out_type, little_endian=little_endian, name=name)
985 little_endian=True, argument
1018 input_bytes, out_type, little_endian=little_endian, name=name)
/external/cronet/buildtools/third_party/libc++/trunk/test/std/localization/locale.stdcvt/
Dcodecvt_utf16_length.pass.cpp114 typedef std::codecvt_utf16<char16_t, 0x10ffff, std::little_endian> C; in test()
137 typedef std::codecvt_utf16<char16_t, 0x1000, std::little_endian> C; in test()
160 …::codecvt_utf16<char16_t, 0x10ffff, std::codecvt_mode(std::consume_header | std::little_endian)> C; in test()
256 typedef std::codecvt_utf16<char32_t, 0x10ffff, std::little_endian> C; in test()
279 typedef std::codecvt_utf16<char32_t, 0x1000, std::little_endian> C; in test()
302 …::codecvt_utf16<char32_t, 0x10ffff, std::codecvt_mode(std::consume_header | std::little_endian)> C; in test()
/external/deqp-deps/SPIRV-Tools/test/tools/
Dexpect.py145 def read_word(binary, index, little_endian): argument
148 if little_endian:
175 little_endian = check_endianness(preamble)
177 if little_endian is None:
181 version = read_word(preamble, 1, little_endian)
189 if read_word(preamble, 2, little_endian) != 0x000d0007 and \
190 read_word(preamble, 2, little_endian) != 0x00070000:
193 if read_word(preamble, 4, little_endian) != 0:
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/tools/
Dexpect.py145 def read_word(binary, index, little_endian): argument
148 if little_endian:
175 little_endian = check_endianness(preamble)
177 if little_endian is None:
181 version = read_word(preamble, 1, little_endian)
189 if read_word(preamble, 2, little_endian) != 0x000d0007 and \
190 read_word(preamble, 2, little_endian) != 0x00070000:
193 if read_word(preamble, 4, little_endian) != 0:
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dexpect.py145 def read_word(binary, index, little_endian): argument
148 if little_endian:
175 little_endian = check_endianness(preamble)
177 if little_endian is None:
181 version = read_word(preamble, 1, little_endian)
189 if read_word(preamble, 2, little_endian) != 0x000d0007 and \
190 read_word(preamble, 2, little_endian) != 0x00070000:
193 if read_word(preamble, 4, little_endian) != 0:
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dranden_engine.h91 return little_endian::ToHost(begin[next_++]); in operator()
139 e = absl::little_endian::FromHost(e); in reseed()
205 os << static_cast<numeric_type>(little_endian::FromHost(*it))
225 elem = little_endian::ToHost(static_cast<result_type>(value));
/external/cronet/third_party/abseil-cpp/absl/random/internal/
Dranden_engine.h91 return little_endian::ToHost(begin[next_++]); in operator()
139 e = absl::little_endian::FromHost(e); in reseed()
205 os << static_cast<numeric_type>(little_endian::FromHost(*it))
225 elem = little_endian::ToHost(static_cast<result_type>(value));

12345