Searched defs:Previous (Results 1 - 25 of 25) sorted by relevance

/external/llvm/lib/MC/
H A DStringTableBuilder.cpp39 StringRef Previous; local
41 if (Previous.endswith(s)) {
49 Previous = s;
/external/llvm/include/llvm/ADT/
H A Dedit_distance.h61 unsigned *Previous = SmallBuffer; local
63 Previous = new unsigned [2*(n+1)];
64 Allocated.reset(Previous);
66 unsigned *Current = Previous + (n + 1);
69 Previous[i] = i;
78 Previous[x-1] + (FromArray[y-1] == ToArray[x-1] ? 0u : 1u),
79 std::min(Current[x-1], Previous[x])+1);
82 if (FromArray[y-1] == ToArray[x-1]) Current[x] = Previous[x-1];
83 else Current[x] = std::min(Current[x-1], Previous[x]) + 1;
92 Current = Previous;
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.h57 unsigned Previous; member in struct:llvm::EHStreamer::ActionEntry
/external/webrtc/src/system_wrappers/source/
H A Dmap.cc112 MapItem* MapWrapper::Previous(MapItem* item) const function in class:webrtc::MapWrapper
H A Dmap_no_stl.cc136 MapNoStlItem* MapNoStl::Previous(MapNoStlItem* item) const function in class:webrtc::MapNoStl
H A Dlist_no_stl.cc140 ListItem* ListWrapper::Previous(ListItem* item) const function in class:webrtc::ListWrapper
H A Dlist_stl.cc163 ListItem* ListWrapper::Previous(ListItem* item) const function in class:webrtc::ListWrapper
H A Dlist_unittest.cc62 ListItem* Previous(ListItem* item) const { function in class:ListWrapperSimple
63 return list_.Previous(item);
355 // Reverse the list using PushBack and Previous.
357 item = ascending_list->Previous(item)) {
/external/clang/include/clang/AST/
H A DDeclContextInternals.h250 llvm::PointerIntPair<StoredDeclsMap*, 1> Previous; member in class:clang::StoredDeclsMap
H A DRedeclarable.h36 typedef Decl *Previous; typedef in class:clang::Redeclarable::DeclLink
41 typedef llvm::PointerUnion<Previous, UninitializedLatest> NotKnownLatest;
52 : Next(NotKnownLatest(Previous(D))) {}
58 Next.get<NotKnownLatest>().template is<Previous>();
66 if (NKL.is<Previous>())
67 return static_cast<decl_type*>(NKL.get<Previous>());
79 Next = Previous(D);
/external/clang/lib/Frontend/
H A DFrontendAction.cpp38 ASTDeserializationListener *Previous; member in class:__anon17922::DelegatingDeserializationListener
43 ASTDeserializationListener *Previous, bool DeletePrevious)
44 : Previous(Previous), DeletePrevious(DeletePrevious) {}
47 delete Previous;
51 if (Previous)
52 Previous->ReaderInitialized(Reader);
56 if (Previous)
57 Previous->IdentifierRead(ID, II);
60 if (Previous)
42 DelegatingDeserializationListener( ASTDeserializationListener *Previous, bool DeletePrevious) argument
81 DeserializedDeclsDumper(ASTDeserializationListener *Previous, bool DeletePrevious) argument
102 DeserializedDeclsChecker(ASTContext &Ctx, const std::set<std::string> &NamesToCheck, ASTDeserializationListener *Previous, bool DeletePrevious) argument
[all...]
/external/libnfc-nxp/src/
H A DphFriNfc_NdefReg.h218 struct phFriNfc_NdefReg_Cb *Previous; member in struct:phFriNfc_NdefReg_Cb
/external/clang/lib/Format/
H A DContinuationIndenter.cpp44 return Tok.isMemberAccess() && Tok.Previous && Tok.Previous->closesScope();
50 const FormatToken &Previous = *Current.Previous; local
54 return Previous.is(tok::comma) && !Current.isTrailingComment() &&
55 (Previous.Type != TT_CtorInitializerComma ||
93 const FormatToken &Previous = *Current.Previous; local
94 assert(&Previous == Current.Previous);
129 const FormatToken &Previous = *Current.Previous; local
260 const FormatToken &Previous = *State.NextToken->Previous; local
347 const FormatToken &Previous = *State.NextToken->Previous; local
476 const FormatToken &Previous = *State.NextToken->Previous; local
622 const FormatToken *Previous = Current.getPreviousNonComment(); local
680 const FormatToken *Previous = Current.getPreviousNonComment(); local
[all...]
H A DFormatToken.h114 MatchingParen(nullptr), Previous(nullptr), Next(nullptr),
362 FormatToken *Tok = Previous;
364 Tok = Tok->Previous;
392 FormatToken *Previous; member in struct:clang::format::FormatToken
H A DFormat.cpp954 /// \brief An edge in the solution space from \c Previous->State to \c State,
957 StateNode(const LineState &State, bool NewLine, StateNode *Previous) argument
958 : State(State), NewLine(NewLine), Previous(Previous) {}
961 StateNode *Previous; member in struct:clang::format::__anon17898::UnwrappedLineFormatter::StateNode
1041 assert(!B.First->Previous);
1045 B.First->Previous = A.Last;
1135 while (Current->Previous) {
1137 Current = Current->Previous;
1148 << (*I)->Previous
1199 FormatToken &Previous = *State.NextToken->Previous; local
[all...]
/external/tinyxml/
H A Dtinyxml.cpp1180 const TiXmlAttribute* TiXmlAttribute::Previous() const function in class:TiXmlAttribute
1189 TiXmlAttribute* TiXmlAttribute::Previous() function in class:TiXmlAttribute
/external/clang/lib/Driver/
H A DDriver.cpp993 Arg *Previous = *it++; local
997 << Previous->getSpelling() << (*it)->getSpelling();
998 Previous = *it++;
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.h855 const TiXmlAttribute* Previous() const;
856 TiXmlAttribute* Previous() { function in class:TiXmlAttribute
857 return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttribute* >(this))->Previous() );
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1322 MachineBasicBlock::iterator Previous = SplitPoint; local
1323 --Previous;
1325 while (MIIsInTerminatorSequence(Previous)) {
1326 SplitPoint = Previous;
1327 if (Previous == Start)
1329 --Previous;
/external/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.h855 const TiXmlAttribute* Previous() const;
856 TiXmlAttribute* Previous() { function in class:TiXmlAttribute
857 return const_cast< TiXmlAttribute* >( (const_cast< const TiXmlAttribute* >(this))->Previous() );
/external/clang/lib/Sema/
H A DSemaDeclObjC.cpp926 if (ObjCCategoryDecl *Previous
931 Diag(Previous->getLocation(), diag::note_previous_definition);
2230 ObjCMethodList *Previous = List; local
2231 for (; List; Previous = List, List = List->getNext()) {
2264 Previous->setNext(new (Mem) ObjCMethodList(Method, nullptr));
H A DSemaTemplate.cpp865 LookupResult Previous(*this, Name, NameLoc,
895 LookupQualifiedName(Previous, SemanticContext);
898 LookupName(Previous, S);
901 if (Previous.isAmbiguous())
905 if (Previous.begin() != Previous.end())
906 PrevDecl = (*Previous.begin())->getUnderlyingDecl();
952 LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName,
957 LookupQualifiedName(Previous, LookupContext);
959 if (Previous
6578 CheckDependentFunctionTemplateSpecialization(FunctionDecl *FD, const TemplateArgumentListInfo &ExplicitTemplateArgs, LookupResult &Previous) argument
6620 CheckFunctionTemplateSpecialization( FunctionDecl *FD, TemplateArgumentListInfo *ExplicitTemplateArgs, LookupResult &Previous) argument
6784 CheckMemberSpecialization(NamedDecl *Member, LookupResult &Previous) argument
[all...]
H A DSemaDecl.cpp1126 static bool AllowOverloadingOfFunction(LookupResult &Previous, argument
1131 if (Previous.getResultKind() == LookupResult::FoundOverloaded)
1134 return (Previous.getResultKind() == LookupResult::Found
1135 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>());
3057 LookupResult &Previous) {
3066 if (Previous.isShadowed())
3093 void Sema::MergeVarDecl(VarDecl *New, LookupResult &Previous) { argument
3103 if (Previous.isSingleResult()) {
3105 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl());
3108 Old = dyn_cast<VarDecl>(Previous
3056 mergeTypeWithPrevious(Sema &S, VarDecl *NewVD, VarDecl *OldVD, LookupResult &Previous) argument
4752 ActOnTypedefDeclarator(Scope* S, Declarator& D, DeclContext* DC, TypeSourceInfo *TInfo, LookupResult &Previous) argument
4832 ActOnTypedefNameDecl(Scope *S, DeclContext *DC, TypedefNameDecl *NewTD, LookupResult &Previous, bool &Redeclaration) argument
5200 ActOnVariableDeclarator(Scope *S, Declarator &D, DeclContext *DC, TypeSourceInfo *TInfo, LookupResult &Previous, MultiTemplateParamsArg TemplateParamLists, bool &AddToScope) argument
5829 checkGlobalOrExternCConflict( Sema &S, const T *ND, bool IsGlobal, LookupResult &Previous) argument
5912 checkForConflictWithNonVisibleExternC(Sema &S, const T *ND, LookupResult &Previous) argument
6092 CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous) argument
6282 DiagnoseInvalidRedeclaration( Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD, ActOnFDArgs &ExtraArgs, bool IsLocalFriend, Scope *S) argument
6777 ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC, TypeSourceInfo *TInfo, LookupResult &Previous, MultiTemplateParamsArg TemplateParamLists, bool &AddToScope) argument
7632 CheckFunctionDeclaration(Scope *S, FunctionDecl *NewFD, LookupResult &Previous, bool IsExplicitSpecialization) argument
10631 isAcceptableTagRedeclaration(const TagDecl *Previous, TagTypeKind NewTag, bool isDefinition, SourceLocation NewTagLoc, const IdentifierInfo &Name) argument
[all...]
H A DSemaDeclCXX.cpp7265 const LookupResult &Previous,
7314 if (Previous.empty()) return false;
7327 for (LookupResult::iterator I = Previous.begin(), E = Previous.end();
7344 switch (CheckOverload(nullptr, FD, Previous, OldDecl,
7586 LookupResult Previous(*this, NameInfo, LookupUsingDeclName,
7588 Previous.setHideTags(false);
7590 LookupName(Previous, S);
7593 LookupResult::Filter F = Previous.makeFilter();
7610 LookupQualifiedName(Previous, CurContex
7264 CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, const LookupResult &Previous, UsingShadowDecl *&PrevShadow) argument
[all...]
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp202 static void attachPreviousDeclImpl(Redeclarable<DeclT> *D, Decl *Previous);
2469 Decl *Previous) {
2470 D->RedeclLink.setPrevious(cast<DeclT>(Previous));
2476 void ASTDeclReader::attachPreviousDecl(Decl *D, Decl *Previous) { argument
2477 assert(D && Previous);
2483 attachPreviousDeclImpl(cast<TYPE##Decl>(D), Previous); \
2494 Previous->IdentifierNamespace &
2499 if (Previous->Used)
2505 if (cast<FunctionDecl>(Previous)->IsInline != FD->IsInline) {
2522 //if (!FD->IsInline || Previous
2468 attachPreviousDeclImpl(Redeclarable<DeclT> *D, Decl *Previous) argument
[all...]

Completed in 534 milliseconds