| /external/clang/lib/Format/ |
| D | ContinuationIndenter.cpp | 50 return Tok.isMemberAccess() && Tok.Previous && Tok.Previous->closesScope(); in startsSegmentOfBuilderTypeCall() 56 const FormatToken &Previous = *Current.Previous; in startsNextParameter() local 60 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter() 61 (Previous.isNot(TT_CtorInitializerComma) || in startsNextParameter() 100 const FormatToken &Previous = *Current.Previous; in canBreak() local 101 assert(&Previous == Current.Previous); in canBreak() 108 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak() 109 Previous.isNot(TT_DictLiteral) && Previous.BlockKind == BK_BracedInit && in canBreak() 110 Previous.Previous && in canBreak() 111 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma)) in canBreak() [all …]
|
| D | TokenAnnotator.cpp | 45 if (!CurrentToken || !CurrentToken->Previous) in parseAngle() 47 if (NonTemplateLess.count(CurrentToken->Previous)) in parseAngle() 50 const FormatToken& Previous = *CurrentToken->Previous; in parseAngle() local 51 if (Previous.Previous) { in parseAngle() 52 if (Previous.Previous->Tok.isLiteral()) in parseAngle() 54 if (Previous.Previous->is(tok::r_paren) && Contexts.size() > 1 && in parseAngle() 55 (!Previous.Previous->MatchingParen || in parseAngle() 56 !Previous.Previous->MatchingParen->is(TT_OverloadedOperatorLParen))) in parseAngle() 60 FormatToken *Left = CurrentToken->Previous; in parseAngle() 72 Left->Previous && Left->Previous->Tok.isNot(tok::kw_template); in parseAngle() [all …]
|
| /external/python/cpython3/Lib/idlelib/idle_test/ |
| D | test_autoexpand.py | 51 previous = self.auto_expand.getprevword 54 equal(previous(), '') 57 equal(previous(), 't') 60 equal(previous(), 'this') 63 equal(previous(), '') 66 equal(previous(), 'is') 69 equal(previous(), 'string') 72 equal(previous(), '') 75 equal(previous(), '') 78 previous = self.auto_expand.getprevword [all …]
|
| /external/yapf/yapf/yapflib/ |
| D | format_decision_state.py | 99 # Note: 'first_indent' is implicit in the stack. Also, we ignore 'previous', 134 previous = current.previous_token 150 if previous and previous.value == '(' and current.value == ')': 153 token = previous.previous_token 163 if previous and previous.value == '.' and current.value == '.': 171 previous = current.previous_token 179 if not previous: 182 if style.Get('SPLIT_ALL_COMMA_SEPARATED_VALUES') and previous.value == ',': 194 previous.value == ','): 223 (previous.value == ',' and [all …]
|
| D | format_token.py | 178 previous = self.previous_token 179 if not previous: 182 if previous.is_pseudo: 183 previous = previous.previous_token 184 if not previous: 188 prev_lineno = previous.lineno 189 if previous.is_multiline_string: 190 prev_lineno += previous.value.count('\n') 193 (previous.is_pseudo and previous.value != ')' and 194 cur_lineno != previous.previous_token.lineno)): [all …]
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math3/ode/events/ |
| D | FilterType.java | 90 protected Transformer selectTransformer(final Transformer previous, in selectTransformer() argument 93 switch (previous) { in selectTransformer() 97 … // initialize as if previous root (i.e. backward one) was an ignored increasing event in selectTransformer() 100 … // initialize as if previous root (i.e. backward one) was a triggered decreasing event in selectTransformer() 114 return previous; in selectTransformer() 123 return previous; in selectTransformer() 132 return previous; in selectTransformer() 141 return previous; in selectTransformer() 148 switch (previous) { in selectTransformer() 152 … // initialize as if previous root (i.e. forward one) was a triggered decreasing event in selectTransformer() [all …]
|
| /external/clang/test/Sema/ |
| D | dllimport.c | 38 // expected-note@+2{{previous attribute is here}} 40 __declspec(dllimport) extern int ExternGlobalDeclInit; // expected-note{{previous declaration is he… 44 // expected-warning@+2{{'ExternGlobalDeclInit' redeclared without 'dllimport' attribute: previous '… 49 // expected-note@+2{{previous attribute is here}} 51 __declspec(dllimport) int GlobalDeclInit; // expected-note{{previous declaration is here}} 55 // expected-warning@+2{{'GlobalDeclInit' redeclared without 'dllimport' attribute: previous 'dllimp… 60 // expected-note@+2{{previous attribute is here}} 62 int *__attribute__((dllimport)) GlobalDeclChunkAttrInit; // expected-note{{previous declaration is … 66 …+2{{'GlobalDeclChunkAttrInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignor… 71 // expected-note@+2{{previous attribute is here}} [all …]
|
| D | var-redecl.c | 3 int outer1; // expected-note{{previous definition is here}} 4 extern int outer2; // expected-note{{previous declaration is here}} 6 int outer4; // expected-note{{previous definition is here}} 8 int outer6(float); // expected-note{{previous definition is here}} 14 extern float outer3; // expected-note{{previous declaration is here}} in outer_test() 16 extern int outer5; // expected-note{{previous declaration is here}} in outer_test() 19 extern int outer8; // expected-note{{previous definition is here}} in outer_test() 22 extern int outer9; // expected-note{{previous declaration is here}} in outer_test() 32 extern int outer13; // expected-note{{previous declaration is here}} 35 extern int outer11; // expected-note{{previous declaration is here}} in outer_shadowing_test() [all …]
|
| D | function-redecl.c | 5 void g0(); // expected-note{{previous declaration is here}} expected-note{{'g0' declared here}} 24 int g2(int, int); // expected-note{{previous declaration is here}} 37 void f1(double); // expected-note{{previous declaration is here}} in test() 45 extern void g3(int); // expected-note{{previous declaration is here}} 49 extern int f2; // expected-note 2 {{previous definition is here}} in test2() 63 int outer1(int); // expected-note{{previous declaration is here}} 65 int outer4(int); // expected-note{{previous declaration is here}} 66 int outer5; // expected-note{{previous definition is here}} 71 int outer2(int); // expected-note{{previous declaration is here}} in outer_test() 72 int outer3(int); // expected-note{{previous declaration is here}} in outer_test() [all …]
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/exception/ |
| D | NonMonotonousSequenceException.java | 47 * Previous value. 49 private final Number previous; field in NonMonotonousSequenceException 57 * @param previous Previous value in the sequence. 61 Number previous, in NonMonotonousSequenceException() argument 63 this(wrong, previous, index, MathUtils.OrderDirection.INCREASING, true); in NonMonotonousSequenceException() 70 * @param previous Previous value in the sequence. 78 Number previous, in NonMonotonousSequenceException() argument 89 wrong, previous, index, index - 1); in NonMonotonousSequenceException() 94 this.previous = previous; in NonMonotonousSequenceException() 118 * @return the previous value. [all …]
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math3/exception/ |
| D | NonMonotonicSequenceException.java | 41 /** Previous value. */ 42 private final Number previous; field in NonMonotonicSequenceException 49 * @param previous Previous value in the sequence. 52 public NonMonotonicSequenceException(Number wrong, Number previous, int index) { in NonMonotonicSequenceException() argument 53 this(wrong, previous, index, MathArrays.OrderDirection.INCREASING, true); in NonMonotonicSequenceException() 60 * @param previous Previous value in the sequence. 68 Number previous, in NonMonotonicSequenceException() argument 81 previous, in NonMonotonicSequenceException() 88 this.previous = previous; in NonMonotonicSequenceException() 115 * @return the previous value. [all …]
|
| /external/clang/test/SemaTemplate/ |
| D | current-instantiation.cpp | 16 void f0(T&); // expected-note{{previous}} 20 void f1(T&); // expected-note{{previous}} 24 void f2(T&); // expected-note{{previous}} 28 void f3(T&); // expected-note{{previous}} 35 void g0(T&); // expected-note{{previous}} 39 void g1(T&); // expected-note{{previous}} 43 void g2(T&); // expected-note{{previous}} 47 void g3(T&); // expected-note{{previous}} 51 void g4(T&); // expected-note{{previous}} 55 void g5(T&); // expected-note{{previous}} [all …]
|
| /external/fastrpc/src/ |
| D | atomic.c | 32 uint32 previous; in atomic_Add() local 36 previous = atomic_CompareAndExchange(puDest, current + nAdd, current); in atomic_Add() 37 } while(previous != current); in atomic_Add() 42 uint32 previous; in atomic_Exchange() local 46 previous = atomic_CompareAndExchange(puDest, uVal, current); in atomic_Exchange() 47 } while(previous != current); in atomic_Exchange() 48 return previous; in atomic_Exchange() 52 uint32 previous; in atomic_CompareOrAdd() local 57 previous = current; in atomic_CompareOrAdd() 60 previous = atomic_CompareAndExchange(puDest, current + nAdd, current); in atomic_CompareOrAdd() [all …]
|
| /external/clang/test/CXX/basic/basic.scope/basic.scope.local/ |
| D | p4-0x.cpp | 7 if (bool b = true) // expected-note 2{{previous definition}} in f() 11 while (bool b = true) // expected-note {{previous definition}} in f() 13 for (int c; // expected-note 2{{previous definition}} in f() 16 switch (int n = 37 + 5) // expected-note {{previous definition}} in f() 18 for (int a : arr) // expected-note {{previous definition}} in f() 21 if (bool b = true) { // expected-note 2{{previous definition}} in f() 26 while (bool b = true) { // expected-note {{previous definition}} in f() 29 for (int c; // expected-note 2{{previous definition}} in f() 33 switch (int n = 37 + 5) { // expected-note {{previous definition}} in f() 36 for (int &a : arr) { // expected-note {{previous definition}} in f() [all …]
|
| /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/ |
| D | p3.cpp | 5 class A {}; // expected-note 4 {{previous use is here}} 10 void a3(union A); // expected-error {{use of 'A' with tag type that does not match previous declara… 11 void a4(enum A); // expected-error {{use of 'A' with tag type that does not match previous declarat… 16 …friend union A; // expected-error {{use of 'A' with tag type that does not match previous declarat… 18 …friend enum A; // expected-error {{use of 'A' with tag type that does not match previous declarati… 25 template <class T> struct B { // expected-note {{previous use is here}} 26 class Member {}; // expected-note 2 {{previous use is here}} 34 union Member { // expected-note 4 {{previous use is here}} 41 …t>); // expected-error {{use of 'B<float>' with tag type that does not match previous declaration}} 46 …mber); // expected-error {{use of 'Member' with tag type that does not match previous declaration}} [all …]
|
| /external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
| D | parameter-matching.cpp | 8 template<typename ...T> struct X1t; // expected-note{{previous template type parameter pack declare… 9 template<typename T> struct X1t; // expected-error{{template type parameter conflicts with previous… 11 template<typename T> struct X2t; // expected-note{{previous template type parameter declared here}} 12 …uct X2t; // expected-error{{template type parameter pack conflicts with previous template type par… 17 template<template<typename ...T> class> struct X1t_intt; // expected-note{{previous template type p… 18 …uct X1t_intt; // expected-error{{template type parameter conflicts with previous template type par… 20 template<template<typename T> class> struct X2t_intt; // expected-note{{previous template type para… 21 …2t_intt; // expected-error{{template type parameter pack conflicts with previous template type par… 23 template<int ...Values> struct X1nt; // expected-note{{previous non-type template parameter pack de… 24 …uct X1nt; // expected-error{{non-type template parameter conflicts with previous non-type template… [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
| D | jsmin_2_0_9.py | 106 previous = read(1) 107 if previous == '\\': 110 if previous == '/': 115 previous = next1 118 write(previous) 119 elif not previous: 121 elif previous >= '!': 122 if previous in "'\"": 123 in_quote = previous 124 write(previous) [all …]
|
| /external/clang/test/SemaCXX/ |
| D | dllimport.cpp | 48 // expected-note@+2{{previous attribute is here}} 50 __declspec(dllimport) extern int ExternGlobalDeclInit; // expected-note{{previous declaration is he… 54 // expected-warning@+2{{'ExternGlobalDeclInit' redeclared without 'dllimport' attribute: previous '… 59 // expected-note@+2{{previous attribute is here}} 61 __declspec(dllimport) int GlobalDeclInit; // expected-note{{previous declaration is here}} 65 // expected-warning@+2{{'GlobalDeclInit' redeclared without 'dllimport' attribute: previous 'dllimp… 70 // expected-note@+2{{previous attribute is here}} 72 int *__attribute__((dllimport)) GlobalDeclChunkAttrInit; // expected-note{{previous declaration is … 76 …+2{{'GlobalDeclChunkAttrInit' redeclared without 'dllimport' attribute: previous 'dllimport' ignor… 81 // expected-note@+2{{previous attribute is here}} [all …]
|
| D | struct-class-redecl.cpp | 5 … float y; }; // expected-error{{use of 'X' with tag type that does not match previous declaration}} 17 class A; // expected-note{{previous use is here}} 21 class B; // expected-note{{previous use is here}}\ 26 class C; // expected-note{{previous use is here}} 28 // expected-note{{previous use is here}}\ 31 // expected-note{{previous use is here}} 36 struct D {}; // expected-note{{previous definition is here}}\ 37 // expected-note{{previous use is here}} 53 template<class U> class G; // expected-note{{previous use is here}}\ 63 CHECK: note: previous use is here [all …]
|
| /external/grpc-grpc-java/api/src/main/java/io/grpc/ |
| D | Contexts.java | 49 Context previous = context.attach(); in interceptCall() local 55 context.detach(previous); in interceptCall() 74 Context previous = context.attach(); in onMessage() local 78 context.detach(previous); in onMessage() 84 Context previous = context.attach(); in onHalfClose() local 88 context.detach(previous); in onHalfClose() 94 Context previous = context.attach(); in onCancel() local 98 context.detach(previous); in onCancel() 104 Context previous = context.attach(); in onComplete() local 108 context.detach(previous); in onComplete() [all …]
|
| /external/clang/test/CXX/class/class.union/class.union.anon/ |
| D | p1.cpp | 4 int a; // expected-note {{previous}} 5 void b(); // expected-note {{previous}} 6 struct c; // expected-note {{previous}} 7 typedef int d; // expected-note {{previous}} 14 int e; // expected-note {{previous}} 15 int f; // expected-note {{previous}} 16 int g; // expected-note {{previous}} 17 int h; // expected-note {{previous}}
|
| /external/clang/test/SemaObjC/ |
| D | check-dup-objc-decls-1.m | 3 @interface Foo // expected-note {{previous definition is here}} 8 @class Bar; // expected-note {{previous definition is here}} 16 typedef int OBJECT; // expected-note {{previous definition is here}} 21 typedef int Gorf; // expected-note {{previous definition is here}} 23 … {{redefinition of 'Gorf' as different kind of symbol}} expected-note {{previous definition is her… 32 @interface A<P> @end // expected-note {{previous definition is here}} 35 @protocol PP<P> @end // expected-note {{previous definition is here}} 38 @interface A(Cat)<P> @end // expected-note {{previous definition is here}} 43 NSString * TestBaz; // expected-note {{previous definition is here}}
|
| /external/guava/guava/src/com/google/common/collect/ |
| D | LinkedListMultimap.java | 115 @CheckForNull Node<K, V> previous; // the previous node (with any key) field in LinkedListMultimap.Node 117 @CheckForNull Node<K, V> previousSibling; // the previous node with the same key 232 node.previous = tail; in addNode() 253 node.previous = nextSibling.previous; in addNode() 262 if (nextSibling.previous == null) { // nextSibling was head in addNode() 265 nextSibling.previous.next = node; in addNode() 267 nextSibling.previous = node; in addNode() 279 if (node.previous != null) { in removeNode() 280 node.previous.next = node.next; in removeNode() 285 node.next.previous = node.previous; in removeNode() [all …]
|
| /external/guava/android/guava/src/com/google/common/collect/ |
| D | LinkedListMultimap.java | 113 @CheckForNull Node<K, V> previous; // the previous node (with any key) field in LinkedListMultimap.Node 115 @CheckForNull Node<K, V> previousSibling; // the previous node with the same key 230 node.previous = tail; in addNode() 251 node.previous = nextSibling.previous; in addNode() 260 if (nextSibling.previous == null) { // nextSibling was head in addNode() 263 nextSibling.previous.next = node; in addNode() 265 nextSibling.previous = node; in addNode() 277 if (node.previous != null) { in removeNode() 278 node.previous.next = node.next; in removeNode() 283 node.next.previous = node.previous; in removeNode() [all …]
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/ |
| D | MultiTransformation.java | 34 Resource<T> previous = resource; in transform() local 37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight); in transform() 38 if (previous != null && !previous.equals(resource) && !previous.equals(transformed)) { in transform() 39 previous.recycle(); in transform() 41 previous = transformed; in transform() 43 return previous; in transform()
|