Searched refs:endian (Results 1 - 25 of 225) 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/main/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/llvm/include/llvm/Support/
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);
34 } // end namespace endian
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>
63 value_type ret = read<value_type, endian, alignmen
[all...]
/external/compiler-rt/lib/builtins/
H A Dint_endianness.h37 #include <sys/endian.h>
50 #include <machine/endian.h>
86 #include <endian.h>
108 #error Unable to determine endian
/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/lldb/include/lldb/Host/
H A DEndian.h17 namespace endian { namespace in namespace:lldb
/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)));
37 endian::write<int32_t, big, unaligned>(data, -1362446643);
42 endian::write<int32_t, big, unaligned>(data + 1, -1362446643);
48 endian::write<int32_t, little, unaligned>(data, -1362446643);
53 endian::write<int32_t, little, unaligned>(data + 1, -1362446643);
/external/chromium_org/third_party/sqlite/src/test/
H A Dwal_common.tcl38 # in WAL files. If the $endian argument is "big", then checksums are
39 # calculated by interpreting data as an array of big-endian integers. If
40 # it is "little", data is interpreted as an array of little-endian integers.
42 proc wal_cksum {endian ckv1 ckv2 blob} {
46 if {$endian!="big" && $endian!="little"} {
47 return -error "Bad value \"$endian\" - must be \"big\" or \"little\""
50 if {$endian == "little"} { set scanpattern i* }
59 set endian little
60 if {[lindex $intlist 0] & 0x00000001} { set endian bi
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dpatchkey.h22 # include <endian.h>
/external/srec/portable/include/
H A Dpendian.h29 /* */#include <sys/endian.h>
44 /* */#include <endian.h>
57 /* */#include <endian.h>
60 /* */#include <machine/endian.h>
/external/chromium_org/build/mac/
H A Dchange_mach_o_flags.py125 def ReadUInt32(file, endian):
127 treating it as having endianness specified by |endian| (per the |struct|
133 (uint32,) = struct.unpack(endian + 'I', bytes)
137 def ReadMachHeader(file, endian):
140 |endian| (per the |struct| module), and returns a 7-tuple of its members
147 struct.unpack(endian + '7I', bytes)
153 |file| object, treating it as having endianness specified by |endian|
164 def WriteUInt32(file, uint32, endian):
166 object, treating it as having endianness specified by |endian| (per the
169 bytes = struct.pack(endian
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dwrite_bits.h22 #include <machine/endian.h>
24 #include <endian.h>
H A Dport.h21 #include <endian.h>
23 #include <machine/endian.h>
25 #include <machine/endian.h>
33 // using the above endian definitions from endian.h if
34 // endian.h was included
/external/lldb/include/lldb/API/
H A DSBData.h49 SetByteOrder (lldb::ByteOrder endian);
103 SetData (lldb::SBError& error, const void *buf, size_t size, lldb::ByteOrder endian, uint8_t addr_size);
110 CreateDataFromCString (lldb::ByteOrder endian, uint32_t addr_byte_size, const char* data);
115 CreateDataFromUInt64Array (lldb::ByteOrder endian, uint32_t addr_byte_size, uint64_t* array, size_t array_len);
118 CreateDataFromUInt32Array (lldb::ByteOrder endian, uint32_t addr_byte_size, uint32_t* array, size_t array_len);
121 CreateDataFromSInt64Array (lldb::ByteOrder endian, uint32_t addr_byte_size, int64_t* array, size_t array_len);
124 CreateDataFromSInt32Array (lldb::ByteOrder endian, uint32_t addr_byte_size, int32_t* array, size_t array_len);
127 CreateDataFromDoubleArray (lldb::ByteOrder endian, uint32_t addr_byte_size, double* array, size_t array_len);
/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/chromium_org/third_party/leveldatabase/src/port/
H A Dport_posix.h12 #include <machine/endian.h>
26 #include <sys/endian.h>
31 #include <sys/endian.h>
35 // Due to a bug in the NDK x86 <sys/endian.h> definition,
38 #include <endian.h>
41 #include <endian.h>
/external/lldb/source/Core/
H A DDataEncoder.cpp64 m_byte_order(lldb::endian::InlHostByteOrder()),
74 DataEncoder::DataEncoder (void* data, uint32_t length, ByteOrder endian, uint8_t addr_size) : argument
77 m_byte_order(endian),
85 // set the endian swapping setting to "swap", and the address size to
90 DataEncoder::DataEncoder (const DataBufferSP& data_sp, ByteOrder endian, uint8_t addr_size) : argument
93 m_byte_order(endian),
117 m_byte_order = lldb::endian::InlHostByteOrder();
153 // any data extracted will be endian swapped.
156 DataEncoder::SetData (const void *bytes, uint32_t length, ByteOrder endian) argument
158 m_byte_order = endian;
[all...]
/external/clang/lib/Lex/
H A DPTHLexer.cpp56 unsigned Word0 = endian::readNext<uint32_t, little, aligned>(CurPtrShadow);
58 endian::readNext<uint32_t, little, aligned>(CurPtrShadow);
60 endian::readNext<uint32_t, little, aligned>(CurPtrShadow);
199 uint32_t Offset = endian::readNext<uint32_t, little, aligned>(CurPPCondPtr);
202 TableIdx = endian::readNext<uint32_t, little, aligned>(CurPPCondPtr);
220 TokBuf + endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
225 TableIdx = endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
241 TokBuf + endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
242 uint32_t NextIdx = endian::readNext<uint32_t, little, aligned>(NextPPCondPtr);
296 uint32_t Offset = endian
[all...]
/external/qemu/include/qemu/
H A Dbswap.h11 # include <sys/endian.h>
86 #define CPU_CONVERT(endian, size, type)\
87 static inline type endian ## size ## _to_cpu(type v)\
89 return glue(endian, _bswap)(v, size);\
92 static inline type cpu_to_ ## endian ## size(type v)\
94 return glue(endian, _bswap)(v, size);\
97 static inline void endian ## size ## _to_cpus(type *p)\
99 glue(endian, _bswaps)(p, size);\
102 static inline void cpu_to_ ## endian ## size ## s(type *p)\
104 glue(endian, _bswap
[all...]
/external/llvm/test/MC/Mips/
H A Dmicromips-16-bit-instructions.s10 # Little endian
17 # Big endian
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/
H A Dp_config.h115 #include <endian.h>
124 #include <machine/endian.h>
/external/libsepol/src/
H A Dprivate.h10 #include <machine/endian.h>
13 #include <endian.h>
/external/lldb/scripts/Python/interface/
H A DSBData.i42 SetByteOrder (lldb::ByteOrder endian);
93 SetData (lldb::SBError& error, const void *buf, size_t size, lldb::ByteOrder endian, uint8_t addr_size);
99 CreateDataFromCString (lldb::ByteOrder endian, uint32_t addr_byte_size, const char* data);
104 CreateDataFromUInt64Array (lldb::ByteOrder endian, uint32_t addr_byte_size, uint64_t* array, size_t array_len);
107 CreateDataFromUInt32Array (lldb::ByteOrder endian, uint32_t addr_byte_size, uint32_t* array, size_t array_len);
110 CreateDataFromSInt64Array (lldb::ByteOrder endian, uint32_t addr_byte_size, int64_t* array, size_t array_len);
113 CreateDataFromSInt32Array (lldb::ByteOrder endian, uint32_t addr_byte_size, int32_t* array, size_t array_len);
116 CreateDataFromDoubleArray (lldb::ByteOrder endian, uint32_t addr_byte_size, double* array, size_t array_len);
164 def CreateDataFromInt (cls, value, size = None, target = None, ptr_size = None, endian = None):
179 if endian
[all...]

Completed in 8234 milliseconds

123456789