Lines Matching defs:function
63 static long lastfcnoffset; /* last function name offset */
72 static void putref(char *file, char *function);
87 char function[PATLEN + 1]; /* function name */
110 *function = '\0';
111 /* a macro can be inside a function, but not vice versa */
134 /* look for a source file or function name */
152 case FCNEND: /* function end */
153 *function = '\0';
156 case FCNDEF: /* function name */
157 s = function;
226 * output the file, calling function or macro,
231 } else if (s != function) {
232 putref(file, function);
247 /* find the function definition or #define */
253 char function[PATLEN + 1]; /* function name */
281 *function = '\0';
282 /* a macro can be inside a function, but not vice versa */
297 case FCNEND: /* function end */
298 *function = '\0';
301 case FCNDEF: /* function name */
302 s = function;
344 * output the file, calling function or macro,
349 } else if (s != function) {
350 putref(file, function);
359 /* find all function definitions (used by samuel only) */
365 char function[PATLEN + 1]; /* function name */
381 skiprefchar(); /* save function name */
382 getstring(function);
384 /* output the file, function and source line */
385 putref(file, function);
391 /* find the functions called by this function */
414 /* find the function definition(s) */
445 /* find the next function call or the end of this function */
448 case DEFINE: /* #define inside a function */
455 case FCNCALL: /* function call */
460 /* output the function name */
470 case FCNEND: /* function end */
471 case FCNDEF: /* function end (pre 9.5) */
478 /* find the functions calling this function */
484 char function[PATLEN + 1]; /* function name */
498 /* find the next file name or function definition */
499 /* a macro can be inside a function, but not vice versa */
512 case FCNEND: /* function end */
513 *function = '\0';
526 case FCNDEF: /* save calling function name */
528 getstring(function);
530 case FCNCALL: /* match function called to pattern */
533 /* output the file, calling function or */
538 putref(file, function);
551 char function[PATLEN + 1]; /* function name */
578 /* find the next file name or function definition */
579 /* a macro can be inside a function, but not vice versa */
592 case FCNEND: /* function end */
593 *function = '\0';
606 case FCNDEF: /* save calling function name */
608 getstring(function);
616 /* output the file, calling function or */
621 putref(file, function);
714 /* find the next file name or function definition */
727 case INCLUDE: /* match function called to pattern */
859 lastfcnoffset = 0; /* clear the last function name found */
1037 static char function[PATLEN + 1]; /* function name */
1040 *function = '\0';
1043 getstring(function);
1048 putref(srcfiles[p->fileindex], function);
1055 putref(char *file, char *function)
1060 if (*function == '\0') {
1061 function = "<global>";
1066 if (fprintf(output, "%s %s ", filepath(file), function) == EOF) {