/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 | 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 | 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.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 | 77 bigIntArray = new BigInt64Array(new ArrayBuffer(80)); 79 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 81 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); 83 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 85 bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); 87 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 115 bigUintArray = new BigUint64Array(new ArrayBuffer(80)); 117 >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 119 bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); 121 >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 | 26 assert(ArrayBuffer.isView(new Buffer(10))); 27 assert(ArrayBuffer.isView(new SlowBuffer(10))); 28 assert(ArrayBuffer.isView(Buffer.alloc(10))); 29 assert(ArrayBuffer.isView(Buffer.allocUnsafe(10))); 30 assert(ArrayBuffer.isView(Buffer.allocUnsafeSlow(10))); 31 assert(ArrayBuffer.isView(Buffer.from(''))); 40 const buffer = new ArrayBuffer(8); 64 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/deps/v8/include/ |
D | v8-typed-array.h | 53 static Local<Uint8Array> New(Local<ArrayBuffer> array_buffer, 74 static Local<Uint8ClampedArray> New(Local<ArrayBuffer> array_buffer, 96 static Local<Int8Array> New(Local<ArrayBuffer> array_buffer, 117 static Local<Uint16Array> New(Local<ArrayBuffer> array_buffer, 138 static Local<Int16Array> New(Local<ArrayBuffer> array_buffer, 159 static Local<Uint32Array> New(Local<ArrayBuffer> array_buffer, 180 static Local<Int32Array> New(Local<ArrayBuffer> array_buffer, 201 static Local<Float32Array> New(Local<ArrayBuffer> array_buffer, 222 static Local<Float64Array> New(Local<ArrayBuffer> array_buffer, 243 static Local<BigInt64Array> New(Local<ArrayBuffer> array_buffer, [all …]
|
D | v8-array-buffer.h | 115 class V8_EXPORT ArrayBuffer : public Object { 198 static Local<ArrayBuffer> New(Isolate* isolate, size_t byte_length); 212 static Local<ArrayBuffer> New(Isolate* isolate, 273 V8_INLINE static ArrayBuffer* Cast(Value* value) { in Cast() 277 return static_cast<ArrayBuffer*>(value); in Cast() 284 ArrayBuffer(); 302 Local<ArrayBuffer> Buffer(); 351 static Local<DataView> New(Local<ArrayBuffer> array_buffer,
|
/third_party/node/src/ |
D | node_buffer.cc | 54 using v8::ArrayBuffer; 83 static inline Local<ArrayBuffer> CreateTrackedArrayBuffer( 101 Global<ArrayBuffer> persistent_; 110 Local<ArrayBuffer> CallbackInfo::CreateTrackedArrayBuffer( in CreateTrackedArrayBuffer() 121 ArrayBuffer::NewBackingStore(data, length, [](void*, size_t, void* arg) { in CreateTrackedArrayBuffer() 124 Local<ArrayBuffer> ab = ArrayBuffer::New(env->isolate(), std::move(bs)); in CreateTrackedArrayBuffer() 158 Local<ArrayBuffer> ab = self->persistent_.Get(self->env_->isolate()); in CleanupHook() 273 Local<ArrayBuffer> ab, in New() 286 Local<ArrayBuffer> ab, in New() 310 store = ArrayBuffer::NewBackingStore(isolate, length); in New() [all …]
|
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/node/deps/undici/src/types/ |
D | webidl.d.ts | 118 ArrayBuffer (V: unknown): ArrayBufferLike method 119 ArrayBuffer (V: unknown, opts: { allowShared: false }): ArrayBuffer method 132 ): NodeJS.TypedArray | ArrayBuffer
|
/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);
|