/aosp_15_r20/external/clang/lib/Format/ |
H A 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 …]
|
H A 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 …]
|
/aosp_15_r20/external/yapf/yapf/yapflib/ |
H A 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 == ',': 186 previous.value == ','): 212 if (current.value == ')' and previous.value == ',' and [all …]
|
H A D | format_token.py | 176 previous = self.previous_token 177 if not previous: 180 if previous.is_pseudo: 181 previous = previous.previous_token 182 if not previous: 186 prev_lineno = previous.lineno 187 if previous.is_multiline_string: 188 prev_lineno += previous.value.count('\n') 191 (previous.is_pseudo and previous.value != ')' and 192 cur_lineno != previous.previous_token.lineno)): [all …]
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationUsageStats.java | 516 AggregatedStats previous = getPrevious(); in emit() local 517 maybeCount("note_enqueued", (numEnqueuedByApp - previous.numEnqueuedByApp)); in emit() 518 maybeCount("note_post", (numPostedByApp - previous.numPostedByApp)); in emit() 519 maybeCount("note_update", (numUpdatedByApp - previous.numUpdatedByApp)); in emit() 520 maybeCount("note_remove", (numRemovedByApp - previous.numRemovedByApp)); in emit() 521 maybeCount("note_with_people", (numWithValidPeople - previous.numWithValidPeople)); in emit() 522 maybeCount("note_with_stars", (numWithStaredPeople - previous.numWithStaredPeople)); in emit() 523 maybeCount("people_cache_hit", (numPeopleCacheHit - previous.numPeopleCacheHit)); in emit() 524 maybeCount("people_cache_miss", (numPeopleCacheMiss - previous.numPeopleCacheMiss)); in emit() 525 maybeCount("note_blocked", (numBlocked - previous.numBlocked)); in emit() [all …]
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A 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 …]
|
H A 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 …]
|
H A D | dllexport.cpp | 55 extern int GlobalRedecl3; // expected-note{{previous declaration is here}} 59 extern int GlobalRedecl4; // expected-note{{previous declaration is here}} 115 template<typename T> extern int VarTmplRedecl3; // expected-note{{previous de… 200 void redecl3(); // expected-note{{previous declaration is here}} 204 void redecl4(); // expected-note{{previous declaration is here}} 208 void redecl5(); // expected-note{{previous declaration is here}} 215 friend void friend3(); // expected-note{{previous declaration is here}} 216 friend void friend4(); // expected-note{{previous declaration is here}} 266 template<typename T> void funcTmplRedecl3(); // expected-note{{previous decla… 269 template<typename T> void funcTmplRedecl4(); // expected-note{{previous decla… [all …]
|
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/ode/events/ |
H A 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 …]
|
/aosp_15_r20/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | KeyboardLayoutSetNavigateMoreKeysBase.java | 130 // With previous navigate flag. in doTestNavigationMoreKeysOf() 134 // With next and previous naviagte flags. in doTestNavigationMoreKeysOf() 146 // Action next with previous navigate flag. in doTestNavigationMoreKeysOf() 150 // Action next with next and previous navigate flags. in doTestNavigationMoreKeysOf() 155 // Action previous. in doTestNavigationMoreKeysOf() 159 // Action previous with next navigate flag. in doTestNavigationMoreKeysOf() 163 // Action previous with previous navigate flag. in doTestNavigationMoreKeysOf() 167 // Action previous with next and previous navigate flags. in doTestNavigationMoreKeysOf() 184 // With previous navigate flag. in doTestNavigationWithEmojiMoreKeysOf() 188 // With next and previous naviagte flags. in doTestNavigationWithEmojiMoreKeysOf() [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_autoexpand.py | 38 previous = self.auto_expand.getprevword 41 equal(previous(), '') 44 equal(previous(), 't') 47 equal(previous(), 'this') 50 equal(previous(), '') 53 equal(previous(), 'is') 56 equal(previous(), 'string') 59 equal(previous(), '') 62 equal(previous(), '') 65 previous = self.auto_expand.getprevword [all …]
|
/aosp_15_r20/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 …]
|
/aosp_15_r20/external/clang/test/Sema/ |
H A 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 …]
|
/aosp_15_r20/external/clang/test/SemaTemplate/ |
H A 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 …]
|
/aosp_15_r20/external/guava/guava/src/com/google/common/collect/ |
H A 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 …]
|
/aosp_15_r20/external/guava/android/guava/src/com/google/common/collect/ |
H A 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 …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/ |
H A D | ListIterator.java | 35 * to {@code previous()} and the element that would be 46 * {@link #previous()}. 79 * or intermixed with calls to {@link #previous} to go back and forth. 80 * (Note that alternating calls to {@code next} and {@code previous} 91 * returns {@code true} if {@link #previous} would return an element 100 * Returns the previous element in the list and moves the cursor 104 * to {@code next} and {@code previous} will return the same 107 * @return the previous element in the list 108 * @throws NoSuchElementException if the iteration has no previous 111 E previous(); in previous() method [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/23/libcore/ojluni/src/main/java/java/util/ |
D | ListIterator.java | 35 * to {@code previous()} and the element that would be 46 * {@link #previous()}. 79 * or intermixed with calls to {@link #previous} to go back and forth. 80 * (Note that alternating calls to {@code next} and {@code previous} 91 * returns {@code true} if {@link #previous} would return an element 100 * Returns the previous element in the list and moves the cursor 104 * to {@code next} and {@code previous} will return the same 107 * @return the previous element in the list 108 * @throws NoSuchElementException if the iteration has no previous 111 E previous(); in previous() method [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/ |
D | ListIterator.java | 35 * to {@code previous()} and the element that would be 46 * {@link #previous()}. 79 * or intermixed with calls to {@link #previous} to go back and forth. 80 * (Note that alternating calls to {@code next} and {@code previous} 91 * returns {@code true} if {@link #previous} would return an element 100 * Returns the previous element in the list and moves the cursor 104 * to {@code next} and {@code previous} will return the same 107 * @return the previous element in the list 108 * @throws NoSuchElementException if the iteration has no previous 111 E previous(); in previous() method [all …]
|
/aosp_15_r20/external/python/httplib2/tests/ |
D | test_http.py | 143 assert response.previous is None 180 assert response.previous.status == 300 181 assert not response.previous.fromcache 188 assert response.previous.status == 300 189 assert not response.previous.fromcache 215 assert response.previous is None 240 assert response1.previous.status == 301 241 assert not response1.previous.fromcache 246 assert response2.previous.status == 301 247 assert response2.previous.fromcache [all …]
|
/aosp_15_r20/libcore/ojluni/src/test/java/nio/channels/SelectionKey/ |
H A D | AtomicUpdates.java | 104 int previous = key.interestOpsOr(0); in test() local 105 assertTrue(previous == 0); in test() 109 previous = key.interestOpsOr(OP_CONNECT); in test() 110 assertTrue(previous == 0); in test() 114 previous = key.interestOpsOr(0); in test() 115 assertTrue(previous == OP_CONNECT); in test() 119 previous = key.interestOpsOr(OP_READ | OP_WRITE); in test() 120 assertTrue(previous == OP_CONNECT); in test() 124 previous = key.interestOpsAnd(~(OP_READ | OP_WRITE)); in test() 125 assertTrue(previous == (OP_CONNECT | OP_READ | OP_WRITE)); in test() [all …]
|
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
H A D | HlsChunkSource.java | 316 // The parent segment of the previous chunk is not in the current playlist anymore. 324 // In case the part hinted in the previous playlist has been wrongly assigned to the then full 329 // because the media sequence in previous.chunkIndex does not match to the actual media 355 * media in previous periods still to be played. 369 @Nullable HlsMediaChunk previous = queue.isEmpty() ? null : Iterables.getLast(queue); 370 int oldTrackIndex = previous == null ? C.INDEX_UNSET : trackGroup.indexOf(previous.trackFormat); 373 if (previous != null && !independentSegments) { 375 // overlapping segments. Hence we subtract the previous segment's duration from the buffered 380 long subtractedDurationUs = previous.getDurationUs(); 388 MediaChunkIterator[] mediaChunkIterators = createMediaChunkIterators(previous, loadPositionUs); [all …]
|
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
H A D | HlsChunkSource.java | 312 // The parent segment of the previous chunk is not in the current playlist anymore. 320 // In case the part hinted in the previous playlist has been wrongly assigned to the then full 325 // because the media sequence in previous.chunkIndex does not match to the actual media 351 * media in previous periods still to be played. 365 @Nullable HlsMediaChunk previous = queue.isEmpty() ? null : Iterables.getLast(queue); 366 int oldTrackIndex = previous == null ? C.INDEX_UNSET : trackGroup.indexOf(previous.trackFormat); 369 if (previous != null && !independentSegments) { 371 // overlapping segments. Hence we subtract the previous segment's duration from the buffered 376 long subtractedDurationUs = previous.getDurationUs(); 384 MediaChunkIterator[] mediaChunkIterators = createMediaChunkIterators(previous, loadPositionUs); [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
H A 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 …]
|
/aosp_15_r20/external/clang/test/SemaCUDA/ |
H A D | function-overload.cu | 35 __host__ void hh() {} // expected-note {{previous definition is here}} in hh() 43 __host__ __device__ int hdh() { return 0; } // expected-note {{previous definition is here}} in hdh() 46 __host__ int hhd() { return 0; } // expected-note {{previous definition is here}} in hhd() 49 // expected-note@-3 {{previous definition is here}} 51 __host__ __device__ int hdd() { return 0; } // expected-note {{previous definition is here}} in hdd() 54 __device__ int dhd() { return 0; } // expected-note {{previous definition is here}} in dhd() 57 // expected-note@-3 {{previous definition is here}} 60 extern "C" __host__ int chh() { return 0; } // expected-note {{previous definition is here}} in chh() 68 extern "C" __host__ __device__ int chhd1() { return 0; } // expected-note {{previous definition is … in chhd1() 71 extern "C" __host__ int chhd2() { return 0; } // expected-note {{previous definition is … in chhd2() [all …]
|