/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deArrayBuffer.hpp | 48 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 …]
|
D | deArrayBuffer.cpp | 71 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/ |
D | arraybuffer-isview.js | 16 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 …]
|
D | object-prototype-tostring.js | 38 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]");
|
D | dataview.js | 40 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/ |
D | bigintWithoutLib.types | 143 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 …]
|
D | bigintWithoutLib.js | 23 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 …]
|
D | bigintWithLib.types | 141 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 …]
|
D | bigintWithLib.js | 21 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 …]
|
D | bigintWithoutLib.symbols | 76 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 …]
|
D | arrayBufferIsViewNarrowsType.types | 5 if (ArrayBuffer.isView(obj)) { 6 >ArrayBuffer.isView(obj) : boolean 7 >ArrayBuffer.isView : (arg: any) => arg is ArrayBufferView 8 >ArrayBuffer : ArrayBufferConstructor
|
D | arrayBufferIsViewNarrowsType.symbols | 6 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, --, --))
|
D | bigintWithLib.symbols | 89 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/ |
D | bigintWithoutLib.ts | 24 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));
|
D | bigintWithLib.ts | 23 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/ |
D | test-assert-typedarray-deepequal.js | 27 [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,
|
D | test-buffer-bytelength.js | 28 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));
|
D | test-buffer-parent-property.js | 11 assert((new Buffer(0)).parent instanceof ArrayBuffer); 14 assert((new Buffer(Buffer.poolSize)).parent instanceof ArrayBuffer); 17 const arrayBuffer = new ArrayBuffer(0);
|
D | test-buffer-arraybuffer.js | 8 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/ |
D | allocated_buffer-inl.h | 19 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()
|
D | aliased_struct-inl.h | 18 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/ |
D | jasmine_protobuf.js | 39 if (first instanceof ArrayBuffer && second instanceof ArrayBuffer) { 73 ArrayBuffer.prototype.toString = function() { class
|
/third_party/node/test/fixtures/wpt/encoding/ |
D | encodeInto.any.js | 84 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/ |
D | typed_arrays_test.js | 10 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/ |
D | index.js | 248 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);
|