/external/llvm/lib/Support/ |
H A D | LineIterator.cpp | 31 const char *Pos = CurrentLine.end(); local 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 ! [all...] |
H A D | ConvertUTFWrapper.cpp | 23 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); local 24 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { 26 ErrorPtr = Pos;
|
H A D | FileUtilities.cpp | 49 static const char *BackupNumber(const char *Pos, const char *FirstChar) { argument 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[ 73 EndOfNumber(const char *Pos) argument [all...] |
H A D | FoldingSet.cpp | 93 unsigned Pos = 0; local 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 [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | ruleiter.h | 133 struct Pos : public UMemory { struct in class:RuleCharacterIterator 146 * RuleCharacterIterator::Pos pos; 158 void getPos(Pos& p) const; 165 void setPos(const Pos& p);
|
/external/icu/icu4c/source/common/ |
H A D | ruleiter.h | 133 struct Pos : public UMemory { struct in class:RuleCharacterIterator 146 * RuleCharacterIterator::Pos pos; 158 void getPos(Pos& p) const; 165 void setPos(const Pos& p);
|
/external/llvm/lib/CodeGen/ |
H A D | AllocationOrder.h | 31 int Pos; member in class:llvm::AllocationOrder 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 [all...] |
H A D | LiveInterval.cpp | 34 LiveRange::iterator LiveRange::find(SlotIndex Pos) { argument 38 if (empty() || Pos >= endIndex()) 44 if (Pos < I[Mid].end)
|
H A D | BranchFolding.h | 82 void setTailStartPos(MachineBasicBlock::iterator Pos) { argument 83 TailStartPos = Pos;
|
/external/llvm/lib/TableGen/ |
H A D | TableGenBackend.cpp | 25 size_t Pos = (size_t)OS.tell(); local 30 for (size_t i = (size_t)OS.tell() - Pos; i < e; ++i) 38 size_t Pos = 0U; local 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/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 30 size_t Pos; member in class:__anon26001::UnwindOpcodeStreamer 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/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 61 StringRef::size_type Pos; local 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:"); local 79 if (Pos != StringRef::npos) { 81 LineStr = LineStr.substr(Pos [all...] |
H A D | TextDiagnostic.cpp | 49 size_t Pos = Str.find(ToggleHighlight); local 50 OS << Str.slice(0, Pos); 51 if (Pos == StringRef::npos) 54 Str = Str.substr(Pos + 1);
|
/external/llvm/lib/DebugInfo/ |
H A D | DWARFDebugAbbrev.cpp | 108 const auto Pos = AbbrDeclSets.find(CUAbbrOffset); local 109 if (Pos != End) { 110 PrevAbbrOffsetPos = Pos; 111 return &(Pos->second);
|
/external/clang/tools/clang-check/ |
H A D | ClangCheck.cpp | 146 InsertAdjuster(const CommandLineArguments &Extra, Position Pos) argument 147 : Extra(Extra), Pos(Pos) { 150 InsertAdjuster(const char *Extra, Position Pos) argument 151 : Extra(1, std::string(Extra)), Pos(Pos) { 159 if (Pos == END) { 172 const Position Pos; member in class:__anon19492::InsertAdjuster
|
/external/chromium_org/third_party/skia/gm/ |
H A D | textblob.cpp | 17 enum Pos { enum in namespace:__anon15058 25 Pos pos;
|
/external/clang/include/clang/Sema/ |
H A D | IdentifierResolver.h | 55 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) { argument 56 Decls.insert(Pos, D); 171 void InsertDeclAfter(iterator Pos, NamedDecl *D);
|
/external/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 87 typename MapType::const_iterator Pos = Map.find(Key); local 88 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; 104 typename MapType::const_iterator Pos = Map.find(Key); local 105 return Pos == Map.end()? 0 : 1; 109 typename MapType::const_iterator Pos = Map.find(Key); local 110 return Pos == Map.end()? Vector.end() : 111 (Vector.begin() + Pos->second); 115 typename MapType::const_iterator Pos = Map.find(Key); local 116 return Pos 122 typename MapType::iterator Pos = Map.find(Vector.back().first); local [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 142 void setIVIncInsertPos(const Loop *L, Instruction *Pos) { argument 146 IVIncInsertPos = Pos;
|
/external/clang/lib/Basic/ |
H A D | Module.cpp | 193 llvm::StringMap<unsigned>::const_iterator Pos = SubModuleIndex.find(Name); local 194 if (Pos == SubModuleIndex.end()) 197 return SubModules[Pos->getValue()];
|
/external/clang/lib/Sema/ |
H A D | IdentifierResolver.cpp | 164 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) { argument 179 if (Pos == iterator()) { 196 if (Pos.isIterator()) { 197 IDI->InsertDecl(Pos.getIterator() + 1, D);
|
/external/llvm/lib/Option/ |
H A D | ArgList.cpp | 194 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { argument 195 if (Arg *A = getLastArg(Pos, Neg)) 196 return A->getOption().matches(Pos); 200 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, argument 202 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) 203 return A->getOption().matches(Pos) || A->getOption().matches(PosAlias);
|
/external/llvm/lib/Target/ARM/ |
H A D | Thumb2ITBlockPass.cpp | 196 unsigned Mask = 0, Pos = 3; local 203 for (; MBBI != E && Pos && 214 Mask |= (NCC & 1) << Pos; 231 --Pos; 236 Mask |= (1 << Pos);
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsLongBranch.cpp | 249 MachineBasicBlock::iterator Pos; local 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/ |
H A D | R600OptimizeVectorRegisters.cpp | 181 MachineBasicBlock::iterator Pos = RSI->Instr; local 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;
|