Searched refs:dirLength (Results 1 – 1 of 1) sorted by relevance
285 int dirLength, fnameLength, pathLength, nbFiles = 0; in UTIL_prepareFileList() local289 dirLength = (int)strlen(dirName); in UTIL_prepareFileList()290 path = (char*) malloc(dirLength + 3); in UTIL_prepareFileList()293 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()294 path[dirLength] = '\\'; in UTIL_prepareFileList()295 path[dirLength+1] = '*'; in UTIL_prepareFileList()296 path[dirLength+2] = 0; in UTIL_prepareFileList()307 path = (char*) malloc(dirLength + fnameLength + 2); in UTIL_prepareFileList()309 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()310 path[dirLength] = '\\'; in UTIL_prepareFileList()[all …]