/external/chromium_org/third_party/leveldatabase/src/util/ |
posix_logger.h | 36 int bufsize; local 38 bufsize = sizeof(buffer); 41 bufsize = 30000; 42 base = new char[bufsize]; 45 char* limit = base + bufsize;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetActiveUniformBlockName.cpp | 1 /* void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) */ 4 (JNIEnv* _env, jobject _this, jint program, jint uniformBlockIndex, int bufSize, jintArray length_ref, jint lengthOffset, jbyteArray name_ref, jint nameOffset) { 52 (GLsizei)bufSize, 71 /* void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) */ 113 /* void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName ) */
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
UserLogRingCharBuffer.java | 26 public /* for test */ static final int BUFSIZE = 20; 34 private char[] mCharBuf = new char[BUFSIZE]; 35 private int[] mXBuf = new int[BUFSIZE]; 36 private int[] mYBuf = new int[BUFSIZE]; 58 int ret = in % BUFSIZE; 59 return ret < 0 ? ret + BUFSIZE : ret; 75 if (mLength < BUFSIZE) {
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFilterInputStreamTest.java | 96 final int bufSize = 10; 97 byte[] buf1 = new byte[bufSize]; 98 byte[] buf2 = new byte[bufSize]; 102 is.read(buf1, 0, bufSize); 103 is.mark(2 * bufSize); 104 is.read(buf1, 0, bufSize); 110 is.read(buf2, 0, bufSize); 119 is.read(buf1, 0, bufSize); 120 is.mark(2 * bufSize); 121 is.read(buf1, 0, bufSize); [all...] |
/external/pixman/test/ |
prng-test.c | 57 #define BUFSIZE (8 * 1024 * 1024) 65 uint8_t *buf = aligned_malloc (16, BUFSIZE + 1); 70 prng_randmemset_r (&prng, buf, BUFSIZE, 0); 73 (double)BUFSIZE * N / 1000000. / (t2 - t1)); 77 prng_randmemset_r (&prng, buf + 1, BUFSIZE, 0); 80 (double)BUFSIZE * N / 1000000. / (t2 - t1)); 85 prng_randmemset_r (&prng, buf, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); 89 (double)BUFSIZE * N / 1000000. / (t2 - t1)); 94 prng_randmemset_r (&prng, buf + 1, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); 98 (double)BUFSIZE * N / 1000000. / (t2 - t1)) [all...] |
/ndk/sources/host-tools/make-3.81/ |
strcache.c | 39 static int bufsize = CACHE_BUFFER_SIZE; variable 46 new = (struct strcache *) xmalloc (sizeof (*new) + bufsize); 49 new->bytesfree = bufsize; 67 if (len > bufsize) 68 bufsize = len * 2; 168 if (size > bufsize) 169 bufsize = size; 170 return bufsize; 186 int totsize = 0, avgsize, maxsize = 0, minsize = bufsize; 187 int totfree = 0, avgfree, maxfree = 0, minfree = bufsize; [all...] |
/development/tools/line_endings/ |
line_endings.c | 8 #define BUFSIZE (1024*8) 22 char buf[BUFSIZE*2+3]; 71 char buf[BUFSIZE+2]; 73 ssize_t amt2 = len < BUFSIZE ? len : BUFSIZE; 84 char buf2[(BUFSIZE*2)+3];
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
SocketStream.cpp | 32 SocketStream::SocketStream(size_t bufSize) : 33 IOStream(bufSize), 35 m_bufsize(bufSize), 40 SocketStream::SocketStream(int sock, size_t bufSize) : 41 IOStream(bufSize), 43 m_bufsize(bufSize),
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/raw/ |
raw-preproc.c | 77 int bufsize = BSIZE; local 78 char *buf = yasm_xmalloc((size_t)bufsize); 84 if (!fgets(p, bufsize-(p-buf), preproc_raw->in)) { 96 if ((p-buf)+1 >= bufsize) { 99 bufsize *= 2; 100 buf = yasm_xrealloc(buf, (size_t)bufsize);
|
/external/stlport/src/c_locale_glibc/ |
c_locale_glibc2.c | 491 const wchar_t *_WLocale_true(struct _Locale_numeric *__loc, wchar_t *buf, size_t bufSize) 492 { return _ToWChar(_Locale_true(__loc), buf, bufSize); } 493 const wchar_t *_WLocale_false(struct _Locale_numeric *__loc, wchar_t *buf, size_t bufSize) 494 { return _ToWChar(_Locale_false(__loc), buf, bufSize); } 520 const wchar_t *_WLocale_int_curr_symbol(struct _Locale_monetary *__loc, wchar_t *buf, size_t bufSize) 521 { return _ToWChar(_Locale_int_curr_symbol(__loc), buf, bufSize); } 522 const wchar_t *_WLocale_currency_symbol(struct _Locale_monetary *__loc, wchar_t *buf, size_t bufSize) 523 { return _ToWChar(_Locale_currency_symbol(__loc), buf, bufSize); } 528 const wchar_t *_WLocale_positive_sign(struct _Locale_monetary *__loc, wchar_t *buf, size_t bufSize) 529 { return _ToWChar(_Locale_positive_sign(__loc), buf, bufSize); } [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/ |
c_locale_glibc2.c | 491 const wchar_t *_WLocale_true(struct _Locale_numeric *__loc, wchar_t *buf, size_t bufSize) 492 { return _ToWChar(_Locale_true(__loc), buf, bufSize); } 493 const wchar_t *_WLocale_false(struct _Locale_numeric *__loc, wchar_t *buf, size_t bufSize) 494 { return _ToWChar(_Locale_false(__loc), buf, bufSize); } 520 const wchar_t *_WLocale_int_curr_symbol(struct _Locale_monetary *__loc, wchar_t *buf, size_t bufSize) 521 { return _ToWChar(_Locale_int_curr_symbol(__loc), buf, bufSize); } 522 const wchar_t *_WLocale_currency_symbol(struct _Locale_monetary *__loc, wchar_t *buf, size_t bufSize) 523 { return _ToWChar(_Locale_currency_symbol(__loc), buf, bufSize); } 528 const wchar_t *_WLocale_positive_sign(struct _Locale_monetary *__loc, wchar_t *buf, size_t bufSize) 529 { return _ToWChar(_Locale_positive_sign(__loc), buf, bufSize); } [all...] |
/ndk/sources/host-tools/toolbox/ |
cmp_win.c | 68 #define BUFSIZE 4096 69 char buf1[BUFSIZE], buf2[BUFSIZE]; 72 n1 = fread(buf1, 1, BUFSIZE, f1); 73 n2 = fread(buf2, 1, BUFSIZE, f2); 75 } while (!ret && n1 == BUFSIZE);
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
SocketStream.cpp | 32 SocketStream::SocketStream(size_t bufSize) : 33 IOStream(bufSize), 35 m_bufsize(bufSize), 40 SocketStream::SocketStream(int sock, size_t bufSize) : 41 IOStream(bufSize), 43 m_bufsize(bufSize),
|
TcpStream.cpp | 33 TcpStream::TcpStream(size_t bufSize) : 34 SocketStream(bufSize) 38 TcpStream::TcpStream(int sock, size_t bufSize) : 39 SocketStream(sock, bufSize)
|
/external/elfutils/libcpu/ |
i386_data.h | 121 if (*d->bufcntp + 4 > d->bufsize) 122 return *d->bufcntp + 4 - d->bufsize; 164 size_t bufsize = d->bufsize; local 201 if (*bufcntp + n + 1 > bufsize) 202 return *bufcntp + n + 1 - bufsize; 275 if (*bufcntp + n + 1 > bufsize) 276 return *bufcntp + n + 1 - bufsize; 373 if (*bufcntp + (cp - tmpbuf) > bufsize) 374 return *bufcntp + (cp - tmpbuf) - bufsize; 506 size_t bufsize = d->bufsize; local 533 size_t bufsize = d->bufsize; local [all...] |
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl.attrib | 25 len buffer bufSize
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Program.h | 55 void getLog(GLsizei bufSize, GLsizei *length, char *infoLog); 84 void getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog); 87 void getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 91 void getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
|
Program.cpp | 49 void InfoLog::getLog(GLsizei bufSize, GLsizei *length, char *infoLog) 53 if (bufSize > 0) 57 index = std::min(bufSize - 1, (int)strlen(mInfoLog)); 352 void Program::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog) 354 return mInfoLog.getLog(bufSize, length, infoLog); 387 void Program::getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) 392 programBinary->getActiveAttribute(index, bufsize, length, size, type, name); 396 if (bufsize > 0) 437 void Program::getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) 442 return programBinary->getActiveUniform(index, bufsize, length, size, type, name) [all...] |
/external/chromium_org/third_party/tlslite/tlslite/ |
FileObject.py | 15 def __init__(self, sock, mode='rb', bufsize=-1): 18 if bufsize < 0: 19 bufsize = self.default_bufsize 20 self.bufsize = bufsize 22 if bufsize == 0: 24 elif bufsize == 1: 27 self._rbufsize = bufsize 28 self._wbufsize = bufsize
|
/external/srec/shared/include/ |
CircularBuffer.h | 118 * @param bufSize The number of bytes to read from the circular buffer. 121 * error, while a value less than bufSize indicates that end-of-buffer is 124 ESR_SHARED_API int CircularBufferRead(CircularBuffer* buffer, void* data, size_t bufSize); 130 * @param bufSize The number of bytes to skip from the circular buffer. 133 * error, while a value less than bufSize indicates that end-of-buffer is 136 ESR_SHARED_API int CircularBufferSkip(CircularBuffer* buffer, size_t bufSize); 143 * @param bufSize The number of bytes to write into the circular buffer. 146 * an error, while a value less than bufSize indicates that buffer capacity is 149 ESR_SHARED_API int CircularBufferWrite(CircularBuffer* buffer, const void* data, size_t bufSize);
|
/frameworks/base/tools/aapt/ |
printapk.cpp | 36 int bufsize; local 90 bufsize = size + (size / 1000) + 1; 91 resfile = malloc(bufsize); 93 err = decompress_zipentry(entry, resfile, bufsize);
|
/sdk/emulator/opengl/host/libs/renderControl_dec/ |
renderControl.attrib | 25 len buffer bufSize
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_slab.c | 110 pb_size bufSize; 329 numBuffers = slab->bo->size / mgr->bufSize; 346 buf->base.size = mgr->bufSize; 351 buf->start = i* mgr->bufSize; 383 assert(size <= mgr->bufSize); 384 if(size > mgr->bufSize) 391 assert(pb_check_alignment(desc->alignment, mgr->bufSize)); 392 if(!pb_check_alignment(desc->alignment, mgr->bufSize)) 455 pb_size bufSize, 470 mgr->bufSize = bufSize [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_slab.c | 110 pb_size bufSize; 329 numBuffers = slab->bo->size / mgr->bufSize; 346 buf->base.size = mgr->bufSize; 351 buf->start = i* mgr->bufSize; 383 assert(size <= mgr->bufSize); 384 if(size > mgr->bufSize) 391 assert(pb_check_alignment(desc->alignment, mgr->bufSize)); 392 if(!pb_check_alignment(desc->alignment, mgr->bufSize)) 455 pb_size bufSize, 470 mgr->bufSize = bufSize [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
arec.c | 180 unsigned xfer, bufsize; local 250 bufsize = pcm->period_size; 252 fprintf(stderr, "Arec:bufsize = %d\n", bufsize); 269 frames = bufsize / 2; 271 frames = bufsize / 8; 273 frames = bufsize / 12; 275 frames = bufsize / 4; 320 if (write(fd, dst_addr, bufsize) != bufsize) { [all...] |