Searched refs:ByteLength (Results 1 - 25 of 45) sorted by relevance

12

/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/content/renderer/pepper/
H A Dhost_array_buffer_var.cc59 uint32 HostArrayBufferVar::ByteLength() { function in class:content::HostArrayBufferVar
68 RenderThread::Get()->HostAllocateSharedMemoryBuffer(ByteLength()).
73 shm->Map(ByteLength());
74 memcpy(shm->memory(), Map(), ByteLength());
H A Dhost_array_buffer_var.h27 virtual uint32 ByteLength() OVERRIDE;
/external/chromium_org/ppapi/proxy/
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());
H A Dplugin_array_buffer_var.h31 virtual uint32 ByteLength() OVERRIDE;
H A Dplatform_verification_private_resource.cc59 uint32 challenge_length = challenge_buffer->ByteLength();
/external/chromium/base/win/
H A Dscoped_bstr_unittest.cc22 EXPECT_EQ(0, b.ByteLength());
38 EXPECT_EQ(test1_len * sizeof(kTestString1[0]), b1.ByteLength());
55 EXPECT_EQ(100, b2.ByteLength());
H A Dscoped_bstr.h78 size_t ByteLength() const;
H A Dscoped_bstr.cc66 size_t ScopedBstr::ByteLength() const { function in class:base::win::ScopedBstr
/external/chromium_org/base/win/
H A Dscoped_bstr_unittest.cc22 EXPECT_EQ(0, b.ByteLength());
38 EXPECT_EQ(test1_len * sizeof(kTestString1[0]), b1.ByteLength());
55 EXPECT_EQ(100, b2.ByteLength());
H A Dscoped_bstr.h77 size_t ByteLength() const;
H A Dscoped_bstr.cc66 size_t ScopedBstr::ByteLength() const { function in class:base::win::ScopedBstr
/external/chromium_org/ppapi/shared_impl/
H A Dppb_var_shared.cc79 PP_Bool ByteLength(PP_Var array, uint32_t* byte_length) { function in namespace:ppapi::__anon10230
84 *byte_length = buffer->ByteLength();
105 &ByteLength,
H A Dunittest_utils.cc97 if (expected_var->ByteLength() != actual_var->ByteLength()) {
98 LOG(ERROR) << "expected: " << expected_var->ByteLength() <<
99 " actual: " << actual_var->ByteLength();
103 expected_var->ByteLength()) != 0) {
H A Dvar.h166 virtual uint32 ByteLength() = 0;
/external/chromium_org/ppapi/cpp/
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();
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);
/external/chromium_org/ppapi/tests/
H A Dtest_platform_verification_private.cc29 for (uint32_t i = 0; i < challenge_array.ByteLength(); ++i)
H A Dtest_flash_clipboard.cc161 ASSERT_TRUE(array_buffer_result.ByteLength() == array_buffer.ByteLength());
163 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(),
196 ASSERT_EQ(array_buffer_result.ByteLength(), array_buffer.ByteLength());
198 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(),
/external/chromium_org/v8/src/extensions/
H A Dfree-buffer-extension.cc47 V8::ArrayBufferAllocator()->Free(contents.Data(), contents.ByteLength());
/external/chromium_org/gin/
H A Darray_buffer.cc94 length_ = contents.ByteLength();
159 num_bytes_(view->ByteLength()) {
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8ArrayBufferCustom.cpp93 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();

Completed in 755 milliseconds

12