/external/llvm/lib/TableGen/ |
TableGenBackend.cpp | 21 uint64_t Pos = OS.tell(); 23 for (unsigned i = OS.tell() - Pos, e = 80 - Suffix.size(); i != e; ++i)
|
/external/clang/lib/Basic/ |
ConvertUTFWrapper.cpp | 21 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); 22 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { 24 ErrorPtr = Pos;
|
Module.cpp | 163 llvm::StringMap<unsigned>::const_iterator Pos = SubModuleIndex.find(Name); 164 if (Pos == SubModuleIndex.end()) 167 return SubModules[Pos->getValue()];
|
Diagnostic.cpp | 155 DiagStatePointsTy::iterator Pos = DiagStatePoints.end(); 159 Pos = std::upper_bound(DiagStatePoints.begin(), DiagStatePoints.end(), 161 --Pos; 162 return Pos; 208 DiagStatePointsTy::iterator Pos = GetDiagStatePointForLoc(Loc); 209 assert(Pos != DiagStatePoints.end()); 213 I = Pos+1, E = DiagStatePoints.end(); I != E; ++I) { 218 if (Pos->Loc == Loc) { 225 Pos->Loc.isBeforeInTranslationUnitThan(Loc); 226 DiagStates.push_back(*Pos->State) [all...] |
DiagnosticIDs.cpp | 380 Pos = Diag.GetDiagStatePointForLoc(Loc); 381 DiagnosticsEngine::DiagState *State = Pos->State;
|
/external/clang/lib/Frontend/ |
LayoutOverrideSource.cpp | 60 StringRef::size_type Pos; 61 if ((Pos = LineStr.find("struct ")) != StringRef::npos) 62 LineStr = LineStr.substr(Pos + strlen("struct ")); 63 else if ((Pos = LineStr.find("class ")) != StringRef::npos) 64 LineStr = LineStr.substr(Pos + strlen("class ")); 65 else if ((Pos = LineStr.find("union ")) != StringRef::npos) 66 LineStr = LineStr.substr(Pos + strlen("union ")); 77 StringRef::size_type Pos = LineStr.find(" Size:"); 78 if (Pos != StringRef::npos) { 80 LineStr = LineStr.substr(Pos + strlen(" Size:")) [all...] |
CompilerInstance.cpp | [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 | 28 const unsigned *Pos; 49 if (!Pos) { 50 Pos = Begin; 55 while (Pos != End) { 56 unsigned Reg = *Pos++; 64 void rewind() { Pos = 0; }
|
TargetInstrInfoImpl.cpp | 338 MachineBasicBlock::iterator Pos = MI; 342 storeRegToStackSlot(*MBB, Pos, MO.getReg(), MO.isKill(), FI, RC, TRI); 344 loadRegFromStackSlot(*MBB, Pos, MO.getReg(), FI, RC, TRI); 345 return --Pos;
|
/external/mesa3d/src/mesa/program/ |
prog_uniform.h | 53 GLint Pos;
|
/external/clang/test/CodeGen/ |
2007-03-05-DataLayout.c | 17 vector pos; member in struct:bnode 30 #define Pos(x) ((x)->pos)
|
/external/clang/lib/Lex/ |
Preprocessor.cpp | 658 std::vector<CommentHandler *>::iterator Pos 660 assert(Pos != CommentHandlers.end() && "Comment handler not registered"); 661 CommentHandlers.erase(Pos);
|
PPMacroExpansion.cpp | 37 macro_iterator Pos = Macros.find(II); 38 if (Pos == Macros.end()) { 41 Pos = Macros.find(II); 43 assert(Pos != Macros.end() && "Identifier macro info is missing!"); 44 assert(Pos->second->getUndefLoc().isInvalid() && "Macro is undefined!"); 45 return Pos->second; [all...] |
/external/clang/lib/Rewrite/Frontend/ |
InclusionRewriter.cpp | 182 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); 183 if (Pos == NULL) 185 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r') 187 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r')
|
/external/libvpx/vp8/common/x86/ |
postproc_mmx.c | 1117 unsigned char *Pos = Start + i * Pitch; 1123 mov esi, Pos [all...] |
/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/Support/ |
FoldingSet.cpp | 95 unsigned Pos = 0; 101 Pos = (Units + 1) * 4; 107 for (Pos += 4; Pos <= Size; Pos += 4) { 108 unsigned V = ((unsigned char)String[Pos - 4] << 24) | 109 ((unsigned char)String[Pos - 3] << 16) | 110 ((unsigned char)String[Pos - 2] << 8) | 111 (unsigned char)String[Pos - 1]; 116 for (Pos += 4; Pos <= Size; Pos += 4) [all...] |
/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 | 509 // First we need to grab the pos(lsb) from MCInst. 510 int Pos = Inst.getOperand(2).getImm(); 511 int Size = (int) Insn - Pos + 1;
|
/external/llvm/lib/Target/Mips/ |
MipsLongBranch.cpp | 243 MachineBasicBlock::iterator Pos; 280 Pos = LongBrMBB->begin(); 282 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP) 284 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA) 286 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::BAL_BR)).addMBB(BalTgtMBB); 287 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LUi), Mips::AT).addImm(Hi) 290 Pos = BalTgtMBB->begin(); 292 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::AT) 294 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT) 296 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 284 FullSourceLoc Pos = P.getLocation().asLocation(); 286 if (!Pos.isValid()) 290 assert(&Pos.getManager() == &SM && "SourceManagers are different!"); 291 std::pair<FileID, unsigned> LPosInfo = SM.getDecomposedExpansionLoc(Pos); 302 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData();
|
/external/llvm/utils/FileCheck/ |
FileCheck.cpp | 742 size_t Pos = CheckStr.NotStrings[ChunkNo].second.Match(SkippedRegion, 745 if (Pos == StringRef::npos) continue; 747 SM.PrintMessage(SMLoc::getFromPointer(LastMatch+Pos), SourceMgr::DK_Error,
|
/external/clang/lib/AST/ |
CommentParser.cpp | 41 Position Pos; 44 return Pos.CurToken >= Toks.size(); 50 const Token &Tok = Toks[Pos.CurToken]; 52 Pos.BufferStart = Tok.getText().begin(); 53 Pos.BufferEnd = Tok.getText().end(); 54 Pos.BufferPtr = Pos.BufferStart; 55 Pos.BufferStartLoc = Tok.getLocation(); 59 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart [all...] |
/external/clang/lib/Sema/ |
Sema.cpp | 419 llvm::DenseMap<IdentifierInfo*,WeakInfo>::iterator Pos 421 if (Pos != WeakUndeclaredIdentifiers.end()) [all...] |