Home
last modified time | relevance | path

Searched refs:littleEndian (Results 1 – 15 of 15) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DUtil.java13 private static boolean littleEndian = ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN; field in Util
18 return littleEndian in dtohs()
24 return littleEndian in dtohs()
30 return littleEndian in dtohl()
36 return littleEndian in htods()
42 return littleEndian in htodl()
/external/mesa3d/src/mesa/main/
Dformats.c1401 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_format_matches_format_and_type() local
1430 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type()
1441 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type()
1455 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type()
1466 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type()
1480 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type()
1494 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type()
1509 return format == GL_BGR && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type()
1512 return format == GL_RGB && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type()
1551 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type()
[all …]
Dtexstore.c282 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_texstore_ycbcr() local
307 !littleEndian) { in _mesa_texstore_ycbcr()
/external/dng_sdk/source/
Ddng_stream.h153 void SetLittleEndian (bool littleEndian = true)
155 SetBigEndian (!littleEndian);
617 bool littleEndian = true)
619 : TempBigEndian (stream, !littleEndian)
/external/skia/src/codec/
DSkJpegCodec.cpp39 static uint32_t get_endian_int(const uint8_t* data, bool littleEndian) { in get_endian_int() argument
40 if (littleEndian) { in get_endian_int()
67 bool littleEndian; in is_orientation_marker() local
69 if (data_length < 8 || !is_valid_endian_marker(data, &littleEndian)) { in is_orientation_marker()
75 uint64_t offset = get_endian_int(data + 4, littleEndian); in is_orientation_marker()
81 uint32_t numEntries = get_endian_short(data + offset, littleEndian); in is_orientation_marker()
94 uint16_t tag = get_endian_short(data, littleEndian); in is_orientation_marker()
95 uint16_t type = get_endian_short(data + 2, littleEndian); in is_orientation_marker()
96 uint32_t count = get_endian_int(data + 4, littleEndian); in is_orientation_marker()
98 uint16_t val = get_endian_short(data + 8, littleEndian); in is_orientation_marker()
DSkCodecPriv.h192 static inline uint16_t get_endian_short(const uint8_t* data, bool littleEndian) { in get_endian_short() argument
193 if (littleEndian) { in get_endian_short()
DSkRawCodec.cpp532 bool littleEndian; in IsTiffHeaderValid() local
533 if (!is_valid_endian_marker(header, &littleEndian)) { in IsTiffHeaderValid()
537 return 0x2A == get_endian_short(header + 2, littleEndian); in IsTiffHeaderValid()
/external/skqp/src/codec/
DSkJpegCodec.cpp39 static uint32_t get_endian_int(const uint8_t* data, bool littleEndian) { in get_endian_int() argument
40 if (littleEndian) { in get_endian_int()
67 bool littleEndian; in is_orientation_marker() local
69 if (data_length < 8 || !is_valid_endian_marker(data, &littleEndian)) { in is_orientation_marker()
75 uint64_t offset = get_endian_int(data + 4, littleEndian); in is_orientation_marker()
81 uint32_t numEntries = get_endian_short(data + offset, littleEndian); in is_orientation_marker()
94 uint16_t tag = get_endian_short(data, littleEndian); in is_orientation_marker()
95 uint16_t type = get_endian_short(data + 2, littleEndian); in is_orientation_marker()
96 uint32_t count = get_endian_int(data + 4, littleEndian); in is_orientation_marker()
98 uint16_t val = get_endian_short(data + 8, littleEndian); in is_orientation_marker()
DSkCodecPriv.h192 static inline uint16_t get_endian_short(const uint8_t* data, bool littleEndian) { in get_endian_short() argument
193 if (littleEndian) { in get_endian_short()
DSkRawCodec.cpp532 bool littleEndian; in IsTiffHeaderValid() local
533 if (!is_valid_endian_marker(header, &littleEndian)) { in IsTiffHeaderValid()
537 return 0x2A == get_endian_short(header + 2, littleEndian); in IsTiffHeaderValid()
/external/v8/src/builtins/
Ddata-view.tq409 let littleEndian: bool = ToBoolean(requested_little_endian);
437 return LoadDataView16(buffer, bufferIndex, littleEndian, false);
439 return LoadDataView16(buffer, bufferIndex, littleEndian, true);
441 return LoadDataView32(buffer, bufferIndex, littleEndian, kind);
443 return LoadDataView32(buffer, bufferIndex, littleEndian, kind);
445 return LoadDataView32(buffer, bufferIndex, littleEndian, kind);
447 return LoadDataViewFloat64(buffer, bufferIndex, littleEndian);
449 return LoadDataViewBigInt(buffer, bufferIndex, littleEndian, false);
451 return LoadDataViewBigInt(buffer, bufferIndex, littleEndian, true);
721 let littleEndian: bool = ToBoolean(requested_little_endian);
[all …]
/external/gptfdisk/
Dgpt.cc503 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/r200/
Dradeon_texture.c225 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/radeon/
Dradeon_texture.c225 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/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp119 const bool littleEndian = (DE_ENDIANNESS == DE_LITTLE_ENDIAN); in get24bitDepthComponent() local
120 deUint32 value = (((deUint32)pixelPtr[0]) << (!littleEndian * 16u)) | in get24bitDepthComponent()
122 (((deUint32)pixelPtr[2]) << ( littleEndian * 16u)); in get24bitDepthComponent()