/external/chromium_org/third_party/WebKit/Source/bindings/tests/idls/ |
TestOverloadedConstructors.idl | 29 Constructor(ArrayBuffer arrayBuffer),
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebSocketClient.h | 51 virtual void didReceiveArrayBuffer(const WebArrayBuffer& arrayBuffer) { }
|
WebBindings.h | 154 // Return true (success) if the given npobj is an ArrayBuffer object. 156 WEBKIT_EXPORT static bool getArrayBuffer(NPObject* arrayBuffer, WebArrayBuffer*);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
SharedBufferTest.cpp | 35 #include "wtf/ArrayBuffer.h" 54 RefPtr<ArrayBuffer> arrayBuffer = sharedBuffer->getAsArrayBuffer(); 57 ASSERT_EQ(strlen(expectedConcatenation), arrayBuffer->byteLength()); 58 EXPECT_EQ(0, memcmp(expectedConcatenation, arrayBuffer->data(), strlen(expectedConcatenation))); 119 RefPtr<ArrayBuffer> arrayBuffer = sharedBuffer->getAsArrayBuffer(); 121 ASSERT_EQ(0x4000U + 0x4000U + 0x4000U, arrayBuffer->byteLength()); 124 EXPECT_EQ('a', static_cast<char*>(arrayBuffer->data())[position]); 128 EXPECT_EQ('b', static_cast<char*>(arrayBuffer->data())[position]) [all...] |
SharedBuffer.cpp | 420 PassRefPtr<ArrayBuffer> SharedBuffer::getAsArrayBuffer() const 422 RefPtr<ArrayBuffer> arrayBuffer = ArrayBuffer::createUninitialized(static_cast<unsigned>(size()), 1); 427 memcpy(static_cast<char*>(arrayBuffer->data()) + position, segment, segmentSize); 431 if (position != arrayBuffer->byteLength()) { 433 // Don't return the incomplete ArrayBuffer. 437 return arrayBuffer;
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
BlobBuilder.cpp | 38 #include "wtf/ArrayBuffer.h" 77 void BlobBuilder::append(ArrayBuffer* arrayBuffer) 79 if (!arrayBuffer) 82 appendBytesData(arrayBuffer->data(), arrayBuffer->byteLength());
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8XMLHttpRequestCustom.cpp | 48 #include "wtf/ArrayBuffer.h" 116 ArrayBuffer* arrayBuffer = xmlHttpRequest->responseArrayBuffer(es); 119 if (arrayBuffer && !arrayBuffer->hasDeallocationObserver()) { 120 arrayBuffer->setDeallocationObserver(V8ArrayBufferDeallocationObserver::instance()); 121 v8::V8::AdjustAmountOfExternalAllocatedMemory(arrayBuffer->byteLength()); 123 v8SetReturnValue(info, toV8Fast(arrayBuffer, info, xmlHttpRequest)); 211 ArrayBuffer* arrayBuffer = V8ArrayBuffer::toNative(object) [all...] |
V8BlobCustom.cpp | 107 ArrayBuffer* arrayBuffer = V8ArrayBuffer::toNative(v8::Handle<v8::Object>::Cast(item)); 108 ASSERT(arrayBuffer); 109 blobBuilder.append(arrayBuffer);
|
V8TypedArrayCustom.h | 39 #include "wtf/ArrayBuffer.h" 143 RefPtr<ArrayBuffer> buffer = impl->buffer(); 148 v8::Local<v8::Object> wrapper = V8Type::New(v8Buffer.As<v8::ArrayBuffer>(), impl->byteOffset(), Traits::length(impl.get())); 163 RefPtr<ArrayBuffer> arrayBuffer = V8ArrayBuffer::toNative(view->Buffer()); 164 RefPtr<TypedArray> typedArray = TypedArray::create(arrayBuffer, view->ByteOffset(), Traits::length(view));
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
SerializedScriptValue.cpp | 63 #include "wtf/ArrayBuffer.h" 205 ArrayBufferTag = 'B', // byteLength:uint32_t, data:byte[byteLength] -> ArrayBuffer (ref) 206 ArrayBufferTransferTag = 't', // index:uint32_t -> ArrayBuffer. For ArrayBuffer transfer 207 ArrayBufferViewTag = 'V', // subtag:byte, byteOffset:uint32_t, byteLength:uint32_t -> ArrayBufferView (ref). Consumes an ArrayBuffer from the top of the deserialization stack. 438 void writeArrayBuffer(const ArrayBuffer& arrayBuffer) 441 doWriteArrayBuffer(arrayBuffer); 448 const ArrayBuffer& arrayBuffer = *arrayBufferView.buffer() [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
GrDebugGL.cpp | 92 void GrDebugGL::setArrayBuffer(GrBufferObj *arrayBuffer) { 102 fArrayBuffer = arrayBuffer;
|
GrDebugGL.h | 62 void setArrayBuffer(GrBufferObj *arrayBuffer);
|
/external/skia/src/gpu/gl/debug/ |
GrDebugGL.cpp | 92 void GrDebugGL::setArrayBuffer(GrBufferObj *arrayBuffer) { 102 fArrayBuffer = arrayBuffer;
|
GrDebugGL.h | 62 void setArrayBuffer(GrBufferObj *arrayBuffer);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebBindings.cpp | 272 static bool getArrayBufferImpl(NPObject* object, WebArrayBuffer* arrayBuffer, v8::Isolate* isolate) 285 ArrayBuffer* native = V8ArrayBuffer::HasInstanceInAnyWorld(v8Object, isolate) ? V8ArrayBuffer::toNative(v8Object) : 0; 289 *arrayBuffer = WebArrayBuffer(native); 342 bool WebBindings::getArrayBuffer(NPObject* arrayBuffer, WebArrayBuffer* webArrayBuffer) 344 return getArrayBufferImpl(arrayBuffer, webArrayBuffer, v8::Isolate::GetCurrent());
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
RTCDataChannel.cpp | 36 #include "wtf/ArrayBuffer.h" 141 return "arraybuffer"; 151 else if (binaryType == "arraybuffer") 169 void RTCDataChannel::send(PassRefPtr<ArrayBuffer> prpData, ExceptionState& es) 176 RefPtr<ArrayBuffer> data = prpData; 192 RefPtr<ArrayBuffer> arrayBuffer(data->buffer()); 193 send(arrayBuffer.release(), es); 247 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(data, dataLength) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioContext.cpp | 71 #include "wtf/ArrayBuffer.h" 303 PassRefPtr<AudioBuffer> AudioContext::createBuffer(ArrayBuffer* arrayBuffer, bool mixToMono, ExceptionState& es) 305 ASSERT(arrayBuffer); 306 if (!arrayBuffer) { 311 RefPtr<AudioBuffer> audioBuffer = AudioBuffer::createFromAudioFileData(arrayBuffer->data(), arrayBuffer->byteLength(), mixToMono, sampleRate()); 320 void AudioContext::decodeAudioData(ArrayBuffer* audioData, PassRefPtr<AudioBufferCallback> successCallback, PassRefPtr<AudioBufferCallback> errorCallback, ExceptionState& es)
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestOverloadedConstructors.cpp | 70 V8TRYCATCH_VOID(ArrayBuffer*, arrayBuffer, args[0]->IsArrayBuffer() ? V8ArrayBuffer::toNative(v8::Handle<v8::ArrayBuffer>::Cast(args[0])) : 0); 72 RefPtr<TestOverloadedConstructors> impl = TestOverloadedConstructors::create(arrayBuffer);
|
/external/chromium_org/chrome/browser/resources/file_manager/js/metadata/ |
byte_reader.js | 9 * @param {ArrayBuffer} arrayBuffer // TODO(JSDOC). 13 function ByteReader(arrayBuffer, opt_offset, opt_length) { 15 opt_length = opt_length || (arrayBuffer.byteLength - opt_offset); 16 this.view_ = new DataView(arrayBuffer, opt_offset, opt_length);
|
/external/chromium_org/chrome/browser/resources/file_manager/js/image_editor/ |
image_encoder.js | 88 function appendSlice(arrayBuffer) { 89 slices.push(new DataView(arrayBuffer)); 157 * @return {ArrayBuffer} // TODO(JSDOC). 224 * @return {ArrayBuffer} // TODO(JSDOC).
|
exif_encoder.js | 183 * @return {ArrayBuffer} serialized metadata ready to write to an image file. 413 * @param {ArrayBuffer} arrayBuffer Underlying buffer to use. 419 function ByteWriter(arrayBuffer, offset, length) { 420 length = length || (arrayBuffer.byteLength - offset); 421 this.view_ = new DataView(arrayBuffer, offset, length);
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocket.cpp | 56 #include "wtf/ArrayBuffer.h" 321 void WebSocket::send(ArrayBuffer* binaryData, ExceptionState& es) 323 LOG(Network, "WebSocket %p send() Sending ArrayBuffer %p", this, binaryData); 350 RefPtr<ArrayBuffer> arrayBuffer(arrayBufferView->buffer()); 351 handleSendResult(m_channel->send(*arrayBuffer, arrayBufferView->byteOffset(), arrayBufferView->byteLength()), es); 446 return "arraybuffer"; 458 if (binaryType == "arraybuffer") { 553 dispatchEvent(MessageEvent::create(ArrayBuffer::create(binaryData->data(), binaryData->size()), SecurityOrigin::create(m_url)->toString()));
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
dataview-accessors.js | 104 arrayBuffer = (new Uint8Array(paddingArray.concat(array))).buffer; 105 view = new DataView(arrayBuffer, viewStart, viewLength); 303 var view = new DataView(new ArrayBuffer(100)); 311 var view = new DataView(new ArrayBuffer(100)); 319 var view = new DataView(new ArrayBuffer(100)); 327 var view = new DataView(new ArrayBuffer(100)); 335 var view = new DataView(new ArrayBuffer(100)); 343 var view = new DataView(new ArrayBuffer(100)); 385 var a = new DataView(new ArrayBuffer(256)); 419 var a = new DataView(new ArrayBuffer(256)) [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/ |
Context.cpp | 235 mState.arrayBuffer.set(NULL); 603 return mState.arrayBuffer.id(); 861 mState.arrayBuffer.set(getBuffer(buffer)); 1144 return mState.arrayBuffer.get(); [all...] |
Context.h | 153 BindingPointer<Buffer> arrayBuffer;
|