Home
last modified time | relevance | path

Searched refs:bufStart (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/zstd/programs/
H A Dutil.c577 char** bufStart, size_t* pos, in UTIL_prepareFileList() argument
616 nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd, followLinks); in UTIL_prepareFileList()
617 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
621 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
622 ptrdiff_t const newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE; in UTIL_prepareFileList()
623 *bufStart = (char*)UTIL_realloc(*bufStart, newListSize); in UTIL_prepareFileList()
624 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
625 *bufEnd = *bufStart + newListSize; in UTIL_prepareFileList()
627 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
628 memcpy(*bufStart + *pos, path, pathLength+1 /* include final \0 */); in UTIL_prepareFileList()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.h119 void checkDynRelAddends(const uint8_t *bufStart);
H A DOutputSections.cpp874 void OutputSection::checkDynRelAddends(const uint8_t *bufStart) { in checkDynRelAddends() argument
898 bufStart + relOsec->offset + rel.inputSec->getOffset(rel.offsetInSec); in checkDynRelAddends()
/freebsd/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.cpp2067 void ObjCMethListSection::writeTo(uint8_t *bufStart) const { in writeTo()
2068 uint8_t *buf = bufStart; in writeTo()
2070 assert(buf - bufStart == long(isec->outSecOff) && in writeTo()
2075 assert(buf - bufStart == sectionSize && in writeTo()
H A DSyntheticSections.h702 void writeTo(uint8_t *bufStart) const override;