/external/qemu/distrib/libpng-1.2.19/ |
pngpread.c | 29 png_bytep buffer, png_size_t buffer_size) 32 png_push_restore_buffer(png_ptr, buffer, buffer_size); 34 while (png_ptr->buffer_size) 92 png_ptr->buffer_size = 0; 110 if (png_ptr->buffer_size < num_to_check) 112 num_to_check = png_ptr->buffer_size; 206 if (png_ptr->buffer_size < 8) 225 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 234 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 247 if (png_ptr->push_length + 4 > png_ptr->buffer_size) [all...] |
/bionic/libc/bionic/ |
libgen.cpp | 54 int basename_r(const char* path, char* buffer, size_t buffer_size) { 93 if (len > static_cast<int>(buffer_size) - 1) { 94 len = buffer_size - 1; 106 int dirname_r(const char* path, char* buffer, size_t buffer_size) { 152 if (len > static_cast<int>(buffer_size) - 1) { 153 len = buffer_size - 1;
|
/external/chromium_org/base/ |
rand_util_unittest.cc | 33 const size_t buffer_size = 50; local 34 char buffer[buffer_size]; 35 memset(buffer, 0, buffer_size); 36 base::RandBytes(buffer, buffer_size); 37 std::sort(buffer, buffer + buffer_size); 40 EXPECT_GT(std::unique(buffer, buffer + buffer_size) - buffer, 25);
|
/external/chromium_org/chrome/common/ |
partial_circular_buffer.h | 27 // Use for reading. |buffer_size| is in bytes and must be larger than the 29 PartialCircularBuffer(void* buffer, uint32 buffer_size); 31 // Use for writing. |buffer_size| is in bytes and must be larger than the 35 uint32 buffer_size, 39 uint32 Read(void* buffer, uint32 buffer_size); 40 void Write(const void* buffer, uint32 buffer_size);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 32 private static final int BUFFER_SIZE = 5; 53 positionedBuffer.position(BUFFER_SIZE); 90 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 94 assertEquals(BUFFER_SIZE, count); 108 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 116 readBuf.position(BUFFER_SIZE); 165 positionedBuffer.position(BUFFER_SIZE); 172 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE), 173 ByteBuffer.allocate(BUFFER_SIZE) }; 180 if (0 == count && BUFFER_SIZE == readBufArray[1].position()) [all...] |
SinkChannelTest.java | 36 private static final int BUFFER_SIZE = 5; 57 positionedBuffer.position(BUFFER_SIZE); 86 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 93 } while (totalCount != BUFFER_SIZE && !isBlocking); 95 assertEquals(BUFFER_SIZE, currentPosition - oldPosition); 127 ByteBuffer readBuf = ByteBuffer.allocate(THREAD_NUM * BUFFER_SIZE); 136 } while (totalCount != (THREAD_NUM * BUFFER_SIZE)); 189 positionedBuffer.position(BUFFER_SIZE); 195 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 203 } while (totalCount != BUFFER_SIZE && !isBlocking) [all...] |
/external/oprofile/libop/ |
op_config_24.h | 30 #define OP_PRE_WATERMARK(buffer_size) \ 31 (((buffer_size) / 8) < OP_MIN_PRE_WATERMARK \ 33 : (buffer_size) / 8)
|
/device/lge/mako/camera/QCamera/HAL/core/inc/ |
QCameraHWI_Mem.h | 46 MemPool(int buffer_size, int num_buffers, 71 AshmemPool(int buffer_size, int num_buffers, 80 int buffer_size, int num_buffers, 96 int buffer_size, int num_buffers,
|
/device/lge/mako/camera/ |
QCameraHWI_Mem.h | 45 MemPool(int buffer_size, int num_buffers, 70 AshmemPool(int buffer_size, int num_buffers, 79 int buffer_size, int num_buffers, 95 int buffer_size, int num_buffers,
|
/external/chromium_org/media/base/ |
data_buffer.h | 25 // Allocates buffer of size |buffer_size| >= 0. 26 explicit DataBuffer(int buffer_size); 28 // Assumes valid data of size |buffer_size|. 29 DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size);
|
/external/chromium_org/media/webm/chromeos/ |
ebml_writer.h | 17 base::Callback<void(const void* buffer, int buffer_size, unsigned long len)>
|
/external/icu4c/samples/layout/ |
GDIFontMap.h | 22 #define BUFFER_SIZE 128
|
GnomeFontMap.h | 22 #define BUFFER_SIZE 128
|
/external/llvm/ |
copy-diff.py | 7 BUFFER_SIZE = 1024 21 buff_a = fa.read(BUFFER_SIZE) 22 buff_b = fb.read(BUFFER_SIZE) 29 if len(buff_a) < BUFFER_SIZE:
|
/external/chromium_org/content/browser/ |
byte_stream.cc | 50 size_t buffer_size); 110 size_t buffer_size); 185 size_t buffer_size) 186 : total_buffer_size_(buffer_size), 291 size_t buffer_size = 0; local 295 buffer_size = input_contents_size_; 305 buffer_size, 313 size_t buffer_size) 314 : total_buffer_size_(buffer_size), 376 size_t buffer_size, [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordTest.java | 142 final int BUFFER_SIZE = 102400; 143 byte[] byteData = new byte[BUFFER_SIZE]; 149 mAudioRecord.read(byteData, 0, BUFFER_SIZE); 158 short[] shortData = new short[BUFFER_SIZE]; 164 mAudioRecord.read(shortData, 0, BUFFER_SIZE); 173 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE); 179 mAudioRecord.read(byteBuffer, BUFFER_SIZE); 202 mAudioRecord.read(byteData, 0, BUFFER_SIZE);
|
/external/chromium_org/content/browser/speech/ |
speech_recognition_browsertest.cc | 133 size_t buffer_size, 136 scoped_ptr<uint8[]> audio_buffer(new uint8[buffer_size]); 138 for (size_t i = 0; i < buffer_size; ++i) 140 (16 * buffer_size))); 142 memset(audio_buffer.get(), 0, buffer_size); 146 buffer_size); 154 const size_t buffer_size = audio_params.GetBytesPerBuffer(); local 167 buffer_size,
|
/external/chromium_org/content/renderer/ |
shared_memory_seqlock_reader.cc | 15 base::SharedMemoryHandle shared_memory_handle, size_t buffer_size) { 22 return (renderer_shared_memory_->Map(buffer_size))
|
/external/chromium_org/remoting/client/ |
audio_player.h | 34 uint32 buffer_size, 43 void FillWithSamples(void* samples, uint32 buffer_size);
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportParser.java | 14 private static final int BUFFER_SIZE = 8*1024; 25 BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"), BUFFER_SIZE);
|
/external/chromium_org/media/audio/openbsd/ |
audio_manager_openbsd.cc | 125 int buffer_size = kDefaultOutputBufferSize; local 133 buffer_size = std::min(buffer_size, input_params.frames_per_buffer()); 138 buffer_size = user_buffer_size; 142 sample_rate, bits_per_sample, buffer_size, AudioParameters::NO_EFFECTS);
|
/external/chromium_org/third_party/icu/source/i18n/ |
inputext.cpp | 21 #define BUFFER_SIZE 8192 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { 132 if (limit > BUFFER_SIZE) { 133 limit = BUFFER_SIZE;
|
/external/icu4c/i18n/ |
inputext.cpp | 21 #define BUFFER_SIZE 8192 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { 132 if (limit > BUFFER_SIZE) { 133 limit = BUFFER_SIZE;
|
/external/chromium_org/third_party/libpng/ |
pngpread.c | 32 png_bytep buffer, png_size_t buffer_size) 37 png_push_restore_buffer(png_ptr, buffer, buffer_size); 39 while (png_ptr->buffer_size) 106 png_ptr->buffer_size = 0; 124 if (png_ptr->buffer_size < num_to_check) 126 num_to_check = png_ptr->buffer_size; 221 if (png_ptr->buffer_size < 8) 244 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 255 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 270 if (png_ptr->push_length + 4 > png_ptr->buffer_size) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
font_data_test.cc | 151 int32_t buffer_size, 153 ByteVector buffer(buffer_size); 188 int32_t buffer_size) { 189 ByteVector buffer(buffer_size); 227 for (int32_t buffer_size = 1; buffer_size <= length; 228 buffer_size += increments) { 233 ReadFontDataWithBuffer(rfd1, buffer_size, &b1); 234 ReadFontDataWithBuffer(rfd2, buffer_size, &b2); 284 for (int32_t buffer_size = 1; buffer_size < length [all...] |