Home
last modified time | relevance | path

Searched refs:arrayBuffer (Results 1 – 19 of 19) sorted by relevance

/external/libchrome/mojo/public/js/lib/
Dbuffer.js20 this.arrayBuffer = sizeOrArrayBuffer;
22 this.arrayBuffer = new ArrayBuffer(sizeOrArrayBuffer);
24 this.dataView = new DataView(this.arrayBuffer);
29 get: function() { return this.arrayBuffer.byteLength; }
48 copyArrayBuffer(newArrayBuffer, this.arrayBuffer);
49 this.arrayBuffer = newArrayBuffer;
50 this.dataView = new DataView(this.arrayBuffer);
54 this.arrayBuffer = this.arrayBuffer.slice(0, this.next);
55 this.dataView = new DataView(this.arrayBuffer);
Dconnector.js54 new Uint8Array(message.buffer.arrayBuffer), message.handles);
Dcodec.js146 new Uint8Array(this.buffer.arrayBuffer, base, numberOfElements));
333 val, new Uint8Array(this.buffer.arrayBuffer, base));
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dtcp-server.js173 _stringToArrayBuffer(msg, function(arrayBuffer) { argument
174 chrome.sockets.tcp.send(socketId, arrayBuffer,
256 _stringToArrayBuffer(msg + '\n', function(arrayBuffer) { argument
257 chrome.sockets.tcp.send(this.socketId, arrayBuffer, this._onWriteComplete.bind(this));
/external/v8/src/extensions/
Dfree-buffer-extension.cc22 v8::Local<v8::ArrayBuffer> arrayBuffer = args[0].As<v8::ArrayBuffer>(); in FreeBuffer() local
23 v8::ArrayBuffer::Contents contents = arrayBuffer->Externalize(); in FreeBuffer()
/external/v8/src/inspector/
Dv8-injected-script-host.cc399 v8::Local<v8::ArrayBuffer> arrayBuffer = info[0].As<v8::ArrayBuffer>(); in typedArrayPropertiesCallback() local
400 size_t length = arrayBuffer->ByteLength(); in typedArrayPropertiesCallback()
403 addTypedArrayProperty<v8::Int8Array>(&arrays_vector, isolate, arrayBuffer, in typedArrayPropertiesCallback()
405 addTypedArrayProperty<v8::Uint8Array>(&arrays_vector, isolate, arrayBuffer, in typedArrayPropertiesCallback()
409 addTypedArrayProperty<v8::Int16Array>(&arrays_vector, isolate, arrayBuffer, in typedArrayPropertiesCallback()
413 addTypedArrayProperty<v8::Int32Array>(&arrays_vector, isolate, arrayBuffer, in typedArrayPropertiesCallback()
Dinjected_script_externs.js115 InjectedScriptHostClass.prototype.typedArrayProperties = function(arrayBuffer) {} argument
/external/deqp/external/openglcts/modules/common/
DglcPolygonOffsetClampTests.cpp321 GLuint arrayBuffer; in test() local
338 gl.genBuffers(1, &arrayBuffer); in test()
341 gl.bindBuffer(GL_ARRAY_BUFFER, arrayBuffer); in test()
427 gl.deleteVertexArrays(1, &arrayBuffer); in test()
/external/deqp/external/openglcts/modules/gl/
Dgl4cIndirectParametersTests.cpp190 GLuint arrayBuffer; in iterate() local
191 gl.genBuffers(1, &arrayBuffer); in iterate()
194 gl.bindBuffer(GL_ARRAY_BUFFER, arrayBuffer); in iterate()
217 gl.deleteBuffers(1, &arrayBuffer); in iterate()
/external/skia/experimental/wasm-skp-debugger/tests/
Dstartup.spec.js35 response.arrayBuffer().then(function(buffer) {
/external/skia/modules/canvaskit/tests/
Dfont.spec.js22 (response) => response.arrayBuffer()).then(
Dcanvas2d.spec.js544 .then((response) => response.arrayBuffer())
610 .then((response) => response.arrayBuffer())
758 (response) => response.arrayBuffer()).then(
/external/skqp/experimental/canvaskit/tests/
Dcanvas2d.spec.js562 .then((response) => response.arrayBuffer())
628 .then((response) => response.arrayBuffer())
776 (response) => response.arrayBuffer()).then(
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp275 mState.arrayBuffer = nullptr; in ~Context()
878 return mState.arrayBuffer.name(); in getArrayBufferName()
1010 mState.arrayBuffer = getBuffer(buffer); in bindArrayBuffer()
1063 return mState.arrayBuffer; in getArrayBuffer()
1215 case GL_ARRAY_BUFFER_BINDING: *params = mState.arrayBuffer.name(); break; in getIntegerv()
2840 gl::BindingPointer<Buffer> oldArrayBuffer = mState.arrayBuffer; in drawTexture()
2841 mState.arrayBuffer = nullptr; in drawTexture()
2861 mState.arrayBuffer = oldArrayBuffer; in drawTexture()
3000 if(mState.arrayBuffer.name() == buffer) in detachBuffer()
3002 mState.arrayBuffer = nullptr; in detachBuffer()
DContext.h279 gl::BindingPointer<Buffer> arrayBuffer; member
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp4341 const glu::Buffer arrayBuffer (m_context.getRenderContext()); in runSample() local
4351 gl.bindBuffer(GL_ARRAY_BUFFER, *arrayBuffer); in runSample()
4471 const glu::Buffer arrayBuffer (m_context.getRenderContext()); in runSample() local
4486 gl.bindBuffer(GL_ARRAY_BUFFER, *arrayBuffer); in runSample()
4826 const glu::Buffer arrayBuffer (m_context.getRenderContext()); in runSample() local
4842 gl.bindBuffer(GL_ARRAY_BUFFER, *arrayBuffer); in runSample()
4883 gl.bindBuffer(GL_ARRAY_BUFFER, *arrayBuffer); in runSample()
5161 const glu::Buffer arrayBuffer (m_context.getRenderContext()); in runSample() local
5179 gl.bindBuffer(GL_ARRAY_BUFFER, *arrayBuffer); in runSample()
5218 gl.bindBuffer(GL_ARRAY_BUFFER, *arrayBuffer); in runSample()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp235 mState.arrayBuffer = nullptr; in ~Context()
783 return mState.arrayBuffer.name(); in getArrayBufferName()
1132 mState.arrayBuffer = getBuffer(buffer); in bindArrayBuffer()
1526 return mState.arrayBuffer; in getArrayBuffer()
3846 mState.arrayBuffer = nullptr; in detachBuffer()
DContext.h406 gl::BindingPointer<Buffer> arrayBuffer; member
/external/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js4308 Browser.xhrLoad(url, function(arrayBuffer) { argument
4309 assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
4310 onload(new Uint8Array(arrayBuffer));