Lines Matching refs:files
833 * platform_get_files -- return names of all files we should load
835 * search directories in dirname[] for all files with names ending with the
837 * may be set to "*" to indicate all files in a directory.
845 * this routine doesn't return NULL, even if no files are found (in that
854 char **files = NULL; /* char * array of filenames found */
855 int nfiles = 0; /* files found so far */
856 int slots = 0; /* char * slots allocated in files */
866 out(O_VERB, "Looking for %s files in %s", fnstr, dirname[i]);
902 files = (char **)REALLOC(files,
908 files[nfiles] = MALLOC(totlen);
911 (void) snprintf(files[nfiles++], totlen,
924 files[nfiles] = NULL;
925 return (files);
929 * search for files in a standard set of directories
942 /* Generic files that apply to any machine */
1210 char **files;
1212 files = platform_get_files_stddirs(addthisarg, 0);
1214 /* do not proceed if number of files found != 1 */
1215 if (files[0] == NULL)
1217 if (files[1] != NULL)
1222 addthisarg = STRDUP(files[0]);
1223 FREE(files[0]);
1224 FREE(files);
1412 * platform_get_eft_files -- return names of all eft files we should load
1414 * this routine doesn't return NULL, even if no files are found (in that
1429 return; /* no files were found so we're done */