Searched defs:bufSize (Results 1 - 25 of 120) sorted by relevance

12345

/external/aac/libFDK/include/
H A DFDK_bitbuffer.h120 UINT bufSize; member in struct:__anon401
137 UINT bufSize);
140 UINT bufSize, UINT validBits);
/external/deqp/framework/delibs/decpp/
H A DdeRingBuffer.cpp41 int bufSize = rnd.getInt(1, 2048); local
43 RingBuffer<int> buffer (bufSize);
59 DE_TEST_ASSERT(buffer.getNumFree() == bufSize - (writePos-readPos));
H A DdeSocket.hpp98 deSocketResult send (const void* buf, size_t bufSize, size_t* numSent) { return deSocket_send(m_socket, buf, bufSize, numSent); } argument
99 deSocketResult receive (void* buf, size_t bufSize, size_t* numRecv) { return deSocket_receive(m_socket, buf, bufSize, numRecv); } argument
H A DdeThreadSafeRingBuffer.cpp129 int bufSize = rnd.getInt(1, 2048); local
133 ThreadSafeRingBuffer<Message> buffer (bufSize);
/external/deqp/framework/delibs/destream/
H A DdeInStream.h38 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32* numWritten);
44 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32* numWritten) argument
46 return deIOStream_read(&(stream->ioStream), buf, bufSize, numWritten);
H A DdeOutStream.h38 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritten);
45 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritten) argument
47 return deIOStream_write(&(stream->ioStream), buf, bufSize, numWritten);
H A DdeFileStream.c34 static deStreamResult fileIOStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead) argument
40 deFileResult result = deFile_read(fileStream->file, buf, bufSize, &_numRead);
67 static deStreamResult fileIOStream_write (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWritten) argument
72 deFileResult result = deFile_write(fileStream->file, buf, bufSize, &_numWritten);
H A DdeRingbuffer.c113 static deStreamResult producerStream_write (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* written) argument
128 while (*written < bufSize)
140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written);
195 static deStreamResult consumerStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* read) argument
204 while (*read < bufSize)
237 writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *read);
H A DdeThreadStream.c83 static deStreamResult threadInStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead) argument
86 return deInStream_read(&(threadStream->consumerStream), buf, bufSize, numRead);
152 static deStreamResult threadOutStream_write (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWritten) argument
155 return deOutStream_write(&(threadStream->producerStream), buf, bufSize, numWritten);
/external/libxaac/test/
H A Dixheaacd_fileifc.c84 int bufSize, unsigned int *length) {
87 *length = fread(buffer, 1, bufSize, transport->inputFile);
107 while ((int)*length < bufSize)
132 min((int)(bufSize - *length), transport->avail_buffer);
143 assert(*length <= (unsigned)bufSize);
148 *length = fread(buffer, 1, bufSize, transport->inputFile);
83 FileWrapper_Read(FileWrapperPtr transport, unsigned char *buffer, int bufSize, unsigned int *length) argument
/external/lzma/CPP/7zip/Common/
H A DOutBuffer.cpp9 bool COutBuffer::Create(UInt32 bufSize) throw() argument
12 if (bufSize < kMinBlockSize)
13 bufSize = kMinBlockSize;
14 if (_buf != 0 && _bufSize == bufSize)
17 _bufSize = bufSize;
18 _buf = (Byte *)::MidAlloc(bufSize);
H A DInBuffer.cpp20 bool CInBuffer::Create(size_t bufSize) throw() argument
23 if (bufSize < kMinBlockSize)
24 bufSize = kMinBlockSize;
25 if (_bufBase != 0 && _bufSize == bufSize)
28 _bufSize = bufSize;
29 _bufBase = (Byte *)::MidAlloc(bufSize);
H A DInBuffer.h47 void SetBuf(Byte *buf, size_t bufSize, size_t end, size_t pos) argument
50 _bufSize = bufSize;
86 bool Create(size_t bufSize) throw(); // only up to 32-bits values now are supported!
/external/mesa3d/src/mesa/main/
H A Drobustness.c33 _context_lost_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, argument
40 if (pname == GL_SYNC_STATUS && bufSize >= 1)
H A Dpolygon.c212 _mesa_GetnPolygonStippleARB( GLsizei bufSize, GLubyte *dest ) argument
222 bufSize, dest, "glGetPolygonStipple");
H A Dcolortab.c85 GLsizei bufSize, GLvoid *data )
84 _mesa_GetnColorTableARB( GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data ) argument
H A Dhistogram.c39 GLenum type, GLsizei bufSize, GLvoid *values)
57 GLenum type, GLsizei bufSize, GLvoid *values)
38 _mesa_GetnMinmaxARB(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values) argument
56 _mesa_GetnHistogramARB(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values) argument
/external/python/cpython2/PC/
H A Dimport_nt.c43 size_t bufSize = sizeof(keyPrefix)-1 + local
51 moduleKey = alloca(bufSize);
52 PyOS_snprintf(moduleKey, bufSize,
/external/deqp/framework/delibs/dethread/unix/
H A DdeNamedSemaphoreUnix.c39 static void NamedSemaphore_getName (const NamedSemaphore* sem, char* buf, int bufSize) argument
41 deSprintf(buf, bufSize, "/desem-%d-%p", getpid(), (void*)sem);
/external/zlib/src/contrib/minizip/
H A Dcrypt.h92 int bufSize,
103 if (bufSize<RAND_HEAD_LEN)
90 crypthead(const char* passwd, unsigned char* buf, int bufSize, unsigned long* pkeys, const z_crc_t* pcrc_32_tab, unsigned long crcForCrypting) argument
/external/deqp/execserver/
H A DxsProtocol.cpp149 void Message::writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize) argument
151 XS_CHECK_MSG(bufSize >= MESSAGE_HEADER_SIZE, "Incomplete header");
/external/deqp/framework/delibs/deimage/
H A DdeTarga.c42 int bufSize; local
65 bufSize = stride;
66 buffer = deMalloc(bufSize);
87 fread(buffer, 1, bufSize, file);
/external/ltp/testcases/kernel/io/stress_cd/
H A Dstress_cd.c143 const int bufSize = 1024; local
155 buffer = malloc(sizeof(char) * bufSize);
160 n = read(fd, buffer, bufSize);
/external/lzma/CPP/7zip/Crypto/
H A D7zAes.cpp51 size_t bufSize = 8 + SaltSize + Password.Size(); local
52 CObjArray<Byte> buf(bufSize);
68 Sha256_Update(&sha, buf, bufSize);
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/
H A DRangeEncoder.java58 public RangeEncoder(int bufSize) { argument
59 buf = new byte[bufSize];

Completed in 571 milliseconds

12345