Home
last modified time | relevance | path

Searched refs:byteOffset (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/node/deps/npm/node_modules/typedarray/
Dindex.js287 ctor = function(buffer, byteOffset, length) { argument
297 this.byteOffset = 0;
305 this.byteOffset = 0;
318 this.byteOffset = 0;
330 this.byteOffset = ECMAScript.ToUint32(byteOffset);
331 if (this.byteOffset > this.buffer.byteLength) {
335 if (this.byteOffset % this.BYTES_PER_ELEMENT) {
342 this.byteLength = this.buffer.byteLength - this.byteOffset;
353 if ((this.byteOffset + this.byteLength) > this.buffer.byteLength) {
382 for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT;
[all …]
/third_party/node/lib/
Dbuffer.js264 source = new Uint8Array(source.buffer, source.byteOffset + sourceStart, nb);
462 function fromArrayBuffer(obj, byteOffset, length) { argument
464 if (byteOffset === undefined) {
465 byteOffset = 0;
467 byteOffset = +byteOffset;
468 if (NumberIsNaN(byteOffset))
469 byteOffset = 0;
472 const maxLength = obj.byteLength - byteOffset;
490 return new FastBuffer(obj, byteOffset, length);
610 indexOf: (buf, val, byteOffset, dir) =>
[all …]
Dv8.js232 this.buffer.byteOffset + offset,
289 abView.byteOffset,
304 const byteOffset = this._readRawBytes(byteLength);
307 const offset = this.buffer.byteOffset + byteOffset;
315 copy(this.buffer, buffer_copy, 0, byteOffset, byteOffset + byteLength);
317 buffer_copy.byteOffset,
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/
Dreslist.cpp643 StringBaseResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
645 fRes = URES_MAKE_RESOURCE(fType, *byteOffset >> 2); in handlePreWrite()
646 *byteOffset += 4 + (length() + 1) * U_SIZEOF_UCHAR; in handlePreWrite()
650 IntVectorResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
655 fRes = URES_MAKE_RESOURCE(URES_INT_VECTOR, *byteOffset >> 2); in handlePreWrite()
656 *byteOffset += (1 + fCount) * 4; in handlePreWrite()
661 BinaryResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
663 uint32_t dataStart = *byteOffset + sizeof(fLength); in handlePreWrite()
667 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in handlePreWrite()
669 fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2); in handlePreWrite()
[all …]
Dreslist.h205 void preWrite(uint32_t *byteOffset);
206 virtual void handlePreWrite(uint32_t *byteOffset);
212 void write(UNewDataMemory *mem, uint32_t *byteOffset);
213 virtual void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset);
237 void preWriteAllRes(uint32_t *byteOffset);
238 void writeAllRes(UNewDataMemory *mem, uint32_t *byteOffset);
239 void writeAllRes32(UNewDataMemory *mem, uint32_t *byteOffset);
258 virtual void handlePreWrite(uint32_t *byteOffset);
259 virtual void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset);
276 virtual void handlePreWrite(uint32_t *byteOffset);
[all …]
/third_party/icu/icu4c/source/tools/genrb/
Dreslist.cpp662 StringBaseResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
664 fRes = URES_MAKE_RESOURCE(fType, *byteOffset >> 2); in handlePreWrite()
665 *byteOffset += 4 + (length() + 1) * U_SIZEOF_UCHAR; in handlePreWrite()
669 IntVectorResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
674 fRes = URES_MAKE_RESOURCE(URES_INT_VECTOR, *byteOffset >> 2); in handlePreWrite()
675 *byteOffset += (1 + fCount) * 4; in handlePreWrite()
680 BinaryResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
682 uint32_t dataStart = *byteOffset + sizeof(fLength); in handlePreWrite()
686 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in handlePreWrite()
688 fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2); in handlePreWrite()
[all …]
Dreslist.h209 void preWrite(uint32_t *byteOffset);
210 virtual void handlePreWrite(uint32_t *byteOffset);
216 void write(UNewDataMemory *mem, uint32_t *byteOffset);
217 virtual void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset);
257 void preWriteAllRes(uint32_t *byteOffset);
258 void writeAllRes(UNewDataMemory *mem, uint32_t *byteOffset);
259 void writeAllRes32(UNewDataMemory *mem, uint32_t *byteOffset);
278 void handlePreWrite(uint32_t *byteOffset) override;
279 void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset) override;
298 virtual void handlePreWrite(uint32_t *byteOffset);
[all …]
/third_party/node/deps/icu-small/source/tools/genrb/
Dreslist.cpp662 StringBaseResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
664 fRes = URES_MAKE_RESOURCE(fType, *byteOffset >> 2); in handlePreWrite()
665 *byteOffset += 4 + (length() + 1) * U_SIZEOF_UCHAR; in handlePreWrite()
669 IntVectorResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
674 fRes = URES_MAKE_RESOURCE(URES_INT_VECTOR, *byteOffset >> 2); in handlePreWrite()
675 *byteOffset += (1 + fCount) * 4; in handlePreWrite()
680 BinaryResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
682 uint32_t dataStart = *byteOffset + sizeof(fLength); in handlePreWrite()
686 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in handlePreWrite()
688 fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2); in handlePreWrite()
[all …]
Dreslist.h209 void preWrite(uint32_t *byteOffset);
210 virtual void handlePreWrite(uint32_t *byteOffset);
216 void write(UNewDataMemory *mem, uint32_t *byteOffset);
217 virtual void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset);
257 void preWriteAllRes(uint32_t *byteOffset);
258 void writeAllRes(UNewDataMemory *mem, uint32_t *byteOffset);
259 void writeAllRes32(UNewDataMemory *mem, uint32_t *byteOffset);
278 void handlePreWrite(uint32_t *byteOffset) override;
279 void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset) override;
298 virtual void handlePreWrite(uint32_t *byteOffset) override;
[all …]
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dreslist.cpp662 StringBaseResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
664 fRes = URES_MAKE_RESOURCE(fType, *byteOffset >> 2); in handlePreWrite()
665 *byteOffset += 4 + (length() + 1) * U_SIZEOF_UCHAR; in handlePreWrite()
669 IntVectorResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
674 fRes = URES_MAKE_RESOURCE(URES_INT_VECTOR, *byteOffset >> 2); in handlePreWrite()
675 *byteOffset += (1 + fCount) * 4; in handlePreWrite()
680 BinaryResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
682 uint32_t dataStart = *byteOffset + sizeof(fLength); in handlePreWrite()
686 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in handlePreWrite()
688 fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2); in handlePreWrite()
[all …]
Dreslist.h209 void preWrite(uint32_t *byteOffset);
210 virtual void handlePreWrite(uint32_t *byteOffset);
216 void write(UNewDataMemory *mem, uint32_t *byteOffset);
217 virtual void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset);
257 void preWriteAllRes(uint32_t *byteOffset);
258 void writeAllRes(UNewDataMemory *mem, uint32_t *byteOffset);
259 void writeAllRes32(UNewDataMemory *mem, uint32_t *byteOffset);
278 void handlePreWrite(uint32_t *byteOffset) override;
279 void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset) override;
298 virtual void handlePreWrite(uint32_t *byteOffset);
[all …]
/third_party/node/deps/npm/node_modules/buffer-from/
Dindex.js13 function fromArrayBuffer (obj, byteOffset, length) {
14 byteOffset >>>= 0
16 var maxLength = obj.byteLength - byteOffset
33 ? Buffer.from(obj.slice(byteOffset, byteOffset + length))
34 : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length)))
Dreadme.md39 ### bufferFrom(arrayBuffer[, byteOffset[, length]])
42 - `byteOffset` <Integer> Where to start copying from `arrayBuffer`. **Default:** `0`
43 …teger> How many bytes to copy from `arrayBuffer`. **Default:** `arrayBuffer.length - byteOffset`
48 The optional `byteOffset` and `length` arguments specify a memory range within
/third_party/node/test/parallel/
Dtest-buffer-swap.js70 const buf = Buffer.from(bufData.buffer, bufData.byteOffset);
72 const otherBuf = Buffer.from(otherBufData.buffer, otherBufData.byteOffset);
81 const otherBuf = Buffer.from(otherBufData.buffer, otherBufData.byteOffset);
93 const buf = Buffer.from(bufData.buffer, bufData.byteOffset);
94 const otherBuf = Buffer.from(otherBufData.buffer, otherBufData.byteOffset);
109 const buf = Buffer.from(bufData.buffer, bufData.byteOffset);
111 const otherBuf = Buffer.from(otherBufData.buffer, otherBufData.byteOffset);
127 const buf = Buffer.from(bufData.buffer, bufData.byteOffset);
129 const otherBuf = Buffer.from(otherBufData.buffer, otherBufData.byteOffset);
145 const buf = Buffer.from(bufData.buffer, bufData.byteOffset);
[all …]
/third_party/typescript/tests/baselines/reference/
DbigintWithLib.types281 >dataView.setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
283 >setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
290 >dataView.setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
292 >setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
300 >dataView.setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
302 >setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
309 >dataView.setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
311 >setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
317 >dataView.setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
319 >setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
[all …]
/third_party/typescript/src/lib/
Des2020.bigint.d.ts140 readonly byteOffset: number; property
374 new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;
412 readonly byteOffset: number; property
646 new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;
675 getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;
682 getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;
691 setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
700 setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
Des5.d.ts1595 byteOffset: number; property
1601 readonly byteOffset: number; property
1607 getFloat32(byteOffset: number, littleEndian?: boolean): number;
1614 getFloat64(byteOffset: number, littleEndian?: boolean): number;
1621 getInt8(byteOffset: number): number;
1628 getInt16(byteOffset: number, littleEndian?: boolean): number;
1634 getInt32(byteOffset: number, littleEndian?: boolean): number;
1641 getUint8(byteOffset: number): number;
1648 getUint16(byteOffset: number, littleEndian?: boolean): number;
1655 getUint32(byteOffset: number, littleEndian?: boolean): number;
[all …]
/third_party/typescript/lib/
Dlib.es2020.bigint.d.ts160 readonly byteOffset: number; property
394 new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;
432 readonly byteOffset: number; property
666 new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;
695 getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;
702 getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;
711 setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
720 setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
Dlib.es5.d.ts1615 byteOffset: number; property
1621 readonly byteOffset: number; property
1627 getFloat32(byteOffset: number, littleEndian?: boolean): number;
1634 getFloat64(byteOffset: number, littleEndian?: boolean): number;
1641 getInt8(byteOffset: number): number;
1648 getInt16(byteOffset: number, littleEndian?: boolean): number;
1654 getInt32(byteOffset: number, littleEndian?: boolean): number;
1661 getUint8(byteOffset: number): number;
1668 getUint16(byteOffset: number, littleEndian?: boolean): number;
1675 getUint32(byteOffset: number, littleEndian?: boolean): number;
[all …]
/third_party/jerryscript/tests/unit-core/
Dtest-dataview.cpp67 jerry_length_t byteOffset = 0; variable
69 jerry_value_t internal_buffer = jerry_get_dataview_buffer (view1, &byteOffset, &byteLength);
71 TEST_ASSERT (byteOffset == 0);
78 internal_buffer = jerry_get_dataview_buffer (view2, &byteOffset, &byteLength);
80 TEST_ASSERT (byteOffset == 12);
/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/
DconvertToAsyncFunction_InnerPromiseRetBinding4.ts5 …return resp.blob().then(({ blob }: { blob: { byteOffset: number } }) => [0, blob.byteOffset]).catc…
18 result = [0, blob.byteOffset];
/third_party/node/deps/npm/node_modules/string_decoder/node_modules/safe-buffer/
Dindex.d.ts51 indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
52 lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
53 includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
/third_party/node/deps/npm/node_modules/safe-buffer/
Dindex.d.ts51 indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
52 lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
53 includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
/third_party/node/deps/npm/node_modules/npm-registry-fetch/node_modules/safe-buffer/
Dindex.d.ts51 indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
52 lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
53 includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
/third_party/node/deps/npm/node_modules/tar/node_modules/safe-buffer/
Dindex.d.ts51 indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
52 lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
53 includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;

1234