/external/llvm/lib/CodeGen/ |
H A D | AllocationOrder.h | 28 const unsigned *Pos; member in class:llvm::AllocationOrder 49 if (!Pos) { 50 Pos = Begin; 55 while (Pos != End) { 56 unsigned Reg = *Pos++; 64 void rewind() { Pos = 0; }
|
H A D | BranchFolding.h | 82 void setTailStartPos(MachineBasicBlock::iterator Pos) { argument 83 TailStartPos = Pos;
|
H A D | AllocationOrder.cpp | 28 : Begin(0), End(0), Pos(0), RCI(RegClassInfo), OwnedBegin(false) {
|
/external/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 59 StringRef::size_type Pos; local 60 if ((Pos = LineStr.find("struct ")) != StringRef::npos) 61 LineStr = LineStr.substr(Pos + strlen("struct ")); 62 else if ((Pos = LineStr.find("class ")) != StringRef::npos) 63 LineStr = LineStr.substr(Pos + strlen("class ")); 64 else if ((Pos = LineStr.find("union ")) != StringRef::npos) 65 LineStr = LineStr.substr(Pos + strlen("union ")); 76 StringRef::size_type Pos = LineStr.find(" Size:"); local 77 if (Pos != StringRef::npos) { 79 LineStr = LineStr.substr(Pos [all...] |
H A D | VerifyDiagnosticConsumer.cpp | 245 SourceLocation Pos) { 298 PP.Diag(Pos.getLocWithOffset(PH.C-PH.Begin), 307 PP.Diag(Pos.getLocWithOffset(PH.C-PH.Begin), 329 Directive *D = Directive::Create(RegexKind, Pos, Text, Count); 334 PP.Diag(Pos.getLocWithOffset(ContentBegin-PH.Begin), 243 ParseDirective(const char *CommentStart, unsigned CommentLen, ExpectedData &ED, Preprocessor &PP, SourceLocation Pos) argument
|
/external/llvm/lib/Support/ |
H A D | FoldingSet.cpp | 87 unsigned Pos = 0; local 93 Pos = (Units + 1) * 4; 99 for (Pos += 4; Pos <= Size; Pos += 4) { 100 unsigned V = ((unsigned char)String[Pos - 4] << 24) | 101 ((unsigned char)String[Pos - 3] << 16) | 102 ((unsigned char)String[Pos - 2] << 8) | 103 (unsigned char)String[Pos - 1]; 108 for (Pos [all...] |
H A D | FileUtilities.cpp | 50 static const char *BackupNumber(const char *Pos, const char *FirstChar) { argument 52 if (!isNumberChar(*Pos)) return Pos; 56 while (Pos > FirstChar && isNumberChar(Pos[-1])) { 58 if (Pos[-1] == '.') { 64 --Pos; 65 if (Pos > FirstChar && isSignedChar(Pos[0]) && !isExponentChar(Pos[ 74 EndOfNumber(const char *Pos) argument [all...] |
H A D | Triple.cpp | 380 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) { 381 if (Found[Pos]) 392 switch (Pos) { 418 if (Pos < Idx) { 424 // Insert the component being moved at Pos, displacing any existing 426 for (unsigned i = Pos; !CurrentComponent.empty(); ++i) { 434 } else if (Pos > Idx) { 436 // reaches the target position Pos [all...] |
H A D | CommandLine.cpp | 243 StringRef::size_type Pos = Val.find(','); local 245 while (Pos != StringRef::npos) { 247 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) 250 Val = Val.substr(Pos+1); 251 Value.substr(Pos+1); // Increment the original value pointer as well. 253 Pos = Val.find(','); 441 size_t Pos = WorkStr.find_first_not_of(Delims); local 442 if (Pos == StringRef::npos) Pos = WorkStr.size(); 443 WorkStr = WorkStr.substr(Pos); 448 size_t Pos = WorkStr.find_first_of(Delims); local [all...] |
H A D | StringRef.cpp | 146 unsigned Len = Length-From, Pos = From; 148 if (substr(Pos, N).equals(Str)) // See if this is the correct substring. 149 return Pos; 152 uint8_t Skip = BadCharSkip[(uint8_t)(*this)[Pos+N-1]]; 154 Pos += Skip;
|
/external/llvm/include/llvm/Support/ |
H A D | StreamableMemoryObject.h | 148 // Fetch enough bytes such that Pos can be read or EOF is reached 149 // (i.e. BytesRead > Pos). Return true if Pos can be read. 153 bool fetchToPos(size_t Pos) const { 154 if (EOFReached) return Pos < ObjectSize; 155 while (Pos >= BytesRead) { 161 if (ObjectSize && BytesRead < Pos) 163 if (BytesRead <= Pos) { // reached EOF/ran out of bytes
|
/external/icu4c/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);
|
H A D | ruleiter.cpp | 88 void RuleCharacterIterator::getPos(RuleCharacterIterator::Pos& p) const { 94 void RuleCharacterIterator::setPos(const RuleCharacterIterator::Pos& p) {
|
/external/mesa3d/src/mesa/program/ |
H A D | prog_uniform.h | 53 GLint Pos; member in struct:gl_uniform
|
/external/llvm/bindings/ocaml/executionengine/ |
H A D | executionengine_ocaml.c | 272 char *CEnvBuf, *Pos; local 291 Pos = CEnvBuf; 298 CEnv[I] = Pos; 299 memcpy(Pos, Name, NameLen); 300 Pos += NameLen; 301 *Pos++ = '='; 302 memcpy(Pos, Value, ValueLen); 303 Pos += ValueLen; 304 *Pos++ = '\0';
|
/external/llvm/lib/Target/ARM/ |
H A D | Thumb2ITBlockPass.cpp | 198 unsigned Mask = 0, Pos = 3; local 201 for (; MBBI != E && Pos && 212 Mask |= (NCC & 1) << Pos; 229 --Pos; 233 Mask |= (1 << Pos);
|
/external/clang/include/clang/Sema/ |
H A D | IdentifierResolver.h | 60 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) { argument 61 Decls.insert(Pos, D); 179 void InsertDeclAfter(iterator Pos, NamedDecl *D);
|
/external/llvm/lib/MC/ |
H A D | SubtargetFeature.cpp | 73 size_t Pos = 0; 76 size_t Comma = S.find(',', Pos); 80 V.push_back(S.substr(Pos)); 84 V.push_back(S.substr(Pos, Comma - Pos)); 86 Pos = Comma + 1;
|
/external/clang/test/CodeGen/ |
H A D | 2007-03-05-DataLayout.c | 30 #define Pos(x) ((x)->pos) macro
|
/external/clang/lib/AST/ |
H A D | CXXInheritance.cpp | 634 Pos = Overriding.begin(), PosEnd = Overriding.end(); 635 Pos != PosEnd; 637 if (!Pos->InVirtualSubobject) { 638 ++Pos; 652 if (Pos == OP) 656 const_cast<CXXRecordDecl *>(Pos->InVirtualSubobject))) 663 Pos = Overriding.erase(Pos); 666 ++Pos;
|
/external/llvm/include/llvm/CodeGen/ |
H A D | LiveInterval.h | 222 iterator advanceTo(iterator I, SlotIndex Pos) { 224 if (Pos >= endIndex()) 226 while (I->end <= Pos) ++I; 231 /// Pos, or end(). This is the same as advanceTo(begin(), Pos), but faster 234 /// If Pos is contained in a LiveRange, that range is returned. 235 /// If Pos is in a hole, the following LiveRange is returned. 236 /// If Pos is beyond endIndex, end() is returned. 237 iterator find(SlotIndex Pos); 239 const_iterator find(SlotIndex Pos) cons [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | PathDiagnostic.h | 344 PathDiagnosticLocation Pos; member in class:clang::ento::PathDiagnosticSpotPiece 350 : PathDiagnosticPiece(s, k), Pos(pos) { 351 assert(Pos.isValid() && Pos.asLocation().isValid() && 353 if (addPosRange && Pos.hasRange()) addRange(Pos.asRange()); 356 PathDiagnosticLocation getLocation() const { return Pos; } 357 virtual void flattenLocations() { Pos.flatten(); }
|
/external/llvm/include/llvm/MC/ |
H A D | MCInstrDesc.h | 152 unsigned Pos = 16 + Constraint * 4; local 153 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf;
|
/external/clang/lib/Sema/ |
H A D | IdentifierResolver.cpp | 176 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) { argument 191 if (Pos == iterator()) { 208 if (Pos.isIterator()) { 209 IDI->InsertDecl(Pos.getIterator() + 1, D);
|
/external/clang/lib/Basic/ |
H A D | Module.cpp | 163 llvm::StringMap<unsigned>::const_iterator Pos = SubModuleIndex.find(Name); local 164 if (Pos == SubModuleIndex.end()) 167 return SubModules[Pos->getValue()];
|