/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | DataView.h | 41 …static PassRefPtr<DataView> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned byteLeng… 45 int8_t getInt8(unsigned byteOffset, ExceptionState&); 46 uint8_t getUint8(unsigned byteOffset, ExceptionState&); 47 …int16_t getInt16(unsigned byteOffset, ExceptionState& ec) { return getInt16(byteOffset, false, ec)… in getInt16() argument 48 int16_t getInt16(unsigned byteOffset, bool littleEndian, ExceptionState&); 49 …uint16_t getUint16(unsigned byteOffset, ExceptionState& ec) { return getUint16(byteOffset, false, … in getUint16() argument 50 uint16_t getUint16(unsigned byteOffset, bool littleEndian, ExceptionState&); 51 …int32_t getInt32(unsigned byteOffset, ExceptionState& ec) { return getInt32(byteOffset, false, ec)… in getInt32() argument 52 int32_t getInt32(unsigned byteOffset, bool littleEndian, ExceptionState&); 53 …uint32_t getUint32(unsigned byteOffset, ExceptionState& ec) { return getUint32(byteOffset, false, … in getUint32() argument [all …]
|
D | DataView.cpp | 56 PassRefPtr<DataView> DataView::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned… in create() argument 58 if (byteOffset > buffer->byteLength()) in create() 60 CheckedInt<uint32_t> checkedOffset(byteOffset); in create() 65 return adoptRef(new DataView(buffer, byteOffset, byteLength)); in create() 68 DataView::DataView(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned byteLength) in DataView() argument 69 : ArrayBufferView(buffer, byteOffset) in DataView() 134 T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) const in getData() argument 136 if (beyondRange<T>(byteOffset)) { in getData() 137 …wDOMException(IndexSizeError, "The provided offset (" + String::number(byteOffset) + ") is outside… in getData() 143 memcpy(value.bytes, static_cast<const char*>(m_baseAddress) + byteOffset, sizeof(T)); in getData() [all …]
|
D | DataView.idl | 28 …CustomConstructor(ArrayBuffer buffer, optional unsigned long byteOffset, optional unsigned long by… 34 [RaisesException] byte getInt8(unsigned long byteOffset); 35 [RaisesException] octet getUint8(unsigned long byteOffset); 37 [RaisesException] short getInt16(unsigned long byteOffset, optional boolean littleEndian); 38 …[RaisesException] unsigned short getUint16(unsigned long byteOffset, optional boolean littleEndian… 39 [RaisesException] long getInt32(unsigned long byteOffset, optional boolean littleEndian); 40 …[RaisesException] unsigned long getUint32(unsigned long byteOffset, optional boolean littleEndian); 43 [RaisesException] float getFloat32(unsigned long byteOffset, optional boolean littleEndian); 44 [RaisesException] double getFloat64(unsigned long byteOffset, optional boolean littleEndian); 46 [RaisesException] void setInt8(unsigned long byteOffset, byte value); [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | ArrayBufferView.h | 67 unsigned byteOffset() const in byteOffset() function 80 ArrayBufferView(PassRefPtr<ArrayBuffer>, unsigned byteOffset); 82 inline bool setImpl(ArrayBufferView*, unsigned byteOffset); 84 inline bool setRangeImpl(const char* data, size_t dataByteLength, unsigned byteOffset); 86 inline bool zeroRangeImpl(unsigned byteOffset, size_t rangeByteLength); 95 unsigned byteOffset, in verifySubRange() argument 100 if (sizeof(T) > 1 && byteOffset % sizeof(T)) in verifySubRange() 102 if (byteOffset > buffer->byteLength()) in verifySubRange() 104 unsigned remainingElements = (buffer->byteLength() - byteOffset) / sizeof(T); in verifySubRange() 145 bool ArrayBufferView::setImpl(ArrayBufferView* array, unsigned byteOffset) in setImpl() argument [all …]
|
D | Int32Array.h | 38 …static inline PassRefPtr<Int32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned… 57 unsigned byteOffset, 73 PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi… in create() argument 75 return TypedArrayBase<int>::create<Int32Array>(buffer, byteOffset, length); in create() 83 Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Int32Array() argument 84 : IntegralTypedArrayBase<int>(buffer, byteOffset, length) in Int32Array()
|
D | Uint32Array.h | 40 …static inline PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigne… 59 unsigned byteOffset, 75 PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, un… in create() argument 77 return TypedArrayBase<unsigned>::create<Uint32Array>(buffer, byteOffset, length); in create() 85 Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Uint32Array() argument 86 : IntegralTypedArrayBase<unsigned>(buffer, byteOffset, length) in Uint32Array()
|
D | Uint8Array.h | 40 …static inline PassRefPtr<Uint8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned… 59 unsigned byteOffset, 75 PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi… in create() argument 77 return TypedArrayBase<unsigned char>::create<Uint8Array>(buffer, byteOffset, length); in create() 85 Uint8Array::Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Uint8Array() argument 86 : IntegralTypedArrayBase<unsigned char>(buffer, byteOffset, length) in Uint8Array()
|
D | Int16Array.h | 39 …static inline PassRefPtr<Int16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned… 58 unsigned byteOffset, 74 PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi… in create() argument 76 return TypedArrayBase<short>::create<Int16Array>(buffer, byteOffset, length); in create() 84 Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Int16Array() argument 85 : IntegralTypedArrayBase<short>(buffer, byteOffset, length) in Int16Array()
|
D | Int8Array.h | 40 …static inline PassRefPtr<Int8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned … 59 unsigned byteOffset, 75 PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsign… in create() argument 77 return TypedArrayBase<signed char>::create<Int8Array>(buffer, byteOffset, length); in create() 85 Int8Array::Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Int8Array() argument 86 : IntegralTypedArrayBase<signed char>(buffer, byteOffset, length) in Int8Array()
|
D | Uint16Array.h | 40 …static inline PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigne… 59 unsigned byteOffset, 75 PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, un… in create() argument 77 return TypedArrayBase<unsigned short>::create<Uint16Array>(buffer, byteOffset, length); in create() 85 Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Uint16Array() argument 86 : IntegralTypedArrayBase<unsigned short>(buffer, byteOffset, length) in Uint16Array()
|
D | Float64Array.h | 39 …static inline PassRefPtr<Float64Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsign… 64 unsigned byteOffset, 80 PassRefPtr<Float64Array> Float64Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, … in create() argument 82 return TypedArrayBase<double>::create<Float64Array>(buffer, byteOffset, length); in create() 90 Float64Array::Float64Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Float64Array() argument 91 : TypedArrayBase<double>(buffer, byteOffset, length) in Float64Array()
|
D | Float32Array.h | 39 …static inline PassRefPtr<Float32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsign… 64 unsigned byteOffset, 80 PassRefPtr<Float32Array> Float32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, … in create() argument 82 return TypedArrayBase<float>::create<Float32Array>(buffer, byteOffset, length); in create() 90 Float32Array::Float32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in Float32Array() argument 91 : TypedArrayBase<float>(buffer, byteOffset, length) in Float32Array()
|
D | Uint8ClampedArray.h | 40 …static inline PassRefPtr<Uint8ClampedArray> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, u… 64 unsigned byteOffset, 80 …ay> Uint8ClampedArray::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in create() argument 82 return TypedArrayBase<unsigned char>::create<Uint8ClampedArray>(buffer, byteOffset, length); in create() 106 Uint8ClampedArray::Uint8ClampedArray(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned … in Uint8ClampedArray() argument 107 : Uint8Array(buffer, byteOffset, length) in Uint8ClampedArray()
|
D | TypedArrayBase.h | 85 TypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in TypedArrayBase() argument 86 : ArrayBufferView(buffer, byteOffset) in TypedArrayBase() 112 unsigned byteOffset, in create() argument 116 if (!verifySubRange<T>(buf, byteOffset, length)) in create() 119 return adoptRef(new Subclass(buf, byteOffset, length)); in create()
|
D | ArrayBufferView.cpp | 34 unsigned byteOffset) in ArrayBufferView() argument 35 : m_byteOffset(byteOffset) in ArrayBufferView()
|
D | IntegralTypedArrayBase.h | 54 IntegralTypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) in IntegralTypedArrayBase() argument 55 : TypedArrayBase<T>(buffer, byteOffset, length) in IntegralTypedArrayBase()
|
/external/aac/libFDK/src/ |
D | FDK_bitbuffer.cpp | 160 UINT byteOffset = hBitBuf->BitNdx >> 3 ; in FDK_get() local 169 UINT tx = (hBitBuf->Buffer [ byteOffset & byteMask] << 24) | in FDK_get() 170 (hBitBuf->Buffer [(byteOffset+1) & byteMask] << 16) | in FDK_get() 171 (hBitBuf->Buffer [(byteOffset+2) & byteMask] << 8) | in FDK_get() 172 hBitBuf->Buffer [(byteOffset+3) & byteMask]; in FDK_get() 177 tx |= hBitBuf->Buffer [(byteOffset+4) & byteMask] >> (8-bitOffset); in FDK_get() 192 UINT byteOffset = (BitNdx-1) >> 3; in FDK_get32() local 193 UINT cache = (hBitBuf->Buffer[(byteOffset-3)] << 24) | in FDK_get32() 194 (hBitBuf->Buffer[(byteOffset-2)] << 16) | in FDK_get32() 195 (hBitBuf->Buffer[(byteOffset-1)] << 8) | in FDK_get32() [all …]
|
/external/chromium_org/v8/src/ |
D | typedarray.js | 28 function NAMEConstructByArrayBuffer(obj, buffer, byteOffset, length) { argument 29 if (!IS_UNDEFINED(byteOffset)) { 30 byteOffset = 31 ToPositiveInteger(byteOffset, "invalid_typed_array_length"); 39 if (IS_UNDEFINED(byteOffset)) { 42 offset = byteOffset; 211 var targetPtr = target.byteOffset + (offset + 1) * targetElementSize; 214 var sourcePtr = source.byteOffset; 230 target.byteOffset + (offset + sourceLength - 1) * targetElementSize; 234 source.byteOffset + sourceLength * sourceElementSize; [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkConvolver.cpp | 206 int byteOffset = outX * 4; in ConvolveVertically() local 212 accum[0] += curFilter * sourceDataRows[filterY][byteOffset + 0]; in ConvolveVertically() 213 accum[1] += curFilter * sourceDataRows[filterY][byteOffset + 1]; in ConvolveVertically() 214 accum[2] += curFilter * sourceDataRows[filterY][byteOffset + 2]; in ConvolveVertically() 216 accum[3] += curFilter * sourceDataRows[filterY][byteOffset + 3]; in ConvolveVertically() 230 outRow[byteOffset + 0] = ClampTo8(accum[0]); in ConvolveVertically() 231 outRow[byteOffset + 1] = ClampTo8(accum[1]); in ConvolveVertically() 232 outRow[byteOffset + 2] = ClampTo8(accum[2]); in ConvolveVertically() 243 int maxColorChannel = SkTMax(outRow[byteOffset + 0], in ConvolveVertically() 244 SkTMax(outRow[byteOffset + 1], in ConvolveVertically() [all …]
|
/external/skia/src/core/ |
D | SkConvolver.cpp | 178 int byteOffset = outX * 4; in ConvolveVertically() local 184 accum[0] += curFilter * sourceDataRows[filterY][byteOffset + 0]; in ConvolveVertically() 185 accum[1] += curFilter * sourceDataRows[filterY][byteOffset + 1]; in ConvolveVertically() 186 accum[2] += curFilter * sourceDataRows[filterY][byteOffset + 2]; in ConvolveVertically() 188 accum[3] += curFilter * sourceDataRows[filterY][byteOffset + 3]; in ConvolveVertically() 202 outRow[byteOffset + 0] = ClampTo8(accum[0]); in ConvolveVertically() 203 outRow[byteOffset + 1] = ClampTo8(accum[1]); in ConvolveVertically() 204 outRow[byteOffset + 2] = ClampTo8(accum[2]); in ConvolveVertically() 215 int maxColorChannel = SkTMax(outRow[byteOffset + 0], in ConvolveVertically() 216 SkTMax(outRow[byteOffset + 1], in ConvolveVertically() [all …]
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
D | reslist.c | 130 res_preWrite(uint32_t *byteOffset, 140 res_write(UNewDataMemory *mem, uint32_t *byteOffset, 376 string_preWrite(uint32_t *byteOffset, in string_preWrite() argument 380 res->fRes = URES_MAKE_RESOURCE(URES_STRING, *byteOffset >> 2); in string_preWrite() 381 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in string_preWrite() 385 bin_preWrite(uint32_t *byteOffset, in bin_preWrite() argument 389 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_preWrite() 393 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in bin_preWrite() 395 res->fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2); in bin_preWrite() 396 *byteOffset += 4 + res->u.fBinaryValue.fLength; in bin_preWrite() [all …]
|
/external/icu/icu4c/source/tools/genrb/ |
D | reslist.c | 144 res_preWrite(uint32_t *byteOffset, 154 res_write(UNewDataMemory *mem, uint32_t *byteOffset, 473 string_preWrite(uint32_t *byteOffset, in string_preWrite() argument 477 res->fRes = URES_MAKE_RESOURCE(URES_STRING, *byteOffset >> 2); in string_preWrite() 478 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in string_preWrite() 482 bin_preWrite(uint32_t *byteOffset, in bin_preWrite() argument 486 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_preWrite() 490 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in bin_preWrite() 492 res->fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2); in bin_preWrite() 493 *byteOffset += 4 + res->u.fBinaryValue.fLength; in bin_preWrite() [all …]
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | typedarrays.js | 130 assertSame(0, a0.byteOffset); 137 assertSame(0, aLen0.byteOffset); 145 assertSame(128*elementSize, aOverBufferLen0.byteOffset); 152 assertSame(128*elementSize, a1.byteOffset); 160 assertSame(64*elementSize, a2.byteOffset); 166 assertSame(192*elementSize, a3.byteOffset); 172 assertSame(0, a4.byteOffset); 208 assertSame(256*elementSize, aAtTheEnd.byteOffset); 231 assertSame(0, aFromString.byteOffset); 242 assertSame(0, aFromArray.byteOffset); [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebArrayBufferView.cpp | 52 unsigned WebArrayBufferView::byteOffset() const in byteOffset() function in blink::WebArrayBufferView 54 return m_private->byteOffset(); in byteOffset()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ArrayBoundCheckerV2.cpp | 47 SVal byteOffset; member in __anon53bc72fb0111::RegionRawOffsetV2 50 : baseRegion(nullptr), byteOffset(UnknownVal()) {} in RegionRawOffsetV2() 54 : baseRegion(base), byteOffset(offset) {} in RegionRawOffsetV2() 56 NonLoc getByteOffset() const { return byteOffset.castAs<NonLoc>(); } in getByteOffset()
|