/external/llvm/include/llvm/Support/ |
H A D | EndianStream.h | 1 //===- EndianStream.h - Stream ops with endian specific data ----*- C++ -*-===// 10 // This file defines utilities for operating on streams that have endian 25 namespace endian { namespace in namespace:llvm::support 27 template <endianness endian> struct Writer { 35 Val = byte_swap<value_type, endian>(Val); 64 } // end namespace endian
|
H A D | Endian.h | 1 //===- 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/google-breakpad/src/third_party/libdisasm/ |
H A D | ia32_settings.h | 8 unsigned char endian, /* 0 = big, 1 = little */ member in struct:__anon6946
|
/external/google-breakpad/src/common/dwarf/ |
H A D | bytereader.cc | 37 ByteReader::ByteReader(enum Endianness endian) argument 38 :offset_reader_(NULL), address_reader_(NULL), endian_(endian),
|
/external/piex/src/tiff_directory/ |
H A D | tiff_directory.cc | 38 TiffDirectory::TiffDirectory(Endian endian) : endian_(endian) {} argument
|
/external/syslinux/com32/lib/zlib/ |
H A D | crc32.c | 105 allow for word-at-a-time CRC calculation for both big-endian and little- 106 endian machines, where a word is four bytes. 235 u4 endian; local 237 endian = 1; 238 if (*((unsigned char *)(&endian)))
|
/external/valgrind/VEX/priv/ |
H A D | ir_inject.c | 61 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/zlib/src/ |
H A D | crc32.c | 87 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)))
|
/external/ImageMagick/MagickCore/ |
H A D | mime.c | 96 endian; 241 endian; 315 endian=p->endian; 316 if (p->endian == UndefinedEndian) 317 endian=(*(char *) &lsb_first) == 1 ? LSBEndian : MSBEndian; 318 if (endian == LSBEndian) 345 endian=p->endian; 346 if (p->endian 93 endian; member in struct:_MimeInfo 234 endian; local [all...] |
H A D | quantum.c | 130 quantum_info->endian=image->endian; 353 % GetQuantumEndian() returns the quantum endian of the image. 355 % The endian of the GetQuantumEndian method is: 368 return(quantum_info->endian); 470 quantum_info->endian=image_info->endian; 724 % SetQuantumEndian() sets the quantum endian. 726 % The endian of the SetQuantumEndian method is: 729 % QuantumInfo *quantum_info,const EndianType endian) 723 SetQuantumEndian(const Image *image, QuantumInfo *quantum_info,const EndianType endian) argument [all...] |
H A D | quantum-private.h | 76 endian; member in struct:_QuantumInfo 182 static inline unsigned char *PopLongPixel(const EndianType endian, argument 189 if (endian == LSBEndian) 204 static inline unsigned char *PopShortPixel(const EndianType endian, argument 211 if (endian == LSBEndian) 229 static inline const unsigned char *PushLongPixel(const EndianType endian, argument 235 if (endian == LSBEndian) 252 static inline const unsigned char *PushShortPixel(const EndianType endian, argument 258 if (endian == LSBEndian)
|
/external/ImageMagick/MagickWand/ |
H A D | display.c | 177 "-endian type endianness (MSB or LSB) of the image", 1045 if (LocaleCompare("endian",option+1) == 0) 1048 endian; 1055 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 1057 if (endian < 0) 1046 endian; local
|
H A D | identify.c | 133 "-endian type endianness (MSB or LSB) of the image", 547 if (LocaleCompare("endian",option+1) == 0) 550 endian; 557 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 559 if (endian < 0) 548 endian; local
|
H A D | import.c | 151 "-endian type endianness (MSB or LSB) of the image", 768 if (LocaleCompare("endian",option+1) == 0) 771 endian; 778 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 780 if (endian < 0) 769 endian; local
|
H A D | montage.c | 157 "-endian type endianness (MSB or LSB) of the image", 904 if (LocaleCompare("endian",option+1) == 0) 907 endian; 914 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 916 if (endian < 0) 905 endian; local
|
H A D | composite.c | 302 "-endian type endianness (MSB or LSB) of the image", 942 if (LocaleCompare("endian",option+1) == 0) local 945 endian; 952 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 954 if (endian < 0)
|
H A D | convert.c | 398 "-endian type endianness (MSB or LSB) of the image", 1487 if (LocaleCompare("endian",option+1) == 0) 1490 endian; 1497 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 1499 if (endian < 0) 1488 endian; local
|
/external/ImageMagick/coders/ |
H A D | fits.c | 213 const size_t bits_per_pixel,const EndianType endian,unsigned char *pixels) 218 if (endian != MSBEndian) 250 endian; 321 fits_info.endian=MSBEndian; 387 fits_info.endian=MSBEndian; 389 fits_info.endian=LSBEndian; 429 image->endian=fits_info.endian; 466 SetFITSUnsignedPixels(1,image->depth,image->endian, 670 image->endian 207 SetFITSUnsignedPixels(const size_t length, const size_t bits_per_pixel,const EndianType endian,unsigned char *pixels) argument 245 endian; member in struct:_FITSInfo [all...] |
H A D | mpc.c | 477 if (LocaleCompare(keyword,"endian") == 0) 480 endian; 482 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 484 if (endian < 0) 486 image->endian=(EndianType) endian; 1148 if (image->endian != UndefinedEndian) 1150 (void) FormatLocaleString(buffer,MagickPathExtent,"endian=%s\n", 1151 CommandOptionToMnemonic(MagickEndianOptions,image->endian)); 476 endian; local
|
H A D | miff.c | 763 if (LocaleCompare(keyword,"endian") == 0) 766 endian; 768 endian=ParseCommandOption(MagickEndianOptions,MagickFalse, 770 if (endian < 0) 772 image->endian=(EndianType) endian; 2100 if (image->endian != UndefinedEndian) 2102 (void) FormatLocaleString(buffer,MagickPathExtent,"endian=%s\n", 2103 CommandOptionToMnemonic(MagickEndianOptions,image->endian)); 761 endian; local
|
/external/fio/crc/ |
H A D | xxhash.c | 53 // 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/gptfdisk/ |
H A D | support.cc | 296 // Return 1 if the CPU architecture is little endian, 0 if it's big endian.... 298 int littleE = 1; // assume little-endian (Intel-style) 302 } endian; local 304 endian.num = 1; 305 if (endian.uc[0] != (unsigned char) 1) {
|
/external/pdfium/third_party/zlib_v128/ |
H A D | crc32.c | 87 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)))
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | Endian.h | 1 //===- 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); 109 return endian::read_be<value_type, unaligned>(Value); 119 return endian::read_le<value_type, aligned>(&Value); 129 return endian::read_be<value_type, aligned>(&Value);
|
/external/toybox/toys/posix/ |
H A D | file.c | 32 int endian = toybuf[5], bits = toybuf[4], i, j; local 75 if (endian == 1) printf("LSB "); 76 else if (endian == 2) { 80 printf("(bad endian %d) \n", endian); 81 endian = 0; 92 if (!((bits&1)==bits && endian)) { 195 // PNG is big-endian: https://www.w3.org/TR/PNG/#7Integers-and-byte-order
|