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);
Dcodec_unittests.js52 var actualMemory = new Uint8Array(message.buffer.arrayBuffer);
119 var actualMemory = new Uint8Array(message.buffer.arrayBuffer,
253 var actualMemory = new Uint8Array(message.buffer.arrayBuffer);
Dconnector.js48 new Uint8Array(message.buffer.arrayBuffer),
Dvalidation_unittests.js296 new Uint8Array(testMessage.buffer.arrayBuffer),
Dcodec.js141 new Uint8Array(this.buffer.arrayBuffer, base, numberOfElements));
313 val, new Uint8Array(this.buffer.arrayBuffer, base));
/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/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/libmojo/mojo/edk/js/tests/
Djs_to_cpp_tests.js105 if (offset < message.buffer.arrayBuffer.byteLength) {
146 if (offset < message.buffer.arrayBuffer.byteLength - 4) {
190 function writeMessagePipe(pipe, arrayBuffer) { argument
191 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/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp270 mState.arrayBuffer = nullptr; in ~Context()
873 return mState.arrayBuffer.name(); in getArrayBufferName()
1005 mState.arrayBuffer = getBuffer(buffer); in bindArrayBuffer()
1065 return mState.arrayBuffer; in getArrayBuffer()
1217 case GL_ARRAY_BUFFER_BINDING: *params = mState.arrayBuffer.name(); break; in getIntegerv()
2823 gl::BindingPointer<Buffer> oldArrayBuffer = mState.arrayBuffer; in drawTexture()
2824 mState.arrayBuffer = nullptr; in drawTexture()
2844 mState.arrayBuffer = oldArrayBuffer; in drawTexture()
2982 if(mState.arrayBuffer.name() == buffer) in detachBuffer()
2984 mState.arrayBuffer = nullptr; in detachBuffer()
DContext.h281 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/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp243 mState.arrayBuffer = nullptr; in ~Context()
788 return mState.arrayBuffer.name(); in getArrayBufferName()
1141 mState.arrayBuffer = getBuffer(buffer); in bindArrayBuffer()
1526 return mState.arrayBuffer; in getArrayBuffer()
3666 mState.arrayBuffer = nullptr; in detachBuffer()
DContext.h402 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/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));