/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/ |
D | LayoutParserWrapperTest.java | 40 assertEquals("Expected START_TAG", START_TAG, parser.next()); in testDataBindingLayout() 42 for (int next = parser.next(); next != START_TAG && next != END_DOCUMENT; in testDataBindingLayout() 43 next = parser.next()); in testDataBindingLayout() 53 for (int next = parser.next(); in testDataBindingLayout() 54 … (next != END_TAG || !"RelativeLayout".equals(parser.getName())) && next != END_DOCUMENT; in testDataBindingLayout() 55 next = parser.next()); in testDataBindingLayout() 57 assertEquals("Document didn't end when expected.", END_DOCUMENT, parser.next()); in testDataBindingLayout() 65 assertEquals("Expected START_TAG", START_TAG, parser.next()); in testNonDataBindingLayout() 67 for (int next = parser.next(); next != START_TAG && next != END_DOCUMENT; in testNonDataBindingLayout() 68 next = parser.next()); in testNonDataBindingLayout() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | macros.h | 55 #define _PDX_APPLY_1(macro, head, next, ...) \ argument 56 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_2)(macro, next, __VA_ARGS__) 59 #define _PDX_APPLY_2(macro, head, next, ...) \ argument 60 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_1)(macro, next, __VA_ARGS__) 74 #define _PDX_APPLY_LIST_1(macro, head, next, ...) \ argument 76 _PDX_NEXT_FUNC(next, _PDX_APPLY_LIST_2)(macro, next, __VA_ARGS__) 80 #define _PDX_APPLY_LIST_2(macro, head, next, ...) \ argument 82 _PDX_NEXT_FUNC(next, _PDX_APPLY_LIST_1)(macro, next, __VA_ARGS__) 85 #define _PDX_APPLY_LIST_0(macro, head, next, ...) \ argument 86 macro(head) _PDX_NEXT_FUNC(next, _PDX_APPLY_LIST_1)(macro, next, __VA_ARGS__) [all …]
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
D | SequenceUI.java | 119 Object next = sequence.remove(0); in ready() local 120 if (next instanceof Action) { in ready() 121 ((Action)next).actionPerformed(null); in ready() 123 throw new IllegalStateException("Didn't expect a non-action: " + next); in ready() 136 Object next = sequence.remove(0); in getSelectedClient() local 137 if (next instanceof ClientSelector) { in getSelectedClient() 138 return ((ClientSelector)next).getClient(); in getSelectedClient() 140 throw new IllegalStateException("Unexpected: " + next); in getSelectedClient() 145 Object next = sequence.remove(0); in getSelectedDataTableRow() local 146 if (next instanceof Integer) { in getSelectedDataTableRow() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonTokenizer.cs | 200 var next = reader.Read(); in NextImpl() 201 if (next == null) in NextImpl() 207 switch (next.Value) in NextImpl() 276 double number = ReadNumber(next.Value); in NextImpl() 280 … throw new InvalidJsonException("Invalid first character of token: " + next.Value); in NextImpl() 401 char? next = reader.Read(); in ConsumeLiteral() 402 if (next == null) in ConsumeLiteral() 406 if (next.Value != text[i]) in ConsumeLiteral() 427 char? next = ReadInt(builder); in ReadNumber() 428 if (next == '.') in ReadNumber() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | EventStreamTransformation.java | 69 EventStreamTransformation next = getNext(); in onMotionEvent() local 70 if (next != null) { in onMotionEvent() 71 next.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent() 82 EventStreamTransformation next = getNext(); in onKeyEvent() local 83 if (next != null) { in onKeyEvent() 84 next.onKeyEvent(event, policyFlags); in onKeyEvent() 94 EventStreamTransformation next = getNext(); in onAccessibilityEvent() local 95 if (next != null) { in onAccessibilityEvent() 96 next.onAccessibilityEvent(event); in onAccessibilityEvent() 105 public void setNext(EventStreamTransformation next); in setNext() argument [all …]
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener_test.cpp | 94 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 105 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 113 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 114 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() 120 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::TEXT)); in TEST_F() 123 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 127 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_TAG)); in TEST_F() 131 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_NAMESPACE)); in TEST_F() 135 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::END_DOCUMENT)); in TEST_F() 152 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG)); in TEST_F() [all …]
|
/frameworks/rs/ |
D | rsMap.h | 35 LinkNode* next; member 46 LinkNode* next; in ~Map() local 48 next = p->next; in ~Map() 50 p = next; in ~Map() 65 node = node->next; 70 node->next = nullptr; 74 prev->next = node; 83 LinkNode* next; variable 85 next = node->next; 86 if (next != nullptr) { [all …]
|
D | rsList.h | 18 LinkedBuffer() : next(nullptr) {} in LinkedBuffer() 24 LinkedBuffer* next; variable 45 LinkedBuffer* p = firstBuffer.next; in ~List() 46 LinkedBuffer* next; in ~List() local 48 next = p->next; in ~List() 50 p = next; in ~List() 58 if ((void*)current >= (void*)¤tBuffer->next) { in push_back() 60 currentBuffer->next = newBuffer; in push_back() 71 if ((void*)p >= (void*)&buffer->next) { 72 buffer = buffer->next;
|
/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 45 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 62 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 90 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end of string in TEST() 125 EXPECT_EQ(17, breaker.next()); // after woman + zwj + heart + zwj + woman in TEST() 128 EXPECT_EQ(22, breaker.next()); // after eye + zwj + left speech bubble in TEST() 131 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 149 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 173 EXPECT_EQ(4, breaker.next()); in TEST() 177 EXPECT_EQ(7, breaker.next()); in TEST() 181 EXPECT_EQ(9, breaker.next()); in TEST() [all …]
|
D | StringPieceTest.cpp | 129 EXPECT_EQ("abcde", it.next()); in TEST() 136 EXPECT_EQ("a", it.next()); in TEST() 138 EXPECT_EQ("bb", it.next()); in TEST() 140 EXPECT_EQ("ccc", it.next()); in TEST() 142 EXPECT_EQ("dddd", it.next()); in TEST() 144 EXPECT_EQ("eeeee", it.next()); in TEST() 151 EXPECT_EQ("", it.next()); in TEST() 153 EXPECT_EQ("", it.next()); in TEST() 155 EXPECT_EQ("", it.next()); in TEST() 157 EXPECT_EQ("", it.next()); in TEST() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParserTest.java | 56 assertEquals(XmlPullParser.START_DOCUMENT, parser.next()); in testXmlBlockParser() 58 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 61 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser() 63 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 65 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser() 66 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser() 68 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser() 70 assertEquals(XmlPullParser.START_TAG, parser.next()); in testXmlBlockParser() 72 assertEquals(XmlPullParser.END_TAG, parser.next()); in testXmlBlockParser() 74 assertEquals(XmlPullParser.TEXT, parser.next()); in testXmlBlockParser() [all …]
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 320 Message next() { in next() method in MessageQueue 347 msg = msg.next; in next() 358 prevMsg.next = msg.next; in next() 360 mMessages = msg.next; in next() 362 msg.next = null; in next() 491 p = p.next; in postSyncBarrier() 495 msg.next = p; in postSyncBarrier() 496 prev.next = msg; in postSyncBarrier() 498 msg.next = p; in postSyncBarrier() 524 p = p.next; in removeSyncBarrier() [all …]
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | PathV3.inc | 34 // -> jump to the next not '/' 37 // -> jump to the next not '/' 52 size_t next = handler + 1; 53 if (next >= pathname.size()) 55 switch (pathname[next]) { // next = handler + 1; 57 while (next < pathname.size() && separator == pathname[next]) 58 ++next; 59 // next is the last not '/' 60 pathname.erase(handler, next - handler - 1); 66 ++next; // next = handler + 2 [all …]
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 64 newNode->next = node->next; in insertAfter() 65 if (node->next == nullptr) mLast = newNode; in insertAfter() 66 else node->next->prev = newNode; in insertAfter() 67 node->next = newNode; in insertAfter() 72 newNode->next = node; in insertBefore() 74 else node->prev->next = newNode; in insertBefore() 81 newNode->prev = newNode->next = nullptr; in insertHead() 84 newNode->next = mFirst; in insertHead() 95 newNode->next = 0; in insertTail() 96 mLast->next = newNode; in insertTail() [all …]
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 784 for (CallbackRecord c = callbacks; c != null; c = c.next) { in doCallbacks() 796 final CallbackRecord next = callbacks.next; in doCallbacks() local 798 callbacks = next; in doCallbacks() 838 mCallbackPool = callback.next; in obtainCallbackLocked() 839 callback.next = null; in obtainCallbackLocked() 850 callback.next = mCallbackPool; in recycleCallbackLocked() 956 public CallbackRecord next; field in Choreographer.CallbackRecord 985 CallbackRecord next = last.next; in extractDueCallbacksLocked() local 986 while (next != null) { in extractDueCallbacksLocked() 987 if (next.dueTime > now) { in extractDueCallbacksLocked() [all …]
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | PathV3.inc | 40 // -> jump to the next not '/' 43 // -> jump to the next not '/' 58 size_t next = handler + 1; 59 if (next >= pathname.size()) 61 switch (pathname[next]) { // next = handler + 1; 63 while (next < pathname.size() && separator == pathname[next]) 64 ++next; 65 // next is the last not '/' 66 pathname.erase(handler, next - handler - 1); 72 ++next; // next = handler + 2 [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 181 EventStreamTransformation next = attachMockNext(mMotionEventInjector); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() local 183 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 186 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 187 verify(next).onMotionEvent(argThat(mIsLineStart), argThat(mIsLineStart), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 189 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 190 reset(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 195 verify(next).onMotionEvent(argThat(allOf(mIsLineMiddle, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 197 verifyNoMoreInteractions(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 198 reset(next); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 203 verify(next).onMotionEvent(argThat(allOf(mIsLineEnd, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() [all …]
|
D | AccessibilityInputFilterTest.java | 105 public void setNext(EventStreamTransformation next) { in setNext() argument 186 EventStreamTransformation next = mEventHandler.get(DEFAULT_DISPLAY); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() local 187 for (int i = 0; next != null; i++) { in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 188 assertEquals(next.getClass(), mExpectedEventHandlerTypes[i]); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 189 next = next.getNext(); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 192 next = mEventHandler.get(SECOND_DISPLAY); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 195 for (int i = 1; next != null; i++) { in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 196 assertEquals(next.getClass(), mExpectedEventHandlerTypes[i]); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation() 197 next = next.getNext(); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableInstrumentation.java | 97 Message m = mManager.next(); in run() 168 Message next = mManager.next(); in startManaging() local 170 while (next.getCallback() != this) { in startManaging() 171 mManager.execute(next); in startManaging() 172 mManager.recycle(next); in startManaging() 173 next = mManager.next(); in startManaging() 175 mManager.execute(next); in startManaging()
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 80 Page* next() { return mNextPage; } in next() function in android::uirenderer::LinearAllocator::Page 81 void setNext(Page* next) { mNextPage = next; } in setNext() argument 110 mDtorList = node->next; in ~LinearAllocator() 115 Page* next = p->next(); in ~LinearAllocator() local 119 p = next; in ~LinearAllocator() 182 node->next = mDtorList; in addToDestructionList() 192 previous->next = node->next; in runDestructorFor() 194 mDtorList = node->next; in runDestructorFor() 201 node = node->next; in runDestructorFor()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestQueue.java | 78 BurstHolder next = mRequestQueue.poll(); in getNext() local 79 boolean queueEmptied = (next != null && mRequestQueue.size() == 0); in getNext() 80 if (next == null && mRepeatingRequest != null) { in getNext() 81 next = mRepeatingRequest; in getNext() 83 next.getNumberOfRequests(); in getNext() 86 if (next == null) { in getNext() 90 RequestQueueEntry ret = new RequestQueueEntry(next, mCurrentFrameNumber, queueEmptied); in getNext() 91 mCurrentFrameNumber += next.getNumberOfRequests(); in getNext()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 40 const char *next = value, *current; in GetLevelFromSettingsString() local 41 while (next != NULL) { in GetLevelFromSettingsString() 42 current = next; in GetLevelFromSettingsString() 43 next = strchr(current, ','); in GetLevelFromSettingsString() 44 if (next != NULL) { in GetLevelFromSettingsString() 45 ++next; // pass , in GetLevelFromSettingsString() 61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) { in GetLevelFromSettingsString() 70 size_t globLen = (next == NULL ? strlen(colon) : (next - 1 - colon)); in GetLevelFromSettingsString()
|
/frameworks/av/services/audioflinger/ |
D | FastThread.cpp | 112 const FastThreadState *next = poll(); in threadLoop() local 113 if (next == NULL) { in threadLoop() 117 next = mCurrent; in threadLoop() 120 mCommand = next->mCommand; in threadLoop() 121 if (next != mCurrent) { in threadLoop() 124 mDumpState = next->mDumpState != NULL ? next->mDumpState : mDummyDumpState; in threadLoop() 125 tlNBLogWriter = next->mNBLogWriter != NULL ? in threadLoop() 126 next->mNBLogWriter : mDummyNBLogWriter.get(); in threadLoop() 149 mCurrent = next; in threadLoop() 152 next = NULL; // not referenced again in threadLoop()
|
/frameworks/compile/mclinker/unittests/ |
D | GraphTest.cpp | 46 ASSERT_TRUE(NULL == u1->next); in TEST_F() 51 ASSERT_TRUE(u1 == u2->next); in TEST_F() 55 ASSERT_TRUE(u2 == u3->next); in TEST_F() 67 ASSERT_TRUE(NULL == u1->next); in TEST_F() 71 ASSERT_TRUE(u1 == u3->next); in TEST_F() 77 ASSERT_TRUE(NULL == u2->next); in TEST_F() 93 ASSERT_TRUE(NULL == u1->next); in TEST_F() 98 ASSERT_TRUE(u1 == u2->next); in TEST_F() 102 ASSERT_TRUE(u2 == u3->next); in TEST_F() 114 ASSERT_TRUE(NULL == u1->next); in TEST_F() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 291 int next; in encodeTextAlignmentByDiv() local 292 for (int i = 0; i < len; i = next) { in encodeTextAlignmentByDiv() 293 next = text.nextSpanTransition(i, len, ParagraphStyle.class); in encodeTextAlignmentByDiv() 294 ParagraphStyle[] style = text.getSpans(i, next, ParagraphStyle.class); in encodeTextAlignmentByDiv() 316 withinDiv(out, text, i, next, option); in encodeTextAlignmentByDiv() 326 int next; in withinDiv() local 327 for (int i = start; i < end; i = next) { in withinDiv() 328 next = text.nextSpanTransition(i, end, QuoteSpan.class); in withinDiv() 329 QuoteSpan[] quotes = text.getSpans(i, next, QuoteSpan.class); in withinDiv() 335 withinBlockquote(out, text, i, next, option); in withinDiv() [all …]
|