Home
last modified time | relevance | path

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

/external/libmojo/mojo/public/js/
Dbuffer.js19 this.arrayBuffer = sizeOrArrayBuffer;
21 this.arrayBuffer = new ArrayBuffer(sizeOrArrayBuffer);
23 this.dataView = new DataView(this.arrayBuffer);
28 get: function() { return this.arrayBuffer.byteLength; }
47 copyArrayBuffer(newArrayBuffer, this.arrayBuffer);
48 this.arrayBuffer = newArrayBuffer;
49 this.dataView = new DataView(this.arrayBuffer);
53 this.arrayBuffer = this.arrayBuffer.slice(0, this.next);
54 this.dataView = new DataView(this.arrayBuffer);
Dconnector.js48 new Uint8Array(message.buffer.arrayBuffer),
Dcodec.js142 new Uint8Array(this.buffer.arrayBuffer, base, numberOfElements));
318 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/libmojo/mojo/edk/js/tests/
Djs_to_cpp_tests.js102 if (offset < message.buffer.arrayBuffer.byteLength) {
143 if (offset < message.buffer.arrayBuffer.byteLength - 4) {
187 function writeMessagePipe(pipe, arrayBuffer) { argument
188 var result = core.writeMessage(pipe.handle0, arrayBuffer, [], 0);
/external/libvncserver/webclients/novnc/include/chrome-app/
Dtcp-client.js109 this._stringToArrayBuffer(msg, function(arrayBuffer) { argument
110 socket.write(this.socketId, arrayBuffer, this._onWriteComplete.bind(this));
/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/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()
2839 gl::BindingPointer<Buffer> oldArrayBuffer = mState.arrayBuffer; in drawTexture()
2840 mState.arrayBuffer = nullptr; in drawTexture()
2860 mState.arrayBuffer = oldArrayBuffer; in drawTexture()
2999 if(mState.arrayBuffer.name() == buffer) in detachBuffer()
3001 mState.arrayBuffer = nullptr; in detachBuffer()
DContext.h279 gl::BindingPointer<Buffer> arrayBuffer; member
/external/swiftshader/src/OpenGL/libGL/
DContext.cpp249 mState.arrayBuffer = nullptr; in ~Context()
700 return mState.arrayBuffer.name(); in getArrayBufferName()
931 mState.arrayBuffer = getBuffer(buffer); in bindArrayBuffer()
1135 return mState.arrayBuffer; in getArrayBuffer()
1295 case GL_ARRAY_BUFFER_BINDING: *params = mState.arrayBuffer.name(); break; in getIntegerv()
2632 if(mState.arrayBuffer.name() == buffer) in detachBuffer()
2634 mState.arrayBuffer = nullptr; in detachBuffer()
DContext.h489 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()
1126 mState.arrayBuffer = getBuffer(buffer); in bindArrayBuffer()
1520 return mState.arrayBuffer; in getArrayBuffer()
3809 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));