Home
last modified time | relevance | path

Searched refs:bufEnd (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/programs/
H A Dutil.h427 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()
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()
[all …]
/freebsd-12.1/contrib/expat/lib/
H A Dxmlparse.c194 char *bufEnd; /* end of the buffer */ member
2122 if (bufSize > tag->bufEnd - tag->buf) { in storeRawNames()
2138 tag->bufEnd = temp + bufSize; in storeRawNames()
2450 tag->bufEnd = tag->buf + INIT_TAG_BUF_SIZE; in doContent()
2469 (ICHAR **)&toPtr, (ICHAR *)tag->bufEnd - 1); in doContent()
2475 bufSize = (int)(tag->bufEnd - tag->buf) << 1; in doContent()
2481 tag->bufEnd = temp + bufSize; in doContent()