Home
last modified time | relevance | path

Searched refs:Previous (Results 1 – 25 of 83) sorted by relevance

1234

/external/llvm/include/llvm/ADT/
Dedit_distance.h61 unsigned *Previous = SmallBuffer; variable
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/clang/lib/Format/
DTokenAnnotator.cpp43 FormatToken *Left = CurrentToken->Previous; in parseAngle()
62 if (CurrentToken->Previous->isOneOf(tok::pipepipe, tok::ampamp) && in parseAngle()
63 (CurrentToken->Previous->Type == TT_BinaryOperator || in parseAngle()
84 FormatToken *Left = CurrentToken->Previous; in parseParens()
88 } else if (FormatToken *MaybeSel = Left->Previous) { in parseParens()
90 if (MaybeSel->isObjCAtKeyword(tok::objc_selector) && MaybeSel->Previous && in parseParens()
91 MaybeSel->Previous->is(tok::at)) { in parseParens()
96 if (Left->Previous && Left->Previous->is(tok::kw_static_assert)) in parseParens()
155 if (CurrentToken->Previous->Type == TT_PointerOrReference && in parseParens()
156 CurrentToken->Previous->Previous->isOneOf(tok::l_paren, in parseParens()
[all …]
DFormat.cpp577 const FormatToken &Previous = *State.NextToken->Previous; in addTokenToState() local
621 } else if (Previous.is(tok::comma) && in addTokenToState()
624 } else if (Previous.ClosesTemplateDeclaration || in addTokenToState()
645 Previous.isOneOf(tok::coloncolon, tok::equal) || in addTokenToState()
646 Previous.Type == TT_ObjCMethodExpr) { in addTokenToState()
658 if ((Previous.isOneOf(tok::comma, tok::semi) && in addTokenToState()
660 Previous.Type == TT_BinaryOperator) in addTokenToState()
662 if (Previous.Type == TT_TemplateCloser && State.ParenLevel == 0) in addTokenToState()
695 if (Previous.is(tok::l_brace)) in addTokenToState()
701 if (!(Previous.isOneOf(tok::l_paren, tok::l_brace) || in addTokenToState()
[all …]
DFormatToken.h87 PartOfMultiVariableDeclStmt(false), MatchingParen(NULL), Previous(NULL), in FormatToken()
278 FormatToken *Tok = Previous; in getPreviousNonComment()
280 Tok = Tok->Previous; in getPreviousNonComment()
294 FormatToken *Previous; member
DTokenAnnotator.h52 (*I)->Previous = Current; in AnnotatedLine()
/external/clang/lib/Frontend/
DFrontendAction.cpp38 ASTDeserializationListener *Previous; member in __anon77b733730111::DelegatingDeserializationListener
42 ASTDeserializationListener *Previous) in DelegatingDeserializationListener() argument
43 : Previous(Previous) { } in DelegatingDeserializationListener()
46 if (Previous) in ReaderInitialized()
47 Previous->ReaderInitialized(Reader); in ReaderInitialized()
51 if (Previous) in IdentifierRead()
52 Previous->IdentifierRead(ID, II); in IdentifierRead()
55 if (Previous) in TypeRead()
56 Previous->TypeRead(Idx, T); in TypeRead()
59 if (Previous) in DeclRead()
[all …]
/external/libnfc-nxp/src/
DphFriNfc_NdefReg.c133 NdefCb->Previous =NULL; in phFriNfc_NdefReg_AddCb()
142 NdefCb->Previous = NULL; in phFriNfc_NdefReg_AddCb()
143 NdefReg->NdefTypeList->Previous = NdefCb; in phFriNfc_NdefReg_AddCb()
144 NdefReg->NdefTypeList = NdefReg->NdefTypeList->Previous; in phFriNfc_NdefReg_AddCb()
191 if(tempNode->Previous==NULL && tempNode->Next!=NULL) in phFriNfc_NdefReg_RmCb()
194 NdefReg->NdefTypeList->Previous = NULL; in phFriNfc_NdefReg_RmCb()
198 if(tempNode->Next==NULL && tempNode->Previous==NULL) in phFriNfc_NdefReg_RmCb()
203 if (tempNode->Previous != NULL) in phFriNfc_NdefReg_RmCb()
205 tempNode->Previous->Next = tempNode->Next; in phFriNfc_NdefReg_RmCb()
209 tempNode->Next->Previous = tempNode->Previous; in phFriNfc_NdefReg_RmCb()
[all …]
DphFriNfc_NdefReg.h218 struct phFriNfc_NdefReg_Cb *Previous; member
/external/webrtc/src/system_wrappers/test/list/
Dlist.cc116 ListItem* second_to_last_item = test_list.Previous(last_item); in main()
118 FailTest(test_list.Previous(first_item) != NULL); in main()
119 FailTest(test_list.Previous(NULL) != NULL); in main()
162 FailTest(test_list.Previous(NULL) != NULL); in main()
/external/clang/include/clang/Lex/
DMacroInfo.h331 MacroDirective *Previous;
363 : Previous(0), Loc(Loc), MDKind(K), IsFromPCH(false), IsHidden(false), in MacroDirective()
375 Previous = Prev; in setPrevious()
379 const MacroDirective *getPrevious() const { return Previous; } in getPrevious()
382 MacroDirective *getPrevious() { return Previous; } in getPrevious()
/external/clang/lib/Sema/
DSemaDecl.cpp1029 static bool AllowOverloadingOfFunction(LookupResult &Previous, in AllowOverloadingOfFunction() argument
1034 if (Previous.getResultKind() == LookupResult::FoundOverloaded) in AllowOverloadingOfFunction()
1037 return (Previous.getResultKind() == LookupResult::Found in AllowOverloadingOfFunction()
1038 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>()); in AllowOverloadingOfFunction()
2894 void Sema::MergeVarDecl(VarDecl *New, LookupResult &Previous, in MergeVarDecl() argument
2902 if (!Previous.isSingleResult() || in MergeVarDecl()
2903 !(Old = dyn_cast<VarDecl>(Previous.getFoundDecl()))) { in MergeVarDecl()
2906 Diag(Previous.getRepresentativeDecl()->getLocation(), in MergeVarDecl()
4166 LookupResult Previous(*this, NameInfo, LookupOrdinaryName, in HandleDeclarator() local
4189 Previous.clear(LookupRedeclarationWithLinkage); in HandleDeclarator()
[all …]
DSemaTemplate.cpp878 LookupResult Previous(*this, Name, NameLoc, in CheckClassTemplate() local
907 LookupQualifiedName(Previous, SemanticContext); in CheckClassTemplate()
910 LookupName(Previous, S); in CheckClassTemplate()
913 if (Previous.isAmbiguous()) in CheckClassTemplate()
917 if (Previous.begin() != Previous.end()) in CheckClassTemplate()
918 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
964 LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName, in CheckClassTemplate() local
969 LookupQualifiedName(Previous, LookupContext); in CheckClassTemplate()
971 if (Previous.isAmbiguous()) in CheckClassTemplate()
974 if (Previous.begin() != Previous.end()) in CheckClassTemplate()
[all …]
DSemaTemplateInstantiateDecl.cpp1313 LookupResult Previous(SemaRef, Function->getDeclName(), SourceLocation(), in VisitFunctionDecl() local
1337 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitFunctionDecl()
1342 Previous)) in VisitFunctionDecl()
1351 SemaRef.LookupQualifiedName(Previous, DC); in VisitFunctionDecl()
1357 if (Previous.isSingleTagDecl()) in VisitFunctionDecl()
1358 Previous.clear(); in VisitFunctionDecl()
1361 SemaRef.CheckFunctionDeclaration(/*Scope*/ 0, Function, Previous, in VisitFunctionDecl()
1660 LookupResult Previous(SemaRef, NameInfo, Sema::LookupOrdinaryName, in VisitCXXMethodDecl() local
1664 SemaRef.LookupQualifiedName(Previous, Record); in VisitCXXMethodDecl()
1670 if (Previous.isSingleTagDecl()) in VisitCXXMethodDecl()
[all …]
/external/webrtc/src/system_wrappers/test/map/
Dmap.cc94 MapItem* second_to_last_item = test_map.Previous(last_item); in main()
97 FailTest(test_map.Previous(first_item) != NULL); in main()
/external/libvpx/libvpx/examples/includes/geshi/docs/
Dgeshi-doc.txt99 Top | Contents | Next | Previous
105 Top | Contents | Next | Previous
119 Top | Contents | Next | Previous
142 Top | Contents | Next | Previous
148 Top | Contents | Next | Previous
157 Top | Contents | Next | Previous
161 Top | Contents | Next | Previous
165 Top | Contents | Next | Previous
169 Top | Contents | Next | Previous
180 Top | Contents | Next | Previous
[all …]
/external/llvm/unittests/ADT/
DSCCIteratorTest.cpp145 NodeSubset Previous(Reachable); in NodesReachableFrom() local
149 if (Previous.count(i)) in NodesReachableFrom()
153 if (Reachable == Previous) in NodesReachableFrom()
/external/webrtc/src/system_wrappers/interface/
Dmap_wrapper.h65 MapItem* Previous(MapItem* item) const;
Dlist_wrapper.h77 ListItem* Previous(ListItem* item) const;
/external/webrtc/src/system_wrappers/source/
Dlist_stl.h55 ListItem* Previous(ListItem* item) const;
Dmap_no_stl.h55 MapNoStlItem* Previous(MapNoStlItem* item) const;
Dlist_no_stl.h59 ListNoStlItem* Previous(ListNoStlItem* item) const;
Dlist_unittest.cc62 ListItem* Previous(ListItem* item) const { in Previous() function in ListWrapperSimple
63 return list_.Previous(item); in Previous()
357 item = ascending_list->Previous(item)) { in TEST()
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ui/
Dactions_unittests.js67 new ui.actions.Previous(),
Dactions.js101 ui.actions.Previous = base.extends(Action, {
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfException.h66 unsigned Previous; member

1234