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

1234

/external/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/compiler-rt/lib/
H A Dint_endianness.h35 #include <sys/endian.h>
71 #include <endian.h>
93 #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>
76 #include <endian.h>
91 #error Unable to determine endian
/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/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/llvm/include/llvm/Support/
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.
50 namespace endian { namespace in namespace:llvm::support
91 endianness endian,
99 return endian::read_le<value_type, unaligned>(Value);
102 endian::write_le<value_type, unaligned>((void *)&Value, newValue);
112 return endian::read_be<value_type, unaligned>(Value);
115 endian::write_be<value_type, unaligned>((void *)&Value, newValue);
125 return endian::read_le<value_type, aligned>(&Value);
128 endian
[all...]
/external/libsepol/src/
H A Dprivate.h10 #include <machine/endian.h>
13 #include <endian.h>
/external/elfutils/libebl/
H A Deblcorenote.c56 #include <endian.h>
H A Deblauxvinfo.c56 #include <endian.h>
/external/elfutils/src/
H A Darlib.h30 #include <endian.h>
H A Dunaligned.h31 #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:__anon12475
233 char typ, int endian, int do_skip);
235 char typ, int endian);
H A Dsample.h116 int endian; /* 0 is little 1 is big */ member in struct:__anon12433
/external/elfutils/libelf/
H A Delf32_xlatetof.c56 #include <endian.h>
H A Delf32_xlatetom.c56 #include <endian.h>
H A Dcommon.h56 #include <endian.h>
H A Delf32_checksum.c56 #include <endian.h>
/external/tremolo/Tremolo/
H A Dos_types.h120 # include <endian.h>
/external/elfutils/libasm/
H A Dasm_addint8.c32 #include <endian.h>
/external/openssh/
H A Dincludes.h39 # include <endian.h>
/external/qemu/distrib/zlib-1.2.3/
H A Dcrc32.c103 allow for word-at-a-time CRC calculation for both big-endian and little-
104 endian machines, where a word is four bytes.
233 u4 endian; local
235 endian = 1;
236 if (*((unsigned char *)(&endian)))
/external/zlib/src/
H A Dcrc32.c87 allow for word-at-a-time CRC calculation for both big-endian and little-
88 endian machines, where a word is four bytes.
218 z_crc_t endian; local
220 endian = 1;
221 if (*((unsigned char *)(&endian)))

Completed in 1326 milliseconds

1234