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

123456789

/external/clang/test/Sema/
H A Dattr-endian.c3 int p1 __attribute__((endian(host))); // expected-warning {{unknown attribute 'endian' ignored}}
/external/valgrind/VEX/priv/
H A Dir_inject.c61 load_aux(IREndness endian, IRType type, IRExpr *addr) argument
68 IRExpr_Load(endian, Ity_I64, addr));
72 return unop(Iop_32to1, IRExpr_Load(endian, Ity_I32, addr));
75 return IRExpr_Load(endian, type, addr);
82 load(IREndness endian, IRType type, HWord haddr) argument
106 if (endian == Iend_BE) {
109 load_aux(endian, type, addr),
110 load_aux(endian, type, next_addr));
114 load_aux(endian, type, next_addr),
115 load_aux(endian, typ
125 store_aux(IRSB *irsb, IREndness endian, IRExpr *addr, IRExpr *data) argument
145 store(IRSB *irsb, IREndness endian, HWord haddr, IRExpr *data) argument
192 vex_inject_ir(IRSB *irsb, IREndness endian) argument
[all...]
/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:__anon6316
/external/llvm/include/llvm/Support/
H A DHost.h20 #include <endian.h>
23 #include <machine/endian.h>
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
24 namespace endian { namespace in namespace:llvm::support
26 template <endianness endian> struct Writer {
30 Val = byte_swap<value_type, endian>(Val);
59 } // end namespace endian
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...]
/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/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);
/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
546 const Endian endian = tiff_directory::kBigEndian; local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dpatchkey.h22 # 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>
H A Dgzip_wrapper.h32 #include <endian.h>
H A Dxz_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/avahi/avahi-compat-howl/include/corby/
H A Dbuffer.h239 sw_uint8 endian);
246 sw_uint8 endian);
253 sw_uint8 endian);
260 sw_uint8 endian);
275 sw_uint8 endian);
283 sw_uint8 endian);
291 sw_uint8 endian);
299 sw_uint8 endian);
307 sw_uint8 endian);
315 sw_uint8 endian);
[all...]
/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...]
/external/llvm/include/llvm/MC/
H A DMCObjectWriter.h129 support::endian::Writer<support::little>(*OS).write(Value);
133 support::endian::Writer<support::little>(*OS).write(Value);
137 support::endian::Writer<support::little>(*OS).write(Value);
141 support::endian::Writer<support::big>(*OS).write(Value);
145 support::endian::Writer<support::big>(*OS).write(Value);
149 support::endian::Writer<support::big>(*OS).write(Value);
/external/lz4/lib/
H A Dxxhash.c57 * By default, xxHash library provides endian-independant Hash values, based on little-endian convention.
58 * Results are therefore identical for little-endian and big-endian CPU.
59 * This comes at a performance cost for big-endian CPU, since some swapping is required to emulate little-endian format.
60 * Should endian-independance be of no importance for your application, you may set the #define below to 1.
61 * It will improve speed for Big-endian CPU.
231 FORCE_INLINE U32 XXH_readLE32_align(const void* ptr, XXH_endianess endian, XXH_alignment align) argument
234 return endian
239 XXH_readLE32(const void* ptr, XXH_endianess endian) argument
244 XXH_readLE64_align(const void* ptr, XXH_endianess endian, XXH_alignment align) argument
252 XXH_readLE64(const void* ptr, XXH_endianess endian) argument
261 XXH32_endian_align(const void* input, size_t len, U32 seed, XXH_endianess endian, XXH_alignment align) argument
366 XXH64_endian_align(const void* input, size_t len, U64 seed, XXH_endianess endian, XXH_alignment align) argument
588 XXH32_update_endian(XXH32_state_t* state_in, const void* input, size_t len, XXH_endianess endian) argument
689 XXH32_digest_endian(const XXH32_state_t* state_in, XXH_endianess endian) argument
742 XXH64_update_endian(XXH64_state_t* state_in, const void* input, size_t len, XXH_endianess endian) argument
843 XXH64_digest_endian(const XXH64_state_t* state_in, XXH_endianess endian) argument
[all...]
/external/compiler-rt/test/builtins/Unit/arm/
H A Dcall_apsr.h19 #error big endian support not implemented
/external/mesa3d/src/gallium/include/pipe/
H A Dp_config.h115 #include <endian.h>
124 #include <machine/endian.h>
/external/selinux/libsepol/src/
H A Dprivate.h10 #include <machine/endian.h>
13 #include <endian.h>
/external/elfutils/libebl/
H A Deblcorenote.c35 #include <endian.h>

Completed in 791 milliseconds

123456789