Home
last modified time | relevance | path

Searched refs:ByteNo (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h142 uint64_t ByteNo = BitNo / 8; in BackpatchWord() local
146 if (ByteNo >= NumOfFlushedBytes) { in BackpatchWord()
148 &Out[ByteNo - NumOfFlushedBytes], StartBit)) && in BackpatchWord()
151 &Out[ByteNo - NumOfFlushedBytes], NewWord, StartBit); in BackpatchWord()
162 size_t BytesFromDisk = std::min(static_cast<uint64_t>(BytesNum), NumOfFlushedBytes - ByteNo); in BackpatchWord()
173 FS->seek(ByteNo); in BackpatchWord()
189 FS->seek(ByteNo); in BackpatchWord()
H A DBitstreamReader.h132 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit() local
134 assert(canSkipToPos(ByteNo) && "Invalid location"); in JumpToBit()
137 NextChar = ByteNo; in JumpToBit()
152 const uint8_t *getPointerToByte(uint64_t ByteNo, uint64_t NumBytes) { in getPointerToByte() argument
153 return BitcodeBytes.data() + ByteNo; in getPointerToByte()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1868 unsigned ByteNo) const { in getOffsetOfStringByte()
1901 return SpellingPtr - SpellingStart + ByteNo; in getOffsetOfStringByte()
1909 while (ByteNo) { in getOffsetOfStringByte()
1915 --ByteNo; in getOffsetOfStringByte()
1925 if (Len > ByteNo) { in getOffsetOfStringByte()
1930 ByteNo -= Len; in getOffsetOfStringByte()
1935 --ByteNo; in getOffsetOfStringByte()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h256 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1259 StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, in getLocationOfByte() argument
1275 ByteNo -= StringOffset; in getLocationOfByte()
1312 if (ByteNo < TokNumBytes || in getLocationOfByte()
1313 (ByteNo == TokNumBytes && TokNo == getNumConcatenated() - 1)) { in getLocationOfByte()
1314 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()
1328 ByteNo -= TokNumBytes; in getLocationOfByte()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp107 unsigned ByteNo) const { in getLocationOfStringLiteralByte()
108 return SL->getLocationOfByte(ByteNo, getSourceManager(), LangOpts, in getLocationOfStringLiteralByte()
7507 unsigned ByteNo, const SourceManager &SM, const LangOptions &Features, in getLocationOfByte() argument
7510 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in getLocationOfByte()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1914 getLocationOfByte(unsigned ByteNo, const SourceManager &SM,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h12495 unsigned ByteNo) const;