Home | History | Annotate | Download | only in src

Lines Matching refs:ArrayBuffer

30 var $ArrayBuffer = global.ArrayBuffer;
39 throw MakeTypeError('constructor_not_function', ["ArrayBuffer"]);
46 ['ArrayBuffer.prototype.byteLength', this]);
55 ['ArrayBuffer.prototype.slice', this]);
79 var result = new $ArrayBuffer(newLen);
92 // Set up the ArrayBuffer constructor function.
93 %SetCode($ArrayBuffer, ArrayBufferConstructor);
94 %FunctionSetPrototype($ArrayBuffer, new $Object());
96 // Set up the constructor property on the ArrayBuffer prototype object.
97 %SetProperty($ArrayBuffer.prototype, "constructor", $ArrayBuffer, DONT_ENUM);
99 InstallGetter($ArrayBuffer.prototype, "byteLength", ArrayBufferGetByteLength);
101 InstallFunctions($ArrayBuffer, DONT_ENUM, $Array(
105 InstallFunctions($ArrayBuffer.prototype, DONT_ENUM, $Array(