/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | DataView.cpp | 73 static bool needToFlipBytes(bool littleEndian) in needToFlipBytes() argument 76 return littleEndian; in needToFlipBytes() 78 return !littleEndian; in needToFlipBytes() 108 static void flipBytesIfNeeded(char* value, size_t size, bool littleEndian) in flipBytesIfNeeded() argument 110 if (!needToFlipBytes(littleEndian)) in flipBytesIfNeeded() 133 T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) const in getData() argument 143 flipBytesIfNeeded(value.bytes, sizeof(T), littleEndian); in getData() 148 void DataView::setData(unsigned byteOffset, T value, bool littleEndian, ExceptionState& exceptionSt… in setData() argument 158 flipBytesIfNeeded(tempValue.bytes, sizeof(T), littleEndian); in setData() 172 int16_t DataView::getInt16(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) in getInt16() argument [all …]
|
D | DataView.h | 49 int16_t getInt16(unsigned byteOffset, bool littleEndian, ExceptionState&); 51 uint16_t getUint16(unsigned byteOffset, bool littleEndian, ExceptionState&); 53 int32_t getInt32(unsigned byteOffset, bool littleEndian, ExceptionState&); 55 uint32_t getUint32(unsigned byteOffset, bool littleEndian, ExceptionState&); 57 float getFloat32(unsigned byteOffset, bool littleEndian, ExceptionState&); 59 double getFloat64(unsigned byteOffset, bool littleEndian, ExceptionState&); 64 void setInt16(unsigned byteOffset, int16_t value, bool littleEndian, ExceptionState&); 66 void setUint16(unsigned byteOffset, uint16_t value, bool littleEndian, ExceptionState&); 68 void setInt32(unsigned byteOffset, int32_t value, bool littleEndian, ExceptionState&); 70 void setUint32(unsigned byteOffset, uint32_t value, bool littleEndian, ExceptionState&); [all …]
|
D | DataView.idl | 36 …Checking, RaisesException] short getInt16(unsigned long byteOffset, optional boolean littleEndian); 37 …RaisesException] unsigned short getUint16(unsigned long byteOffset, optional boolean littleEndian); 38 …eChecking, RaisesException] long getInt32(unsigned long byteOffset, optional boolean littleEndian); 39 … RaisesException] unsigned long getUint32(unsigned long byteOffset, optional boolean littleEndian); 42 …ecking, RaisesException] float getFloat32(unsigned long byteOffset, optional boolean littleEndian); 43 …cking, RaisesException] double getFloat64(unsigned long byteOffset, optional boolean littleEndian); 48 …isesException] void setInt16(unsigned long byteOffset, short value, optional boolean littleEndian); 49 …ion] void setUint16(unsigned long byteOffset, unsigned short value, optional boolean littleEndian); 50 …aisesException] void setInt32(unsigned long byteOffset, long value, optional boolean littleEndian); 51 …tion] void setUint32(unsigned long byteOffset, unsigned long value, optional boolean littleEndian); [all …]
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | dataview-accessors.js | 63 function checkGet(func, index, expected, littleEndian) { argument 65 if (littleEndian != undefined) 66 return view["get" + func](index, littleEndian); 76 function checkSet(func, index, value, littleEndian) { argument 78 if (littleEndian != undefined) 79 view["set" + func](index, value, littleEndian); 86 checkGet(func, index, value, littleEndian); 92 function test(isTestingGet, func, index, value, littleEndian) { argument 94 checkGet(func, index, value, littleEndian); 96 checkSet(func, index, value, littleEndian); [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | formats.c | 2550 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_format_matches_format_and_type() local 2574 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 2585 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 2598 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 2609 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 2622 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 2635 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 2649 return format == GL_BGR && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 2652 return format == GL_RGB && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 2685 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() [all …]
|
D | texstore.c | 1236 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_texstore_rgba8888() local 1266 if ((littleEndian && (dstFormat == MESA_FORMAT_RGBA8888 || in _mesa_texstore_rgba8888() 1268 (!littleEndian && (dstFormat == MESA_FORMAT_RGBA8888_REV || in _mesa_texstore_rgba8888() 1304 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_texstore_argb8888() local 1421 if ((littleEndian && dstFormat == MESA_FORMAT_ARGB8888) || in _mesa_texstore_argb8888() 1422 (littleEndian && dstFormat == MESA_FORMAT_XRGB8888) || in _mesa_texstore_argb8888() 1423 (!littleEndian && dstFormat == MESA_FORMAT_ARGB8888_REV) || in _mesa_texstore_argb8888() 1424 (!littleEndian && dstFormat == MESA_FORMAT_XRGB8888_REV)) { in _mesa_texstore_argb8888() 1431 assert((littleEndian && dstFormat == MESA_FORMAT_ARGB8888_REV) || in _mesa_texstore_argb8888() 1432 (!littleEndian && dstFormat == MESA_FORMAT_ARGB8888) || in _mesa_texstore_argb8888() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | formats.c | 2550 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_format_matches_format_and_type() local 2574 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 2585 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 2598 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 2609 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 2622 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 2635 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 2649 return format == GL_BGR && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 2652 return format == GL_RGB && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 2685 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() [all …]
|
D | texstore.c | 1236 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_texstore_rgba8888() local 1266 if ((littleEndian && (dstFormat == MESA_FORMAT_RGBA8888 || in _mesa_texstore_rgba8888() 1268 (!littleEndian && (dstFormat == MESA_FORMAT_RGBA8888_REV || in _mesa_texstore_rgba8888() 1304 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_texstore_argb8888() local 1421 if ((littleEndian && dstFormat == MESA_FORMAT_ARGB8888) || in _mesa_texstore_argb8888() 1422 (littleEndian && dstFormat == MESA_FORMAT_XRGB8888) || in _mesa_texstore_argb8888() 1423 (!littleEndian && dstFormat == MESA_FORMAT_ARGB8888_REV) || in _mesa_texstore_argb8888() 1424 (!littleEndian && dstFormat == MESA_FORMAT_XRGB8888_REV)) { in _mesa_texstore_argb8888() 1431 assert((littleEndian && dstFormat == MESA_FORMAT_ARGB8888_REV) || in _mesa_texstore_argb8888() 1432 (!littleEndian && dstFormat == MESA_FORMAT_ARGB8888) || in _mesa_texstore_argb8888() [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | TextCodecUTF16.h | 38 … TextCodecUTF16(bool littleEndian) : m_littleEndian(littleEndian), m_haveBufferedByte(false) { } in TextCodecUTF16() argument
|
/external/srec/portable/include/ |
D | PFileImpl.h | 46 ESR_BOOL littleEndian; member 65 …ABLE_API ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL littleEndian);
|
D | PFileSystem.h | 77 …ESR_ReturnCode(*createPFile)(struct PFileSystem_t* self, const LCHAR* path, ESR_BOOL littleEndian,… 131 PORTABLE_API ESR_ReturnCode PFileSystemCreatePFile(const LCHAR* path, ESR_BOOL littleEndian, PFile*…
|
D | PANSIFileSystemImpl.h | 61 …leSystemCreatePFileImpl(PFileSystem* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/ |
D | byte_reader.js | 139 var littleEndian = false; 143 littleEndian = (dataView.getUint8(pos) == 0xFF); 150 var code = dataView.getUint16(pos + i, littleEndian);
|
D | exif_parser.js | 187 metadata.littleEndian = (order == EXIF_ALIGN_LITTLE);
|
/external/srec/portable/src/ |
D | PANSIFileImpl.c | 185 needToSwap = !impl->Interface.littleEndian; in PANSIFileReadImpl() 187 needToSwap = impl->Interface.littleEndian; in PANSIFileReadImpl() 217 needToSwap = !impl->Interface.littleEndian; in PANSIFileWriteImpl() 219 needToSwap = impl->Interface.littleEndian; in PANSIFileWriteImpl()
|
D | PANSIFileSystemImpl.c | 270 …ileSystemCreatePFileImpl(PFileSystem* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file) in PANSIFileSystemCreatePFileImpl() argument 279 return PANSIFileCreateImpl(realPath, littleEndian, file); in PANSIFileSystemCreatePFileImpl()
|
D | PFileImpl.c | 46 impl->littleEndian = isLittleEndian; in PFileCreateImpl()
|
D | PFileSystem.c | 324 ESR_ReturnCode PFileSystemCreatePFile(const LCHAR* filename, ESR_BOOL littleEndian, PFile** self) in PFileSystemCreatePFile() argument 342 rc = fileSystem->createPFile(fileSystem, absolutePath, littleEndian, self); in PFileSystemCreatePFile()
|
/external/srec/srec/include/ |
D | portable.h | 55 …NE PFile* file_must_open(PFile* afile, const LCHAR *name, const LCHAR *mode, ESR_BOOL littleEndian) in file_must_open() argument
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_texture.c | 293 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
D | radeon_texture.c | 293 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_texture.c | 293 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
D | radeon_texture.c | 293 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | enc.test | 87 if { $::tcl_platform(byteOrder)!="littleEndian" } { 97 if { $::tcl_platform(byteOrder)=="littleEndian" } { 104 if { $::tcl_platform(byteOrder)=="littleEndian" } {
|
D | fts3defer2.test | 21 set scan(littleEndian) i*
|