/external/srec/shared/src/ |
H A D | CircularBuffer.c | 50 int CircularBufferRead(CircularBuffer* buffer, void* data, size_t bufSize) argument 55 if (buffer == NULL || (data == NULL && bufSize > 0)) 58 if (buffer->size < bufSize) 59 bufSize = buffer->size; 61 if (bufSize == 0) 69 if (nbRead > bufSize) nbRead = bufSize; 78 if (nbRead < bufSize) 80 int toRead = bufSize - nbRead; 86 return bufSize; 89 CircularBufferSkip(CircularBuffer* buffer, size_t bufSize) argument 109 CircularBufferWrite(CircularBuffer* buffer, const void *data, size_t bufSize) argument [all...] |
/external/srec/shared/include/ |
H A D | 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);
|
/external/stlport/src/c_locale_win32/ |
H A D | c_wlocale_win32.c | 258 const wchar_t * _WLocale_true(_Locale_numeric_t* lnum, wchar_t* buf, size_t bufSize) {
argument 261 _STLP_MARK_PARAMETER_AS_UNUSED(&bufSize)
265 const wchar_t * _WLocale_false(_Locale_numeric_t* lnum, wchar_t* buf, size_t bufSize) {
argument 268 _STLP_MARK_PARAMETER_AS_UNUSED(&bufSize)
273 const wchar_t* _WLocale_int_curr_symbol(_Locale_monetary_t * lmon, wchar_t* buf, size_t bufSize)
argument 274 { GetLocaleInfoW(lmon->lc.id, LOCALE_SINTLSYMBOL, buf, (int)bufSize); return buf; }
276 const wchar_t* _WLocale_currency_symbol(_Locale_monetary_t * lmon, wchar_t* buf, size_t bufSize)
argument 277 { GetLocaleInfoW(lmon->lc.id, LOCALE_SCURRENCY, buf, (int)bufSize); return buf; }
285 const wchar_t* _WLocale_positive_sign(_Locale_monetary_t * lmon, wchar_t* buf, size_t bufSize)
argument 286 { GetLocaleInfoW(lmon->lc.id, LOCALE_SPOSITIVESIGN, buf, (int)bufSize); retur 288 _WLocale_negative_sign(_Locale_monetary_t * lmon, wchar_t* buf, size_t bufSize) argument 292 _WLocale_full_monthname(_Locale_time_t * ltime, int month, wchar_t* buf, size_t bufSize) argument 296 _WLocale_abbrev_monthname(_Locale_time_t * ltime, int month, wchar_t* buf, size_t bufSize) argument 300 _WLocale_full_dayofweek(_Locale_time_t * ltime, int day, wchar_t* buf, size_t bufSize) argument 304 _WLocale_abbrev_dayofweek(_Locale_time_t * ltime, int day, wchar_t* buf, size_t bufSize) argument 308 _WLocale_am_str(_Locale_time_t* ltime, wchar_t* buf, size_t bufSize) argument 312 _WLocale_pm_str(_Locale_time_t* ltime, wchar_t* buf, size_t bufSize) argument [all...] |
/external/aac/libFDK/src/ |
H A D | FDK_bitbuffer.cpp | 116 UINT bufSize) 118 FDK_InitBitBuffer (*hBitBuf, pBuffer, bufSize, 0); 120 FDKmemclear((*hBitBuf)->Buffer, bufSize*sizeof(UCHAR)); 126 UINT bufSize, UINT validBits) 135 hBitBuf->bufSize = bufSize ; 136 hBitBuf->bufBits = (bufSize << 3) ; 139 if (bufSize!=0) { 140 UINT x = 0, n=bufSize; 142 if ( bufSize ! 115 FDK_CreateBitBuffer(HANDLE_FDK_BITBUF *hBitBuf, UCHAR *pBuffer, UINT bufSize) argument 125 FDK_InitBitBuffer(HANDLE_FDK_BITBUF hBitBuf, UCHAR *pBuffer, UINT bufSize, UINT validBits) argument [all...] |
/external/stlport/src/c_locale_glibc/ |
H A D | c_locale_glibc2.c | 491 const wchar_t *_WLocale_true(struct _Locale_numeric *__loc, wchar_t *buf, size_t bufSize) argument 492 { return _ToWChar(_Locale_true(__loc), buf, bufSize); } 493 const wchar_t *_WLocale_false(struct _Locale_numeric *__loc, wchar_t *buf, size_t bufSize) argument 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) argument 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) argument 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) argument 529 { return _ToWChar(_Locale_positive_sign(__loc), buf, bufSize); } 530 _WLocale_negative_sign(struct _Locale_monetary *__loc, wchar_t *buf, size_t bufSize) argument 675 _WLocale_full_monthname(struct _Locale_time *__loc, int _m, wchar_t *buf, size_t bufSize) argument 677 _WLocale_abbrev_monthname(struct _Locale_time *__loc, int _m, wchar_t *buf, size_t bufSize) argument 679 _WLocale_full_dayofweek(struct _Locale_time *__loc, int _d, wchar_t *buf, size_t bufSize) argument 681 _WLocale_abbrev_dayofweek(struct _Locale_time *__loc, int _d, wchar_t *buf, size_t bufSize) argument 683 _WLocale_am_str(struct _Locale_time *__loc, wchar_t *buf, size_t bufSize) argument 685 _WLocale_pm_str(struct _Locale_time* __loc, wchar_t *buf, size_t bufSize) argument [all...] |
/external/aac/libFDK/include/ |
H A D | FDK_bitbuffer.h | 107 UINT bufSize; member in struct:__anon138 124 void FDK_CreateBitBuffer (HANDLE_FDK_BITBUF *hBitBuffer, UCHAR *pBuffer, UINT bufSize) ; 127 UINT bufSize, UINT validBits) ;
|
H A D | FDK_bitstream.h | 125 * \param bufSize Length of BitBuffer array. (awaits size 2^n) 130 UINT bufSize, 134 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, 0) ; 149 * \param bufSize Length of BitBuffer array. (awaits size 2^n) 157 UINT bufSize, 161 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, validBits) ; 129 FDKcreateBitStream(UCHAR *pBuffer, UINT bufSize, FDK_BS_CFG config = BS_READER) argument 155 FDKinitBitStream(HANDLE_FDK_BITSTREAM hBitStream, UCHAR *pBuffer, UINT bufSize, UINT validBits, FDK_BS_CFG config = BS_READER) argument
|
/external/icu4c/test/threadtest/ |
H A D | converttest.cpp | 51 int32_t bufSize = U_CNV_SAFECLONE_BUFFERSIZE; local 60 &bufSize,
|
/external/zlib/src/contrib/minizip/ |
H A D | crypt.h | 92 int bufSize, 103 if (bufSize<RAND_HEAD_LEN) 90 crypthead(const char* passwd, unsigned char* buf, int bufSize, unsigned long* pkeys, const unsigned long* pcrc_32_tab, unsigned long crcForCrypting) argument
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
H A D | Shader.cpp | 124 void Shader::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog) argument 130 while (index < bufSize - 1 && index < (int)strlen(mInfoLog)) 137 if (bufSize) 160 void Shader::getSource(GLsizei bufSize, GLsizei *length, char *source) argument 166 while (index < bufSize - 1 && index < (int)strlen(mSource)) 173 if (bufSize)
|
H A D | Shader.h | 58 void getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog); 60 void getSource(GLsizei bufSize, GLsizei *length, char *source);
|
/external/skia/tests/ |
H A D | BitmapCopyTest.cpp | 475 const uint32_t bufSize = subH * local 477 uint8_t* buf = new uint8_t[bufSize]; 499 memset(buf, 0xFF, bufSize); 509 subset.copyPixelsTo(buf, bufSize, bufBm.rowBytes() * 3) 514 "copyPixelsTo(buf, bufSize, 1.5*maxRowBytes)", 522 memset(buf, 0xFF, bufSize); 526 successExpected = subset.getSafeSize() <= bufSize; 528 subset.copyPixelsTo(buf, bufSize) == 532 "copyPixelsTo(buf, bufSize)", reporter); 536 memset(buf, 0xFF, bufSize); [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | ChannelsTest.java | 156 int bufSize = 10; 158 byte[] byteArray = new byte[bufSize]; 159 ByteBuffer byteBuf = ByteBuffer.allocate(bufSize); 163 assertEquals(bufSize, readres); 170 assertEquals(bufSize, readres); 176 assertEquals(bufSize, readres); 393 int bufSize = this.testNum; 395 CharBuffer charBuf = CharBuffer.allocate(bufSize); 430 int bufSize = this.testNum; 432 CharBuffer charBuf = CharBuffer.allocate(bufSize); [all...] |
/external/stlport/src/c_locale_dummy/ |
H A D | c_locale_dummy.c | 347 const wchar_t * _WLocale_true(struct _Locale_numeric* lnum, wchar_t* buf, size_t bufSize) argument 349 const wchar_t * _WLocale_false(struct _Locale_numeric* lnum, wchar_t* buf, size_t bufSize) argument 388 wchar_t* buf, size_t bufSize) 391 wchar_t* buf, size_t bufSize) 398 wchar_t* buf, size_t bufSize) 401 wchar_t* buf, size_t bufSize) 448 wchar_t* buf, size_t bufSize) 455 wchar_t* buf, size_t bufSize) 461 wchar_t* buf, size_t bufSize) 467 wchar_t* buf, size_t bufSize) 387 _WLocale_int_curr_symbol(struct _Locale_monetary * lmon, wchar_t* buf, size_t bufSize) argument 390 _WLocale_currency_symbol(struct _Locale_monetary * lmon, wchar_t* buf, size_t bufSize) argument 397 _WLocale_positive_sign(struct _Locale_monetary * lmon, wchar_t* buf, size_t bufSize) argument 400 _WLocale_negative_sign(struct _Locale_monetary * lmon, wchar_t* buf, size_t bufSize) argument 447 _WLocale_full_monthname(struct _Locale_time * ltime, int n, wchar_t* buf, size_t bufSize) argument 454 _WLocale_abbrev_monthname(struct _Locale_time * ltime, int n, wchar_t* buf, size_t bufSize) argument 460 _WLocale_full_dayofweek(struct _Locale_time * ltime, int n, wchar_t* buf, size_t bufSize) argument 466 _WLocale_abbrev_dayofweek(struct _Locale_time * ltime, int n, wchar_t* buf, size_t bufSize) argument 470 _WLocale_am_str(struct _Locale_time* ltime, wchar_t* buf, size_t bufSize) argument 473 _WLocale_pm_str(struct _Locale_time* ltime, wchar_t* buf, size_t bufSize) argument [all...] |
/external/webkit/Source/WebCore/page/ |
H A D | EventSource.cpp | 253 unsigned int bufSize = m_receiveBuf.size(); local 254 while (bufPos < bufSize) { 263 for (unsigned int i = bufPos; lineLength < 0 && i < bufSize; i++) { 284 if (bufPos == bufSize)
|
/external/svox/pico/compat/jni/ |
H A D | com_android_tts_compat_SynthProxy.cpp | 596 size_t bufSize = 100; local 597 char lang[bufSize]; 598 char country[bufSize]; 599 char variant[bufSize]; 600 memset(lang, 0, bufSize); 601 memset(country, 0, bufSize); 602 memset(variant, 0, bufSize);
|
/external/icu4c/test/perf/ubrkperf/ |
H A D | ubrkperfold.cpp | 688 int32_t bufSize = 0; local 692 bufSize = fileSize; 695 bufSize = STARTSIZE; 717 if(charCount == bufSize) { 718 text = (UChar *)realloc(text, 2*bufSize*sizeof(UChar)); 723 bufSize *= 2;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
H A D | ImageDiff.cpp | 111 const int bufSize = 1024; local 112 unsigned char buf[bufSize]; 114 while ((numRead = fread(buf, 1, bufSize, f)) > 0)
|
/external/aac/libMpegTPEnc/src/ |
H A D | tpenc_adts.cpp | 262 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER); 288 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER);
|
/external/mesa3d/include/GLES2/ |
H A D | gl2ext.h | 430 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 433 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 564 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 565 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 576 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 577 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 730 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 735 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
|
/external/webkit/Source/ThirdParty/ANGLE/include/GLES2/ |
H A D | gl2ext.h | 441 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 444 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 575 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 576 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 587 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 588 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 730 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 735 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
|
/external/icu4c/samples/ucnv/ |
H A D | convsamp.cpp | 990 int32_t bufSize = 0; local 1014 bufSize = (BUFFERSIZE*ucnv_getMaxCharSize(conv)); 1016 BUFFERSIZE, ucnv_getMaxCharSize(conv), bufSize); 1017 buf = (char*)malloc(bufSize * sizeof(char)); 1033 targetLimit = buf + bufSize;
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
H A D | Mesh.java | 653 private int computeNumElements(int bufSize){ argument 656 return bufSize / 3; 659 return bufSize - 2; 661 return bufSize; 663 return bufSize / 2; 665 return bufSize; 667 return bufSize - 1;
|
/external/emma/core/java12/com/vladium/emma/data/ |
H A D | DataFactory.java | 332 RandomAccessFileInputStream (final RandomAccessFile raf, final int bufSize) argument 335 super (new UCFileInputStream (raf.getFD ()), bufSize); 372 RandomAccessFileOutputStream (final RandomAccessFile raf, final int bufSize) argument 375 super (new UCFileOutputStream (raf.getFD ()), bufSize);
|
/external/emma/core/java12/com/vladium/emma/rt/ |
H A D | InstrClassLoader.java | 319 PoolEntry (final int baosCapacity, final int bufSize) argument 322 m_buf = new byte [bufSize];
|