Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/html/canvas/
DDataView.cpp61 static bool needToFlipBytes(bool littleEndian) in needToFlipBytes() argument
64 return littleEndian; in needToFlipBytes()
66 return !littleEndian; in needToFlipBytes()
96 static void flipBytesIfNeeded(char* value, size_t size, bool littleEndian) in flipBytesIfNeeded() argument
98 if (!needToFlipBytes(littleEndian)) in flipBytesIfNeeded()
121 T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionCode& ec) const in getData() argument
131 flipBytesIfNeeded(value.bytes, sizeof(T), littleEndian); in getData()
136 void DataView::setData(unsigned byteOffset, T value, bool littleEndian, ExceptionCode& ec) in setData() argument
146 flipBytesIfNeeded(tempValue.bytes, sizeof(T), littleEndian); in setData()
160 int16_t DataView::getInt16(unsigned byteOffset, bool littleEndian, ExceptionCode& ec) in getInt16() argument
[all …]
DDataView.h47 int16_t getInt16(unsigned byteOffset, bool littleEndian, ExceptionCode&);
49 uint16_t getUint16(unsigned byteOffset, bool littleEndian, ExceptionCode&);
51 int32_t getInt32(unsigned byteOffset, bool littleEndian, ExceptionCode&);
53 uint32_t getUint32(unsigned byteOffset, bool littleEndian, ExceptionCode&);
55 float getFloat32(unsigned byteOffset, bool littleEndian, ExceptionCode&);
57 double getFloat64(unsigned byteOffset, bool littleEndian, ExceptionCode&);
62 void setInt16(unsigned byteOffset, int16_t value, bool littleEndian, ExceptionCode&);
64 void setUint16(unsigned byteOffset, uint16_t value, bool littleEndian, ExceptionCode&);
66 void setInt32(unsigned byteOffset, int32_t value, bool littleEndian, ExceptionCode&);
68 void setUint32(unsigned byteOffset, uint32_t value, bool littleEndian, ExceptionCode&);
[all …]
DDataView.idl45 …AllArguments=Raise] short getInt16(in unsigned long byteOffset, in [Optional] boolean littleEndian)
47 …ts=Raise] unsigned short getUint16(in unsigned long byteOffset, in [Optional] boolean littleEndian)
49 …sAllArguments=Raise] long getInt32(in unsigned long byteOffset, in [Optional] boolean littleEndian)
51 …nts=Raise] unsigned long getUint32(in unsigned long byteOffset, in [Optional] boolean littleEndian)
55 …lArguments=Raise] float getFloat32(in unsigned long byteOffset, in [Optional] boolean littleEndian)
57 …Arguments=Raise] double getFloat64(in unsigned long byteOffset, in [Optional] boolean littleEndian)
68 …ise] void setInt16(in unsigned long byteOffset, in short value, in [Optional] boolean littleEndian)
70 …setUint16(in unsigned long byteOffset, in unsigned short value, in [Optional] boolean littleEndian)
72 …aise] void setInt32(in unsigned long byteOffset, in long value, in [Optional] boolean littleEndian)
74 … setUint32(in unsigned long byteOffset, in unsigned long value, in [Optional] boolean littleEndian)
[all …]
/external/webkit/Source/WebCore/bindings/js/
DJSDataViewCustom.cpp74 bool littleEndian = false; in getDataViewMember() local
76 littleEndian = exec->argument(1).toBoolean(exec); in getDataViewMember()
91 …emberAsFloat32) ? imp->getFloat32(byteOffset, littleEndian, ec) : imp->getFloat64(byteOffset, litt… in getDataViewMember()
/external/webkit/Source/WebCore/platform/text/
DTextCodecUTF16.h38 … TextCodecUTF16(bool littleEndian) : m_littleEndian(littleEndian), m_haveBufferedByte(false) { } in TextCodecUTF16() argument
/external/srec/portable/include/
DPFileImpl.h46 ESR_BOOL littleEndian; member
65 …ABLE_API ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL littleEndian);
DPFileSystem.h77 …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*…
DPANSIFileSystemImpl.h61 …leSystemCreatePFileImpl(PFileSystem* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file);
/external/srec/portable/src/
DPANSIFileImpl.c185 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()
DPANSIFileSystemImpl.c270 …ileSystemCreatePFileImpl(PFileSystem* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file) in PANSIFileSystemCreatePFileImpl() argument
279 return PANSIFileCreateImpl(realPath, littleEndian, file); in PANSIFileSystemCreatePFileImpl()
DPFileImpl.c46 impl->littleEndian = isLittleEndian; in PFileCreateImpl()
DPFileSystem.c324 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/
Dportable.h55 …NE PFile* file_must_open(PFile* afile, const LCHAR *name, const LCHAR *mode, ESR_BOOL littleEndian) in file_must_open() argument
/external/webkit/Source/WebCore/
DChangeLog-2003-10-2510494 … * kwq/mac-encodings.txt: Added new sections for "Unicode, bigEndian", "Unicode, littleEndian",