/src/usr.bin/xlint/lint2/ |
read.c | 65 * The array pointed to by *fnames maps file name indices to file names. 68 const char **fnames; variable in typeref:typename:const char ** 222 if (fnames == NULL) 223 fnames = xcalloc(nfnames = 256, sizeof(*fnames)); 268 fnames[srcfile], flines[srcfile], buf, readfile_line); 1114 for (i = 1; fnames[i] != NULL; i++) { 1115 if (strcmp(fnames[i], fn) == 0) 1121 fnames = xrealloc(fnames, nlen * sizeof(*fnames)) [all...] |
read.c | 65 * The array pointed to by *fnames maps file name indices to file names. 68 const char **fnames; variable in typeref:typename:const char ** 222 if (fnames == NULL) 223 fnames = xcalloc(nfnames = 256, sizeof(*fnames)); 268 fnames[srcfile], flines[srcfile], buf, readfile_line); 1114 for (i = 1; fnames[i] != NULL; i++) { 1115 if (strcmp(fnames[i], fn) == 0) 1121 fnames = xrealloc(fnames, nlen * sizeof(*fnames)) [all...] |
/src/usr.sbin/sysinst/ |
main.c | 339 char **fnames = arg; local in function:set_language 341 msg_file(fnames[m->cursel]); 348 * fnames[0] is preallocated and duplicates are ignored. 351 char **lang_msg, **fnames; member in struct:found_msgs 390 new = realloc(res->fnames, 391 res->max_lang * sizeof *res->fnames); 394 res->fnames = new; 396 res->fnames[res->num_lang] = strdup(fname); 415 found.fnames = malloc(found.max_lang * sizeof *found.fnames); [all...] |
main.c | 339 char **fnames = arg; local in function:set_language 341 msg_file(fnames[m->cursel]); 348 * fnames[0] is preallocated and duplicates are ignored. 351 char **lang_msg, **fnames; member in struct:found_msgs 390 new = realloc(res->fnames, 391 res->max_lang * sizeof *res->fnames); 394 res->fnames = new; 396 res->fnames[res->num_lang] = strdup(fname); 415 found.fnames = malloc(found.max_lang * sizeof *found.fnames); [all...] |