Lines Matching refs:dirLength
581 size_t dirLength, pathLength; in UTIL_prepareFileList() local
586 dirLength = strlen(dirName); in UTIL_prepareFileList()
587 path = (char*) malloc(dirLength + 3); in UTIL_prepareFileList()
590 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()
591 path[dirLength] = '\\'; in UTIL_prepareFileList()
592 path[dirLength+1] = '*'; in UTIL_prepareFileList()
593 path[dirLength+2] = 0; in UTIL_prepareFileList()
604 path = (char*) malloc(dirLength + fnameLength + 2); in UTIL_prepareFileList()
606 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()
607 path[dirLength] = '\\'; in UTIL_prepareFileList()
608 memcpy(path+dirLength+1, cFile.cFileName, fnameLength); in UTIL_prepareFileList()
609 pathLength = dirLength+1+fnameLength; in UTIL_prepareFileList()
647 size_t dirLength; in UTIL_prepareFileList() local
655 dirLength = strlen(dirName); in UTIL_prepareFileList()
663 path = (char*) malloc(dirLength + fnameLength + 2); in UTIL_prepareFileList()
665 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()
667 path[dirLength] = '/'; in UTIL_prepareFileList()
668 memcpy(path+dirLength+1, entry->d_name, fnameLength); in UTIL_prepareFileList()
669 pathLength = dirLength+1+fnameLength; in UTIL_prepareFileList()