Searched refs:ByteLength (Results 1 - 25 of 46) sorted by last modified time

12

/external/chromium_org/v8/test/cctest/
H A Dtest-api.cc3074 size_t ByteLength() const { return contents_.ByteLength(); } function in class:ScopedArrayBufferContents
3095 CHECK_EQ(1024, static_cast<int>(ab->ByteLength()));
3102 CHECK_EQ(1024, static_cast<int>(ab_contents.ByteLength()));
3137 CHECK_EQ(2, static_cast<int>(ab1->ByteLength()));
3155 CHECK_EQ(2, static_cast<int>(ab1_contents.ByteLength()));
3176 CHECK_EQ(100, static_cast<int>(ab3->ByteLength()));
3199 CHECK_EQ(0, static_cast<int>(dv->ByteLength()));
3205 CHECK_EQ(0, static_cast<int>(ta->ByteLength()));
3231 CHECK_EQ(length * kElementSize, static_cast<int>(ta->ByteLength()));
[all...]
H A Dtest-heap-profiler.cc2647 CHECK_EQ(1024, static_cast<int>(ab->ByteLength()));
2652 CHECK_EQ(1024, static_cast<int>(ab_contents.ByteLength()));
2656 v8::ArrayBuffer::New(isolate, data, ab_contents.ByteLength());
/external/chromium_org/v8/include/
H A Dv8.h2884 size_t ByteLength() const { return byte_length_; } function in class:v8::ArrayBuffer::Contents
2897 size_t ByteLength() const;
2976 size_t ByteLength();
2998 * (e.g. for Int16Array, |ByteLength|/2).
/external/chromium_org/v8/src/
H A Dapi.cc6004 size_t v8::ArrayBuffer::ByteLength() const { function in class:v8::v8::ArrayBuffer
6054 size_t v8::ArrayBufferView::ByteLength() { function in class:v8::v8::ArrayBufferView
H A Dd8.cc1104 size_t byte_length = data.GetValue()->ByteLength();
H A Druntime.cc1163 BUFFER_VIEW_GETTER(ArrayBufferView, ByteLength, byte_length)
/external/chromium_org/v8/src/extensions/
H A Dfree-buffer-extension.cc25 V8::ArrayBufferAllocator()->Free(contents.Data(), contents.ByteLength());
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8ArrayBufferCustom.cpp104 ArrayBufferContents contents(v8Contents.Data(), v8Contents.ByteLength(),
H A DV8DataViewCustom.h51 return value->ByteLength();
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/
H A Dvar_array_buffer.cc129 uint32_t buffer_size = buffer.ByteLength();
/external/chromium_org/native_client_sdk/src/examples/api/websocket/
H A Dwebsocket.cc52 for (offs = 0; offs < array.ByteLength() && offs < MAX_TO_CONVERT; offs++)
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/devfs/
H A Djspipe_event_emitter.cc220 if (buffer_iface_->ByteLength(message, &length) != PP_TRUE) {
221 ERROR("ArrayBuffer.ByteLength returned PP_FALSE");
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/
H A Djs_fs_node.cc211 if (!buffer_iface_->ByteLength(buf_var, &src_buf_len)) {
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/pepper/
H A Dall_interfaces.h110 METHOD2(VarArrayBufferInterface, PP_Bool, ByteLength, PP_Var, uint32_t*)
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_var_array_buffer_interface.cc24 PP_Bool FakeVarArrayBufferInterface::ByteLength(struct PP_Var var, function in class:FakeVarArrayBufferInterface
H A Dfake_var_array_buffer_interface.h18 virtual PP_Bool ByteLength(struct PP_Var var, uint32_t* byte_length);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Djs_fs_test.cc300 if (!array_buffer_if->ByteLength(var, &var_len)) {
411 if (!array_buffer_if->ByteLength(var, &var_len))
415 if (!array_buffer_if->ByteLength(expected, &expected_len))
/external/chromium_org/ppapi/api/
H A Dppb_var_array_buffer.idl38 * ByteLength() retrieves the length of the <code>VarArrayBuffer</code> in
43 * Note that ByteLength() will successfully retrieve the size of an
55 PP_Bool ByteLength([in] PP_Var array, [out] uint32_t byte_length);
73 * PP_Bool ok = array_buffer_if.ByteLength(array_buffer_var, &byte_length);
/external/chromium_org/ppapi/c/
H A Dppb_var_array_buffer.h51 * ByteLength() retrieves the length of the <code>VarArrayBuffer</code> in
56 * Note that ByteLength() will successfully retrieve the size of an
68 PP_Bool (*ByteLength)(struct PP_Var array, uint32_t* byte_length); member in struct:PPB_VarArrayBuffer_1_0
85 * PP_Bool ok = array_buffer_if.ByteLength(array_buffer_var, &byte_length);
/external/chromium_org/ppapi/cpp/
H A Dvar_array_buffer.cc52 uint32_t VarArrayBuffer::ByteLength() const { function in class:pp::VarArrayBuffer
55 get_interface<PPB_VarArrayBuffer_1_0>()->ByteLength(var_, &byte_length);
H A Dvar_array_buffer.h64 /// ByteLength() retrieves the length of the <code>VarArrayBuffer</code> in
68 uint32_t ByteLength() const;
84 /// uint32_t byte_length = array_buffer_var.ByteLength();
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
H A Dpnacl_shim.c1897 return iface->ByteLength(*array, byte_length);
4987 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnacl_M18_PPB_VarArrayBuffer_ByteLength,
/external/chromium_org/ppapi/proxy/
H A Dflash_clipboard_resource.cc43 array_buffer_var->ByteLength());
H A Dplatform_verification_private_resource.cc59 uint32 challenge_length = challenge_buffer->ByteLength();
H A Dplugin_array_buffer_var.cc75 uint32 PluginArrayBufferVar::ByteLength() { function in class:ppapi::PluginArrayBufferVar
90 instance, ByteLength(), host_handle_id, &plugin_handle));
97 if (!s.Map(ByteLength()))
99 memcpy(s.memory(), Map(), ByteLength());

Completed in 7218 milliseconds

12