Lines Matching refs:dirName
392 UTIL_STATIC int UTIL_prepareFileList(const char* dirName, char** bufStart, size_t* pos, char** bufE… in UTIL_prepareFileList() argument
399 dirLength = strlen(dirName); in UTIL_prepareFileList()
403 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()
410 fprintf(stderr, "Cannot open directory '%s'\n", dirName); in UTIL_prepareFileList()
420 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()
458 UTIL_STATIC int UTIL_prepareFileList(const char* dirName, char** bufStart, size_t* pos, char** bufE… in UTIL_prepareFileList() argument
464 if (!(dir = opendir(dirName))) { in UTIL_prepareFileList()
465 fprintf(stderr, "Cannot open directory '%s': %s\n", dirName, strerror(errno)); in UTIL_prepareFileList()
469 dirLength = (int)strlen(dirName); in UTIL_prepareFileList()
479 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()
506 fprintf(stderr, "readdir(%s) error: %s\n", dirName, strerror(errno)); in UTIL_prepareFileList()
516 UTIL_STATIC int UTIL_prepareFileList(const char* dirName, char** bufStart, size_t* pos, char** bufE… in UTIL_prepareFileList() argument
519 fprintf(stderr, "Directory %s ignored (compiled without _WIN32 or _POSIX_C_SOURCE)\n", dirName); in UTIL_prepareFileList()