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

1 2 3 4 5 6 7

  /external/llvm/lib/Support/
LineIterator.cpp 31 const char *Pos = CurrentLine.end();
32 assert(Pos == Buffer->getBufferStart() || *Pos == '\n' || *Pos == '\0');
37 while (Pos[Blanks] == '\n')
39 Pos += Blanks;
44 if (*Pos == CommentMarker)
46 ++Pos;
47 } while (*Pos != '\0' && *Pos != '\n')
    [all...]
FileUtilities.cpp 49 static const char *BackupNumber(const char *Pos, const char *FirstChar) {
51 if (!isNumberChar(*Pos)) return Pos;
55 while (Pos > FirstChar && isNumberChar(Pos[-1])) {
57 if (Pos[-1] == '.') {
63 --Pos;
64 if (Pos > FirstChar && isSignedChar(Pos[0]) && !isExponentChar(Pos[-1])
    [all...]
FoldingSet.cpp 93 unsigned Pos = 0;
99 Pos = (Units + 1) * 4;
105 for (Pos += 4; Pos <= Size; Pos += 4) {
106 unsigned V = ((unsigned char)String[Pos - 4] << 24) |
107 ((unsigned char)String[Pos - 3] << 16) |
108 ((unsigned char)String[Pos - 2] << 8) |
109 (unsigned char)String[Pos - 1];
114 for (Pos += 4; Pos <= Size; Pos += 4)
    [all...]
  /external/llvm/lib/CodeGen/
AllocationOrder.h 31 int Pos;
49 if (Pos < 0)
50 return Hints.end()[Pos++];
53 while (Pos < int(Limit)) {
54 unsigned Reg = Order[Pos++];
66 if (Pos < 0)
67 return Hints.end()[Pos++];
68 if (Pos < int(Limit))
69 return Order[Pos++];
74 void rewind() { Pos = -int(Hints.size());
    [all...]
AllocationOrder.cpp 33 : Pos(0) {
  /external/llvm/lib/TableGen/
TableGenBackend.cpp 25 size_t Pos = (size_t)OS.tell();
30 for (size_t i = (size_t)OS.tell() - Pos; i < e; ++i)
38 size_t Pos = 0U;
44 PosE = Pos + ((MAX_LINE_LEN > (Desc.size() - PSLen)) ?
47 printLine(OS, Prefix + Desc.slice(Pos, PosE), ' ', Suffix);
48 Pos = PosE;
49 } 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...]
  /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/chromium_org/third_party/icu/source/common/
ruleiter.h 46 ParsePosition& pos; member in class:RuleCharacterIterator
98 * @param pos upon input, the index of the next character to return. If a
99 * variable has been dereferenced, then pos will <em>not</em> increment as
103 ParsePosition& pos);
134 struct Pos : public UMemory {
137 int32_t pos; member in struct:RuleCharacterIterator::Pos
147 * RuleCharacterIterator::Pos pos;
148 * iterator.getPos(pos);
150 * iterator.getPos(pos);
    [all...]
  /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/include/llvm/LineEditor/
LineEditor.h 102 /// \param Pos The zero-based cursor position in the StringRef
103 CompletionAction getCompletionAction(StringRef Buffer, size_t Pos) const;
118 virtual CompletionAction complete(StringRef Buffer, size_t Pos) const = 0;
123 CompletionAction complete(StringRef Buffer, size_t Pos) const override;
126 size_t Pos) const = 0;
132 CompletionAction complete(StringRef Buffer, size_t Pos) const override {
133 return Value(Buffer, Pos);
142 size_t Pos) const override {
143 return Value(Buffer, Pos);