/external/chromium/base/ |
sha1_win.cc | 39 DWORD buffer_size = sizeof hash_len; local 42 &buffer_size, 0)) {
|
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/ |
SDL_nasaudio.c | 228 int buffer_size; local 264 buffer_size = spec->freq; 265 if (buffer_size < 4096) 266 buffer_size = 4096; 268 if (buffer_size > 32768) 269 buffer_size = 32768; /* So that the buffer won't get unmanageably big. */ 277 buffer_size, buffer_size / 4, 0, NULL);
|
/system/media/wilhelm/tests/sandbox/streamSource/ |
slesTestPlayStream.cpp | 38 #define BUFFER_SIZE (20*MPEG2_TS_BLOCK_SIZE) 42 char dataCache[BUFFER_SIZE * NB_BUFFERS]; 83 // assert(BUFFER_SIZE <= dataSize); 108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file); 109 if (nbRead == BUFFER_SIZE*(NB_BUFFERS/2)) { 112 dataCache + i*BUFFER_SIZE, 113 BUFFER_SIZE, NULL, 0); 150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file); 297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) { 305 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0) [all...] |
/external/chromium/net/base/ |
filter.cc | 73 int buffer_size) { 80 buffer_size, filter_list); 350 Filter* Filter::InitGZipFilter(FilterType type_id, int buffer_size) { 352 gz_filter->InitBuffer(buffer_size); 359 int buffer_size) { 361 sdch_filter->InitBuffer(buffer_size); 368 int buffer_size, 375 first_filter.reset(InitGZipFilter(type_id, buffer_size)); 379 first_filter.reset(InitSdchFilter(type_id, filter_context, buffer_size)); 392 void Filter::InitBuffer(int buffer_size) { [all...] |
/system/media/wilhelm/tests/native-media/jni/ |
native-media-jni.c | 60 #define BUFFER_SIZE (BLOCKS_PER_BUFFER*MPEG2_TS_BLOCK_SIZE) 64 char dataCache[BUFFER_SIZE * NB_BUFFERS]; 142 assert(BUFFER_SIZE == dataSize); 144 &dataCache[BUFFER_SIZE * NB_BUFFERS]); 145 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE)); 193 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file); 198 nbRead * BUFFER_SIZE /*dataLength*/, 301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); 308 LOGV("Initially queueing %u buffers of %u bytes each", nbRead, BUFFER_SIZE); 324 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, items /*pMsg*/ [all...] |
/external/protobuf/src/google/protobuf/io/ |
gzip_stream.cc | 50 ZeroCopyInputStream* sub_stream, Format format, int buffer_size) 60 if (buffer_size == -1) { 63 output_buffer_length_ = buffer_size; 173 buffer_size(kDefaultBufferSize), 187 ZeroCopyOutputStream* sub_stream, Format format, int buffer_size) { 190 if (buffer_size != -1) { 191 options.buffer_size = buffer_size; 202 input_buffer_length_ = options.buffer_size;
|
/external/quake/quake/src/WinQuake/ |
snd_sun.cpp | 40 #define BUFFER_SIZE 8192 42 unsigned char dma_buffer[BUFFER_SIZE]; 43 unsigned char pend_buffer[BUFFER_SIZE]; 205 idx = (wbufp*bsize) & (BUFFER_SIZE - 1); 209 idx = (idx + 1) & (BUFFER_SIZE - 1);
|
/hardware/msm7k/libcamera/ |
QualcommCameraHardware.h | 107 MemPool(int buffer_size, int num_buffers, 132 AshmemPool(int buffer_size, int num_buffers, 140 int buffer_size, int num_buffers, 152 PreviewPmemPool(int buffer_size, int num_buffers, 161 int buffer_size, int num_buffers,
|
/external/stlport/stlport/stl/ |
_deque.c | 49 size_t __num_nodes = __num_elements / this->buffer_size() + 1 ; 65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size(); 74 *__cur = _M_map_size.allocate(this->buffer_size()); 83 _M_map_size.deallocate(*__n, this->buffer_size()); 350 _STLP_STD::_Destroy_Range(*__node, *__node + this->buffer_size()); 351 this->_M_map_size.deallocate(*__node, this->buffer_size()); 357 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size()); 373 uninitialized_fill(*__cur, *__cur + this->buffer_size(), __val); 384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); 391 this->buffer_size())) [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_deque.c | 49 size_t __num_nodes = __num_elements / this->buffer_size() + 1 ; 65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size(); 74 *__cur = _M_map_size.allocate(this->buffer_size()); 83 _M_map_size.deallocate(*__n, this->buffer_size()); 350 _STLP_STD::_Destroy_Range(*__node, *__node + this->buffer_size()); 351 this->_M_map_size.deallocate(*__node, this->buffer_size()); 357 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size()); 373 uninitialized_fill(*__cur, *__cur + this->buffer_size(), __val); 384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); 391 this->buffer_size())) [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_deque.c | 49 size_t __num_nodes = __num_elements / this->buffer_size() + 1 ; 65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size(); 74 *__cur = _M_map_size.allocate(this->buffer_size()); 83 _M_map_size.deallocate(*__n, this->buffer_size()); 350 _STLP_STD::_Destroy_Range(*__node, *__node + this->buffer_size()); 351 this->_M_map_size.deallocate(*__node, this->buffer_size()); 357 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size()); 373 uninitialized_fill(*__cur, *__cur + this->buffer_size(), __val); 384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); 391 this->buffer_size())) [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_deque.c | 49 size_t __num_nodes = __num_elements / this->buffer_size() + 1 ; 65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size(); 74 *__cur = _M_map_size.allocate(this->buffer_size()); 83 _M_map_size.deallocate(*__n, this->buffer_size()); 350 _STLP_STD::_Destroy_Range(*__node, *__node + this->buffer_size()); 351 this->_M_map_size.deallocate(*__node, this->buffer_size()); 357 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size()); 373 uninitialized_fill(*__cur, *__cur + this->buffer_size(), __val); 384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); 391 this->buffer_size())) [all...] |
/external/bluetooth/glib/tests/ |
iochannel-test.c | 12 #define BUFFER_SIZE 1024 101 g_io_channel_set_buffer_size (gio_r, BUFFER_SIZE); 111 buffer = g_string_sized_new (BUFFER_SIZE);
|
/external/qemu/telephony/ |
android_modem.h | 120 extern int amodem_get_operator_name ( AModem modem, ANameIndex index, char* buffer, int buffer_size ); 122 /* reset one operator name from a user-provided buffer, set buffer_size to -1 for zero-terminated strings */ 123 extern void amodem_set_operator_name( AModem modem, ANameIndex index, const char* buffer, int buffer_size );
|
/external/zlib/contrib/iostream3/ |
zfstream.cc | 23 buffer(NULL), buffer_size(BIGBUFSIZE), own_buffer(true) 197 int bytes_read = gzread(file, buffer, buffer_size); 281 buffer_size = 0; 290 buffer_size = n; 314 if (buffer_size > 0) 317 buffer = new char_type[buffer_size]; 324 this->setp(buffer, buffer + buffer_size - 1); 329 buffer_size = SMALLBUFSIZE; 330 buffer = new char_type[buffer_size]; 341 this->setp(buffer, buffer + buffer_size - 1) [all...] |
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 32 private static final int BUFFER_SIZE = 2048; 64 inputBuffer = new byte[BUFFER_SIZE]; 70 coder.output = new byte[coder.maxOutputSize(BUFFER_SIZE)];
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldOutputStreamTest.java | 27 private static final int BUFFER_SIZE = 20; 32 buffer = new byte[BUFFER_SIZE]; 37 if (position < BUFFER_SIZE) {
|
/external/chromium/chrome/browser/extensions/ |
extension_creator.cc | 171 size_t buffer_size = 1 << 16; local 172 scoped_array<uint8> buffer(new uint8[buffer_size]); 174 while ((bytes_read = fread(buffer.get(), 1, buffer_size, 223 size_t buffer_size = 1 << 16; local 224 scoped_array<uint8> buffer(new uint8[buffer_size]); 227 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
|
/hardware/libhardware_legacy/qemu/ |
qemu.c | 252 int buffer_size, 259 if (buffer_size < 6) 262 len = vsnprintf(buffer+4, buffer_size-4, format, args); 263 if (len >= buffer_size-4) 273 int buffer_size, 281 ret = qemu_command_format(buffer, buffer_size, format, args);
|
/external/bluetooth/glib/gio/ |
gwin32appinfo.c | 108 DWORD buffer_size; local 122 buffer_size = 1024; 128 &buffer_size) == S_OK) 131 buffer_size = 1024; 137 &buffer_size) == S_OK) 597 DWORD buffer_size; local 603 buffer_size = 1024; 609 &buffer_size) == S_OK)
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
Forwarder.java | 39 private static final int BUFFER_SIZE = 16384; 94 byte[] buffer = new byte[BUFFER_SIZE];
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
ncp_fs.h | 34 int buffer_size; /* The negotiated buffer size, to be member in struct:ncp_fs_info 45 unsigned int buffer_size; member in struct:ncp_fs_info_v2
|
/external/tinyalsa/ |
pcm.c | 150 unsigned int buffer_size; member in struct:pcm 164 return pcm->buffer_size; 356 frames = hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; 446 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); 452 pcm->buffer_size = 0; 530 pcm->buffer_size = config->period_count * config->period_size; 533 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), 537 pcm_frames_to_bytes(pcm, pcm->buffer_size)); 571 pcm->boundary = sparams.boundary = pcm->buffer_size; 573 while (pcm->boundary * 2 <= LONG_MAX - pcm->buffer_size) [all...] |
/bionic/libc/kernel/common/linux/ |
msm_audio.h | 38 uint32_t buffer_size; member in struct:msm_audio_config
|
/development/ndk/platforms/android-3/include/linux/ |
msm_audio.h | 38 uint32_t buffer_size; member in struct:msm_audio_config
|