| /xsrc/external/mit/xorg-server/dist/hw/xquartz/mach-startup/ |
| bundle_trampoline.c | 54 uint32_t bufsize = PATH_MAX; local 55 char *buf = calloc(1, bufsize); 57 if (_NSGetExecutablePath(buf, &bufsize) == -1) { 59 buf = calloc(1, bufsize); 60 assert(_NSGetExecutablePath(buf, &bufsize) == 0);
|
| /xsrc/external/mit/makedepend/dist/ |
| pr.c | 68 * Replaces all ":" occurrences in @p input with "\:" using @p outputbuffer (of size @p bufsize) 72 quoteColons(const char *input, char *outputbuffer, size_t bufsize) 84 while (loc != NULL && bufsize > loc - tmp + 2) { 87 bufsize -= loc - tmp + 2; 96 if (strlen(tmp) <= bufsize) 99 strncpy(output, tmp, bufsize - 1); 100 output[bufsize] = 0;
|
| /xsrc/external/mit/MesaLib/dist/src/glx/ |
| renderpix.c | 166 const GLint bufsize = image1len + image2len; local 180 buf = malloc(bufsize); 193 bufsize);
|
| /xsrc/external/mit/MesaLib.old/dist/src/glx/ |
| renderpix.c | 167 const GLint bufsize = image1len + image2len; local 181 buf = malloc(bufsize); 194 bufsize);
|
| /xsrc/external/mit/xfs/dist/difs/ |
| swaprep.c | 98 int bufsize = size; local 106 while (!(pbufT = (long *) ALLOCATE_LOCAL(bufsize))) { 107 bufsize >>= 1; 108 if (bufsize == 4) { 115 bufsize >>= 2; 123 toLast = to + min(bufsize, fromLast - from); 147 int bufsize = size; local 156 while (!(pbufT = (short *) ALLOCATE_LOCAL(bufsize))) { 157 bufsize >>= 1; 158 if (bufsize == 4) [all...] |
| /xsrc/external/mit/mkfontscale/dist/ |
| ident.c | 395 size_t bufsize = 0; local 406 if (bufsize < i + 1) { 409 if (bufsize == 0) { 410 bufsize = 20; 411 newbuf = malloc(bufsize); 414 bufsize = 2 * bufsize; 415 newbuf = realloc(buf, bufsize);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| ac_llvm_helper.cpp | 156 size_t bufsize; member in struct:raw_memory_ostream 162 bufsize = 0; 182 bufsize = 0; 191 if (written + size > bufsize) { 192 bufsize = MAX3(1024, written + size, bufsize / 3 * 4); 193 buffer = (char *)realloc(buffer, bufsize);
|
| ac_llvm_build.c | 325 void ac_build_type_name_for_intr(LLVMTypeRef type, char *buf, unsigned bufsize) 331 int ret = snprintf(buf, bufsize, "sl_"); 333 bufsize -= ret; 339 ac_build_type_name_for_intr(elems[i], buf, bufsize); 342 bufsize -= ret; 345 snprintf(buf, bufsize, "s"); 349 assert(bufsize >= 8); 351 int ret = snprintf(buf, bufsize, "v%u", LLVMGetVectorSize(type)); 360 bufsize -= ret; 366 snprintf(buf, bufsize, "i%d", LLVMGetIntTypeWidth(elem_type)) [all...] |
| ac_llvm_build.h | 172 void ac_build_type_name_for_intr(LLVMTypeRef type, char *buf, unsigned bufsize);
|
| /xsrc/external/mit/freetype/dist/builds/amiga/src/base/ |
| ftsystem.c | 359 ULONG bufsize; local 361 bufsize = ( read_bytes > IOBUF_SIZE ) ? IOBUF_SIZE : read_bytes; 363 sysfile->iobuf_start = sysfile->iobuf_end - bufsize; 364 CopyMem( &buffer[read_bytes - bufsize] , sysfile->iobuf, bufsize );
|
| /xsrc/external/mit/libX11/dist/src/xlibi18n/ |
| lcDB.c | 55 #ifndef BUFSIZE 56 #define BUFSIZE 2048 60 #ifdef BUFSIZE 61 #undef BUFSIZE 63 #define BUFSIZE 6144 /* 2048*3 */ 154 int bufsize; /* bufMaxSize >= bufsize >= 0 */ member in struct:__anon5701 155 int bufMaxSize; /* default : BUFSIZE */ 169 parse_info.buf = Xmalloc(BUFSIZE); 170 parse_info.bufMaxSize = BUFSIZE; [all...] |
| /xsrc/external/mit/libxkbfile/dist/src/ |
| xkbtext.c | 314 const int bufsize = 32; local 316 buf = tbGetBuffer(bufsize); 350 snprintf(buf, bufsize, "unknown(%d)", config); 446 int len, bufsize; local 464 bufsize = len + 1; 465 buf = tbGetBuffer(bufsize); 473 snprintf(&buf[len], bufsize - len, 480 snprintf(&buf[len], bufsize - len, 494 const int bufsize = 32; local 496 buf = tbGetBuffer(bufsize); 753 const int bufsize = 12; local 784 const int bufsize = 24; local 800 const int bufsize = 12; local [all...] |
| /xsrc/external/mit/xorg-server/dist/xkb/ |
| xkbtext.c | 317 const int bufsize = 32; local 319 buf = tbGetBuffer(bufsize); 353 snprintf(buf, bufsize, "unknown(%d)", config); 452 int len, bufsize; local 470 bufsize = len + 1; 471 buf = tbGetBuffer(bufsize); 479 snprintf(&buf[len], bufsize - len, 486 snprintf(&buf[len], bufsize - len, "%s", imWhichNames[i]); 633 const int bufsize = 13; local 635 buf = tbGetBuffer(bufsize); 664 const int bufsize = 24; local 680 const int bufsize = 12; local [all...] |
| /xsrc/external/mit/xsm/dist/ |
| saveutil.c | 210 int bufsize = 0; 227 bufsize += (strlen (buf) + 1); 230 strbuf = malloc (bufsize + 1); 208 int bufsize = 0; local
|
| /xsrc/external/mit/xorg-server/dist/dix/ |
| swaprep.c | 95 int bufsize = size; local 100 assert((bufsize % sizeof(CARD32)) == 0); 103 while (!(pbufT = malloc(bufsize))) { 104 bufsize >>= 1; 105 if (bufsize == 4) { 113 bufsize >>= 2; 121 toLast = to + min(bufsize, fromLast - from); 144 int bufsize = size; local 149 assert((bufsize % sizeof(short)) == 0); 152 while (!(pbufT = malloc(bufsize))) { [all...] |
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| swaprep.c | 96 int bufsize = size; local 102 while (!(pbufT = malloc(bufsize))) 104 bufsize >>= 1; 105 if (bufsize == 4) 114 bufsize >>= 2; 121 toLast = to + min (bufsize, fromLast - from); 144 int bufsize = size; local 150 while (!(pbufT = malloc(bufsize))) 152 bufsize >>= 1; 153 if (bufsize == 4 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| shaderapi.h | 225 _mesa_GetProgramInfoLog(GLuint program, GLsizei bufSize, 232 _mesa_GetShaderInfoLog(GLuint shader, GLsizei bufSize, 248 _mesa_GetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, 302 GLsizei bufSize, GLsizei *length, 325 GLsizei bufSize, GLsizei *length, 357 GLuint index, GLsizei bufsize, 362 GLuint index, GLsizei bufsize,
|
| shaderapi.c | 996 get_program_info_log(struct gl_context *ctx, GLuint program, GLsizei bufSize, 1007 if (bufSize < 0) { 1008 _mesa_error(ctx, GL_INVALID_VALUE, "glGetProgramInfoLog(bufSize < 0)"); 1018 _mesa_copy_string(infoLog, bufSize, length, shProg->data->InfoLog); 1023 get_shader_info_log(struct gl_context *ctx, GLuint shader, GLsizei bufSize, 1034 if (bufSize < 0) { 1035 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderInfoLog(bufSize < 0)"); 1044 _mesa_copy_string(infoLog, bufSize, length, sh->InfoLog); 1058 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderSource(bufSize < 0)"); 1733 _mesa_GetProgramInfoLog(GLuint program, GLsizei bufSize, [all...] |
| /xsrc/external/mit/xf86-video-intel-old/dist/src/ |
| i915_hwmc.c | 540 unsigned long bufsize; local 585 bufsize = SIZE_YUV420(ctx->width, ctx->height); 588 &(sfpriv->surface), bufsize, 637 unsigned int bufsize; local 676 bufsize = SIZE_XX44(ctx->width, ctx->height); 679 &(sfpriv->surface), bufsize,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| shaderapi.h | 226 _mesa_GetProgramInfoLog(GLuint program, GLsizei bufSize, 233 _mesa_GetShaderInfoLog(GLuint shader, GLsizei bufSize, 249 _mesa_GetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, 309 GLsizei bufSize, GLsizei *length, 334 GLsizei bufSize, GLsizei *length, 374 GLuint index, GLsizei bufsize, 379 GLuint index, GLsizei bufsize, 409 _mesa_GetNamedStringARB(GLint namelen, const GLchar *name, GLsizei bufSize,
|
| shaderapi.c | 1091 get_program_info_log(struct gl_context *ctx, GLuint program, GLsizei bufSize, 1102 if (bufSize < 0) { 1103 _mesa_error(ctx, GL_INVALID_VALUE, "glGetProgramInfoLog(bufSize < 0)"); 1113 _mesa_copy_string(infoLog, bufSize, length, shProg->data->InfoLog); 1118 get_shader_info_log(struct gl_context *ctx, GLuint shader, GLsizei bufSize, 1129 if (bufSize < 0) { 1130 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderInfoLog(bufSize < 0)"); 1139 _mesa_copy_string(infoLog, bufSize, length, sh->InfoLog); 1153 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderSource(bufSize < 0)"); 1881 _mesa_GetProgramInfoLog(GLuint program, GLsizei bufSize, [all...] |
| /xsrc/external/mit/libxcb/dist/src/ |
| xcb_in.c | 176 uint64_t bufsize; local 262 bufsize = length + eventlength + nfd * sizeof(int) + 264 if (bufsize < INT32_MAX) 265 buf = malloc((size_t) bufsize);
|
| /xsrc/external/mit/xset/dist/ |
| xset.c | 138 char buf[], size_t bufsize); 1239 int offval, const char *offstr, char buf[], size_t bufsize) 1247 snprintf(buf, bufsize, "<%d>", val);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| ac_llvm_build.h | 142 void ac_build_type_name_for_intr(LLVMTypeRef type, char *buf, unsigned bufsize);
|
| ac_llvm_build.c | 333 void ac_build_type_name_for_intr(LLVMTypeRef type, char *buf, unsigned bufsize) 337 assert(bufsize >= 8); 340 int ret = snprintf(buf, bufsize, "v%u", 350 bufsize -= ret; 355 snprintf(buf, bufsize, "i%d", LLVMGetIntTypeWidth(elem_type)); 358 snprintf(buf, bufsize, "f16"); 361 snprintf(buf, bufsize, "f32"); 364 snprintf(buf, bufsize, "f64");
|