Searched defs:buffer_size (Results 1 - 25 of 345) sorted by relevance

1234567891011>>

/external/chromium_org/base/
H A Dsha1_win.cc39 DWORD buffer_size = sizeof hash_len; local
42 &buffer_size, 0)) {
H A Dsafe_strerror_posix.cc115 const int buffer_size = 256; local
116 char buf[buffer_size];
/external/chromium_org/mojo/system/
H A Dmessage_pipe_unittest.cc35 uint32_t buffer_size; local
40 buffer_size = kBufferSize;
44 MakeUserPointer(&buffer_size),
48 EXPECT_EQ(kBufferSize, buffer_size);
55 buffer_size = kBufferSize;
59 MakeUserPointer(&buffer_size),
77 buffer_size = kBufferSize;
81 MakeUserPointer(&buffer_size),
85 EXPECT_EQ(static_cast<uint32_t>(sizeof(buffer[0])), buffer_size);
90 buffer_size
241 uint32_t buffer_size; local
275 uint32_t buffer_size; local
415 uint32_t buffer_size; local
[all...]
/external/chromium_org/android_webview/native/
H A Dinput_stream_unittest.cc92 const int buffer_size = 3 * InputStreamImpl::kBufferSize; local
94 DoReadCountedStreamTest(buffer_size, buffer_size * 2, &bytes_read);
95 EXPECT_EQ(buffer_size, bytes_read);
/external/chromium_org/content/renderer/
H A Dshared_memory_seqlock_reader.cc15 base::SharedMemoryHandle shared_memory_handle, size_t buffer_size) {
22 return (renderer_shared_memory_->Map(buffer_size))
14 InitializeSharedMemory( base::SharedMemoryHandle shared_memory_handle, size_t buffer_size) argument
/external/chromium_org/device/bluetooth/
H A Dbluetooth_low_energy_win_unittest.cc54 size_t buffer_size = (wide_value.size() + 1) * sizeof(wchar_t); local
55 scoped_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]);
56 memcpy(buffer.get(), wide_value.c_str(), buffer_size);
59 REG_SZ, buffer.Pass(), buffer_size).Pass();
65 size_t buffer_size = sizeof(DWORD); local
66 scoped_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]);
67 memcpy(buffer.get(), &test_value, buffer_size);
70 REG_DWORD, buffer.Pass(), buffer_size).Pass();
76 size_t buffer_size = sizeof(uint32_t); local
77 scoped_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]);
[all...]
/external/chromium_org/media/base/
H A Ddata_buffer.cc11 DataBuffer::DataBuffer(int buffer_size) argument
12 : buffer_size_(buffer_size),
14 CHECK_GE(buffer_size, 0);
18 DataBuffer::DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size) argument
20 buffer_size_(buffer_size),
21 data_size_(buffer_size) {
23 CHECK_GE(buffer_size, 0);
/external/chromium_org/ppapi/shared_impl/
H A Dmedia_stream_buffer_manager.h54 int32_t buffer_size() const { return buffer_size_; } function in class:ppapi::MediaStreamBufferManager
58 int32_t buffer_size,
/external/chromium_org/sandbox/win/src/
H A Dinterception_unittest.cc137 size_t buffer_size = interceptions.GetBufferSize(); local
138 scoped_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]);
141 buffer_size));
154 WalkBuffer(local_buffer.get(), buffer_size, &num_dlls, &num_functions,
190 size_t buffer_size = interceptions.GetBufferSize(); local
191 scoped_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]);
194 buffer_size));
204 WalkBuffer(local_buffer.get(), buffer_size, &num_dlls, &num_functions,
/external/chromium_org/testing/gtest/xcode/Scripts/
H A Dversiongenerate.py65 buffer_size = 1024 variable
66 opening_string = config_file.read(buffer_size)
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_debug.cpp23 const size_t buffer_size = 4096; local
24 char* buffer = reinterpret_cast<char*>(::malloc(buffer_size));
27 ret = vsnprintf(buffer, buffer_size, fmt, args);
28 if (ret >= static_cast<int>(buffer_size))
29 ret = static_cast<int>(buffer_size) - 1;
32 strlcat(buffer, ": ", buffer_size);
33 strlcat(buffer, strerror(error), buffer_size);
/external/chromium_org/third_party/libaddressinput/chromium/
H A Dcanonicalize_string.cc45 int32_t buffer_size = collator_->getSortKey(icu_str, NULL, 0); local
46 scoped_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]);
49 collator_->getSortKey(icu_str, buffer.get(), buffer_size);
50 DCHECK_EQ(buffer_size, filled_size);
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Divfdec.c73 size_t *bytes_read, size_t *buffer_size) {
88 if (frame_size > *buffer_size) {
93 *buffer_size = 2 * frame_size;
72 ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, size_t *buffer_size) argument
H A Dvideo_reader.c25 size_t buffer_size; member in struct:VpxVideoReaderStruct
69 &reader->buffer_size);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_draw.c60 unsigned buffer_size; local
70 buffer_size = buffer->buffer->width0;
78 if (buffer->buffer_offset >= buffer_size) {
83 buffer_size -= buffer->buffer_offset;
85 if (element->src_offset >= buffer_size) {
90 buffer_size -= element->src_offset;
92 if (format_size > buffer_size) {
97 buffer_size -= format_size;
102 buffer_max_index = buffer_size / buffer->stride;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
H A Dsi_state_streamout.c74 t[i]->b.buffer_size) >> 2; /* BUFFER_SIZE (in DW) */
205 unsigned buffer_size)
221 t->b.buffer_size = buffer_size;
202 si_create_so_target(struct pipe_context *ctx, struct pipe_resource *buffer, unsigned buffer_offset, unsigned buffer_size) argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_state_so.c41 unsigned buffer_size)
50 t->target.buffer_size = buffer_size;
38 softpipe_create_so_target(struct pipe_context *pipe, struct pipe_resource *buffer, unsigned buffer_offset, unsigned buffer_size) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_renderer.h30 int buffer_size; member in struct:xorg_renderer
/external/chromium_org/third_party/webrtc/video_engine/
H A Dvie_file_image.cc40 int buffer_size = ftell(image_file); local
41 if (buffer_size == -1) {
45 image_buffer._size = buffer_size;
/external/chromium_org/v8/test/cctest/
H A Dtest-reloc-info.cc47 const int buffer_size = code_size + relocation_info_size; local
48 SmartArrayPointer<byte> buffer(new byte[buffer_size]);
51 byte* buffer_end = buffer.get() + buffer_size;
63 CodeDesc desc = { buffer.get(), buffer_size, code_size,
/external/libvpx/libvpx/
H A Divfdec.c73 size_t *bytes_read, size_t *buffer_size) {
88 if (frame_size > *buffer_size) {
93 *buffer_size = 2 * frame_size;
72 ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, size_t *buffer_size) argument
H A Dvideo_reader.c25 size_t buffer_size; member in struct:VpxVideoReaderStruct
69 &reader->buffer_size);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_draw.c60 unsigned buffer_size; local
70 buffer_size = buffer->buffer->width0;
78 if (buffer->buffer_offset >= buffer_size) {
83 buffer_size -= buffer->buffer_offset;
85 if (element->src_offset >= buffer_size) {
90 buffer_size -= element->src_offset;
92 if (format_size > buffer_size) {
97 buffer_size -= format_size;
102 buffer_max_index = buffer_size / buffer->stride;
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_streamout.c74 t[i]->b.buffer_size) >> 2; /* BUFFER_SIZE (in DW) */
205 unsigned buffer_size)
221 t->b.buffer_size = buffer_size;
202 si_create_so_target(struct pipe_context *ctx, struct pipe_resource *buffer, unsigned buffer_offset, unsigned buffer_size) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_so.c41 unsigned buffer_size)
50 t->target.buffer_size = buffer_size;
38 softpipe_create_so_target(struct pipe_context *pipe, struct pipe_resource *buffer, unsigned buffer_offset, unsigned buffer_size) argument

Completed in 458 milliseconds

1234567891011>>