Home
last modified time | relevance | path

Searched refs:refsfound (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/tools/cscope-fast/
H A Ddisplay.c60 FILE *refsfound; /* references found file */ variable
427 (void) putc(c, refsfound); in search()
435 (void) freopen(temp1, "r", refsfound); in search()
440 if ((c = getc(refsfound)) == EOF) { in search()
458 (void) ungetc(c, refsfound); in search()
469 if (refsfound == NULL) { in writerefsfound()
470 if ((refsfound = fopen(temp1, "w")) == NULL) { in writerefsfound()
474 } else if (freopen(temp1, "w", refsfound) == NULL) { in writerefsfound()
531 rewind(refsfound); in countrefs()
613 if (refsfound == NULL) { in seekline()
[all …]
H A Dedit.c52 if (refsfound == NULL) { in editref()
59 if (fscanf(refsfound, "%s%*s%s", file, linenum) == 2) { in editref()
75 if (refsfound == NULL) { in editall()
82 while (fscanf(refsfound, "%s%*s%s%*[^\n]", file, linenum) == 2) { in editall()
H A Dcommand.c241 while ((c = getc(refsfound)) != EOF) { in command()
293 while ((c = getc(refsfound)) != EOF) { in command()
470 (void) putc(c, refsfound); in readrefs()
472 (void) putc(c, refsfound); in readrefs()
475 (void) freopen(temp1, "r", refsfound); in readrefs()
608 for (i = 0; fscanf(refsfound, "%s%*s%s%*[^\n]", newfile, linenum) == 2; in changestring()
H A Dfind.c456 (void) fprintf(refsfound, "%s ", filepath(file)); in findcalledbysub()
460 putline(refsfound); in findcalledbysub()
461 (void) putc(' ', refsfound); in findcalledbysub()
464 putsource(refsfound); in findcalledbysub()
664 if (egrep(file, refsfound, "%s <unknown> %ld ") < 0) { in findegreppat()
688 (void) fprintf(refsfound, "%s <unknown> 1 <unknown>\n", in findfile()
1060 output = refsfound; in putref()
H A Dmain.c464 while ((c = getc(refsfound)) != EOF) { in main()
501 while ((c = getc(refsfound)) != EOF) { in main()
935 if (refsfound != NULL) { in rebuild()
936 (void) fclose(refsfound); in rebuild()
937 refsfound = NULL; in rebuild()
H A Dglobal.h145 extern FILE *refsfound; /* references found file */