Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h136 uint64_t ByteNo = BitNo / 8; in BackpatchWord() local
140 if (ByteNo >= NumOfFlushedBytes) { in BackpatchWord()
142 &Out[ByteNo - NumOfFlushedBytes], StartBit)) && in BackpatchWord()
145 &Out[ByteNo - NumOfFlushedBytes], NewWord, StartBit); in BackpatchWord()
156 size_t BytesFromDisk = std::min(static_cast<uint64_t>(BytesNum), NumOfFlushedBytes - ByteNo); in BackpatchWord()
167 FS->seek(ByteNo); in BackpatchWord()
183 FS->seek(ByteNo); in BackpatchWord()
H A DBitstreamReader.h128 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit() local
130 assert(canSkipToPos(ByteNo) && "Invalid location"); in JumpToBit()
133 NextChar = ByteNo; in JumpToBit()
148 const uint8_t *getPointerToByte(uint64_t ByteNo, uint64_t NumBytes) { in getPointerToByte() argument
149 return BitcodeBytes.data() + ByteNo; in getPointerToByte()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLiteralSupport.cpp2212 unsigned ByteNo) const { in getOffsetOfStringByte()
2245 return SpellingPtr - SpellingStart + ByteNo; in getOffsetOfStringByte()
2253 while (ByteNo) { in getOffsetOfStringByte()
2259 --ByteNo; in getOffsetOfStringByte()
2270 if (Len > ByteNo) { in getOffsetOfStringByte()
2275 ByteNo -= Len; in getOffsetOfStringByte()
2280 --ByteNo; in getOffsetOfStringByte()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLiteralSupport.h264 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp1231 StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, in getLocationOfByte() argument
1247 ByteNo -= StringOffset; in getLocationOfByte()
1284 if (ByteNo < TokNumBytes || in getLocationOfByte()
1285 (ByteNo == TokNumBytes && TokNo == getNumConcatenated() - 1)) { in getLocationOfByte()
1286 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()
1300 ByteNo -= TokNumBytes; in getLocationOfByte()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp107 unsigned ByteNo) const { in getLocationOfStringLiteralByte()
108 return SL->getLocationOfByte(ByteNo, getSourceManager(), LangOpts, in getLocationOfStringLiteralByte()
8452 unsigned ByteNo, const SourceManager &SM, const LangOptions &Features, in getLocationOfByte() argument
8455 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in getLocationOfByte()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h1927 getLocationOfByte(unsigned ByteNo, const SourceManager &SM,
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h13023 unsigned ByteNo) const;