Home
last modified time | relevance | path

Searched refs:endian (Results 1 – 25 of 146) sorted by relevance

123456

/external/llvm/unittests/Support/
DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read_be<int32_t, unaligned>(big))); in TEST()
29 EXPECT_EQ(LittleAsHost, (endian::read_le<int32_t, unaligned>(little))); in TEST()
31 EXPECT_EQ((endian::read_be<int32_t, unaligned>(big + 1)), in TEST()
32 (endian::read_le<int32_t, unaligned>(little + 1))); in TEST()
37 endian::write_be<int32_t, unaligned>(data, -1362446643); in TEST()
42 endian::write_be<int32_t, unaligned>(data + 1, -1362446643); in TEST()
48 endian::write_le<int32_t, unaligned>(data, -1362446643); in TEST()
53 endian::write_le<int32_t, unaligned>(data + 1, -1362446643); in TEST()
/external/qemu/
Dbswap.h96 #define CPU_CONVERT(endian, size, type)\ argument
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 ## _bswaps(p, size)\
117 static inline type endian ## size ## _to_cpup(const type *p)\
[all …]
Ddisas.c160 disasm_info.endian = BFD_ENDIAN_BIG; in target_disas()
162 disasm_info.endian = BFD_ENDIAN_LITTLE; in target_disas()
184 disasm_info.endian = BFD_ENDIAN_LITTLE; in target_disas()
273 disasm_info.endian = BFD_ENDIAN_BIG; in disas()
275 disasm_info.endian = BFD_ENDIAN_LITTLE; in disas()
381 disasm_info.endian = BFD_ENDIAN_BIG; in monitor_disas()
383 disasm_info.endian = BFD_ENDIAN_LITTLE; in monitor_disas()
Ddis-asm.h272 enum bfd_endian endian; member
436 (INFO).endian = BFD_ENDIAN_UNKNOWN, \
DChangelog263 - big endian ARM support (Lennert Buytenhek)
544 - socketcall endian fix (Ulrich Weigand)
545 - struct sockaddr endian fix (Ulrich Weigand)
546 - sendmsg/recvmsg endian fix (Ulrich Weigand)
547 - execve endian fix (Ulrich Weigand)
548 - fdset endian fix (Ulrich Weigand)
570 - big endian fixes in ELF loader and getdents.
/external/llvm/include/llvm/Support/
DEndian.h50 namespace endian {
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::write_le<value_type, aligned>((void *)&Value, newValue);
138 return endian::read_be<value_type, aligned>(&Value);
141 endian::write_be<value_type, aligned>((void *)&Value, newValue);
/external/libmtp/m4/
Dbyteorder.m410 dnl this is not possible (e.g. on a big-endian machine) they are defined
57 dnl First, do an endian check
61 AC_HAVE_SYMBOL(le32toh,machine/endian.h,
65 #include <machine/endian.h>
90 AC_HAVE_SYMBOL(swap32,machine/endian.h,
92 /* swap32 and swap16 are defined in machine/endian.h */
110 AC_HAVE_SYMBOL(bswap32,machine/endian.h,
111 dnl We're already including machine/endian.h if this test succeeds
116 echo '#include <machine/endian.h>'>> "$1"
159 /* No other byte swapping functions are available on this big-endian system */
[all …]
/external/expat/conftools/
Dac_c_bigendian_cross.m420 bogus endian macros
25 not big endian
29 /* Are we little or big endian? From Harbison&Steele. */
55 echo $ac_n ' big endian probe OK, ' 1>&AC_FD_MSG
59 echo $ac_n ' little endian probe OK, ' 1>&AC_FD_MSG
/external/srec/srec/include/
Dutteranc.h95 int endian; /* 0 is little 1 is big */ member
233 char typ, int endian, int do_skip);
235 char typ, int endian);
Dsample.h116 int endian; /* 0 is little 1 is big */ member
/external/libmtp/src/
DREADME13 we have named libptp-endian.h and libptp-stdint.h the
23 in libptp-endian.h. This is required for OS X on PowerPC (not sure why).
DMakefile.am4 gphoto2-endian.h libptp-stdint.h ptp.c ptp.h \
/external/libmtp/libmtp.xcodeproj/
Dproject.pbxproj13 …277B07D009FA3E1 /* gphoto2-endian.h in Headers */ = {isa = PBXBuildFile; fileRef = B00305C01277B07…
67 …o2-endian.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; na…
122 B00305C01277B07D009FA3E1 /* gphoto2-endian.h */,
174 B00305D01277B07D009FA3E1 /* gphoto2-endian.h in Headers */,
/external/e2fsprogs/lib/blkid/
Dtest_probe.in25 # swap is native-endian, so regenerate before testing
29 # swap is native-endian, so regenerate before testing
/external/qemu/distrib/zlib-1.2.3/
Dcrc32.c233 u4 endian; local
235 endian = 1;
236 if (*((unsigned char *)(&endian)))
/external/zlib/
Dcrc32.c240 u4 endian; local
242 endian = 1;
243 if (*((unsigned char *)(&endian)))
/external/compiler-rt/test/Unit/
Dendianness.h91 #error Unable to determine endian
/external/compiler-rt/lib/
Dint_endianness.h93 #error Unable to determine endian
/external/bluetooth/bluez/sbc/
Dsbc.h76 uint8_t endian; member
Dsbc.c920 sbc->endian = SBC_LE; in sbc_set_defaults()
922 sbc->endian = SBC_BE; in sbc_set_defaults()
1007 if (sbc->endian == SBC_BE) { in sbc_decode()
1071 if (sbc->endian == SBC_BE) in sbc_encode()
1078 if (sbc->endian == SBC_BE) in sbc_encode()
/external/llvm/test/CodeGen/PowerPC/
Dvec_splat_constant.ll2 ; Formerly incorrectly inserted vsldoi (endian confusion)
/external/openssl/crypto/rc2/
Dversion15 little-endian operators.
/external/llvm/test/MC/Mips/
Delf-bigendian.ll3 ; Check that this is big endian.
/external/srtp/
DChanges6 helping track down the endian issues with the SSRCs.
10 This is an interim release. Several little-endian bugs were identified
104 Fixed endian issues in RTP header construction in the function
/external/llvm/test/Instrumentation/AddressSanitizer/
Dasan-vs-gvn.ll7 ; 32-bit little endian target.

123456