/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...] |
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/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 | 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/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/tools/clang-check/ |
ClangCheck.cpp | 146 InsertAdjuster(const CommandLineArguments &Extra, Position Pos) 147 : Extra(Extra), Pos(Pos) { 150 InsertAdjuster(const char *Extra, Position Pos) 151 : Extra(1, std::string(Extra)), Pos(Pos) { 159 if (Pos == END) { 172 const Position Pos;
|
/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 | 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...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugAbbrev.cpp | 108 const auto Pos = AbbrDeclSets.find(CUAbbrOffset); 109 if (Pos != End) { 110 PrevAbbrOffsetPos = Pos; 111 return &(Pos->second);
|
/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/clang/lib/Basic/ |
Module.cpp | 193 llvm::StringMap<unsigned>::const_iterator Pos = SubModuleIndex.find(Name); 194 if (Pos == SubModuleIndex.end()) 197 return SubModules[Pos->getValue()];
|
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | 40 macro_iterator Pos = Macros.find(II); 41 assert(Pos != Macros.end() && "Identifier macro info is missing!"); 42 return Pos->second; [all...] |
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;
|
Preprocessor.cpp | 802 std::vector<CommentHandler *>::iterator Pos 804 assert(Pos != CommentHandlers.end() && "Comment handler not registered"); 805 CommentHandlers.erase(Pos);
|
/external/clang/lib/Rewrite/Frontend/ |
InclusionRewriter.cpp | 202 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); 203 if (!Pos) 205 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r') 207 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 | 196 unsigned Mask = 0, Pos = 3; 203 for (; MBBI != E && Pos && 214 Mask |= (NCC & 1) << Pos; 231 --Pos; 236 Mask |= (1 << Pos);
|
/external/llvm/lib/Target/Mips/ |
MipsLongBranch.cpp | 249 MachineBasicBlock::iterator Pos; 291 Pos = LongBrMBB->begin(); 293 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP) 295 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA) 314 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LONG_BRANCH_LUi), Mips::AT) 316 MIBundleBuilder(*LongBrMBB, Pos) 323 Pos = BalTgtMBB->begin(); 325 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT) 327 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA) 331 MIBundleBuilder(*BalTgtMBB, Pos) [all...] |
/external/llvm/lib/Target/R600/ |
R600OptimizeVectorRegisters.cpp | 181 MachineBasicBlock::iterator Pos = RSI->Instr; 182 MachineBasicBlock &MBB = *Pos->getParent(); 183 DebugLoc DL = Pos->getDebugLoc(); 195 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::INSERT_SUBREG), 212 Pos = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg) 214 DEBUG(dbgs() << " ->"; Pos->dump();); 226 RSI->Instr = Pos; 230 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...] |
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 335 FullSourceLoc Pos = P.getLocation().asLocation(); 337 if (!Pos.isValid()) 341 assert(&Pos.getManager() == &SM && "SourceManagers are different!"); 342 std::pair<FileID, unsigned> LPosInfo = SM.getDecomposedExpansionLoc(Pos); 353 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData();
|
/external/llvm/lib/Target/XCore/ |
XCoreFrameLowering.cpp | 315 MachineBasicBlock::iterator Pos = SpillLabels[I].first; 316 ++Pos; 320 EmitCfiOffset(MBB, Pos, dl, TII, MMI, DRegNum, Offset);
|