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

1 2 3

  /external/clang/lib/Frontend/
TextDiagnosticBuffer.cpp 48 size_t Pos = Str.find('%');
49 if (Pos == StringRef::npos)
54 Buf.append(Str.data(), Str.data() + Pos);
55 for (size_t I = Pos, E = Str.size(); I != E; ++I) {
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 47 size_t Pos = Str.find(ToggleHighlight);
48 OS << Str.slice(0, Pos);
49 if (Pos == StringRef::npos)
52 Str = Str.substr(Pos + 1);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
comment.js 6 var Pos = CodeMirror.Pos;
42 self.replaceRange(baseString + commentString + pad, Pos(i, 0), Pos(i, cut));
47 self.replaceRange(commentString + pad, Pos(i, 0));
73 self.replaceRange(pad + endString, Pos(end));
74 self.replaceRange(startString + pad, Pos(from.line, 0));
78 self.replaceRange(lead + pad, Pos(i, 0));
106 var pos = line.indexOf(lineString), endPos = pos + lineString.length
    [all...]
markselection.js 36 var Pos = CodeMirror.Pos;
47 var start = line == from.line ? from : Pos(line, 0);
49 var end = atEnd ? to : Pos(endLine, 0);
matchbrackets.js 5 var Pos = CodeMirror.Pos;
12 var cur = where || cm.getCursor(), line = cm.getLineHandle(cur.line), pos = cur.ch - 1;
13 var match = (pos >= 0 && matching[line.text.charAt(pos)]) || matching[line.text.charAt(++pos)];
16 if (strict && forward != (pos == cur.ch)) return null;
17 var style = cm.getTokenTypeAt(Pos(cur.line, pos + 1));
19 var stack = [line.text.charAt(pos)], re = /[(){}[\]]/
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMUnwindOpAsm.cpp 31 size_t Pos;
34 UnwindOpcodeStreamer(SmallVectorImpl<uint8_t> &V) : Vec(V), Pos(3) {
39 Vec[Pos] = elem;
40 Pos = (((Pos ^ 0x3u) + 1) ^ 0x3u);
59 while (Pos < Vec.size())
  /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/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/icu4c/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 31 int Pos;
49 if (Pos < 0)
50 return Hints.end()[Pos++];
51 while (Pos < int(Order.size())) {
52 unsigned Reg = Order[Pos++];
64 if (Pos < 0)
65 return Hints.end()[Pos++];
66 if (Pos < int(Limit))
67 return Order[Pos++];
72 void rewind() { Pos = -int(Hints.size());
    [all...]
  /external/clang/tools/clang-check/
ClangCheck.cpp 140 InsertAdjuster(const CommandLineArguments &Extra, Position Pos)
141 : Extra(Extra), Pos(Pos) {
144 InsertAdjuster(const char *Extra, Position Pos)
145 : Extra(1, std::string(Extra)), Pos(Pos) {
153 if (Pos == END) {
166 const Position Pos;
  /external/llvm/lib/Support/
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;
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/include/llvm/ADT/
MapVector.h 89 typename MapType::const_iterator Pos = Map.find(Key);
90 return Pos == Map.end()? ValueT() : Vector[Pos->second].second;
106 typename MapType::const_iterator Pos = Map.find(Key);
107 return Pos == Map.end()? 0 : 1;
111 typename MapType::const_iterator Pos = Map.find(Key);
112 return Pos == Map.end()? Vector.end() :
113 (Vector.begin() + Pos->second);
117 typename MapType::const_iterator Pos = Map.find(Key);
118 return Pos == Map.end()? Vector.end()
    [all...]
  /external/clang/lib/Basic/
Module.cpp 177 llvm::StringMap<unsigned>::const_iterator Pos = SubModuleIndex.find(Name);
178 if (Pos == SubModuleIndex.end())
181 return SubModules[Pos->getValue()];
  /external/clang/lib/Lex/
PreprocessingRecord.cpp 93 int Pos = PPEI.Position;
94 if (Pos < 0) {
95 if (unsigned(-Pos-1) >= LoadedPreprocessedEntities.size()) {
100 unsigned LoadedIndex = LoadedPreprocessedEntities.size()+Pos;
118 if (unsigned(Pos) >= PreprocessedEntities.size()) {
122 return isPreprocessedEntityIfInFileID(PreprocessedEntities[Pos],
361 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos
363 if (Pos == MacroDefinitions.end())
366 return Pos->second;
PPMacroExpansion.cpp 39 macro_iterator Pos = Macros.find(II);
40 assert(Pos != Macros.end() && "Identifier macro info is missing!");
41 return Pos->second;
    [all...]
  /external/clang/lib/Rewrite/Frontend/
InclusionRewriter.cpp 203 const char *Pos = strchr(FromFile.getBufferStart(), '\n');
204 if (Pos == NULL)
206 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r')
208 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r')
  /external/llvm/bindings/ocaml/executionengine/
executionengine_ocaml.c 275 char *CEnvBuf, *Pos;
294 Pos = CEnvBuf;
301 CEnv[I] = Pos;
302 memcpy(Pos, Name, NameLen);
303 Pos += NameLen;
304 *Pos++ = '=';
305 memcpy(Pos, Value, ValueLen);
306 Pos += ValueLen;
307 *Pos++ = '\0';
  /external/llvm/lib/Target/ARM/
Thumb2ITBlockPass.cpp 194 unsigned Mask = 0, Pos = 3;
197 for (; MBBI != E && Pos &&
208 Mask |= (NCC & 1) << Pos;
225 --Pos;
229 Mask |= (1 << Pos);
  /external/llvm/lib/Target/Mips/Disassembler/
MipsDisassembler.cpp 549 // First we need to grab the pos(lsb) from MCInst.
550 int Pos = Inst.getOperand(2).getImm();
551 int Size = (int) Insn - Pos + 1;
  /external/llvm/lib/Target/Mips/
MipsLongBranch.cpp 245 MachineBasicBlock::iterator Pos;
286 Pos = LongBrMBB->begin();
288 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP)
290 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA)
293 MIBundleBuilder(*LongBrMBB, Pos)
297 Pos = BalTgtMBB->begin();
299 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::AT)
301 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT)
303 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA)
306 MIBundleBuilder(*BalTgtMBB, Pos)
    [all...]
  /external/llvm/lib/Target/R600/
R600OptimizeVectorRegisters.cpp 177 MachineBasicBlock::iterator Pos = RSI->Instr;
178 MachineBasicBlock &MBB = *Pos->getParent();
179 DebugLoc DL = Pos->getDebugLoc();
191 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::INSERT_SUBREG),
208 Pos = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg)
210 DEBUG(dbgs() << " ->"; Pos->dump(););
222 RSI->Instr = Pos;
226 return Pos;
  /external/lzma/CS/7zip/Compress/LzmaAlone/
LzmaBench.cs 64 UInt32 Pos;
75 Pos = 0;
96 while (Pos < BufferSize)
98 if (GetRndBit() == 0 || Pos < 1)
99 Buffer[Pos++] = (Byte)RG.GetRnd(8);
109 while (Rep0 >= Pos);
113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++)
114 Buffer[Pos] = Buffer[Pos - Rep0];
    [all...]

Completed in 198 milliseconds

1 2 3