/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | Util.java | 9 private static boolean littleEndian = ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN; field in Util 14 return littleEndian in dtohs() 20 return littleEndian in dtohl() 26 return littleEndian in htods() 32 return littleEndian in htodl()
|
/external/mesa3d/src/mesa/main/ |
D | formats.c | 1512 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_format_matches_format_and_type() local 1541 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 1552 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 1566 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 1577 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 1591 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 1605 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 1620 return format == GL_BGR && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 1623 return format == GL_RGB && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 1658 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() [all …]
|
D | texstore.c | 282 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_texstore_ycbcr() local 307 !littleEndian) { in _mesa_texstore_ycbcr()
|
/external/dng_sdk/source/ |
D | dng_stream.h | 153 void SetLittleEndian (bool littleEndian = true) 155 SetBigEndian (!littleEndian); 617 bool littleEndian = true) 619 : TempBigEndian (stream, !littleEndian)
|
/external/skqp/src/codec/ |
D | SkJpegCodec.cpp | 36 static uint32_t get_endian_int(const uint8_t* data, bool littleEndian) { in get_endian_int() argument 37 if (littleEndian) { in get_endian_int() 64 bool littleEndian; in is_orientation_marker() local 65 if (!is_valid_endian_marker(data, &littleEndian)) { in is_orientation_marker() 71 uint64_t offset = get_endian_int(data + 4, littleEndian); in is_orientation_marker() 77 uint32_t numEntries = get_endian_short(data + offset, littleEndian); in is_orientation_marker() 90 uint16_t tag = get_endian_short(data, littleEndian); in is_orientation_marker() 91 uint16_t type = get_endian_short(data + 2, littleEndian); in is_orientation_marker() 92 uint32_t count = get_endian_int(data + 4, littleEndian); in is_orientation_marker() 94 uint16_t val = get_endian_short(data + 8, littleEndian); in is_orientation_marker()
|
D | SkCodecPriv.h | 219 static inline uint16_t get_endian_short(const uint8_t* data, bool littleEndian) { in get_endian_short() argument 220 if (littleEndian) { in get_endian_short()
|
D | SkRawCodec.cpp | 542 bool littleEndian; in IsTiffHeaderValid() local 543 if (!is_valid_endian_marker(header, &littleEndian)) { in IsTiffHeaderValid() 547 return 0x2A == get_endian_short(header + 2, littleEndian); in IsTiffHeaderValid()
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 36 static uint32_t get_endian_int(const uint8_t* data, bool littleEndian) { in get_endian_int() argument 37 if (littleEndian) { in get_endian_int() 64 bool littleEndian; in is_orientation_marker() local 66 if (data_length < 8 || !is_valid_endian_marker(data, &littleEndian)) { in is_orientation_marker() 72 uint64_t offset = get_endian_int(data + 4, littleEndian); in is_orientation_marker() 78 uint32_t numEntries = get_endian_short(data + offset, littleEndian); in is_orientation_marker() 91 uint16_t tag = get_endian_short(data, littleEndian); in is_orientation_marker() 92 uint16_t type = get_endian_short(data + 2, littleEndian); in is_orientation_marker() 93 uint32_t count = get_endian_int(data + 4, littleEndian); in is_orientation_marker() 95 uint16_t val = get_endian_short(data + 8, littleEndian); in is_orientation_marker()
|
D | SkCodecPriv.h | 219 static inline uint16_t get_endian_short(const uint8_t* data, bool littleEndian) { in get_endian_short() argument 220 if (littleEndian) { in get_endian_short()
|
D | SkRawCodec.cpp | 537 bool littleEndian; in IsTiffHeaderValid() local 538 if (!is_valid_endian_marker(header, &littleEndian)) { in IsTiffHeaderValid() 542 return 0x2A == get_endian_short(header + 2, littleEndian); in IsTiffHeaderValid()
|
/external/gptfdisk/ |
D | gpt.cc | 503 int littleEndian = 1; in RecomputeCRCs() local 512 if ((littleEndian = IsLittleEndian()) == 0) { in RecomputeCRCs() 522 if (littleEndian == 0) { in RecomputeCRCs() 532 if (littleEndian == 0) in RecomputeCRCs() 536 if (littleEndian == 0) in RecomputeCRCs() 540 if (littleEndian == 0) { in RecomputeCRCs() 1228 int littleEndian, allOK = 1; in SaveHeader() local 1230 littleEndian = IsLittleEndian(); in SaveHeader() 1231 if (!littleEndian) in SaveHeader() 1237 if (!littleEndian) in SaveHeader() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_texture.c | 225 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 243 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 245 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 248 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 250 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_texture.c | 225 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 243 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 245 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 248 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 250 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|