Searched defs:num_bytes (Results 1 - 25 of 200) sorted by relevance

12345678

/external/chromium_org/ppapi/cpp/dev/
H A Dcrypto_dev.cc21 bool Crypto_Dev::GetRandomBytes(char* buffer, uint32_t num_bytes) { argument
23 get_interface<PPB_Crypto_Dev_0_1>()->GetRandomBytes(buffer, num_bytes);
H A Dmemory_dev.cc21 void* Memory_Dev::MemAlloc(uint32_t num_bytes) { argument
24 return get_interface<PPB_Memory_Dev>()->MemAlloc(num_bytes);
/external/chromium_org/mojo/embedder/
H A Dsimple_platform_support.cc13 size_t num_bytes) {
14 return SimplePlatformSharedBuffer::Create(num_bytes);
18 size_t num_bytes,
21 num_bytes, platform_handle.Pass());
12 CreateSharedBuffer( size_t num_bytes) argument
17 CreateSharedBufferFromHandle( size_t num_bytes, ScopedPlatformHandle platform_handle) argument
/external/chromium_org/ppapi/shared_impl/
H A Dppb_crypto_shared.cc18 void GetRandomBytes(char* buffer, uint32_t num_bytes) { argument
19 base::RandBytes(buffer, num_bytes);
H A Dppb_memory_shared.cc19 void* MemAlloc(uint32_t num_bytes) { return malloc(num_bytes); } argument
/external/chromium_org/media/mojo/services/
H A Dmedia_type_converters.cc156 uint32_t num_bytes = input->data_size(); local
163 &num_bytes,
172 uint32_t num_bytes = 0; local
176 ReadDataRaw(input->data.get(), NULL, &num_bytes, MOJO_READ_DATA_FLAG_QUERY);
177 CHECK_EQ(num_bytes, input->data_size) << "Pipe error converting buffer";
179 scoped_ptr<uint8[]> data(new uint8[num_bytes]); // Uninitialized.
180 ReadDataRaw(input->data.get(), data.get(), &num_bytes,
182 CHECK_EQ(num_bytes, input->data_size) << "Pipe error converting buffer";
190 num_bytes,
194 buffer = media::DecoderBuffer::CopyFrom(data.get(), num_bytes);
[all...]
/external/ceres-solver/internal/ceres/
H A Dfile.cc61 int num_bytes = ftell(file_descriptor); local
62 data->resize(num_bytes);
68 num_bytes,
70 if (num_read != num_bytes) {
72 << "expected bytes: " << num_bytes * sizeof((*data)[0])
/external/chromium_org/base/
H A Drand_util_nacl.cc14 void GetRandomBytes(void* output, size_t num_bytes) { argument
16 while (num_bytes > 0) {
18 const int error = nacl_secure_random(output_ptr, num_bytes, &nread);
20 CHECK_LE(nread, num_bytes);
22 num_bytes -= nread;
/external/chromium_org/gin/
H A Darray_buffer.h34 size_t num_bytes() const { return num_bytes_; } function in class:gin::ArrayBuffer
62 size_t num_bytes() const { return num_bytes_; } function in class:gin::ArrayBufferView
/external/chromium_org/media/filters/
H A Dh264_bitstream_buffer_unittest.cc24 uint64 num_bytes = (num_bits + 7) / 8; local
29 EXPECT_EQ(b.BytesInBuffer(), num_bytes);
/external/chromium_org/mojo/public/c/system/tests/
H A Dcore_unittest_pure_c.c48 uint32_t num_bytes; local
79 num_bytes = (uint32_t)sizeof(buffer);
83 &num_bytes,
87 EXPECT_EQ((uint32_t)sizeof(kHello), num_bytes);
/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dmessage.cc30 void Message::AllocUninitializedData(uint32_t num_bytes) { argument
32 data_num_bytes_ = num_bytes;
33 data_ = static_cast<internal::MessageData*>(malloc(num_bytes));
36 void Message::AdoptData(uint32_t num_bytes, internal::MessageData* data) { argument
38 data_num_bytes_ = num_bytes;
53 uint32_t num_bytes = 0, num_handles = 0; local
56 &num_bytes,
64 message.AllocUninitializedData(num_bytes);
69 &num_bytes,
/external/chromium_org/mojo/spy/
H A Dcommon.h22 uint32_t num_bytes; member in struct:mojo::MojoCommonHeader
/external/chromium_org/mojo/tools/package_manager/
H A Dpackage_fetcher.cc63 uint32_t num_bytes = sizeof(buf); local
64 MojoResult result = ReadDataRaw(body_.get(), buf, &num_bytes,
69 if (output_file_.WriteAtCurrentPos(buf, num_bytes) !=
70 static_cast<int>(num_bytes)) {
/external/chromium_org/third_party/leveldatabase/src/util/
H A Darena_test.cc55 size_t num_bytes = allocated[i].first; local
57 for (size_t b = 0; b < num_bytes; b++) {
/external/chromium_org/third_party/libjpeg_turbo/
H A Djdatasrc-tj.c106 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument
114 if (num_bytes > 0) {
115 while (num_bytes > (long) src->bytes_in_buffer) {
116 num_bytes -= (long) src->bytes_in_buffer;
122 src->next_input_byte += (size_t) num_bytes;
123 src->bytes_in_buffer -= (size_t) num_bytes;
/external/chromium_org/third_party/webrtc/test/
H A Drtcp_packet_parser.cc126 uint16_t num_bytes = rpsi_.NumberOfValidBits / 8; local
127 assert(num_bytes > 0);
129 for (uint16_t i = 0; i < num_bytes - 1; ++i) {
133 picture_id += (rpsi_.NativeBitString[num_bytes - 1] & 0x7f);
/external/jpeg/
H A Djdatasrc.c128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument
136 if (num_bytes > 0) {
137 while (num_bytes > (long) src->pub.bytes_in_buffer) {
138 num_bytes -= (long) src->pub.bytes_in_buffer;
144 src->pub.next_input_byte += (size_t) num_bytes;
145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
/external/libhevc/common/
H A Dihevc_mem_fns.c65 * @param[in] num_bytes
75 void ihevc_memcpy(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument
77 memcpy(pu1_dst, pu1_src, num_bytes);
81 void ihevc_memcpy_mul_8(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument
83 memcpy(pu1_dst, pu1_src, num_bytes);
101 * @param[in] num_bytes
111 void ihevc_memset(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument
113 memset(pu1_dst, value, num_bytes);
117 void ihevc_memset_mul_8(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument
119 memset(pu1_dst, value, num_bytes);
[all...]
/external/libhevc/common/x86/
H A Dihevc_mem_fns_ssse3_intr.c67 * @param[in] num_bytes
80 void ihevc_memcpy_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 *pu1_src, UWORD32 num_bytes) argument
83 for(col = num_bytes; col >= 8; col -= 8)
108 * @param[in] num_bytes
119 void ihevc_memset_mul_8_ssse3(UWORD8 *pu1_dst, UWORD8 value, UWORD32 num_bytes) argument
124 for(col = num_bytes; col >= 8; col -= 8)
/external/qemu/distrib/jpeg-6b/
H A Djdatasrc.c128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument
136 if (num_bytes > 0) {
137 while (num_bytes > (long) src->pub.bytes_in_buffer) {
138 num_bytes -= (long) src->pub.bytes_in_buffer;
144 src->pub.next_input_byte += (size_t) num_bytes;
145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
/external/valgrind/main/memcheck/tests/vbit-test/
H A Dvalgrind.c42 unsigned rc, num_bytes; local
45 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type);
46 rc = VALGRIND_SET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes);
51 rc = VALGRIND_GET_VBITS(&opnd->value, &actual.bits, num_bytes);
61 unsigned rc, num_bytes; local
65 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type);
67 rc = VALGRIND_GET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes);
/external/chromium_org/chrome/browser/extensions/api/dial/
H A Ddial_service_unittest.cc136 size_t num_bytes = dial_service_.send_buffer_->size(); local
138 dial_socket_->OnSocketWrite(num_bytes, num_bytes);
/external/chromium_org/chrome/test/logging/win/
H A Dmof_data_parser.h63 void Advance(size_t num_bytes) { argument
64 scan_ += num_bytes;
65 length_ -= num_bytes;
/external/chromium_org/mojo/common/
H A Ddata_pipe_utils.cc23 uint32_t num_bytes; local
25 source.get(), &buffer, &num_bytes, MOJO_READ_DATA_FLAG_NONE);
27 size_t bytes_written = write_bytes.Run(buffer, num_bytes);
28 result = EndReadDataRaw(source.get(), num_bytes);
29 if (bytes_written < num_bytes || result != MOJO_RESULT_OK)
52 std::string* result, const void* buffer, uint32_t num_bytes) {
53 result->append(static_cast<const char*>(buffer), num_bytes); local
54 return num_bytes;
57 size_t CopyToFileHelper(FILE* fp, const void* buffer, uint32_t num_bytes) { argument
58 return fwrite(buffer, 1, num_bytes, f
51 CopyToStringHelper( std::string* result, const void* buffer, uint32_t num_bytes) argument
[all...]

Completed in 589 milliseconds

12345678