/external/mesa3d/src/mesa/main/ |
H A D | objectlabel.c | 93 copy_label(const GLchar *src, GLchar *dst, GLsizei *length, GLsizei bufSize) argument 100 * terminator, is specified by <bufSize>. If no debug label was specified 110 if (bufSize == 0) { 118 if (bufSize <= labelLen) 119 labelLen = bufSize - 1; 272 _mesa_GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, argument 284 if (bufSize < 0) { 285 _mesa_error(ctx, GL_INVALID_VALUE, "%s(bufSize = %d)", callerstr, 286 bufSize); 294 copy_label(*labelPtr, label, length, bufSize); 325 _mesa_GetObjectPtrLabel(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label) argument [all...] |
H A D | pixel.c | 169 " bufSize (%d) is too small)", clientMemSize); 328 _mesa_GetnPixelMapfvARB( GLenum map, GLsizei bufSize, GLfloat *values ) argument 343 GL_FLOAT, bufSize, values)) { 377 _mesa_GetnPixelMapuivARB( GLenum map, GLsizei bufSize, GLuint *values ) argument 392 GL_UNSIGNED_INT, bufSize, values)) { 426 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values ) argument 441 GL_UNSIGNED_SHORT, bufSize, values)) {
|
H A D | program_resource.c | 333 GLuint index, GLsizei bufSize, GLsizei *length, 341 bufSize, length, name); 359 _mesa_get_program_resource_name(shProg, programInterface, index, bufSize, 366 const GLenum *props, GLsizei bufSize, 374 propCount, props, bufSize, length, params); 393 propCount, props, bufSize, length, params); 332 _mesa_GetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) argument 364 _mesa_GetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params) argument
|
H A D | syncobj.c | 381 _mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, argument 430 * "An INVALID_VALUE error is generated if bufSize is negative." 432 if (bufSize < 0) { 436 if (size > 0 && bufSize > 0) { 437 const GLsizei copy_count = MIN2(size, bufSize);
|
H A D | vdpau.c | 274 _mesa_VDPAUGetSurfaceivNV(GLintptr surface, GLenum pname, GLsizei bufSize, argument 295 if (bufSize < 1) {
|
H A D | formatquery.c | 63 GLenum pname, GLsizei bufSize, GLint *params) 242 * "If the <bufSize> parameter to GetInternalformativ is negative, then 247 if (bufSize < 0) { 824 GLsizei bufSize, GLint *params) 840 if (!_legal_parameters(ctx, target, internalformat, pname, bufSize, params)) 844 memcpy(buffer, params, MIN2(bufSize, 16) * sizeof(GLint)); 1527 if (bufSize != 0 && params == NULL) { 1532 "glGetInternalformativ(bufSize = %d, but params = NULL)", 1533 bufSize); 1540 memcpy(params, buffer, MIN2(bufSize, 1 62 _legal_parameters(struct gl_context *ctx, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params) argument 823 _mesa_GetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params) argument 1546 _mesa_GetInternalformati64v(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params) argument [all...] |
H A D | pipelineobj.c | 976 _mesa_GetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, argument 983 pipeline, bufSize, length, infoLog); 993 if (bufSize < 0) { 995 "glGetProgramPipelineInfoLog(bufSize)"); 999 _mesa_copy_string(infoLog, bufSize, length, pipe->InfoLog);
|
H A D | eval.c | 490 _mesa_GetnMapdvARB( GLenum target, GLenum query, GLsizei bufSize, GLdouble *v ) argument 522 if (bufSize < numBytes) 532 if (bufSize < numBytes) 538 if (bufSize < numBytes) 547 if (bufSize < numBytes) 554 if (bufSize < numBytes) 569 "glGetnMapdvARB(out of bounds: bufSize is %d," 570 " but %d bytes are required)", bufSize, numBytes ); 580 _mesa_GetnMapfvARB( GLenum target, GLenum query, GLsizei bufSize, GLfloat *v ) argument 612 if (bufSize < numByte 672 _mesa_GetnMapivARB( GLenum target, GLenum query, GLsizei bufSize, GLint *v ) argument [all...] |
H A D | uniform_query.cpp | 279 GLsizei bufSize, enum glsl_base_type returnType, 339 if (bufSize < 0 || bytes > (unsigned) bufSize) { 341 "glGetnUniform*vARB(out of bounds: bufSize is %d," 342 " but %u bytes are required)", bufSize, bytes ); 278 _mesa_get_uniform(struct gl_context *ctx, GLuint program, GLint location, GLsizei bufSize, enum glsl_base_type returnType, GLvoid *paramsOut) argument
|
/external/aac/libFDK/include/ |
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/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/deqp/framework/delibs/destream/ |
H A D | deIOStream.h | 52 typedef deStreamResult (*deIOStreamReadFunc) (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead); 53 typedef deStreamResult (*deIOStreamWriteFunc) (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWritten); 77 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead); 78 DE_INLINE deStreamResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritten); 86 DE_INLINE deStreamResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritten) argument 92 return stream->vfTable->writeFunc(stream->streamData, buf, bufSize, numWritten); 95 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead) argument 101 return stream->vfTable->readFunc(stream->streamData, buf, bufSize, numRead);
|
/external/deqp/framework/delibs/deutil/ |
H A D | deFile.c | 187 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) argument 189 deInt64 numRead = read(file->fd, buf, (size_t)bufSize); 197 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) argument 199 deInt64 numWritten = write(file->fd, buf, (size_t)bufSize); 365 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) argument 367 DWORD bufSize32 = (DWORD)bufSize; 372 DE_ASSERT((deInt64)bufSize32 == bufSize); 382 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) argument 384 DWORD bufSize32 = (DWORD)bufSize; 389 DE_ASSERT((deInt64)bufSize32 == bufSize); [all...] |
/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];
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_bufmgr_pool.c | 61 pb_size bufSize; member in struct:pool_pb_manager 196 assert(size == pool->bufSize); 257 pb_size bufSize, 279 pool->bufSize = bufSize; 284 pool->buffer = provider->create_buffer(provider, numBufs*bufSize, desc); 303 pool_buf->base.size = bufSize; 306 pool_buf->start = i * bufSize; 255 pool_bufmgr_create(struct pb_manager *provider, pb_size numBufs, pb_size bufSize, const struct pb_desc *desc) argument
|
H A D | pb_bufmgr_slab.c | 110 pb_size bufSize; member in struct:pb_slab_manager 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 454 pb_slab_manager_create(struct pb_manager *provider, pb_size bufSize, pb_size slabSize, const struct pb_desc *desc) argument 488 pb_size bufSize; local 542 pb_size bufSize; local [all...] |
/external/mesa3d/src/glx/ |
H A D | indirect_glx.c | 346 int bufSize; local 383 bufSize = (XMaxRequestSize(psc->dpy) * 4) - sz_xGLXRenderReq; 384 gc->buf = malloc(bufSize); 390 gc->bufSize = bufSize; 405 gc->bufEnd = gc->buf + bufSize; 414 gc->limit = gc->buf + bufSize - __GLX_BUFFER_LIMIT_SIZE; 424 if (bufSize > __GLX_RENDER_CMD_SIZE_LIMIT) { 425 bufSize = __GLX_RENDER_CMD_SIZE_LIMIT; 427 if (bufSize > __GLX_MAX_RENDER_CMD_SIZ [all...] |
/external/skia/fuzz/ |
H A D | FuzzDrawFunctions.cpp | 24 static void init_string(Fuzz* fuzz, char* str, size_t bufSize) { argument 25 for (size_t i = 0; i < bufSize-1; ++i) { 28 str[bufSize-1] = '\0';
|
/external/swiftshader/src/OpenGL/libGL/ |
H A D | Shader.cpp | 102 void Shader::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLogOut) argument 106 if(bufSize > 0) 110 index = std::min(bufSize - 1, (GLsizei)infoLog.size()); 135 void Shader::getSource(GLsizei bufSize, GLsizei *length, char *source) argument 139 if(bufSize > 0) 143 index = std::min(bufSize - 1, (int)strlen(mSource));
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Shader.cpp | 103 void Shader::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLogOut) argument 107 if(bufSize > 0) 111 index = std::min(bufSize - 1, (GLsizei)infoLog.size()); 136 void Shader::getSource(GLsizei bufSize, GLsizei *length, char *source) argument 140 if(bufSize > 0) 144 index = std::min(bufSize - 1, (int)strlen(mSource));
|
/external/icu/icu4c/source/samples/ucnv/ |
H A D | convsamp.cpp | 991 int32_t bufSize = 0; local 1015 bufSize = (BUFFERSIZE*ucnv_getMaxCharSize(conv)); 1017 BUFFERSIZE, ucnv_getMaxCharSize(conv), bufSize); 1018 buf = (char*)malloc(bufSize * sizeof(char)); 1034 targetLimit = buf + bufSize;
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
H A D | TJ.java | 405 public static native int bufSize(int width, int height, int jpegSubsamp); method in class:TJ
|
/external/mdnsresponder/mDNSPosix/ |
H A D | Responder.c | 472 static mDNSBool ReadALine(char *buf, size_t bufSize, FILE *fp, mDNSBool skipBlankLines) argument 480 if (fgets(buf, bufSize, fp) == NULL)
|
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
H A D | VDUBuffer.java | 49 public int bufSize; field in class:VDUBuffer 372 int newBufSize = bufSize; 408 if (bufSize < maxBufSize) { 409 if (bufSize + n > maxBufSize) { 410 offset = n - (maxBufSize - bufSize); 470 System.err.println("bufSize=" + bufSize + ", maxBufSize=" + maxBufSize); 495 bufSize = newBufSize; 750 int copyStart = bufSize - amount < 0 ? 0 : bufSize [all...] |