Home
last modified time | relevance | path

Searched refs:ArrayBuffer (Results 1 – 25 of 253) sorted by relevance

1234567891011

/third_party/vk-gl-cts/framework/delibs/decpp/
DdeArrayBuffer.hpp48 class ArrayBuffer class
53 ArrayBuffer (void) throw();
54 ArrayBuffer (size_t numElements);
55 ArrayBuffer (const T* ptr, size_t numElements);
56 ArrayBuffer (const ArrayBuffer& other);
57 ~ArrayBuffer (void) throw();
58 ArrayBuffer& operator= (const ArrayBuffer& other);
62 void swap (ArrayBuffer& other) throw();
77 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw() in ArrayBuffer() function in de::ArrayBuffer
84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) in ArrayBuffer() function in de::ArrayBuffer
[all …]
DdeArrayBuffer.cpp71 de::ArrayBuffer<int> buf; in ArrayBuffer_selfTest()
78 de::ArrayBuffer<int> buf(4); in ArrayBuffer_selfTest()
85 de::ArrayBuffer<int> originalBuf(4); in ArrayBuffer_selfTest()
91 de::ArrayBuffer<int> targetBuf(originalBuf); in ArrayBuffer_selfTest()
106 de::ArrayBuffer<int> originalBuf(4); in ArrayBuffer_selfTest()
112 de::ArrayBuffer<int> targetBuf(1); in ArrayBuffer_selfTest()
129 de::ArrayBuffer<int> buf(4); in ArrayBuffer_selfTest()
137 de::ArrayBuffer<int> buf(4); in ArrayBuffer_selfTest()
145 de::ArrayBuffer<int> buf(4); in ArrayBuffer_selfTest()
171 de::ArrayBuffer<int> buf; in ArrayBuffer_selfTest()
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Darraybuffer-isview.js16 assert(ArrayBuffer.isView() === false);
17 assert(ArrayBuffer.isView([]) === false);
18 assert(ArrayBuffer.isView({}) === false);
19 assert(ArrayBuffer.isView(null) === false);
20 assert(ArrayBuffer.isView(undefined) === false);
21 assert(ArrayBuffer.isView(new ArrayBuffer(10)) === false);
23 assert(ArrayBuffer.isView(new Int8Array()) === true);
24 assert(ArrayBuffer.isView(new Uint8Array()) === true);
25 assert(ArrayBuffer.isView(new Uint8ClampedArray()) === true);
26 assert(ArrayBuffer.isView(new Int16Array()) === true);
[all …]
Dobject-prototype-tostring.js38 assert (ArrayBuffer.prototype[Symbol.toStringTag] === "ArrayBuffer");
39 assert (Object.prototype.toString.call (new ArrayBuffer ()) === "[object ArrayBuffer]");
41 assert (delete ArrayBuffer.prototype[Symbol.toStringTag]);
42 assert (ArrayBuffer.prototype[Symbol.toStringTag] === undefined);
43 ArrayBuffer.prototype[Symbol.toStringTag] = "myStringTag3"; class
44 assert (Object.prototype.toString.call (new ArrayBuffer ()) === "[object myStringTag3]");
45 ArrayBuffer.prototype[Symbol.toStringTag] = {};
46 assert (ArrayBuffer.prototype.toString.call (new ArrayBuffer ()) === "[object ArrayBuffer]");
Ddataview.js40 var buffer = new ArrayBuffer (16);
116 buffer = new ArrayBuffer (32);
158 var buffer = new ArrayBuffer (16);
167 var buffer = new ArrayBuffer (16);
201 buffer = new ArrayBuffer (24);
/third_party/typescript/tests/baselines/reference/
DbigintWithoutLib.types143 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
144 >bigIntArray = new BigInt64Array(new ArrayBuffer(80)) : any
146 >new BigInt64Array(new ArrayBuffer(80)) : any
148 >new ArrayBuffer(80) : ArrayBuffer
149 >ArrayBuffer : ArrayBufferConstructor
152 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
153 >bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8) : any
155 >new BigInt64Array(new ArrayBuffer(80), 8) : any
157 >new ArrayBuffer(80) : ArrayBuffer
158 >ArrayBuffer : ArrayBufferConstructor
[all …]
DbigintWithoutLib.js23 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
24 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
25 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
35 bigUintArray = new BigUint64Array(new ArrayBuffer(80));
36 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
37 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3);
43 const dataView = new DataView(new ArrayBuffer(80));
80 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
81 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
82 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
[all …]
DbigintWithLib.types141 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
142 >bigIntArray = new BigInt64Array(new ArrayBuffer(80)) : BigInt64Array
144 >new BigInt64Array(new ArrayBuffer(80)) : BigInt64Array
146 >new ArrayBuffer(80) : ArrayBuffer
147 >ArrayBuffer : ArrayBufferConstructor
150 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
151 >bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8) : BigInt64Array
153 >new BigInt64Array(new ArrayBuffer(80), 8) : BigInt64Array
155 >new ArrayBuffer(80) : ArrayBuffer
156 >ArrayBuffer : ArrayBufferConstructor
[all …]
DbigintWithLib.js21 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
22 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
23 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
33 bigUintArray = new BigUint64Array(new ArrayBuffer(80));
34 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
35 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3);
41 const dataView = new DataView(new ArrayBuffer(80));
83 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
84 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
85 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
[all …]
DbigintWithoutLib.symbols76 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
78 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
80 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
82 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
84 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
86 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
113 bigUintArray = new BigUint64Array(new ArrayBuffer(80));
115 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
117 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
119 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
[all …]
DarrayBufferIsViewNarrowsType.types5 if (ArrayBuffer.isView(obj)) {
6 >ArrayBuffer.isView(obj) : boolean
7 >ArrayBuffer.isView : (arg: any) => arg is ArrayBufferView
8 >ArrayBuffer : ArrayBufferConstructor
DarrayBufferIsViewNarrowsType.symbols6 if (ArrayBuffer.isView(obj)) {
7 >ArrayBuffer.isView : Symbol(ArrayBufferConstructor.isView, Decl(lib.es5.d.ts, --, --))
8 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
DbigintWithLib.symbols89 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
92 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib…
94 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
97 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib…
99 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
102 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib…
138 bigUintArray = new BigUint64Array(new ArrayBuffer(80));
141 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib…
143 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
146 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib…
[all …]
/third_party/typescript/tests/cases/compiler/
DbigintWithoutLib.ts24 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
25 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
26 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
36 bigUintArray = new BigUint64Array(new ArrayBuffer(80));
37 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
38 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3);
44 const dataView = new DataView(new ArrayBuffer(80));
DbigintWithLib.ts23 bigIntArray = new BigInt64Array(new ArrayBuffer(80));
24 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
25 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
35 bigUintArray = new BigUint64Array(new ArrayBuffer(80));
36 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
37 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3);
43 const dataView = new DataView(new ArrayBuffer(80));
/third_party/node/test/parallel/
Dtest-assert-typedarray-deepequal.js27 [new ArrayBuffer(3), new ArrayBuffer(3)],
37 [new ArrayBuffer(3), new SharedArrayBuffer(3)],
57 [new ArrayBuffer(2), new ArrayBuffer(3)],
59 [new ArrayBuffer(2), new SharedArrayBuffer(3)],
61 new Uint8Array(new ArrayBuffer(3)).fill(1).buffer,
Dtest-buffer-bytelength.js28 assert(ArrayBuffer.isView(new Buffer(10)));
29 assert(ArrayBuffer.isView(new SlowBuffer(10)));
30 assert(ArrayBuffer.isView(Buffer.alloc(10)));
31 assert(ArrayBuffer.isView(Buffer.allocUnsafe(10)));
32 assert(ArrayBuffer.isView(Buffer.allocUnsafeSlow(10)));
33 assert(ArrayBuffer.isView(Buffer.from('')));
42 const buffer = new ArrayBuffer(8);
66 const dv = new DataView(new ArrayBuffer(2));
Dtest-buffer-parent-property.js11 assert((new Buffer(0)).parent instanceof ArrayBuffer);
14 assert((new Buffer(Buffer.poolSize)).parent instanceof ArrayBuffer);
17 const arrayBuffer = new ArrayBuffer(0);
Dtest-buffer-arraybuffer.js8 const ab = new ArrayBuffer(LENGTH);
40 Object.setPrototypeOf(AB, ArrayBuffer);
41 Object.setPrototypeOf(AB.prototype, ArrayBuffer.prototype);
109 const ab = new ArrayBuffer(10);
131 const ab = new ArrayBuffer(10);
/third_party/node/src/
Dallocated_buffer-inl.h19 v8::Local<v8::ArrayBuffer> ab,
39 v8::ArrayBuffer::NewBackingStore(env->isolate(), size); in AllocateManaged()
60 backing_store_ = v8::ArrayBuffer::NewBackingStore(env_->isolate(), 0); in Resize()
99 v8::Local<v8::ArrayBuffer> ab = ToArrayBuffer(); in ToBuffer()
104 v8::Local<v8::ArrayBuffer> AllocatedBuffer::ToArrayBuffer() { in ToArrayBuffer()
105 return v8::ArrayBuffer::New(env_->isolate(), std::move(backing_store_)); in ToArrayBuffer()
Daliased_struct-inl.h18 store_ = v8::ArrayBuffer::NewBackingStore(isolate, sizeof(T)); in AliasedStruct()
22 v8::Local<v8::ArrayBuffer> buffer = v8::ArrayBuffer::New(isolate, store_); in AliasedStruct()
23 buffer_ = v8::Global<v8::ArrayBuffer>(isolate, buffer); in AliasedStruct()
/third_party/protobuf/js/experimental/runtime/testing/
Djasmine_protobuf.js39 if (first instanceof ArrayBuffer && second instanceof ArrayBuffer) {
73 ArrayBuffer.prototype.toString = function() { class
/third_party/node/test/fixtures/wpt/encoding/
DencodeInto.any.js84 buffer = new ArrayBuffer(bufferLength),
128 …assert_throws(new TypeError(), () => new TextEncoder().encodeInto("", new view(new ArrayBuffer(0))…
133 assert_throws(new TypeError(), () => new TextEncoder().encodeInto("", new ArrayBuffer(10)));
137 const buffer = new ArrayBuffer(10),
/third_party/protobuf/js/experimental/runtime/kernel/
Dtyped_arrays_test.js10 const buffer1 = new ArrayBuffer(0);
11 const buffer2 = new ArrayBuffer(0);
16 const buffer = new ArrayBuffer(0);
24 const buffer = new ArrayBuffer(0);
102 const buffer1 = new ArrayBuffer(0);
/third_party/node/deps/npm/node_modules/typedarray/
Dindex.js248 var ArrayBuffer = function ArrayBuffer(length) { class
264 exports.ArrayBuffer = exports.ArrayBuffer || ArrayBuffer;
296 this.buffer = new ArrayBuffer(this.byteLength);
304 this.buffer = new ArrayBuffer(this.byteLength);
311 … !(arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) {
317 this.buffer = new ArrayBuffer(this.byteLength);
325 … (arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) {
533 buffer = new exports.ArrayBuffer(0);
534 …} else if (!(buffer instanceof exports.ArrayBuffer || ECMAScript.Class(buffer) === 'ArrayBuffer'))…
538 this.buffer = buffer || new exports.ArrayBuffer(0);

1234567891011