buf 664 global/global.c static char buf[MAXPATHLEN]; buf 666 global/global.c if (realpath(context_file, buf) == NULL) buf 668 global/global.c context_file = buf; buf 719 global/global.c static char buf[MAXPATHLEN]; buf 721 global/global.c if (realpath(file_list, buf) == NULL) buf 723 global/global.c file_list = buf; buf 1231 global/global.c static char buf[MAXPATHLEN]; buf 1233 global/global.c if (normalize(path, get_root_with_slash(), cwd, buf, sizeof(buf)) == NULL) { buf 1237 global/global.c if (test("d", buf)) { buf 1241 global/global.c if (!test("f", buf)) { buf 1245 global/global.c path = buf; buf 117 global/literal.c char *buf; buf 134 global/literal.c buf = mmap(0, stb.st_size, PROT_READ, MAP_SHARED, f, 0); buf 135 global/literal.c if (buf == MAP_FAILED) buf 142 global/literal.c buf = MapViewOfFile(hMap, FILE_MAP_READ, 0, 0, 0); buf 143 global/literal.c if (buf == NULL) buf 147 global/literal.c buf = (char *)alloca(stb.st_size); buf 149 global/literal.c buf = (char *)malloc(stb.st_size); buf 151 global/literal.c if (buf == NULL) buf 153 global/literal.c if (read(f, buf, stb.st_size) < stb.st_size) buf 156 global/literal.c linep = p = buf; buf 222 global/literal.c munmap(buf, stb.st_size); buf 224 global/literal.c UnmapViewOfFile(buf); buf 229 global/literal.c free(buf); buf 398 gozilla/gozilla.c char buf[MAXPATHLEN]; buf 403 gozilla/gozilla.c p = normalize(file, get_root_with_slash(), cwd, buf, sizeof(buf)); buf 407 gozilla/gozilla.c makefileurl(realpath(file, buf), 0, URL); buf 690 gtags-cscope/display.c static char buf[PATHLEN + 1]; buf 694 gtags-cscope/display.c (void) strcpy(buf,file); buf 695 gtags-cscope/display.c s = buf; buf 176 gtags-cscope/global-cscope.h # define lstat(file,buf) stat(file,buf) buf 417 gtags-cscope/gtags-cscope.c char buf[MAXPATHLEN]; buf 427 gtags-cscope/gtags-cscope.c set_env("GTAGSROOT", getcwd(buf, sizeof(buf))); buf 428 gtags-cscope/gtags-cscope.c set_env("GTAGSDBPATH", getcwd(buf, sizeof(buf))); buf 452 gtags-cscope/gtags-cscope.c char buf[PATLEN + 2]; buf 456 gtags-cscope/gtags-cscope.c if (fgets(buf, sizeof(buf), stdin) == NULL) { buf 460 gtags-cscope/gtags-cscope.c if (*(s = buf + strlen(buf) - 1) == '\n') { buf 463 gtags-cscope/gtags-cscope.c switch (*buf) { buf 473 gtags-cscope/gtags-cscope.c field = *buf - '0'; buf 474 gtags-cscope/gtags-cscope.c strcpy(Pattern, buf + 1); buf 513 gtags-cscope/gtags-cscope.c fprintf(stderr, "gtags-cscope: unknown command '%s'\n", buf); buf 696 htags/asm.c #define YY_INPUT(buf,result,max_size) \ buf 703 htags/asm.c buf[n] = (char) c; \ buf 705 htags/asm.c buf[n++] = (char) c; \ buf 713 htags/asm.c while ( (result = fread(buf, 1, max_size, asm_in))==0 && ferror(asm_in)) \ buf 1835 htags/asm.c char *buf; buf 1841 htags/asm.c buf = (char *) asm_alloc(n ); buf 1842 htags/asm.c if ( ! buf ) buf 1846 htags/asm.c buf[i] = yybytes[i]; buf 1848 htags/asm.c buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; buf 1850 htags/asm.c b = asm__scan_buffer(buf,n ); buf 732 htags/c.c #define YY_INPUT(buf,result,max_size) \ buf 739 htags/c.c buf[n] = (char) c; \ buf 741 htags/c.c buf[n++] = (char) c; \ buf 749 htags/c.c while ( (result = fread(buf, 1, max_size, c_in))==0 && ferror(c_in)) \ buf 1968 htags/c.c char *buf; buf 1974 htags/c.c buf = (char *) c_alloc(n ); buf 1975 htags/c.c if ( ! buf ) buf 1979 htags/c.c buf[i] = yybytes[i]; buf 1981 htags/c.c buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; buf 1983 htags/c.c b = c__scan_buffer(buf,n ); buf 450 htags/common.c static char buf[32]; buf 452 htags/common.c snprintf(buf, sizeof(buf), "L%d", number); buf 453 htags/common.c return gen_name_string(buf); buf 696 htags/cpp.c #define YY_INPUT(buf,result,max_size) \ buf 703 htags/cpp.c buf[n] = (char) c; \ buf 705 htags/cpp.c buf[n++] = (char) c; \ buf 713 htags/cpp.c while ( (result = fread(buf, 1, max_size, cpp_in))==0 && ferror(cpp_in)) \ buf 1833 htags/cpp.c char *buf; buf 1839 htags/cpp.c buf = (char *) cpp_alloc(n ); buf 1840 htags/cpp.c if ( ! buf ) buf 1844 htags/cpp.c buf[i] = yybytes[i]; buf 1846 htags/cpp.c buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; buf 1848 htags/cpp.c b = cpp__scan_buffer(buf,n ); buf 61 htags/defineindex.c char command[1024], buf[1024], alpha[32], alpha_f[32], *_; buf 172 htags/defineindex.c snprintf(buf, sizeof(buf), "%s/defines/%s.%s", distpath, alpha_f, HTML); buf 173 htags/defineindex.c fileop_ALPHA = open_output_file(buf, cflag); buf 175 htags/defineindex.c snprintf(buf, sizeof(buf), "[%s]", alpha); buf 176 htags/defineindex.c fputs_nl(gen_page_begin(buf, SUBDIR), ALPHA); buf 95 htags/fileindex.c static char buf[MAXBUFLEN]; buf 158 htags/fileindex.c q = buf; buf 163 htags/fileindex.c q = locatestring(buf, "/", MATCH_LAST); buf 167 htags/fileindex.c q = buf; buf 825 htags/fileindex.c char buf[MAXBUFLEN]; buf 846 htags/fileindex.c char *q = buf; buf 856 htags/fileindex.c put_included(inc, buf); buf 902 htags/fileindex.c char buf[1024]; buf 908 htags/fileindex.c snprintf(buf, sizeof(buf), "%s %s", ptable.part[PART_LNO].start, decode_path(ptable.part[PART_PATH].start)); buf 911 htags/fileindex.c strbuf_puts(inc->ref_contents, buf); buf 1003 htags/htags.c char buf[8192]; buf 1014 htags/htags.c while ((size = read(ip, buf, sizeof(buf))) != 0) { buf 1017 htags/htags.c if (write(op, buf, size) != size) buf 1037 htags/htags.c char buf[MAXFILLEN]; buf 1047 htags/htags.c snprintf(buf, sizeof(buf), "Powered by GLOBAL-%s.", get_version()); buf 1049 htags/htags.c strbuf_puts(sb, gen_image(CURRENT, "pglobe", buf)); buf 1110 htags/htags.c snprintf(buf, sizeof(buf), PQUOTE "%s --result=ctags-xid --encode-path=\" \t\" --nofilter=path %s" PQUOTE, quote_shell(global_path), main_func); buf 1111 htags/htags.c ip = popen(buf, "r"); buf 1113 htags/htags.c die("cannot execute command '%s'.", buf); buf 1123 htags/htags.c die("cannot execute command '%s'.", buf); buf 1966 htags/htags.c char buf[MAXPATHLEN]; buf 1967 htags/htags.c if (realpath(dbpath, buf) == NULL) buf 1969 htags/htags.c strlimcpy(dbpath, buf, sizeof(dbpath)); buf 673 htags/java.c #define YY_INPUT(buf,result,max_size) \ buf 680 htags/java.c buf[n] = (char) c; \ buf 682 htags/java.c buf[n++] = (char) c; \ buf 690 htags/java.c while ( (result = fread(buf, 1, max_size, java_in))==0 && ferror(java_in)) \ buf 1736 htags/java.c char *buf; buf 1742 htags/java.c buf = (char *) java_alloc(n ); buf 1743 htags/java.c if ( ! buf ) buf 1747 htags/java.c buf[i] = yybytes[i]; buf 1749 htags/java.c buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; buf 1751 htags/java.c b = java__scan_buffer(buf,n ); buf 75 htags/lexcommon.h #define YY_INPUT(buf, result, max_size) do { \ buf 76 htags/lexcommon.h result = read_file_detabing(buf, max_size, LEXIN, \ buf 774 htags/php.c #define YY_INPUT(buf,result,max_size) \ buf 781 htags/php.c buf[n] = (char) c; \ buf 783 htags/php.c buf[n++] = (char) c; \ buf 791 htags/php.c while ( (result = fread(buf, 1, max_size, php_in))==0 && ferror(php_in)) \ buf 1156 htags/php.c char buf[IDENTLEN]; buf 1160 htags/php.c buf[i++] = *p; buf 1161 htags/php.c if (i >= sizeof(buf)) buf 1164 htags/php.c buf[i] = '\0'; buf 1165 htags/php.c p = buf; buf 2011 htags/php.c char *buf; buf 2017 htags/php.c buf = (char *) php_alloc(n ); buf 2018 htags/php.c if ( ! buf ) buf 2022 htags/php.c buf[i] = yybytes[i]; buf 2024 htags/php.c buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; buf 2026 htags/php.c b = php__scan_buffer(buf,n ); buf 201 htags/src2html.c char buf[MAXBUFLEN], *limit, *p; buf 204 htags/src2html.c strlimcpy(buf, path, sizeof(buf)); buf 205 htags/src2html.c for (p = buf; *p; p++) buf 212 htags/src2html.c for (p = buf; p < limit; p += strlen(p) + 1) { buf 213 htags/src2html.c const char *path = buf; buf 221 htags/src2html.c if (p > buf) buf 83 libdb/bt_overflow.c __ovfl_get(t, p, ssz, buf, bufsz) buf 87 libdb/bt_overflow.c void **buf; buf 105 libdb/bt_overflow.c *buf = (char *)(*buf == NULL ? malloc(sz) : realloc(*buf, sz)); buf 106 libdb/bt_overflow.c if (*buf == NULL) buf 116 libdb/bt_overflow.c for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { buf 229 libdb/compat.h #define getcwd(buf, max) getwd (buf) buf 572 libglibc/getopt.c char *buf; buf 574 libglibc/getopt.c if (__asprintf (&buf, _("%s: option '%s' is ambiguous\n"), buf 582 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 587 libglibc/getopt.c free (buf); buf 615 libglibc/getopt.c char *buf; buf 623 libglibc/getopt.c n = __asprintf (&buf, _("\ buf 636 libglibc/getopt.c n = __asprintf (&buf, _("\ buf 657 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 662 libglibc/getopt.c free (buf); buf 682 libglibc/getopt.c char *buf; buf 684 libglibc/getopt.c if (__asprintf (&buf, _("\ buf 694 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 699 libglibc/getopt.c free (buf); buf 733 libglibc/getopt.c char *buf; buf 741 libglibc/getopt.c n = __asprintf (&buf, _("%s: unrecognized option '--%s'\n"), buf 752 libglibc/getopt.c n = __asprintf (&buf, _("%s: unrecognized option '%c%s'\n"), buf 768 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 773 libglibc/getopt.c free (buf); buf 799 libglibc/getopt.c char *buf; buf 804 libglibc/getopt.c n = __asprintf (&buf, _("%s: invalid option -- '%c'\n"), buf 818 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 823 libglibc/getopt.c free (buf); buf 854 libglibc/getopt.c char *buf; buf 856 libglibc/getopt.c if (__asprintf (&buf, buf 865 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 870 libglibc/getopt.c free (buf); buf 925 libglibc/getopt.c char *buf; buf 927 libglibc/getopt.c if (__asprintf (&buf, _("%s: option '-W %s' is ambiguous\n"), buf 935 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 940 libglibc/getopt.c free (buf); buf 965 libglibc/getopt.c char *buf; buf 967 libglibc/getopt.c if (__asprintf (&buf, _("\ buf 977 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 982 libglibc/getopt.c free (buf); buf 1004 libglibc/getopt.c char *buf; buf 1006 libglibc/getopt.c if (__asprintf (&buf, _("\ buf 1016 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 1021 libglibc/getopt.c free (buf); buf 1075 libglibc/getopt.c char *buf; buf 1077 libglibc/getopt.c if (__asprintf (&buf, _("\ buf 1086 libglibc/getopt.c __fxprintf (NULL, "%s", buf); buf 1091 libglibc/getopt.c free (buf); buf 49 libltdl/argz.c argz_append (char **pargz, size_t *pargz_len, const char *buf, size_t buf_len) buf 69 libltdl/argz.c memcpy (argz + *pargz_len, buf, buf_len); buf 51 libltdl/argz_.h const char *buf, size_t buf_len); buf 1768 libltdl/ltdl.c char *buf = 0; buf 1807 libltdl/ltdl.c buf = MALLOC (char, 1+ buf_len); buf 1808 libltdl/ltdl.c if (!buf) buf 1811 libltdl/ltdl.c assert (buf); buf 1813 libltdl/ltdl.c strcpy (buf, dirnam); buf 1814 libltdl/ltdl.c strcat (buf, "/"); buf 1815 libltdl/ltdl.c strncat (buf, dp->d_name, end_offset); buf 1816 libltdl/ltdl.c buf[buf_len] = LT_EOS_CHAR; buf 1819 libltdl/ltdl.c if (lt_argz_insertinorder (pargz, pargz_len, buf) != 0) buf 1822 libltdl/ltdl.c FREE (buf); buf 709 libparser/asm_scan.c #define YY_INPUT(buf, result, max_size) do { \ buf 710 libparser/asm_scan.c if ((result = linetable_read(buf, max_size)) == -1) \ buf 844 libparser/asm_scan.c #define YY_INPUT(buf,result,max_size) \ buf 851 libparser/asm_scan.c buf[n] = (char) c; \ buf 853 libparser/asm_scan.c buf[n++] = (char) c; \ buf 861 libparser/asm_scan.c while ( (result = fread(buf, 1, max_size, asm_in))==0 && ferror(asm_in)) \ buf 2067 libparser/asm_scan.c char *buf; buf 2073 libparser/asm_scan.c buf = (char *) asm_alloc(n ); buf 2074 libparser/asm_scan.c if ( ! buf ) buf 2078 libparser/asm_scan.c buf[i] = yybytes[i]; buf 2080 libparser/asm_scan.c buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; buf 2082 libparser/asm_scan.c b = asm__scan_buffer(buf,n ); buf 796 libparser/php.c #define YY_INPUT(buf,result,max_size) \ buf 798 libparser/php.c if ((result = linetable_read(buf, max_size)) == -1) \ buf 902 libparser/php.c #define YY_INPUT(buf,result,max_size) \ buf 909 libparser/php.c buf[n] = (char) c; \ buf 911 libparser/php.c buf[n++] = (char) c; \ buf 919 libparser/php.c while ( (result = fread(buf, 1, max_size, php_in))==0 && ferror(php_in)) \ buf 2121 libparser/php.c char *buf; buf 2127 libparser/php.c buf = (char *) php_alloc(n ); buf 2128 libparser/php.c if ( ! buf ) buf 2132 libparser/php.c buf[i] = yybytes[i]; buf 2134 libparser/php.c buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; buf 2136 libparser/php.c b = php__scan_buffer(buf,n ); buf 327 libutil/conf.c char buf[MAXPROPLEN]; buf 331 libutil/conf.c snprintf(buf, sizeof(buf), ":%s#", name); buf 332 libutil/conf.c if ((p = locatestring(confline, buf, MATCH_FIRST)) != NULL) { buf 333 libutil/conf.c p += strlen(buf); buf 351 libutil/conf.c char buf[MAXPROPLEN]; buf 359 libutil/conf.c snprintf(buf, sizeof(buf), ":%s=", name); buf 361 libutil/conf.c while ((p = locatestring(p, buf, MATCH_FIRST)) != NULL) { buf 365 libutil/conf.c for (p += strlen(buf); *p && *p != ':'; p++) { buf 419 libutil/conf.c char buf[MAXPROPLEN]; buf 423 libutil/conf.c snprintf(buf, sizeof(buf), ":%s:", name); buf 424 libutil/conf.c if (locatestring(confline, buf, MATCH_FIRST) != NULL) buf 48 libutil/date.c static char buf[128]; buf 55 libutil/date.c (void)strftime(buf, sizeof(buf), "%a %b %d %H:%M:%S %Z %Y", localtime(&tval)); buf 59 libutil/date.c strlimcpy(buf, "unknown time", sizeof(buf)); buf 61 libutil/date.c if (fgets(buf, sizeof(buf), ip)) buf 62 libutil/date.c buf[strlen(buf) - 1] = 0; buf 66 libutil/date.c return buf; buf 650 libutil/dbop.c static char buf[1024]; buf 659 libutil/dbop.c strlimcpy(buf, p, sizeof(buf)); buf 660 libutil/dbop.c return buf; buf 668 libutil/dbop.c char buf[1024]; buf 671 libutil/dbop.c snprintf(buf, sizeof(buf), "%s %s", key, string); buf 673 libutil/dbop.c snprintf(buf, sizeof(buf), "%s", key); buf 674 libutil/dbop.c dbop_put(dbop, key, buf); buf 556 libutil/find.c char buf[MAXPATHLEN]; buf 559 libutil/find.c while (fgets(buf, sizeof(buf), stdin) != NULL) buf 560 libutil/find.c fputs(buf, temp); buf 708 libutil/find.c static char buf[MAXPATHLEN + 1]; buf 747 libutil/find.c if (normalize(path, rootdir, cwddir, buf, sizeof(buf)) == NULL) { buf 751 libutil/find.c path = buf; buf 306 libutil/getdbpath.c char buf[MAXPATHLEN]; buf 311 libutil/getdbpath.c s = realpath(makepath(root, s, NULL), buf); buf 101 libutil/linetable.c linetable_read(char *buf, int size) buf 109 libutil/linetable.c memcpy(buf, curp, size); buf 117 libutil/logging.c char buf[MAXPATHLEN]; buf 119 libutil/logging.c if (getcwd(buf, sizeof(buf))) buf 120 libutil/logging.c logging_printf("In |%s|\n", buf); buf 114 libutil/pathconvert.c static char buf[MAXPATHLEN]; buf 141 libutil/pathconvert.c if (!abs2rel(a, b, buf, sizeof(buf))) buf 143 libutil/pathconvert.c path = buf; buf 166 libutil/pathconvert.c static char buf[MAXPATHLEN]; buf 168 libutil/pathconvert.c char *q = buf; buf 179 libutil/pathconvert.c path = buf; buf 227 libutil/statistics.c char buf[64]; buf 251 libutil/statistics.c w = snprintf(buf, sizeof(buf), "%." PRECISION_STRING(PERCENT) "f", t->percent); buf 439 libutil/strbuf.c char format[32], buf[1024]; buf 450 libutil/strbuf.c snprintf(buf, sizeof(buf), format, va_arg(ap, int)); buf 452 libutil/strbuf.c snprintf(buf, sizeof(buf), format, va_arg(ap, char *)); buf 455 libutil/strbuf.c strbuf_puts(sb, buf); buf 84 libutil/tab.c read_file_detabing(char *buf, size_t size, FILE *ip, int *dest_saved, int *spaces_saved) buf 91 libutil/tab.c p = buf; buf 116 libutil/tab.c return p - buf; buf 126 libutil/tab.c detab_replacing(FILE *op, const char *buf, const char *(*replace)(int c)) buf 132 libutil/tab.c while ((c = *buf++) != '\0') { buf 28 libutil/tab.h void detab_replacing(FILE *op, const char *buf, const char *(*replace)(int c)); buf 55 libutil/test.c char buf[512]; buf 61 libutil/test.c size = read(ip, buf, sizeof(buf)); buf 65 libutil/test.c if (size >= 7 && locatestring(buf, "!<arch>", MATCH_AT_FIRST)) /* ar */ buf 67 libutil/test.c if (size >= 4 && locatestring(buf, "%PDF", MATCH_AT_FIRST)) /* PDF */ buf 70 libutil/test.c if (isbinarychar(buf[i]))