Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Bitstream/
DBitstreamWriter.h141 uint64_t ByteNo = BitNo / 8; in BackpatchWord() local
145 if (ByteNo >= NumOfFlushedBytes) { in BackpatchWord()
147 &Out[ByteNo - NumOfFlushedBytes], StartBit)) && in BackpatchWord()
150 &Out[ByteNo - NumOfFlushedBytes], NewWord, StartBit); in BackpatchWord()
161 size_t BytesFromDisk = std::min(static_cast<uint64_t>(BytesNum), NumOfFlushedBytes - ByteNo); in BackpatchWord()
172 FS->seek(ByteNo); in BackpatchWord()
188 FS->seek(ByteNo); in BackpatchWord()
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()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h193 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit() local
195 assert(canSkipToPos(ByteNo) && "Invalid location"); in JumpToBit()
198 NextChar = ByteNo; in JumpToBit()
225 const uint8_t *getPointerToByte(uint64_t ByteNo, uint64_t NumBytes) { in getPointerToByte() argument
226 return R->getBitcodeBytes().getPointer(ByteNo, NumBytes); in getPointerToByte()
DBitstreamWriter.h107 unsigned ByteNo = BitNo / 8; in BackpatchWord() local
109 &Out[ByteNo], BitNo & 7)) && in BackpatchWord()
112 &Out[ByteNo], NewWord, BitNo & 7); in BackpatchWord()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamReader.h131 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit() local
133 assert(canSkipToPos(ByteNo) && "Invalid location"); in JumpToBit()
136 NextChar = ByteNo; in JumpToBit()
151 const uint8_t *getPointerToByte(uint64_t ByteNo, uint64_t NumBytes) { in getPointerToByte() argument
152 return BitcodeBytes.data() + ByteNo; in getPointerToByte()
DBitstreamWriter.h106 unsigned ByteNo = BitNo / 8; in BackpatchWord() local
108 &Out[ByteNo], BitNo & 7)) && in BackpatchWord()
111 &Out[ByteNo], NewWord, BitNo & 7); in BackpatchWord()
/external/clang/lib/Lex/
DLiteralSupport.cpp1626 unsigned ByteNo) const { in getOffsetOfStringByte()
1659 return SpellingPtr - SpellingStart + ByteNo; in getOffsetOfStringByte()
1667 while (ByteNo) { in getOffsetOfStringByte()
1673 --ByteNo; in getOffsetOfStringByte()
1683 if (Len > ByteNo) { in getOffsetOfStringByte()
1688 ByteNo -= Len; in getOffsetOfStringByte()
1693 --ByteNo; in getOffsetOfStringByte()
/external/llvm-project/clang/lib/Lex/
DLiteralSupport.cpp1835 unsigned ByteNo) const { in getOffsetOfStringByte()
1868 return SpellingPtr - SpellingStart + ByteNo; in getOffsetOfStringByte()
1876 while (ByteNo) { in getOffsetOfStringByte()
1882 --ByteNo; in getOffsetOfStringByte()
1892 if (Len > ByteNo) { in getOffsetOfStringByte()
1897 ByteNo -= Len; in getOffsetOfStringByte()
1902 --ByteNo; in getOffsetOfStringByte()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h643 const uintptr_t ByteNo = getStartWordByteForBit(BitNo); in JumpToBit() local
645 if (!canSkipToPos(ByteNo)) in JumpToBit()
649 NextChar = ByteNo; in JumpToBit()
/external/clang/include/clang/Lex/
DLiteralSupport.h240 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
/external/llvm-project/clang/include/clang/Lex/
DLiteralSupport.h255 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
/external/clang/lib/AST/
DExpr.cpp1009 StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, in getLocationOfByte() argument
1024 ByteNo -= StringOffset; in getLocationOfByte()
1061 if (ByteNo < TokNumBytes || in getLocationOfByte()
1062 (ByteNo == TokNumBytes && TokNo == getNumConcatenated() - 1)) { in getLocationOfByte()
1063 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()
1077 ByteNo -= TokNumBytes; in getLocationOfByte()
/external/llvm-project/clang/lib/AST/
DExpr.cpp1119 StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, in getLocationOfByte() argument
1135 ByteNo -= StringOffset; in getLocationOfByte()
1172 if (ByteNo < TokNumBytes || in getLocationOfByte()
1173 (ByteNo == TokNumBytes && TokNo == getNumConcatenated() - 1)) { in getLocationOfByte()
1174 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()
1188 ByteNo -= TokNumBytes; in getLocationOfByte()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp105 unsigned ByteNo) const { in getLocationOfStringLiteralByte()
106 return SL->getLocationOfByte(ByteNo, getSourceManager(), LangOpts, in getLocationOfStringLiteralByte()
7032 unsigned ByteNo, const SourceManager &SM, const LangOptions &Features, in getLocationOfByte() argument
7035 return FExpr->getLocationOfByte(ByteNo + Offset, SM, Features, Target, in getLocationOfByte()
/external/clang/include/clang/AST/
DExpr.h1593 getLocationOfByte(unsigned ByteNo, const SourceManager &SM,
/external/clang/lib/Sema/
DSemaChecking.cpp49 unsigned ByteNo) const { in getLocationOfStringLiteralByte()
50 return SL->getLocationOfByte(ByteNo, getSourceManager(), LangOpts, in getLocationOfStringLiteralByte()
/external/llvm-project/clang/include/clang/AST/
DExpr.h1915 getLocationOfByte(unsigned ByteNo, const SourceManager &SM,
/external/clang/include/clang/Sema/
DSema.h9327 unsigned ByteNo) const;
/external/llvm-project/clang/include/clang/Sema/
DSema.h12171 unsigned ByteNo) const;