Searched refs:endian (Results 1 - 25 of 341) sorted by relevance

1234567891011>>

/external/clang/test/Sema/
H A Dattr-endian.c3 int p1 __attribute__((endian(host))); // expected-warning {{unknown attribute 'endian' ignored}}
/external/libcxx/test/std/utilities/meta/meta.type.synop/
H A Dendian.pass.cpp12 // enum class endian;
22 typedef std::endian E;
23 static_assert(std::is_enum<std::endian>::value, "");
26 typedef std::underlying_type<std::endian>::type UT;
27 static_assert(!std::is_convertible<std::endian, UT>::value, "");
30 static_assert( std::endian::little == std::endian::little );
31 static_assert( std::endian::big == std::endian::big );
32 static_assert( std::endian
[all...]
/external/syslinux/com32/include/
H A Dendian.h2 * endian.h
8 #include <klibc/endian.h>
/external/mesa3d/src/util/
H A Du_endian.h31 #include <endian.h>
40 #include <machine/endian.h>
59 #include <machine/endian.h>
/external/compiler-rt/test/builtins/Unit/
H A Dendianness.h21 * Middle endian systems are not handled currently.
40 #include <sys/endian.h>
55 #include <machine/endian.h>
91 #include <endian.h>
106 #error Unable to determine endian
/external/google-breakpad/src/third_party/libdisasm/
H A Dia32_settings.h8 unsigned char endian, /* 0 = big, 1 = little */ member in struct:__anon7645
/external/libnl/include/netlink/
H A Dhash.h10 #include <endian.h>
22 #error Unknown endianness. Failure in endian.h
/external/llvm/include/llvm/Support/
H A DHost.h20 #include <endian.h>
23 #include <machine/endian.h>
H A DEndian.h1 //===- Endian.h - Utilities for IO with endian specific data ----*- C++ -*-===//
10 // This file declares generic functions to read and write endian specific data.
36 namespace endian { namespace in namespace:llvm::support
38 template<typename value_type, endianness endian>
40 if (endian != native && sys::IsBigEndianHost != (endian == big))
47 endianness endian,
56 return byte_swap<value_type, endian>(ret);
61 template<typename value_type, endianness endian, std::size_t alignment,
64 value_type ret = read<value_type, endian, alignmen
[all...]
H A DEndianStream.h1 //===- EndianStream.h - Stream ops with endian specific data ----*- C++ -*-===//
10 // This file defines utilities for operating on streams that have endian
25 namespace endian { namespace in namespace:llvm::support
27 template <endianness endian> struct Writer {
35 Val = byte_swap<value_type, endian>(Val);
64 } // end namespace endian
/external/swiftshader/third_party/LLVM/unittests/Support/
H A DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read_be<int32_t, unaligned>(big)));
29 EXPECT_EQ(LittleAsHost, (endian::read_le<int32_t, unaligned>(little)));
31 EXPECT_EQ((endian::read_be<int32_t, unaligned>(big + 1)),
32 (endian::read_le<int32_t, unaligned>(little + 1)));
37 endian::write_be<int32_t, unaligned>(data, -1362446643);
42 endian::write_be<int32_t, unaligned>(data + 1, -1362446643);
48 endian::write_le<int32_t, unaligned>(data, -1362446643);
53 endian::write_le<int32_t, unaligned>(data + 1, -1362446643);
/external/valgrind/VEX/priv/
H A Dir_inject.c62 load_aux(IREndness endian, IRType type, IRExpr *addr) argument
69 IRExpr_Load(endian, Ity_I64, addr));
73 return unop(Iop_32to1, IRExpr_Load(endian, Ity_I32, addr));
76 return IRExpr_Load(endian, type, addr);
83 load(IREndness endian, IRType type, HWord haddr) argument
107 if (endian == Iend_BE) {
110 load_aux(endian, type, addr),
111 load_aux(endian, type, next_addr));
115 load_aux(endian, type, next_addr),
116 load_aux(endian, typ
126 store_aux(IRSB *irsb, IREndness endian, IRExpr *addr, IRExpr *data) argument
146 store(IRSB *irsb, IREndness endian, HWord haddr, IRExpr *data) argument
193 vex_inject_ir(IRSB *irsb, IREndness endian) argument
[all...]
/external/compiler-rt/lib/builtins/
H A Dint_endianness.h52 #include <sys/endian.h>
65 #include <machine/endian.h>
113 #error Unable to determine endian
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCCodeEmitter.cpp62 support::endian::Writer<support::little>(OS).write<uint64_t>(MI.getOpcode());
65 support::endian::Writer<support::little>(OS).write<uint64_t>(
70 support::endian::Writer<support::little>(OS).write<uint64_t>(MO.getReg());
72 support::endian::Writer<support::little>(OS).write<uint64_t>(MO.getImm());
74 support::endian::Writer<support::little>(OS).write<double>(MO.getFPImm());
76 support::endian::Writer<support::little>(OS).write<uint64_t>(0);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DHost.h20 #include <endian.h>
25 #include <machine/endian.h>
H A DEndian.h1 //===- Endian.h - Utilities for IO with endian specific data ----*- C++ -*-===//
10 // This file declares generic functions to read and write endian specific data.
35 namespace endian { namespace in namespace:llvm::support
37 template<typename value_type, endianness endian>
39 if (endian != native && sys::IsBigEndianHost != (endian == big))
46 endianness endian,
55 return byte_swap<value_type, endian>(ret);
60 template<typename value_type, endianness endian, std::size_t alignment,
63 value_type ret = read<value_type, endian, alignmen
[all...]
/external/llvm/unittests/Support/
H A DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval)));
29 EXPECT_EQ(LittleAsHost,(endian::read<int32_t, little, unaligned>(littleval)));
31 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)),
32 (endian::read<int32_t, little, unaligned>(littleval + 1)));
40 (endian::readAtBitAlignment<int, little, unaligned>(&littleval[0], 6)),
42 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)),
49 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 4)),
51 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)),
55 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 1)),
57 EXPECT_EQ((endian
[all...]
H A DEndianStreamTest.cpp24 endian::Writer<little> LE(OS);
39 endian::Writer<big> BE(OS);
55 endian::Writer<little> LE(OS);
70 endian::Writer<big> BE(OS);
85 endian::Writer<little> LE(OS);
104 endian::Writer<big> BE(OS);
123 endian::Writer<little> LE(OS);
142 endian::Writer<big> BE(OS);
161 endian::Writer<little> LE(OS);
176 endian
[all...]
/external/piex/src/
H A Dpiex.cc137 bool GetExifIfd(const Endian endian, StreamInterface* stream, argument
141 if (!Get32u(stream, sizeof(offset_to_ifd), endian, &offset_to_ifd)) {
146 TiffDirectory tiff_ifd(endian);
147 if (!ParseDirectory(kTiffOffset, offset_to_ifd, endian, {kTiffTagExifIfd},
154 return ParseDirectory(kTiffOffset, exif_offset, endian,
162 bool GetMakernoteIfd(const TiffDirectory& exif_ifd, const Endian endian, argument
175 endian, {kTiffTagImageWidth, kOlymTagCameraSettings,
182 const Endian endian, StreamInterface* stream,
193 if (!Get32u(stream, camera_settings_offset, endian,
198 makernote_offset + camera_settings_offset, endian,
180 GetCameraSettingsIfd(const TiffDirectory& makernote_ifd, const std::uint32_t makernote_offset, const Endian endian, StreamInterface* stream, TiffDirectory* camera_settings_ifd) argument
203 GetRawProcessingIfd(const TagSet& desired_tags, const TiffDirectory& makernote_ifd, const std::uint32_t makernote_offset, const Endian endian, StreamInterface* stream, TiffDirectory* raw_processing_ifd) argument
231 Endian endian; local
303 Endian endian; local
335 const Endian endian = tiff_directory::kBigEndian; local
348 const Endian endian = tiff_directory::kBigEndian; local
553 const Endian endian = tiff_directory::kBigEndian; local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dpatchkey.h23 # include <endian.h>
/external/kmod/port-gnu/
H A Dconfig.h179 #include <endian-darwin.h>
181 #include <endian.h>
/external/fio/crc/
H A Dxxhash.c53 // By default, xxHash library provides endian-independant Hash values, based on little-endian convention.
54 // Results are therefore identical for little-endian and big-endian CPU.
55 // This comes at a performance cost for big-endian CPU, since some swapping is required to emulate little-endian format.
56 // Should endian-independance be of no importance for your application, you may set the #define below to 1.
57 // It will improve speed for Big-endian CPU.
151 static uint32_t XXH_readLE32_align(const uint32_t* ptr, XXH_endianess endian, XXH_alignment align) argument
154 return endian
159 XXH_readLE32(const uint32_t* ptr, XXH_endianess endian) argument
165 XXH32_endian_align(const void* input, int len, uint32_t seed, XXH_endianess endian, XXH_alignment align) argument
285 XXH32_update_endian(void* state_in, const void* input, int len, XXH_endianess endian) argument
361 XXH32_intermediateDigest_endian(void* state_in, XXH_endianess endian) argument
[all...]
/external/squashfs-tools/squashfs-tools/
H A Dlz4_wrapper.h32 #include <endian.h>
/external/compiler-rt/test/ubsan/TestCases/Float/
H A Dcast-overflow.cpp17 # include <machine/endian.h>
22 # include <sys/endian.h>
31 # include <endian.h>
/external/clang/lib/Lex/
H A DPTHLexer.cpp55 unsigned Word0 = endian::readNext<uint32_t, little, aligned>(CurPtrShadow);
57 endian::readNext<uint32_t, little, aligned>(CurPtrShadow);
59 endian::readNext<uint32_t, little, aligned>(CurPtrShadow);
198 uint32_t Offset = endian::readNext<uint32_t, little, aligned>(CurPPCondPtr);
201 TableIdx = endian::readNext<uint32_t, little, aligned>(CurPPCondPtr);
219 TokBuf + endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
224 TableIdx = endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
240 TokBuf + endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
241 uint32_t NextIdx = endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
295 uint32_t Offset = endian
[all...]

Completed in 743 milliseconds

1234567891011>>