Lines Matching refs:bufEnd
390 …L_STATIC int UTIL_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char** bufEnd) in UTIL_prepareFileList() argument
426 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd); /* Recursively call "UTIL_prepareFi… in UTIL_prepareFileList()
430 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
431 ptrdiff_t newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE; in UTIL_prepareFileList()
433 *bufEnd = *bufStart + newListSize; in UTIL_prepareFileList()
436 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
437 strncpy(*bufStart + *pos, path, *bufEnd - (*bufStart + *pos)); in UTIL_prepareFileList()
454 …L_STATIC int UTIL_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char** bufEnd) in UTIL_prepareFileList() argument
481 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd); /* Recursively call "UTIL_prepareFi… in UTIL_prepareFileList()
484 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
485 ptrdiff_t newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE; in UTIL_prepareFileList()
487 *bufEnd = *bufStart + newListSize; in UTIL_prepareFileList()
490 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
491 strncpy(*bufStart + *pos, path, *bufEnd - (*bufStart + *pos)); in UTIL_prepareFileList()
511 …L_STATIC int UTIL_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char** bufEnd) in UTIL_prepareFileList() argument
513 (void)bufStart; (void)bufEnd; (void)pos; in UTIL_prepareFileList()