/external/webkit/Source/WebCore/html/canvas/ |
ArrayBufferView.cpp | 34 unsigned byteOffset) 35 : m_byteOffset(byteOffset) 45 void ArrayBufferView::setImpl(ArrayBufferView* array, unsigned byteOffset, ExceptionCode& ec) 47 if (byteOffset > byteLength() 48 || byteOffset + array->byteLength() > byteLength() 49 || byteOffset + array->byteLength() < byteOffset) { 56 memmove(base + byteOffset, array->baseAddress(), array->byteLength()); 59 void ArrayBufferView::setRangeImpl(const char* data, size_t dataByteLength, unsigned byteOffset, ExceptionCode& ec) 61 if (byteOffset > byteLength( [all...] |
DataView.h | 37 static PassRefPtr<DataView> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned byteLength); 44 int8_t getInt8(unsigned byteOffset, ExceptionCode&); 45 uint8_t getUint8(unsigned byteOffset, ExceptionCode&); 46 int16_t getInt16(unsigned byteOffset, ExceptionCode& ec) { return getInt16(byteOffset, false, ec); } 47 int16_t getInt16(unsigned byteOffset, bool littleEndian, ExceptionCode&); 48 uint16_t getUint16(unsigned byteOffset, ExceptionCode& ec) { return getUint16(byteOffset, false, ec); } 49 uint16_t getUint16(unsigned byteOffset, bool littleEndian, ExceptionCode&); 50 int32_t getInt32(unsigned byteOffset, ExceptionCode& ec) { return getInt32(byteOffset, false, ec); [all...] |
DataView.cpp | 43 PassRefPtr<DataView> DataView::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned byteLength) 45 if (byteOffset > buffer->byteLength()) 47 CheckedInt<uint32_t> checkedOffset(byteOffset); 52 return adoptRef(new DataView(buffer, byteOffset, byteLength)); 55 DataView::DataView(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned byteLength) 56 : ArrayBufferView(buffer, byteOffset) 121 T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionCode& ec) const 123 if (beyondRange<T>(byteOffset)) { 130 memcpy(value.bytes, static_cast<const char*>(m_baseAddress) + byteOffset, sizeof(T)); 136 void DataView::setData(unsigned byteOffset, T value, bool littleEndian, ExceptionCode& ec [all...] |
ArrayBufferView.h | 61 unsigned byteOffset() const 71 ArrayBufferView(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset); 73 void setImpl(ArrayBufferView* array, unsigned byteOffset, ExceptionCode& ec); 75 void setRangeImpl(const char* data, size_t dataByteLength, unsigned byteOffset, ExceptionCode& ec); 77 void zeroRangeImpl(unsigned byteOffset, size_t rangeByteLength, ExceptionCode& ec); 86 unsigned byteOffset, 91 if (sizeof(T) > 1 && byteOffset % sizeof(T)) 93 if (byteOffset > buffer->byteLength()) 95 unsigned remainingElements = (buffer->byteLength() - byteOffset) / sizeof(T);
|
Float32Array.cpp | 42 PassRefPtr<Float32Array> Float32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 44 return TypedArrayBase<float>::create<Float32Array>(buffer, byteOffset, length); 47 Float32Array::Float32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 48 : TypedArrayBase<float>(buffer, byteOffset, length)
|
Int16Array.cpp | 41 PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 43 return TypedArrayBase<short>::create<Int16Array>(buffer, byteOffset, length); 46 Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 47 : IntegralTypedArrayBase<short>(buffer, byteOffset, length)
|
Int32Array.cpp | 42 PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 44 return TypedArrayBase<int>::create<Int32Array>(buffer, byteOffset, length); 47 Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 48 : IntegralTypedArrayBase<int>(buffer, byteOffset, length)
|
Int8Array.cpp | 42 PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 44 return TypedArrayBase<signed char>::create<Int8Array>(buffer, byteOffset, length); 47 Int8Array::Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 48 : IntegralTypedArrayBase<signed char>(buffer, byteOffset, length)
|
Uint16Array.cpp | 42 PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 44 return TypedArrayBase<unsigned short>::create<Uint16Array>(buffer, byteOffset, length); 47 Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 48 : IntegralTypedArrayBase<unsigned short>(buffer, byteOffset, length)
|
Uint32Array.cpp | 42 PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 44 return TypedArrayBase<unsigned int>::create<Uint32Array>(buffer, byteOffset, length); 47 Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 48 : IntegralTypedArrayBase<unsigned int>(buffer, byteOffset, length)
|
Uint8Array.cpp | 42 PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 44 return TypedArrayBase<unsigned char>::create<Uint8Array>(buffer, byteOffset, length); 47 Uint8Array::Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 48 : IntegralTypedArrayBase<unsigned char>(buffer, byteOffset, length)
|
ArrayBufferView.idl | 29 readonly attribute unsigned long byteOffset;
|
DataView.idl | 38 // int8_t getInt8(in unsigned long byteOffset); 39 // uint8_t getUint8(in unsigned long byteOffset); 45 [StrictTypeChecking, RequiresAllArguments=Raise] short getInt16(in unsigned long byteOffset, in [Optional] boolean littleEndian) 47 [StrictTypeChecking, RequiresAllArguments=Raise] unsigned short getUint16(in unsigned long byteOffset, in [Optional] boolean littleEndian) 49 [StrictTypeChecking, RequiresAllArguments=Raise] long getInt32(in unsigned long byteOffset, in [Optional] boolean littleEndian) 51 [StrictTypeChecking, RequiresAllArguments=Raise] unsigned long getUint32(in unsigned long byteOffset, in [Optional] boolean littleEndian) 55 [JSCCustom, StrictTypeChecking, RequiresAllArguments=Raise] float getFloat32(in unsigned long byteOffset, in [Optional] boolean littleEndian) 57 [JSCCustom, StrictTypeChecking, RequiresAllArguments=Raise] double getFloat64(in unsigned long byteOffset, in [Optional] boolean littleEndian) 61 // void setInt8(in unsigned long byteOffset, in int8_t value); 62 // void setUint8(in unsigned long byteOffset, in uint8_t value) [all...] |
Int16Array.h | 39 static PassRefPtr<Int16Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); 49 unsigned byteOffset,
|
IntegralTypedArrayBase.h | 62 IntegralTypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 63 : TypedArrayBase<T>(buffer, byteOffset, length)
|
TypedArrayBase.h | 69 TypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) 70 : ArrayBufferView(buffer, byteOffset) 96 unsigned byteOffset, 100 if (!verifySubRange<T>(buf, byteOffset, length)) 103 return adoptRef(new Subclass(buf, byteOffset, length));
|
Float32Array.h | 39 static PassRefPtr<Float32Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); 64 unsigned byteOffset,
|
Int32Array.h | 38 static PassRefPtr<Int32Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); 49 unsigned byteOffset,
|
Int8Array.h | 40 static PassRefPtr<Int8Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); 51 unsigned byteOffset,
|
Uint16Array.h | 40 static PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); 51 unsigned byteOffset,
|
Uint32Array.h | 40 static PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); 51 unsigned byteOffset,
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMLocatorImpl.java | 25 private final int byteOffset; 33 this.byteOffset = src.getByteOffset(); 60 return byteOffset;
|
/dalvik/vm/native/ |
java_lang_reflect_Field.cpp | 194 value->i = dvmGetFieldBoolean(obj, ifield->byteOffset); 197 value->i = dvmGetFieldByte(obj, ifield->byteOffset); 200 value->i = dvmGetFieldShort(obj, ifield->byteOffset); 203 value->i = dvmGetFieldChar(obj, ifield->byteOffset); 206 value->i = dvmGetFieldInt(obj, ifield->byteOffset); 209 value->f = dvmGetFieldFloat(obj, ifield->byteOffset); 212 value->j = dvmGetFieldLong(obj, ifield->byteOffset); 215 value->d = dvmGetFieldDouble(obj, ifield->byteOffset); 219 value->l = dvmGetFieldObject(obj, ifield->byteOffset); 229 value->i = dvmGetFieldBooleanVolatile(obj, ifield->byteOffset); [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSDataViewCustom.cpp | 70 unsigned byteOffset = exec->argument(0).toUInt32(exec); 84 result = jsNumber(imp->getInt8(byteOffset, ec)); 87 result = jsNumber(imp->getUint8(byteOffset, ec)); 91 double value = (type == AccessDataViewMemberAsFloat32) ? imp->getFloat32(byteOffset, littleEndian, ec) : imp->getFloat64(byteOffset, littleEndian, ec); 127 unsigned byteOffset = exec->argument(0).toUInt32(exec); 136 imp->setInt8(byteOffset, static_cast<int8_t>(value), ec); 139 imp->setUint8(byteOffset, static_cast<uint8_t>(value), ec);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8DataViewCustom.cpp | 64 EXCEPTION_BLOCK(unsigned, byteOffset, toUInt32(args[0])); 65 int8_t result = imp->getInt8(byteOffset, ec); 81 EXCEPTION_BLOCK(unsigned, byteOffset, toUInt32(args[0])); 82 uint8_t result = imp->getUint8(byteOffset, ec); 98 EXCEPTION_BLOCK(unsigned, byteOffset, toUInt32(args[0])); 100 imp->setInt8(byteOffset, static_cast<int8_t>(value), ec); 114 EXCEPTION_BLOCK(unsigned, byteOffset, toUInt32(args[0])); 116 imp->setUint8(byteOffset, static_cast<uint8_t>(value), ec);
|