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

123456

/external/compiler-rt/lib/
H A Dint_endianness.h35 #include <sys/endian.h>
48 #include <machine/endian.h>
84 #include <endian.h>
106 #error Unable to determine endian
/external/compiler-rt/test/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/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.
37 namespace endian { namespace in namespace:llvm::support
38 template<typename value_type, endianness endian>
40 if (endian != native && sys::IsBigEndianHost != (endian == big))
46 endianness endian,
55 return byte_swap<value_type, endian>(ret);
59 endianness endian,
62 value = byte_swap<value_type, endian>(valu
[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)));
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/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/qemu/
H A Dbswap.h9 #include <sys/endian.h>
96 #define CPU_CONVERT(endian, size, type)\
97 static inline type endian ## size ## _to_cpu(type v)\
99 return endian ## _bswap(v, size);\
102 static inline type cpu_to_ ## endian ## size(type v)\
104 return endian ## _bswap(v, size);\
107 static inline void endian ## size ## _to_cpus(type *p)\
109 endian ## _bswaps(p, size)\
112 static inline void cpu_to_ ## endian ## size ## s(type *p)\
114 endian ## _bswap
[all...]
H A Ddisas.c143 ppc - nonzero means little endian
160 disasm_info.endian = BFD_ENDIAN_BIG;
162 disasm_info.endian = BFD_ENDIAN_LITTLE;
184 disasm_info.endian = BFD_ENDIAN_LITTLE;
273 disasm_info.endian = BFD_ENDIAN_BIG;
275 disasm_info.endian = BFD_ENDIAN_LITTLE;
381 disasm_info.endian = BFD_ENDIAN_BIG;
383 disasm_info.endian = BFD_ENDIAN_LITTLE;
/external/kernel-headers/original/linux/
H A Dpatchkey.h24 # include <endian.h>
/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/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/mesa3d/src/gallium/include/pipe/
H A Dp_config.h115 #include <endian.h>
124 #include <machine/endian.h>
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/arpa/
H A Dinet.h62 #include <machine/endian.h>
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprinet.h98 * Prototypes of ntohl() etc. are declared in <machine/endian.h>
102 #include <machine/endian.h>
/external/elfutils/libebl/
H A Deblcorenote.c56 #include <endian.h>
/external/elfutils/src/
H A Darlib.h30 #include <endian.h>
/external/stlport/stlport/stl/config/
H A D_linux.h81 #include <endian.h>
/external/srec/srec/include/
H A Dutteranc.h95 int endian; /* 0 is little 1 is big */ member in struct:__anon26878
233 char typ, int endian, int do_skip);
235 char typ, int endian);
/external/elfutils/libelf/
H A Delf32_xlatetof.c56 #include <endian.h>
H A Delf32_xlatetom.c56 #include <endian.h>
/external/tremolo/Tremolo/
H A Dos_types.h120 # include <endian.h>
/external/chromium_org/base/
H A Dsys_byteorder.h29 #include <sys/endian.h>
78 // Converts the bytes in |x| from host order (endianness) to little endian, and

Completed in 700 milliseconds

123456