Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 23 of 23) sorted by relevance

/external/srec/shared/src/
DCircularBuffer.c50 int CircularBufferRead(CircularBuffer* buffer, void* data, size_t bufSize) in CircularBufferRead() argument
55 if (buffer == NULL || (data == NULL && bufSize > 0)) in CircularBufferRead()
58 if (buffer->size < bufSize) in CircularBufferRead()
59 bufSize = buffer->size; in CircularBufferRead()
61 if (bufSize == 0) in CircularBufferRead()
69 if (nbRead > bufSize) nbRead = bufSize; in CircularBufferRead()
78 if (nbRead < bufSize) in CircularBufferRead()
80 int toRead = bufSize - nbRead; in CircularBufferRead()
86 return bufSize; in CircularBufferRead()
89 int CircularBufferSkip(CircularBuffer* buffer, size_t bufSize) in CircularBufferSkip() argument
[all …]
/external/protobuf/src/com/google/common/io/protocol/
DBoundInputStream.java28 private int bufSize; field in BoundInputStream
49 if (bufPos >= bufSize) { in checkBuf()
50 bufSize = base.read(buf, 0, Math.min(remaining, buf.length)); in checkBuf()
51 if (bufSize <= 0) { in checkBuf()
61 return bufSize - bufPos; in available()
76 count = Math.min(count, bufSize - bufPos); in read()
/external/srec/shared/include/
DCircularBuffer.h124 ESR_SHARED_API int CircularBufferRead(CircularBuffer* buffer, void* data, size_t bufSize);
136 ESR_SHARED_API int CircularBufferSkip(CircularBuffer* buffer, size_t bufSize);
149 ESR_SHARED_API int CircularBufferWrite(CircularBuffer* buffer, const void* data, size_t bufSize);
/external/opencore/fileformats/mp4/parser/src/
Dmediabuffermanager.cpp38 MediaBufferManager::MediaBufferManager(int32 bufSize, uint32 numBufs) in MediaBufferManager() argument
40 _bufferSize = bufSize; in MediaBufferManager()
51 PV_MP4_FF_NEW(fp->auditCB, MediaBuffer, (bufSize), mb); in MediaBufferManager()
/external/zlib/contrib/minizip/
Dcrypt.h90 static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting) in crypthead() argument
93 int bufSize;
104 if (bufSize<RAND_HEAD_LEN)
/external/icu4c/test/threadtest/
Dconverttest.cpp51 int32_t bufSize = U_CNV_SAFECLONE_BUFFERSIZE; in runOnce() local
60 &bufSize, in runOnce()
/external/opencore/codecs_v2/utilities/colorconvert/src/
Dcpvvideoblend.cpp146 if ((pCameraInput->bufSize < pitch_src*height_src*2) || in BlendInput()
147 (pToEncode->bufSize < ((pitch_dst*Dst_height*3) >> 1))) in BlendInput()
182 if ((pBitmap->bufSize < (pitch_src*height_src*2)) || in BlendInput()
183 (pToEncode->bufSize < ((pitch_dst*Dst_height*3) >> 1))) in BlendInput()
/external/opencore/codecs_v2/utilities/colorconvert/include/
Dpvvideoblend.h72 uint32 bufSize; /*!< size of the allocated pBuffer, can be larger than needed. */ member
85 uint32 bufSize; /*!< size of the allocated pBuffer, can be larger than needed. */ member
/external/icu4c/test/perf/ubrkperf/
Dubrkperfold.cpp688 int32_t bufSize = 0; in main() local
692 bufSize = fileSize; in main()
695 bufSize = STARTSIZE; in main()
717 if(charCount == bufSize) { in main()
718 text = (UChar *)realloc(text, 2*bufSize*sizeof(UChar)); in main()
723 bufSize *= 2; in main()
/external/icu4c/common/
Dcaniter.cpp502 const int32_t bufSize = 256; in extract() local
504 UChar temp[bufSize]; in extract()
556 U16_APPEND(buff, bufLen, bufSize, cp, overflow); in extract()
597 UChar trial[bufSize]; in extract()
598 unorm_decompose(trial, bufSize, temp, tempLen, FALSE, 0, &status); in extract()
/external/icu4c/samples/ucnv/
Dconvsamp.cpp987 int32_t bufSize = 0; in convsample_46() local
1010 bufSize = (BUFFERSIZE*ucnv_getMaxCharSize(conv)); in convsample_46()
1012 BUFFERSIZE, ucnv_getMaxCharSize(conv), bufSize); in convsample_46()
1013 buf = (char*)malloc(bufSize * sizeof(char)); in convsample_46()
1029 targetLimit = buf + bufSize; in convsample_46()
/external/opencore/fileformats/mp4/parser/include/
Dmediabuffermanager.h65 MediaBufferManager(int32 bufSize = 32728, uint32 numBufs = 1); // Constructor
/external/emma/core/java12/com/vladium/emma/data/
DDataFactory.java332 RandomAccessFileInputStream (final RandomAccessFile raf, final int bufSize) in RandomAccessFileInputStream() argument
335 super (new UCFileInputStream (raf.getFD ()), bufSize); in RandomAccessFileInputStream()
372 RandomAccessFileOutputStream (final RandomAccessFile raf, final int bufSize) in RandomAccessFileOutputStream() argument
375 super (new UCFileOutputStream (raf.getFD ()), bufSize); in RandomAccessFileOutputStream()
/external/opencore/nodes/pvdownloadmanagernode/src/
Dpvmf_memorybufferdatastream_factory.cpp1021 uint32 bufSize = copyLastByteOffset - copyFirstByteOffset + 1; in MakePersistent() local
1022 uint8* memBuf = (uint8*)oscl_malloc(bufSize); in MakePersistent()
1041 …status = iPermCache->AddEntry(memBuf, bufSize, memBuf, copyFirstByteOffset, copyLastByteOffset, co… in MakePersistent()
1047 if (bytesRead != bufSize) in MakePersistent()
1051 bytesRead, bufSize)); in MakePersistent()
1057 …ermCache->AddEntry(memBuf, bufSize, memBuf + bufSize, copyFirstByteOffset, copyLastByteOffset, cop… in MakePersistent()
1080 …status = iPermCache->AddEntry(memBuf, bufSize, memBuf + copySize, copyFirstByteOffset, copyLastByt… in MakePersistent()
3315 entry->bufSize = aBufSize; in AddEntry()
3428 uint32 bufAvail = iEntries[entry]->bufSize - (aFileOffset - iEntries[entry]->firstFileOffset); in WriteBytes()
3449 bufAvail = iEntries[entry]->bufSize; in WriteBytes()
Dpvmf_downloadmanager_node.cpp850 uint32 bufSize = PVMF_DOWNLOADMANAGER_TCP_BUFFER_SIZE_FOR_PPB; in SetSourceInitializationData() local
855 ((PVMFSocketNode*)iSocketNode.iNode)->GetMaxTCPRecvBufferSize(bufSize); in SetSourceInitializationData()
862 …DOWNLOADMANAGER_MIN_TCP_BUFFERS_FOR_PPB - PVMF_DOWNLOADMANAGER_TCP_BUFFER_NOT_AVAILABLE) * bufSize; in SetSourceInitializationData()
/external/emma/core/java12/com/vladium/emma/rt/
DInstrClassLoader.java319 PoolEntry (final int baosCapacity, final int bufSize) in PoolEntry() argument
322 m_buf = new byte [bufSize]; in PoolEntry()
/external/expat/xmlwf/
Dxmlwin32url.cxx152 DWORD bufSize = sizeof(contentType); in OnDataAvailable() local
156 &bufSize, 0, NULL); in OnDataAvailable()
/external/svox/pico/lib/
Dpicoctrl.c300 picoos_uint16 bufSize; in ctrlAddPU() local
324 bufSize = picodata_get_default_buf_size(puType); in ctrlAddPU()
326 this->common,bufSize); in ctrlAddPU()
/external/icu4c/test/intltest/
Dutxttest.cpp793 int bufSize = us.length() + 10; in TestAccessNoClone() local
794 UChar *buf = new UChar[bufSize]; in TestAccessNoClone()
797 len = utext_extract(ut, 0, utlen, buf, bufSize, &status); in TestAccessNoClone()
813 u_memset(buf, 0x5555, bufSize); in TestAccessNoClone()
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dpvm4vencoder.cpp995 Int bufSize = 0; in GetBufferSize() local
998 PVGetMaxVideoFrameSize(&iEncoderControl, &bufSize); in GetBufferSize()
1000 return (int32) bufSize; in GetBufferSize()
/external/opencore/nodes/pvdownloadmanagernode/include/
Dpvmf_memorybufferdatastream_factory.h207 uint32 bufSize; member
/external/expat/lib/
Dxmlparse.c1967 int bufSize; in storeRawNames() local
1980 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames()
1981 if (bufSize > tag->bufEnd - tag->buf) { in storeRawNames()
1982 char *temp = (char *)REALLOC(tag->buf, bufSize); in storeRawNames()
1997 tag->bufEnd = temp + bufSize; in storeRawNames()
2324 int bufSize; in doContent() local
2334 bufSize = (int)(tag->bufEnd - tag->buf) << 1; in doContent()
2336 char *temp = (char *)REALLOC(tag->buf, bufSize); in doContent()
2340 tag->bufEnd = temp + bufSize; in doContent()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_opengl.h3564 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, G…
3565 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, …
3569 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *leng…
3571 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length…
3572 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length,…