Home
last modified time | relevance | path

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

/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h207 uint64_t ByteNo = BitNo / 8; in BackpatchByte() local
211 if (ByteNo >= NumOfFlushedBytes) { in BackpatchByte()
214 &Buffer[ByteNo - NumOfFlushedBytes], StartBit)) && in BackpatchByte()
217 &Buffer[ByteNo - NumOfFlushedBytes], NewByte, StartBit); in BackpatchByte()
231 size_t BytesFromDisk = std::min(static_cast<uint64_t>(BytesNum), NumOfFlushedBytes - ByteNo); in BackpatchByte()
242 fdStream()->seek(ByteNo); in BackpatchByte()
258 fdStream()->seek(ByteNo); in BackpatchByte()
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/clang/lib/Lex/
H A DLiteralSupport.cpp2352 unsigned ByteNo) const { in getOffsetOfStringByte()
2385 return SpellingPtr - SpellingStart + ByteNo; in getOffsetOfStringByte()
2393 while (ByteNo) { in getOffsetOfStringByte()
2399 --ByteNo; in getOffsetOfStringByte()
2410 if (Len > ByteNo) { in getOffsetOfStringByte()
2411 // ByteNo is somewhere within the escape sequence. in getOffsetOfStringByte()
2415 ByteNo -= Len; in getOffsetOfStringByte()
2420 --ByteNo; in getOffsetOfStringByte()
/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h280 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
/llvm-project/clang/lib/AST/
H A DExpr.cpp1331 StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, in getLocationOfByte()
1348 ByteNo -= StringOffset; in getLocationOfByte()
1385 if (ByteNo < TokNumBytes || in getLocationOfByte()
1386 (ByteNo == TokNumBytes && TokNo == getNumConcatenated() - 1)) { in getLocationOfByte()
1387 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()
1401 ByteNo -= TokNumBytes; in getLocationOfByte()
1329 getLocationOfByte(unsigned ByteNo,const SourceManager & SM,const LangOptions & Features,const TargetInfo & Target,unsigned * StartToken,unsigned * StartTokenByteOffset) const getLocationOfByte() argument
/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp119 unsigned ByteNo) const {
120 return SL->getLocationOfByte(ByteNo, getSourceManager(), LangOpts,
5885 unsigned ByteNo, const SourceManager &SM, const LangOptions &Features, in checkFormatStringExpr()
5888 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in checkFormatStringExpr()
5620 getLocationOfByte(unsigned ByteNo,const SourceManager & SM,const LangOptions & Features,const TargetInfo & Target,unsigned * StartToken=nullptr,unsigned * StartTokenByteOffset=nullptr) const getLocationOfByte() argument
/llvm-project/clang/include/clang/AST/
H A DExpr.h1944 getLocationOfByte(unsigned ByteNo, const SourceManager &SM,
/llvm-project/clang/include/clang/Sema/
H A DSema.h2159 unsigned ByteNo) const;