Home
last modified time | relevance | path

Searched refs:big_endian (Results 1 – 25 of 54) sorted by relevance

123

/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dendian_test.cc225 TEST(EndianessTest, big_endian) { in TEST() argument
232 big_endian::Store16(&u16Buf, k16Value); in TEST()
234 uint64_t comp = big_endian::Load16(&u16Buf); in TEST()
237 big_endian::Store32(&u32Buf, k32Value); in TEST()
239 comp = big_endian::Load32(&u32Buf); in TEST()
242 big_endian::Store64(&u64Buf, k64Value); in TEST()
244 comp = big_endian::Load64(&u64Buf); in TEST()
247 big_endian::Store16(buffer + 1, k16Value); in TEST()
249 comp = big_endian::Load16(buffer + 1); in TEST()
252 big_endian::Store32(buffer + 1, k32Value); in TEST()
[all …]
/external/abseil-cpp/absl/base/internal/
Dendian_test.cc225 TEST(EndianessTest, big_endian) { in TEST() argument
232 big_endian::Store16(&u16Buf, k16Value); in TEST()
234 uint64_t comp = big_endian::Load16(&u16Buf); in TEST()
237 big_endian::Store32(&u32Buf, k32Value); in TEST()
239 comp = big_endian::Load32(&u32Buf); in TEST()
242 big_endian::Store64(&u64Buf, k64Value); in TEST()
244 comp = big_endian::Load64(&u64Buf); in TEST()
247 big_endian::Store16(buffer + 1, k16Value); in TEST()
249 comp = big_endian::Load16(buffer + 1); in TEST()
252 big_endian::Store32(buffer + 1, k32Value); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dendian_test.cc223 TEST(EndianessTest, big_endian) { in TEST() argument
230 big_endian::Store16(&u16Buf, k16Value); in TEST()
232 uint64_t comp = big_endian::Load16(&u16Buf); in TEST()
235 big_endian::Store32(&u32Buf, k32Value); in TEST()
237 comp = big_endian::Load32(&u32Buf); in TEST()
240 big_endian::Store64(&u64Buf, k64Value); in TEST()
242 comp = big_endian::Load64(&u64Buf); in TEST()
245 big_endian::Store16(buffer + 1, k16Value); in TEST()
247 comp = big_endian::Load16(buffer + 1); in TEST()
250 big_endian::Store32(buffer + 1, k32Value); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dendian_test.cc223 TEST(EndianessTest, big_endian) { in TEST() argument
230 big_endian::Store16(&u16Buf, k16Value); in TEST()
232 uint64_t comp = big_endian::Load16(&u16Buf); in TEST()
235 big_endian::Store32(&u32Buf, k32Value); in TEST()
237 comp = big_endian::Load32(&u32Buf); in TEST()
240 big_endian::Store64(&u64Buf, k64Value); in TEST()
242 comp = big_endian::Load64(&u64Buf); in TEST()
245 big_endian::Store16(buffer + 1, k16Value); in TEST()
247 comp = big_endian::Load16(buffer + 1); in TEST()
250 big_endian::Store32(buffer + 1, k32Value); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dendian_test.cc223 TEST(EndianessTest, big_endian) { in TEST() argument
230 big_endian::Store16(&u16Buf, k16Value); in TEST()
232 uint64_t comp = big_endian::Load16(&u16Buf); in TEST()
235 big_endian::Store32(&u32Buf, k32Value); in TEST()
237 comp = big_endian::Load32(&u32Buf); in TEST()
240 big_endian::Store64(&u64Buf, k64Value); in TEST()
242 comp = big_endian::Load64(&u64Buf); in TEST()
245 big_endian::Store16(buffer + 1, k16Value); in TEST()
247 comp = big_endian::Load16(buffer + 1); in TEST()
250 big_endian::Store32(buffer + 1, k32Value); in TEST()
[all …]
/external/google-breakpad/src/common/linux/
Ddump_symbols.cc207 const bool big_endian, in LoadStabs() argument
221 big_endian, 4, true, &handler); in LoadStabs()
279 const bool big_endian, in LoadDwarf() argument
284 const dwarf2reader::Endianness endianness = big_endian ? in LoadDwarf()
388 const bool big_endian, in LoadDwarfCFI() argument
400 const dwarf2reader::Endianness endianness = big_endian ? in LoadDwarfCFI()
466 bool* big_endian) { in ElfEndianness() argument
468 *big_endian = false; in ElfEndianness()
472 *big_endian = true; in ElfEndianness()
494 const bool big_endian, in ReadDebugLink() argument
[all …]
Delf_symbols_to_module.cc72 ELFSymbolIterator(const ByteBuffer *buffer, bool big_endian, in ELFSymbolIterator() argument
74 : value_size_(value_size), cursor_(buffer, big_endian) { in ELFSymbolIterator()
141 const bool big_endian, in ELFSymbolsToModule() argument
154 ELFSymbolIterator iterator(&symbols, big_endian, value_size); in ELFSymbolsToModule()
Delf_symbols_to_module.h51 const bool big_endian,
/external/piex/src/binary_parse/
Drange_checked_byte_ptr.cc297 int16 Get16s(const RangeCheckedBytePtr &input, const bool big_endian, in Get16s() argument
299 const uint16 unsigned_value = Get16u(input, big_endian, status); in Get16s()
319 uint16 Get16u(const RangeCheckedBytePtr &input, const bool big_endian, in Get16u() argument
328 if (big_endian) { in Get16u()
335 int32 Get32s(const RangeCheckedBytePtr &input, const bool big_endian, in Get32s() argument
337 const uint32 unsigned_value = Get32u(input, big_endian, status); in Get32s()
379 uint32 Get32u(const RangeCheckedBytePtr &input, const bool big_endian, in Get32u() argument
388 if (big_endian) { in Get32u()
Drange_checked_byte_ptr.h459 int16 Get16s(const RangeCheckedBytePtr &input, const bool big_endian,
461 uint16 Get16u(const RangeCheckedBytePtr &input, const bool big_endian,
463 int32 Get32s(const RangeCheckedBytePtr &input, const bool big_endian,
465 uint32 Get32u(const RangeCheckedBytePtr &input, const bool big_endian,
/external/google-breakpad/src/common/
Dbyte_cursor.h85 ByteCursor(const ByteBuffer *buffer, bool big_endian = false)
87 big_endian_(big_endian), complete_(true) { } in buffer_()
90 bool big_endian() const { return big_endian_; } in big_endian() function
91 void set_big_endian(bool big_endian) { big_endian_ = big_endian; } in set_big_endian() argument
Dstabs_reader.cc49 bool big_endian, size_t value_size) in EntryIterator() argument
50 : value_size_(value_size), cursor_(buffer, big_endian) { in EntryIterator()
70 bool big_endian, size_t value_size, bool unitized, in StabsReader() argument
74 iterator_(&entries_, big_endian, value_size), in StabsReader()
Dstabs_reader.h97 bool big_endian, size_t value_size, bool unitized,
152 EntryIterator(const ByteBuffer *buffer, bool big_endian, size_t value_size);
/external/abseil-cpp/absl/strings/internal/
Descaping.cc90 uint32_t in = absl::big_endian::Load32(cur_src) >> 8; in Base64EscapeInternal()
136 uint32_t in = absl::big_endian::Load16(cur_src); in Base64EscapeInternal()
157 uint32_t in = (cur_src[0] << 16) + absl::big_endian::Load16(cur_src + 1); in Base64EscapeInternal()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Descaping.cc90 uint32_t in = absl::big_endian::Load32(cur_src) >> 8; in Base64EscapeInternal()
136 uint32_t in = absl::big_endian::Load16(cur_src); in Base64EscapeInternal()
157 uint32_t in = (cur_src[0] << 16) + absl::big_endian::Load16(cur_src + 1); in Base64EscapeInternal()
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Descaping.cc90 uint32_t in = absl::big_endian::Load32(cur_src) >> 8; in Base64EscapeInternal()
136 uint32_t in = absl::big_endian::Load16(cur_src); in Base64EscapeInternal()
157 uint32_t in = (cur_src[0] << 16) + absl::big_endian::Load16(cur_src + 1); in Base64EscapeInternal()
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Descaping.cc90 uint32_t in = absl::big_endian::Load32(cur_src) >> 8; in Base64EscapeInternal()
136 uint32_t in = absl::big_endian::Load16(cur_src); in Base64EscapeInternal()
157 uint32_t in = (cur_src[0] << 16) + absl::big_endian::Load16(cur_src + 1); in Base64EscapeInternal()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Descaping.cc90 uint32_t in = absl::big_endian::Load32(cur_src) >> 8; in Base64EscapeInternal()
136 uint32_t in = absl::big_endian::Load16(cur_src); in Base64EscapeInternal()
157 uint32_t in = (cur_src[0] << 16) + absl::big_endian::Load16(cur_src + 1); in Base64EscapeInternal()
/external/webrtc/modules/rtp_rtcp/source/
Dbyte_io_unittest.cc81 void TestRead(bool big_endian) { in TestRead() argument
92 PopulateTestData(bytes + i, test_value, B, big_endian); in TestRead()
103 void TestWrite(bool big_endian) { in TestWrite() argument
115 PopulateTestData(expected_bytes + i, test_value, B, big_endian); in TestWrite()
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c330 int big_endian; in PyCStructUnionType_update_stgdict() local
344 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 0 : 1; in PyCStructUnionType_update_stgdict()
346 big_endian = PyObject_HasAttrString(type, "_swappedbytes_") ? 1 : 0; in PyCStructUnionType_update_stgdict()
550 pack, big_endian); in PyCStructUnionType_update_stgdict()
558 pack, big_endian); in PyCStructUnionType_update_stgdict()
/external/openscreen/util/
DBUILD.gn26 "big_endian.cc",
27 "big_endian.h",
/external/elfutils/src/
Dstrings.c114 static bool big_endian; variable
247 big_endian = true; in parse_opt()
325 if (big_endian) in process_chunk_mb()
332 if (big_endian) in process_chunk_mb()
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c352 int big_endian; in PyCStructUnionType_update_stgdict() local
371 big_endian = !PY_BIG_ENDIAN; in PyCStructUnionType_update_stgdict()
374 big_endian = PY_BIG_ENDIAN; in PyCStructUnionType_update_stgdict()
606 pack, big_endian); in PyCStructUnionType_update_stgdict()
614 pack, big_endian); in PyCStructUnionType_update_stgdict()
/external/google-breakpad/src/common/mac/
Ddump_syms.cc421 ByteReader byte_reader(macho_reader.big_endian() in ReadDwarf()
531 dwarf2reader::ByteReader byte_reader(macho_reader.big_endian() ? in ReadCFI()
620 reader_.big_endian(), in SymtabCommand()
/external/abseil-cpp/absl/strings/
Dnumbers.h223 uint64_t be = absl::big_endian::FromHost64(val); in FastHexToBufferZeroPad16()

123