/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
D | VDUBuffer.java | 49 public int bufSize; field in VDUBuffer 372 int newBufSize = bufSize; in insertLine() 408 if (bufSize < maxBufSize) { in insertLine() 409 if (bufSize + n > maxBufSize) { in insertLine() 410 offset = n - (maxBufSize - bufSize); in insertLine() 470 System.err.println("bufSize=" + bufSize + ", maxBufSize=" + maxBufSize); in insertLine() 495 bufSize = newBufSize; in insertLine() 750 int copyStart = bufSize - amount < 0 ? 0 : bufSize - amount; in setBufferSize() 751 int copyCount = bufSize - amount < 0 ? bufSize : amount; in setBufferSize() 760 bufSize = copyCount; in setBufferSize() [all …]
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_bufmgr_slab.c | 110 pb_size bufSize; member 329 numBuffers = slab->bo->size / mgr->bufSize; in pb_slab_create() 346 buf->base.size = mgr->bufSize; in pb_slab_create() 351 buf->start = i* mgr->bufSize; in pb_slab_create() 383 assert(size <= mgr->bufSize); in pb_slab_manager_create_buffer() 384 if(size > mgr->bufSize) in pb_slab_manager_create_buffer() 391 assert(pb_check_alignment(desc->alignment, mgr->bufSize)); in pb_slab_manager_create_buffer() 392 if(!pb_check_alignment(desc->alignment, mgr->bufSize)) in pb_slab_manager_create_buffer() 455 pb_size bufSize, in pb_slab_manager_create() argument 470 mgr->bufSize = bufSize; in pb_slab_manager_create() [all …]
|
D | pb_bufmgr_pool.c | 61 pb_size bufSize; member 196 assert(size == pool->bufSize); in pool_bufmgr_create_buffer() 257 pb_size bufSize, in pool_bufmgr_create() argument 279 pool->bufSize = bufSize; in pool_bufmgr_create() 284 pool->buffer = provider->create_buffer(provider, numBufs*bufSize, desc); in pool_bufmgr_create() 303 pool_buf->base.size = bufSize; in pool_bufmgr_create() 306 pool_buf->start = i * bufSize; in pool_bufmgr_create()
|
/external/aac/libFDK/src/ |
D | FDK_bitbuffer.cpp | 118 UINT bufSize) { in FDK_CreateBitBuffer() argument 119 FDK_InitBitBuffer(*hBitBuf, pBuffer, bufSize, 0); in FDK_CreateBitBuffer() 121 FDKmemclear((*hBitBuf)->Buffer, bufSize * sizeof(UCHAR)); in FDK_CreateBitBuffer() 126 void FDK_InitBitBuffer(HANDLE_FDK_BITBUF hBitBuf, UCHAR *pBuffer, UINT bufSize, in FDK_InitBitBuffer() argument 134 hBitBuf->bufSize = bufSize; in FDK_InitBitBuffer() 135 hBitBuf->bufBits = (bufSize << 3); in FDK_InitBitBuffer() 138 FDK_ASSERT((bufSize > 0) && (bufSize <= MAX_BUFSIZE_BYTES)); in FDK_InitBitBuffer() 140 UINT x = 0, n = bufSize; in FDK_InitBitBuffer() 143 if (bufSize != ((UINT)1 << (x - 1))) { in FDK_InitBitBuffer() 164 UINT byteMask = hBitBuf->bufSize - 1; in FDK_get() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | objectlabel.c | 93 copy_label(const GLchar *src, GLchar *dst, GLsizei *length, GLsizei bufSize) in copy_label() argument 110 if (bufSize == 0) { in copy_label() 118 if (bufSize <= labelLen) in copy_label() 119 labelLen = bufSize - 1; in copy_label() 272 _mesa_GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, in _mesa_GetObjectLabel() argument 284 if (bufSize < 0) { in _mesa_GetObjectLabel() 286 bufSize); in _mesa_GetObjectLabel() 294 copy_label(*labelPtr, label, length, bufSize); in _mesa_GetObjectLabel() 325 _mesa_GetObjectPtrLabel(const void *ptr, GLsizei bufSize, GLsizei *length, in _mesa_GetObjectPtrLabel() argument 338 if (bufSize < 0) { in _mesa_GetObjectPtrLabel() [all …]
|
D | texgetimage.h | 59 GLsizei bufSize, GLvoid *pixels, 68 GLenum type, GLsizei bufSize, GLvoid *pixels ); 71 GLenum type, GLsizei bufSize, GLvoid *pixels); 77 GLenum format, GLenum type, GLsizei bufSize, 85 _mesa_GetnCompressedTexImageARB(GLenum target, GLint level, GLsizei bufSize, 89 _mesa_GetCompressedTextureImage(GLuint texture, GLint level, GLsizei bufSize, 97 GLsizei bufSize, void *pixels);
|
D | eval.c | 490 _mesa_GetnMapdvARB( GLenum target, GLenum query, GLsizei bufSize, GLdouble *v ) in _mesa_GetnMapdvARB() argument 522 if (bufSize < numBytes) in _mesa_GetnMapdvARB() 532 if (bufSize < numBytes) in _mesa_GetnMapdvARB() 538 if (bufSize < numBytes) in _mesa_GetnMapdvARB() 547 if (bufSize < numBytes) in _mesa_GetnMapdvARB() 554 if (bufSize < numBytes) in _mesa_GetnMapdvARB() 570 " but %d bytes are required)", bufSize, numBytes ); in _mesa_GetnMapdvARB() 580 _mesa_GetnMapfvARB( GLenum target, GLenum query, GLsizei bufSize, GLfloat *v ) in _mesa_GetnMapfvARB() argument 612 if (bufSize < numBytes) in _mesa_GetnMapfvARB() 622 if (bufSize < numBytes) in _mesa_GetnMapfvARB() [all …]
|
D | pixel.h | 50 _mesa_GetnPixelMapfvARB( GLenum map, GLsizei bufSize, GLfloat *values ); 54 _mesa_GetnPixelMapuivARB( GLenum map, GLsizei bufSize, GLuint *values ); 58 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values );
|
/external/deqp/framework/delibs/destream/ |
D | deIOStream.h | 52 typedef deStreamResult (*deIOStreamReadFunc) (deStreamData* stream, void* buf, deInt32 bufSize, de… 53 … (*deIOStreamWriteFunc) (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWrit… 77 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32… 78 DE_INLINE deStreamResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, d… 86 DE_INLINE deStreamResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, de… in deIOStream_write() argument 92 return stream->vfTable->writeFunc(stream->streamData, buf, bufSize, numWritten); in deIOStream_write() 95 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* … in deIOStream_read() argument 101 return stream->vfTable->readFunc(stream->streamData, buf, bufSize, numRead); in deIOStream_read()
|
D | deInStream.h | 38 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32*… 44 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32* … in deInStream_read() argument 46 return deIOStream_read(&(stream->ioStream), buf, bufSize, numWritten); in deInStream_read()
|
D | deRingbuffer.c | 113 static deStreamResult producerStream_write (deStreamData* stream, const void* buf, deInt32 bufSize,… in producerStream_write() argument 128 while (*written < bufSize) in producerStream_write() 140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write() 195 static deStreamResult consumerStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt3… in consumerStream_read() argument 204 while (*read < bufSize) in consumerStream_read() 237 …writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *… in consumerStream_read()
|
D | deOutStream.h | 38 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize,… 45 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, … in deOutStream_write() argument 47 return deIOStream_write(&(stream->ioStream), buf, bufSize, numWritten); in deOutStream_write()
|
/external/lzma/CPP/7zip/Common/ |
D | OutBuffer.cpp | 9 bool COutBuffer::Create(UInt32 bufSize) throw() in Create() argument 12 if (bufSize < kMinBlockSize) in Create() 13 bufSize = kMinBlockSize; in Create() 14 if (_buf != 0 && _bufSize == bufSize) in Create() 17 _bufSize = bufSize; in Create() 18 _buf = (Byte *)::MidAlloc(bufSize); in Create()
|
D | InBuffer.cpp | 20 bool CInBuffer::Create(size_t bufSize) throw() in Create() argument 23 if (bufSize < kMinBlockSize) in Create() 24 bufSize = kMinBlockSize; in Create() 25 if (_bufBase != 0 && _bufSize == bufSize) in Create() 28 _bufSize = bufSize; in Create() 29 _bufBase = (Byte *)::MidAlloc(bufSize); in Create()
|
/external/libxaac/test/ |
D | ixheaacd_fileifc.c | 84 int bufSize, unsigned int *length) { in FileWrapper_Read() argument 87 *length = fread(buffer, 1, bufSize, transport->inputFile); in FileWrapper_Read() 107 while ((int)*length < bufSize) in FileWrapper_Read() 132 min((int)(bufSize - *length), transport->avail_buffer); in FileWrapper_Read() 143 assert(*length <= (unsigned)bufSize); in FileWrapper_Read() 148 *length = fread(buffer, 1, bufSize, transport->inputFile); in FileWrapper_Read()
|
/external/mesa3d/src/glx/ |
D | indirect_glx.c | 346 int bufSize; in indirect_create_context() local 383 bufSize = (XMaxRequestSize(psc->dpy) * 4) - sz_xGLXRenderReq; in indirect_create_context() 384 gc->buf = malloc(bufSize); in indirect_create_context() 390 gc->bufSize = bufSize; in indirect_create_context() 405 gc->bufEnd = gc->buf + bufSize; in indirect_create_context() 414 gc->limit = gc->buf + bufSize - __GLX_BUFFER_LIMIT_SIZE; in indirect_create_context() 424 if (bufSize > __GLX_RENDER_CMD_SIZE_LIMIT) { in indirect_create_context() 425 bufSize = __GLX_RENDER_CMD_SIZE_LIMIT; in indirect_create_context() 427 if (bufSize > __GLX_MAX_RENDER_CMD_SIZE) { in indirect_create_context() 428 bufSize = __GLX_MAX_RENDER_CMD_SIZE; in indirect_create_context() [all …]
|
/external/deqp/framework/delibs/deutil/ |
D | deFile.c | 187 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) in deFile_read() argument 189 deInt64 numRead = read(file->fd, buf, (size_t)bufSize); in deFile_read() 197 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) in deFile_write() argument 199 deInt64 numWritten = write(file->fd, buf, (size_t)bufSize); in deFile_write() 365 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) in deFile_read() argument 367 DWORD bufSize32 = (DWORD)bufSize; in deFile_read() 372 DE_ASSERT((deInt64)bufSize32 == bufSize); in deFile_read() 382 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) in deFile_write() argument 384 DWORD bufSize32 = (DWORD)bufSize; in deFile_write() 389 DE_ASSERT((deInt64)bufSize32 == bufSize); in deFile_write()
|
/external/deqp/framework/delibs/decpp/ |
D | deSocket.hpp | 98 …Result send (const void* buf, size_t bufSize, size_t* numSent) { return deSocket_send(m_socket… in send() argument 99 …tResult receive (void* buf, size_t bufSize, size_t* numRecv) { return deSocket_receive(m_sock… in receive() argument
|
D | deRingBuffer.cpp | 41 int bufSize = rnd.getInt(1, 2048); in RingBuffer_selfTest() local 43 RingBuffer<int> buffer (bufSize); in RingBuffer_selfTest() 59 DE_TEST_ASSERT(buffer.getNumFree() == bufSize - (writePos-readPos)); in RingBuffer_selfTest()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cKHRDebugTests.cpp | 366 static const GLsizei bufSize = 32; in iterate() local 371 GLchar messageLog[bufSize]; in iterate() 539 static const GLsizei bufSize = 32; in iterate() local 541 GLchar label[bufSize]; in iterate() 552 …m_gl->getObjectLabel(GL_TEXTURE_BUFFER /* identifier */, texture_id /* name */, bufSize /* bufSize… in iterate() 561 m_gl->getObjectLabel(GL_TEXTURE /* identifier */, invalid_id /* name */, bufSize /* bufSize */, in iterate() 624 static const GLsizei bufSize = 32; in iterate() local 626 GLchar label[bufSize]; in iterate() 641 m_gl->getObjectPtrLabel(invalid_id /* name */, bufSize /* bufSize */, &length /* length */, in iterate() 721 static const GLsizei bufSize = 32; in iterate() local [all …]
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Shader.cpp | 102 void Shader::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLogOut) in getInfoLog() argument 106 if(bufSize > 0) in getInfoLog() 110 index = std::min(bufSize - 1, (GLsizei)infoLog.size()); in getInfoLog() 135 void Shader::getSource(GLsizei bufSize, GLsizei *length, char *source) in getSource() argument 139 if(bufSize > 0) in getSource() 143 index = std::min(bufSize - 1, (int)strlen(mSource)); in getSource()
|
/external/deqp/framework/delibs/deimage/ |
D | deTarga.c | 42 int bufSize; in deImage_loadTarga() local 65 bufSize = stride; in deImage_loadTarga() 66 buffer = deMalloc(bufSize); in deImage_loadTarga() 87 fread(buffer, 1, bufSize, file); in deImage_loadTarga()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Shader.cpp | 103 void Shader::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLogOut) in getInfoLog() argument 107 if(bufSize > 0) in getInfoLog() 111 index = std::min(bufSize - 1, (GLsizei)infoLog.size()); in getInfoLog() 136 void Shader::getSource(GLsizei bufSize, GLsizei *length, char *source) in getSource() argument 140 if(bufSize > 0) in getSource() 144 index = std::min(bufSize - 1, (int)strlen(mSource)); in getSource()
|
/external/python/cpython2/PC/ |
D | import_nt.c | 43 size_t bufSize = sizeof(keyPrefix)-1 + in PyWin_FindRegisteredModule() local 51 moduleKey = alloca(bufSize); in PyWin_FindRegisteredModule() 52 PyOS_snprintf(moduleKey, bufSize, in PyWin_FindRegisteredModule()
|
/external/aac/libFDK/include/ |
D | FDK_bitbuffer.h | 119 UINT bufSize; member 136 UINT bufSize); 139 UINT bufSize, UINT validBits);
|