/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_printf.cc | 225 int buffer_size = ARRAY_SIZE(local_buffer); local 233 buffer_size = kLen; 238 needed_length += internal_snprintf(buffer, buffer_size, "==%d==", pid); 239 if (needed_length >= buffer_size) { 247 buffer_size - needed_length, format, args); 248 if (needed_length >= buffer_size) { 261 UnmapOrDie((void *)buffer, buffer_size);
|
/external/chromium_org/base/ |
file_util.cc | 69 const int BUFFER_SIZE = 2056; 70 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE]; 72 file1.read(buffer1, BUFFER_SIZE); 73 file2.read(buffer2, BUFFER_SIZE);
|
/external/chromium_org/chrome/browser/extensions/api/serial/ |
serial_connection.cc | 61 void SerialConnection::set_buffer_size(int buffer_size) { 62 buffer_size_ = buffer_size; 138 if (options.buffer_size.get()) 139 set_buffer_size(*options.buffer_size); 159 info->buffer_size = buffer_size_;
|
/external/chromium_org/media/audio/pulse/ |
audio_manager_pulse.cc | 164 int buffer_size = kDefaultOutputBufferSize; local 172 buffer_size = std::min(buffer_size, input_params.frames_per_buffer()); 180 buffer_size = user_buffer_size; 184 sample_rate, bits_per_sample, buffer_size, AudioParameters::NO_EFFECTS);
|
/external/chromium_org/media/base/ |
test_helpers.cc | 171 int buffer_size = frames * channels * sizeof(T); local 172 scoped_ptr<uint8[]> memory(new uint8[buffer_size]); 203 int buffer_size = frames * sizeof(T); local 205 scoped_ptr<uint8[]> memory(new uint8[channels * buffer_size]); 207 data.get()[i] = memory.get() + i * buffer_size;
|
/external/chromium_org/ui/gfx/win/ |
hwnd_util.cc | 78 DWORD buffer_size = MAX_PATH; local 82 GetClassNameW(window, WriteInto(&output, buffer_size), buffer_size); 85 if (size_ret < (buffer_size - 1)) { 89 buffer_size *= 2;
|
/external/zlib/src/contrib/ada/ |
zlib-streams.adb | 83 Stream.Buffer_Size := Write_Buffer_Size; 85 Stream.Buffer_Size := 0; 105 Buffer : Stream_Element_Array (1 .. Stream.Buffer_Size); 201 Buffer_Size => Stream.Buffer_Size);
|
/external/chromium_org/content/renderer/media/ |
webrtc_audio_renderer.cc | 246 int buffer_size = (sample_rate / 100); local 247 DVLOG(1) << "Using WebRTC output buffer size: " << buffer_size; 252 sample_rate, 16, buffer_size); 263 buffer_size = frames_per_buffer_; 269 if (buffer_size < 2 * frames_per_10ms) { 270 // Examples of low-latency frame sizes and the resulting |buffer_size|: 274 buffer_size = 2 * frames_per_10ms; 278 DVLOG(1) << "Using sink output buffer size: " << buffer_size; 281 channel_layout, channels, 0, sample_rate, 16, buffer_size);
|
/external/chromium_org/mojo/system/ |
core_impl_unittest.cc | 341 uint32_t buffer_size = 1; local 343 core()->ReadMessage(h[0], buffer, &buffer_size, NULL, NULL, 347 EXPECT_EQ(1u, buffer_size); 373 buffer_size = 0; 375 core()->ReadMessage(h[0], NULL, &buffer_size, NULL, NULL, 377 EXPECT_EQ(1u, buffer_size); 380 buffer_size = 1; 382 core()->ReadMessage(h[0], buffer, &buffer_size, NULL, NULL, 385 EXPECT_EQ(1u, 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/chromium/third_party/libjingle/source/talk/base/ |
diskcache.cc | 270 size_t buffer_size = id.length()*3 + 1; local 271 char* buffer = new char[buffer_size]; 272 encode(buffer, buffer_size, id.data(), id.length(), 305 size_t buffer_size = pathname.basename().length() + 1; local 306 char* buffer = new char[buffer_size]; 307 decode(buffer, buffer_size, pathname.basename().data(),
|
/external/chromium_org/chrome/browser/extensions/ |
extension_creator.cc | 217 size_t buffer_size = 1 << 16; local 218 scoped_ptr<uint8[]> buffer(new uint8[buffer_size]); 220 while ((bytes_read = fread(buffer.get(), 1, buffer_size, 273 size_t buffer_size = 1 << 16; local 274 scoped_ptr<uint8[]> buffer(new uint8[buffer_size]); 277 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
|
/external/chromium_org/media/filters/ |
decrypting_audio_decoder.cc | 330 int buffer_size = 0; local 332 buffer_size = pending_buffer_to_decode_->data_size(); 338 &DecryptingAudioDecoder::DeliverFrame, weak_this_, buffer_size))); 342 int buffer_size, 391 if (buffer_size) { 393 statistics.audio_bytes_decoded = buffer_size;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
diskcache.cc | 270 size_t buffer_size = id.length()*3 + 1; local 271 char* buffer = new char[buffer_size]; 272 encode(buffer, buffer_size, id.data(), id.length(), 305 size_t buffer_size = pathname.basename().length() + 1; local 306 char* buffer = new char[buffer_size]; 307 decode(buffer, buffer_size, pathname.basename().data(),
|
/external/chromium_org/third_party/libxml/src/ |
testC14N.c | 181 buffer_size *= 2; \ 183 xmlRealloc(buffer, buffer_size * sizeof(xmlChar*)); \ 194 int buffer_size = 0; local 209 buffer_size = 1000; 210 buffer = (xmlChar **) xmlMalloc(buffer_size * sizeof(xmlChar*)); 218 if (out - buffer > buffer_size - 10) {
|
/external/qemu/memcheck/ |
memcheck_util.c | 90 size_t buffer_size) 97 while (buffer_size) { 101 buffer_size--; 108 size_t buffer_size) 110 while (buffer_size) { 114 buffer_size--;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
asynchat.py | 256 def __init__ (self, data, buffer_size=512): 258 self.buffer_size = buffer_size 261 if len (self.data) > self.buffer_size: 262 result = self.data[:self.buffer_size] 263 self.data = self.data[self.buffer_size:]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
asynchat.py | 256 def __init__ (self, data, buffer_size=512): 258 self.buffer_size = buffer_size 261 if len (self.data) > self.buffer_size: 262 result = self.data[:self.buffer_size] 263 self.data = self.data[self.buffer_size:]
|
/development/ndk/platforms/android-14/samples/native-media/jni/ |
native-media-jni.c | 74 #define BUFFER_SIZE (PACKETS_PER_BUFFER*MPEG2_TS_PACKET_SIZE) 78 static char dataCache[BUFFER_SIZE * NB_BUFFERS]; 155 &dataCache[BUFFER_SIZE * NB_BUFFERS]); 156 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE)); 166 bytesRead = fread(pBufferData, 1, BUFFER_SIZE, file); 282 bytesRead = fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file); 313 dataCache + i*BUFFER_SIZE, bufferSize, items /*pMsg*/, 318 dataCache + i*BUFFER_SIZE, bufferSize, NULL, 0);
|
/device/asus/flo/camera/hdr/include/ |
morpho_hdr_checker.h | 78 * @param[in] buffer_size HDRChecker??????????????T?C?Y
88 const int buffer_size,
|
/device/lge/mako/camera/hdr/include/ |
morpho_hdr_checker.h | 78 * @param[in] buffer_size HDRChecker??????????????T?C?Y
88 const int buffer_size,
|
/external/chromium_org/content/browser/geolocation/ |
wifi_data_provider_win.cc | 153 DWORD buffer_size, 584 DWORD buffer_size, 592 buffer_size, 616 int buffer_size = ::GetSystemDirectory(NULL, 0); local 617 if (buffer_size == 0) { 620 scoped_ptr<char16[]> buffer(new char16[buffer_size]); 623 int characters_written = ::GetSystemDirectory(buffer.get(), buffer_size); 627 DCHECK_EQ(buffer_size - 1, characters_written);
|
/external/chromium_org/jingle/glue/ |
pseudotcp_adapter.h | 33 virtual int Read(net::IOBuffer* buffer, int buffer_size, 35 virtual int Write(net::IOBuffer* buffer, int buffer_size,
|
/external/chromium_org/media/audio/alsa/ |
alsa_wrapper.cc | 87 int AlsaWrapper::PcmGetParams(snd_pcm_t* handle, snd_pcm_uframes_t* buffer_size, 89 return snd_pcm_get_params(handle, buffer_size, period_size);
|
/external/chromium_org/remoting/host/ |
screen_capturer_fake.cc | 53 int buffer_size = size_.height() * bytes_per_row_; 55 callback_->CreateSharedMemory(buffer_size);
|