HomeSort by relevance Sort by last modified time
    Searched defs:Pos (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /external/clang/lib/Tooling/Core/
Lookup.cpp 103 auto Pos = ReplacementString.rfind("::");
104 return Pos != StringRef::npos ? ReplacementString.substr(Pos + 2)
  /external/llvm/lib/Support/
LineIterator.cpp 54 const char *Pos = CurrentLine.end();
55 assert(Pos == Buffer->getBufferStart() || isAtLineEnd(Pos) || *Pos == '\0');
57 if (skipIfAtLineEnd(Pos))
59 if (!SkipBlanks && isAtLineEnd(Pos)) {
63 while (skipIfAtLineEnd(Pos))
68 if (isAtLineEnd(Pos) && !SkipBlanks)
70 if (*Pos == CommentMarker)
72 ++Pos;
    [all...]
ConvertUTFWrapper.cpp 23 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin());
24 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) {
26 ErrorPtr = Pos;
FoldingSet.cpp 93 unsigned Pos = 0;
99 Pos = (Units + 1) * 4;
107 for (Pos += 4; Pos <= Size; Pos += 4) {
108 unsigned V = ((unsigned char)String[Pos - 4] << 24) |
109 ((unsigned char)String[Pos - 3] << 16) |
110 ((unsigned char)String[Pos - 2] << 8) |
111 (unsigned char)String[Pos - 1];
115 for (Pos += 4; Pos <= Size; Pos += 4)
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMUnwindOpAsm.cpp 30 size_t Pos;
33 UnwindOpcodeStreamer(SmallVectorImpl<uint8_t> &V) : Vec(V), Pos(3) {
38 Vec[Pos] = elem;
39 Pos = (((Pos ^ 0x3u) + 1) ^ 0x3u);
59 while (Pos < Vec.size())
  /external/llvm/lib/TableGen/
TableGenBackend.cpp 24 size_t Pos = (size_t)OS.tell();
28 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size();
41 size_t Pos = 0U;
43 size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen);
44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix);
45 Pos += Length;
46 } while (Pos < Desc.size());
  /external/clang/lib/Frontend/
LayoutOverrideSource.cpp 61 StringRef::size_type Pos;
62 if ((Pos = LineStr.find("struct ")) != StringRef::npos)
63 LineStr = LineStr.substr(Pos + strlen("struct "));
64 else if ((Pos = LineStr.find("class ")) != StringRef::npos)
65 LineStr = LineStr.substr(Pos + strlen("class "));
66 else if ((Pos = LineStr.find("union ")) != StringRef::npos)
67 LineStr = LineStr.substr(Pos + strlen("union "));
78 StringRef::size_type Pos = LineStr.find(" Size:");
79 if (Pos != StringRef::npos) {
81 LineStr = LineStr.substr(Pos + strlen(" Size:"))
    [all...]
TextDiagnostic.cpp 49 size_t Pos = Str.find(ToggleHighlight);
50 OS << Str.slice(0, Pos);
51 if (Pos == StringRef::npos)
54 Str = Str.substr(Pos + 1);
    [all...]
  /external/clang/unittests/Rewrite/
RewriteBufferTest.cpp 36 size_t Pos = Input.find(RemoveStr);
37 Buf.RemoveText(Pos, RemoveStr.size());
40 Pos = Input.find(TagStr);
41 tagRange(Pos, TagStr.size(), "outer", Buf);
42 tagRange(Pos, TagStr.size(), "inner", Buf);
  /external/icu/icu4c/source/common/
ruleiter.h 46 ParsePosition& pos; member in class:RuleCharacterIterator
97 * @param pos upon input, the index of the next character to return. If a
98 * variable has been dereferenced, then pos will <em>not</em> increment as
102 ParsePosition& pos);
133 struct Pos : public UMemory {
136 int32_t pos; member in struct:RuleCharacterIterator::Pos
146 * RuleCharacterIterator::Pos pos;
147 * iterator.getPos(pos);
149 * iterator.getPos(pos);
    [all...]
  /external/llvm/lib/CodeGen/
AllocationOrder.h 32 int Pos;
51 if (Pos < 0)
52 return Hints.end()[Pos++];
55 while (Pos < int(Limit)) {
56 unsigned Reg = Order[Pos++];
68 if (Pos < 0)
69 return Hints.end()[Pos++];
70 if (Pos < int(Limit))
71 return Order[Pos++];
76 void rewind() { Pos = -int(Hints.size());
    [all...]
  /external/llvm/lib/DebugInfo/DWARF/
DWARFDebugAbbrev.cpp 108 const auto Pos = AbbrDeclSets.find(CUAbbrOffset);
109 if (Pos != End) {
110 PrevAbbrOffsetPos = Pos;
111 return &(Pos->second);
  /external/llvm/unittests/Bitcode/
BitReaderTest.cpp 67 unsigned Pos = 0;
70 size_t Left = Buf.size() - Pos;
72 memcpy(Out, Buffer->getBuffer().substr(Pos).data(), Len);
73 Pos += Len;
  /external/skia/gm/
textblob.cpp 17 enum Pos {
25 Pos pos; member in struct:__anon22174::BlobCfg
142 switch (cfg->pos) {
152 SkTDArray<SkScalar> pos; local
154 *pos.append() = offset.x() + i * advanceX;
158 memcpy(buf.pos, pos.begin(), count * sizeof(SkScalar));
163 SkTDArray<SkScalar> pos; local
165 *pos.append() = offset.x() + i * advanceX
    [all...]
  /external/llvm/include/llvm/ADT/
MapVector.h 87 typename MapType::const_iterator Pos = Map.find(Key);
88 return Pos == Map.end()? ValueT() : Vector[Pos->second].second;
104 typename MapType::const_iterator Pos = Map.find(Key);
105 return Pos == Map.end()? 0 : 1;
109 typename MapType::const_iterator Pos = Map.find(Key);
110 return Pos == Map.end()? Vector.end() :
111 (Vector.begin() + Pos->second);
115 typename MapType::const_iterator Pos = Map.find(Key);
116 return Pos == Map.end()? Vector.end()
    [all...]
  /external/llvm/lib/Fuzzer/
FuzzerUtil.cpp 112 for (size_t Pos = L; Pos <= R; Pos++) {
113 uint8_t V = (uint8_t)Str[Pos];
117 if (Pos + 1 <= R && (Str[Pos + 1] == '\\' || Str[Pos + 1] == '"')) {
118 U->push_back(Str[Pos + 1]);
119 Pos++;
123 if (Pos + 3 <= R && Str[Pos + 1] == 'x
    [all...]
  /external/clang/lib/Basic/
Module.cpp 226 llvm::StringMap<unsigned>::const_iterator Pos = SubModuleIndex.find(Name);
227 if (Pos == SubModuleIndex.end())
230 return SubModules[Pos->getValue()];
  /external/clang/lib/Frontend/Rewrite/
InclusionRewriter.cpp 220 const char *Pos = strchr(FromFile.getBufferStart(), '\n');
221 if (!Pos)
223 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r')
225 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r')
  /external/clang/lib/Lex/
PreprocessingRecord.cpp 91 int Pos = std::distance(iterator(this, 0), PPEI);
92 if (Pos < 0) {
93 if (unsigned(-Pos-1) >= LoadedPreprocessedEntities.size()) {
98 unsigned LoadedIndex = LoadedPreprocessedEntities.size()+Pos;
116 if (unsigned(Pos) >= PreprocessedEntities.size()) {
120 return isPreprocessedEntityIfInFileID(PreprocessedEntities[Pos],
361 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *>::iterator Pos =
363 if (Pos == MacroDefinitions.end())
366 return Pos->second;
  /external/llvm/include/llvm/Support/
raw_ostream.h 328 uint64_t Pos = tell();
329 // /dev/null always reports a pos of 0, so we cannot perform this check
331 if (Pos)
332 assert(Size + Offset <= Pos && "We don't support extending the stream");
352 uint64_t pos; member in class:llvm::raw_fd_ostream
363 uint64_t current_pos() const override { return pos; }
  /external/llvm/lib/MC/
ELFObjectWriter.cpp 392 size_t Pos = AliasName.find('@');
393 if (Pos == StringRef::npos)
401 StringRef Rest = AliasName.substr(Pos);
858 size_t Pos = Name.find("@@@");
859 if (Pos != StringRef::npos) {
860 Buf += Name.substr(0, Pos);
862 Buf += Name.substr(Pos + Skip);
    [all...]
  /external/llvm/lib/Target/AMDGPU/
R600OptimizeVectorRegisters.cpp 182 MachineBasicBlock::iterator Pos = RSI->Instr;
183 MachineBasicBlock &MBB = *Pos->getParent();
184 DebugLoc DL = Pos->getDebugLoc();
196 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::INSERT_SUBREG),
213 Pos = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg)
215 DEBUG(dbgs() << " ->"; Pos->dump(););
227 RSI->Instr = Pos;
231 return Pos;
  /external/llvm/lib/Target/ARM/
Thumb2ITBlockPass.cpp 209 unsigned Mask = 0, Pos = 3;
216 for (; MBBI != E && Pos &&
227 Mask |= (NCC & 1) << Pos;
245 --Pos;
250 Mask |= (1 << Pos);
  /external/llvm/lib/Target/Hexagon/
BitTracker.h 77 // Abstraction of a reference to bit at position Pos from a register Reg.
79 BitRef(unsigned R = 0, uint16_t P = 0) : Reg(R), Pos(P) {}
81 // If Reg is 0, disregard Pos.
82 return Reg == BR.Reg && (Reg == 0 || Pos == BR.Pos);
85 uint16_t Pos;
129 // number is 0. In such case the Pos field of the reference is ignored.
133 // one in which V will be contained. If the RefI.Pos refers to the posi-
146 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {}
    [all...]
  /external/llvm/lib/Target/Mips/
MipsLongBranch.cpp 253 MachineBasicBlock::iterator Pos;
293 Pos = LongBrMBB->begin();
295 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP)
297 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA)
316 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LONG_BRANCH_LUi), Mips::AT)
318 MIBundleBuilder(*LongBrMBB, Pos)
325 Pos = BalTgtMBB->begin();
327 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT)
329 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA)
333 MIBundleBuilder(*BalTgtMBB, Pos)
    [all...]

Completed in 691 milliseconds

1 2 3 4