Lines Matching refs:bufEnd
387 …_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char** bufEnd, int followLinks) in UTIL_prepareFileList() argument
423 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd, followLinks); /* Recursively call "U… in UTIL_prepareFileList()
427 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
428 ptrdiff_t newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE; in UTIL_prepareFileList()
430 *bufEnd = *bufStart + newListSize; in UTIL_prepareFileList()
433 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
434 strncpy(*bufStart + *pos, path, *bufEnd - (*bufStart + *pos)); in UTIL_prepareFileList()
451 …_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char** bufEnd, int followLinks) in UTIL_prepareFileList() argument
484 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd, followLinks); /* Recursively call "U… in UTIL_prepareFileList()
487 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
488 ptrdiff_t newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE; in UTIL_prepareFileList()
490 *bufEnd = *bufStart + newListSize; in UTIL_prepareFileList()
493 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
494 strncpy(*bufStart + *pos, path, *bufEnd - (*bufStart + *pos)); in UTIL_prepareFileList()
514 …_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char** bufEnd, int followLinks) in UTIL_prepareFileList() argument
516 (void)bufStart; (void)bufEnd; (void)pos; in UTIL_prepareFileList()