Searched refs:tmpBuf (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/libXfont2/dist/src/util/
H A Dfontxlfd.c375 char tmpBuf[1024]; local in function:FontParseXLFDName
437 strlcpy(tmpBuf, ptr2, sizeof(tmpBuf));
438 ptr5 = tmpBuf + (ptr5 - ptr2);
439 ptr3 = tmpBuf + (ptr3 - ptr2);
440 ptr2 = tmpBuf;
505 snprintf(tmpBuf, sizeof(tmpBuf), "%*.*s", l, l, p);
509 tlen = strlen(tmpBuf);
510 snprintf(tmpBuf
[all...]
/xsrc/external/mit/libXfont/dist/src/util/
H A Dfontxlfd.c383 char tmpBuf[1024]; local in function:FontParseXLFDName
442 strcpy(tmpBuf, ptr2);
443 ptr5 = tmpBuf + (ptr5 - ptr2);
444 ptr3 = tmpBuf + (ptr3 - ptr2);
445 ptr2 = tmpBuf;
510 sprintf(tmpBuf, "%*.*s", l, l, p);
514 sprintf(tmpBuf + strlen(tmpBuf), "-%*.*s", l, l, p);
518 sprintf(tmpBuf + strlen(tmpBuf), "
[all...]
/xsrc/external/mit/xorg-server.old/dist/os/
H A Dlog.c330 char tmpBuf[1024]; local in function:LogVMessageVerb
373 snprintf(tmpBuf, sizeof(tmpBuf), "%s%s%s", s ? s : "",
376 LogVWrite(verb, tmpBuf, args);
446 char *tmpBuf; local in function:AuditPrefix
454 tmpBuf = malloc(len);
455 if (!tmpBuf)
457 snprintf(tmpBuf, len, AUDIT_PREFIX, autime, (unsigned long)getpid());
458 return tmpBuf;
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_memcpy.c524 char *tmpBuf, *endBuf; local in function:viaVidCopyInit
555 if (NULL != (tmpBuf = strstr(buf, "cpu MHz"))) {
556 if (NULL != (tmpBuf = strstr(tmpBuf, ":") + 1)) {
557 cpuFreq = strtod(tmpBuf, &endBuf);
558 if (endBuf == tmpBuf)
559 tmpBuf = NULL;
606 if (NULL == tmpBuf) {
/xsrc/external/mit/xorg-server/dist/hw/xfree86/loader/
H A Dloadmod.c270 char *ret = NULL, tmpBuf[PATH_MAX]; local in function:FindModuleInSubdir
280 snprintf(tmpBuf, PATH_MAX, "%s%s/", dirpath, direntry->d_name);
284 if ((stat(tmpBuf, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode)) {
285 if ((ret = FindModuleInSubdir(tmpBuf, module)))
291 snprintf(tmpBuf, PATH_MAX, "cyg%s.dll", module);
293 snprintf(tmpBuf, PATH_MAX, "lib%s.so", module);
295 if (strcmp(direntry->d_name, tmpBuf) == 0) {
296 if (asprintf(&ret, "%s%s", dirpath, tmpBuf) == -1)
302 snprintf(tmpBuf, PATH_MAX, "%s_drv.dll", module);
304 snprintf(tmpBuf, PATH_MA
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/
H A Dloadmod.c387 char *ret = NULL, tmpBuf[PATH_MAX]; local in function:FindModuleInSubdir
397 snprintf(tmpBuf, PATH_MAX, "%s%s/", dirpath, direntry->d_name);
401 if ((stat(tmpBuf, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode)) {
402 if ((ret = FindModuleInSubdir(tmpBuf, module)))
407 snprintf(tmpBuf, PATH_MAX, "lib%s.so", module);
408 if (strcmp(direntry->d_name, tmpBuf) == 0) {
409 if (asprintf(&ret, "%s%s", dirpath, tmpBuf) == -1)
414 snprintf(tmpBuf, PATH_MAX, "%s_drv.so", module);
415 if (strcmp(direntry->d_name, tmpBuf) == 0) {
416 if (asprintf(&ret, "%s%s", dirpath, tmpBuf)
[all...]
/xsrc/external/mit/libXvMC/dist/src/
H A DXvMC.c553 char *tmpBuf = NULL; local in function:XvMCGetDRInfo
560 tmpBuf = Xmalloc(realSize);
566 if (*name && *busID && tmpBuf) {
567 _XRead(dpy, tmpBuf, (long) realSize);
568 strncpy(*name, tmpBuf, rep.nameLen);
570 strncpy(*busID, tmpBuf + rep.nameLen, rep.busIDLen);
572 XFree(tmpBuf);
579 XFree(tmpBuf);
/xsrc/external/mit/xorg-server/dist/os/
H A Dlog.c908 char *tmpBuf; local in function:AuditPrefix
916 tmpBuf = malloc(len);
917 if (!tmpBuf)
919 snprintf(tmpBuf, len, AUDIT_PREFIX, autime, (unsigned long) getpid());
920 return tmpBuf;

Completed in 9 milliseconds