| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/io/ |
| gzip_stream.h | 69 // buffer_size and format may be -1 for default of 64kB and GZIP format 73 int buffer_size = -1); 126 int buffer_size; member in struct:google::protobuf::io::GzipOutputStream::Options
|
| /system/bt/hci/src/ |
| hci_inject.cc | 47 size_t buffer_size; member in struct:__anon1869 154 socket_read(client->socket, client->buffer + client->buffer_size, 155 sizeof(client->buffer) - client->buffer_size); 160 client->buffer_size += ret; 162 while (client->buffer_size > 3) { 168 if (client->buffer_size < frame_len) break; 187 size_t remainder = client->buffer_size - frame_len; 189 client->buffer_size -= frame_len;
|
| /system/gatekeeper/ |
| gatekeeper_messages.cpp | 53 const size_t buffer_size = end - *buffer; local 54 if (buffer_size < target->length) return ERROR_INVALID;
|
| /toolchain/binutils/binutils-2.27/bfd/ |
| compress.c | 82 bfd_size_type buffer_size; local 131 buffer_size = orig_uncompressed_size; 136 buffer_size = compressed_size; 138 buffer = (bfd_byte *) bfd_alloc (abfd, buffer_size); 149 zlib_size, buffer, buffer_size))
|
| cpu-arm.c | 227 bfd_size_type buffer_size, 236 if (buffer_size < offsetof (arm_Note, name)) 247 if (namesz + descsz + offsetof (arm_Note, name) > buffer_size) 281 bfd_size_type buffer_size; local 294 buffer_size = arm_arch_section->size; 295 if (buffer_size == 0) 302 if (! arm_check_note (abfd, buffer, buffer_size, NOTE_ARCH_STRING, & arch_string)) 332 (file_ptr) 0, buffer_size)) 379 bfd_size_type buffer_size; local 392 buffer_size = arm_arch_section->size [all...] |
| /art/libartbase/base/unix_file/ |
| fd_file.cc | 338 const size_t buffer_size = std::min<uint64_t>(size, kMaxBufferSize); local 339 art::UniqueCPtr<void> buffer(malloc(buffer_size)); 345 size_t chunk_size = std::min<uint64_t>(buffer_size, size);
|
| /art/runtime/native/ |
| dalvik_system_ZygoteHooks.cc | 323 size_t buffer_size = Trace::GetBufferSize(); local 350 buffer_size,
|
| /bootable/recovery/applypatch/ |
| applypatch.cpp | 131 size_t buffer_size = 0; // # bytes read so far local 140 size_t next = current_size - buffer_size; 148 buffer_size += read; 181 buffer.resize(buffer_size);
|
| /cts/tools/dasm/src/dasm/ |
| Scanner.java | 41 private int buffer_size = 256; field in class:Scanner.CharBuffer 42 private char[] buffer = new char[buffer_size]; 46 char tmp[] = new char[buffer_size * 2]; 47 System.arraycopy(buffer, 0, tmp, 0, buffer_size); 48 buffer_size *= 2; 55 if (cur_pos == buffer_size) expand();
|
| /external/compiler-rt/lib/sanitizer_common/ |
| sanitizer_printf.cc | 242 int buffer_size = ARRAY_SIZE(local_buffer); local 250 buffer_size = kLen; 255 if (needed_length >= buffer_size) { \ 264 needed_length += internal_snprintf(buffer, buffer_size, 269 buffer_size - needed_length, 274 buffer_size - needed_length, format, args); 289 UnmapOrDie((void *)buffer, buffer_size);
|
| /external/curl/lib/ |
| security.c | 330 ssize_t tx = 0, len = conn->buffer_size; 418 static unsigned int buffer_size = 1 << 20; /* 1048576 */ local 434 code = ftp_send_command(conn, "PBSZ %u", buffer_size); 442 conn->buffer_size = buffer_size; 447 (void)sscanf(pbsz, "PBSZ=%u", &buffer_size); 448 if(buffer_size < conn->buffer_size) 449 conn->buffer_size = buffer_size; [all...] |
| /external/google-breakpad/src/common/linux/tests/ |
| crash_generator.cc | 110 ssize_t buffer_size = sizeof(buffer); local 111 return ReadFile("/proc/sys/kernel/core_pattern", buffer, &buffer_size) && 112 buffer_size == 5 && memcmp(buffer, "core", 4) == 0;
|
| /external/google-breakpad/src/processor/ |
| stackwalker_amd64_unittest.cc | 107 size_t buffer_size; local 108 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); 111 SetArgumentPointee<4>(buffer_size),
|
| stackwalker_arm64_unittest.cc | 108 size_t buffer_size; local 109 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); 112 SetArgumentPointee<4>(buffer_size), [all...] |
| stackwalker_arm_unittest.cc | 109 size_t buffer_size; local 110 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); 113 SetArgumentPointee<4>(buffer_size), [all...] |
| stackwalker_x86_unittest.cc | 116 size_t buffer_size; local 117 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); 120 SetArgumentPointee<4>(buffer_size), [all...] |
| /external/libchrome/base/files/ |
| file_path_watcher_linux.cc | 216 int buffer_size; local 218 &buffer_size)); 225 std::vector<char> buffer(buffer_size); 228 buffer_size));
|
| /external/libmojo/mojo/android/system/ |
| core_impl.cc | 47 const size_t buffer_size = env->GetDirectBufferCapacity(buffer); local 48 DCHECK_EQ((buffer_size - 4) % size_per_handle, 0u); 50 const size_t nb_handles = (buffer_size - 4) / size_per_handle; 73 const size_t buffer_size = env->GetDirectBufferCapacity(options_buffer); local 74 DCHECK_EQ(buffer_size, sizeof(MojoCreateMessagePipeOptions)); 76 DCHECK_EQ(options->struct_size, buffer_size); 93 const size_t buffer_size = env->GetDirectBufferCapacity(options_buffer); local 94 DCHECK_EQ(buffer_size, sizeof(MojoCreateDataPipeOptions)); 96 DCHECK_EQ(options->struct_size, buffer_size); 114 const size_t buffer_size = env->GetDirectBufferCapacity(options_buffer) local 155 uint32_t buffer_size = 0; local 182 uint32_t buffer_size = 0; local 210 uint32_t buffer_size = elements_capacity; local 229 uint32_t buffer_size = num_bytes; local 257 uint32_t buffer_size = limit; local 271 uint32_t buffer_size = num_bytes; local 297 const size_t buffer_size = env->GetDirectBufferCapacity(options_buffer); local [all...] |
| /external/libmojo/mojo/edk/js/tests/ |
| js_to_cpp_tests.cc | 78 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); local 84 message_pipe_handle, buffer, &buffer_size, 0, 0, 0); 86 EXPECT_EQ(64u, buffer_size); 170 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); local 172 data_pipe_handle, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE); 175 for (uint32_t i = 0; i < buffer_size; ++i) 181 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); local 183 message_pipe_handle, buffer, &buffer_size, 0, 0, 0); 186 for (uint32_t i = 0; i < buffer_size; ++i)
|
| /external/libmojo/mojo/edk/system/ |
| core_unittest.cc | 533 uint32_t buffer_size = 1; local 536 core()->ReadMessage(h[0], buffer, &buffer_size, nullptr, nullptr, 540 ASSERT_EQ(1u, buffer_size); 596 buffer_size = 0; 599 core()->ReadMessage(h[0], nullptr, &buffer_size, nullptr, nullptr, 601 ASSERT_EQ(1u, buffer_size); 604 buffer_size = 1; 607 core()->ReadMessage(h[0], buffer, &buffer_size, nullptr, nullptr, 610 ASSERT_EQ(1u, buffer_size); [all...] |
| /external/libxml2/ |
| entities.c | 539 size_t new_size = buffer_size * 2; \ 540 if (new_size < buffer_size) goto mem_error; \ 544 buffer_size = new_size; \ 565 size_t buffer_size = 0; local 575 buffer_size = 1000; 576 buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar)); 585 if (indx + 100 > buffer_size) { 606 if (indx + 100 > buffer_size) { 635 if (indx + 100 > buffer_size) { 795 size_t buffer_size = 0 local [all...] |
| /external/mesa3d/src/compiler/glsl/ |
| link_uniform_blocks.cpp | 38 : index(0), offset(0), buffer_size(0), variables(variables), 48 this->buffer_size = 0; 55 unsigned buffer_size; member in class:__anon29192::ubo_visitor 176 this->buffer_size = glsl_align(this->offset, 16); 283 blocks[i].UniformBufferSize = parcel->buffer_size; 287 parcel->buffer_size > ctx->Const.MaxShaderStorageBlockSize) { 291 parcel->buffer_size,
|
| /external/opencv/cv/src/ |
| cvcornersubpix.cpp | 68 int max_iters, buffer_size; local 121 buffer_size = (win_rect_size * 5 + win_w + win_h + 32) * sizeof(float); 122 buffer = (float*)cvAlloc( buffer_size );
|
| /external/opencv/otherlibs/highgui/ |
| grfmt_bmp.cpp | 189 const int buffer_size = 1 << 12; local 190 uchar buffer[buffer_size]; 191 uchar bgr_buffer[buffer_size]; 207 if( (m_bpp != 24 || !color) && src_pitch+32 > buffer_size ) 216 if( m_width*3 + 32 > buffer_size ) bgr = new uchar[m_width*3 + 32];
|
| grfmt_pxm.cpp | 198 const int buffer_size = 1 << 12; local 199 uchar buffer[buffer_size]; 200 uchar pal_buffer[buffer_size]; 213 if( src_pitch+32 > buffer_size ) 219 if( m_maxval + 1 > buffer_size )
|