/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 58 *outHasNext = bigramEntry.hasNext(); in getNextBigram() 174 bool hasNext = true; in updateAllBigramEntriesAndDeleteUselessEntries() local 176 while (hasNext) { in updateAllBigramEntriesAndDeleteUselessEntries() 180 hasNext = bigramEntry.hasNext(); in updateAllBigramEntriesAndDeleteUselessEntries() 223 bool hasNext = true; in getBigramEntryConut() local 225 while (hasNext) { in getBigramEntryConut() 228 hasNext = bigramEntry.hasNext(); in getBigramEntryConut() 241 bool hasNext = true; in getEntryPosToUpdate() local 244 while (hasNext) { in getEntryPosToUpdate() 248 hasNext = bigramEntry.hasNext(); in getEntryPosToUpdate() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | shortcut_dict_content.cpp | 101 bool hasNext = true; in copyShortcutListFromDictContent() local 105 while (hasNext) { in copyShortcutListFromDictContent() 109 codePoints, &codePointCount, &probability, &hasNext, &readingPos); in copyShortcutListFromDictContent() 111 hasNext, &writingPos)) { in copyShortcutListFromDictContent() 123 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; in setProbability() local 124 const int shortcutFlagsToWrite = createAndGetShortcutFlags(probability, hasNext); in setProbability() 130 const int codePointCount, const int probability, const bool hasNext, in writeShortcutEntryAndAdvancePosition() argument 133 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext); in writeShortcutEntryAndAdvancePosition() 150 bool hasNext = true; in findShortcutEntryAndGetPos() local 153 while (hasNext) { in findShortcutEntryAndGetPos() [all …]
|
D | shortcut_dict_content.h | 70 const int probability, const bool hasNext, const int shortcutEntryPos) { in writeShortcutEntry() argument 73 hasNext, &writingPos); in writeShortcutEntry() 77 const int codePointCount, const int probability, const bool hasNext, 89 int createAndGetShortcutFlags(const int probability, const bool hasNext) const;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.cpp | 46 const bool hasNext = (bigramFlags & Ver4DictConstants::BIGRAM_HAS_NEXT_MASK) != 0; in getBigramEntryAndAdvancePosition() local 71 return BigramEntry(hasNext, probability, &historicalInfo, targetTerminalId); in getBigramEntryAndAdvancePosition() 73 return BigramEntry(hasNext, probability, targetTerminalId); in getBigramEntryAndAdvancePosition() 80 const int bigramFlags = createAndGetBigramFlags(bigramEntryToWrite->hasNext()); in writeBigramEntryAndAdvancePosition() 131 bool hasNext = true; in copyBigramList() local 132 while (hasNext) { in copyBigramList() 134 hasNext = bigramEntry.hasNext(); in copyBigramList() 135 if (!hasNext) { in copyBigramList() 186 bool hasNext = true; in runGCBigramList() local 190 while (hasNext) { in runGCBigramList() [all …]
|
D | shortcut_dict_content.cpp | 116 bool hasNext = true; in copyShortcutListFromDictContent() local 120 while (hasNext) { in copyShortcutListFromDictContent() 124 codePoints, &codePointCount, &probability, &hasNext, &readingPos); in copyShortcutListFromDictContent() 126 hasNext, &writingPos)) { in copyShortcutListFromDictContent() 138 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; in setProbability() local 139 const int shortcutFlagsToWrite = createAndGetShortcutFlags(probability, hasNext); in setProbability() 145 const int codePointCount, const int probability, const bool hasNext, in writeShortcutEntryAndAdvancePosition() argument 148 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext); in writeShortcutEntryAndAdvancePosition() 165 bool hasNext = true; in findShortcutEntryAndGetPos() local 168 while (hasNext) { in findShortcutEntryAndGetPos() [all …]
|
D | bigram_entry.h | 42 BigramEntry(const bool hasNext, const int probability, const int targetTerminalId) in BigramEntry() argument 43 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(), in BigramEntry() 47 BigramEntry(const bool hasNext, const int probability, in BigramEntry() argument 49 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo), in BigramEntry() 56 const BigramEntry updateHasNextAndGetEntry(const bool hasNext) const { in updateHasNextAndGetEntry() argument 57 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId); in updateHasNextAndGetEntry() 77 bool hasNext() const { in hasNext() function
|
D | shortcut_dict_content.h | 77 const int probability, const bool hasNext, const int shortcutEntryPos) { in writeShortcutEntry() argument 80 hasNext, &writingPos); in writeShortcutEntry() 84 const int codePointCount, const int probability, const bool hasNext, 96 int createAndGetShortcutFlags(const int probability, const bool hasNext) const;
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/write/ |
D | PushBackIteratorTest.java | 38 assertTrue(iterator.hasNext()); in test() 42 assertTrue(iterator.hasNext()); in test() 46 assertTrue(iterator.hasNext()); in test() 52 assertTrue(iterator.hasNext()); in test() 54 assertTrue(iterator.hasNext()); in test() 58 assertTrue(iterator.hasNext()); in test() 60 assertTrue(iterator.hasNext()); in test() 62 assertTrue(iterator.hasNext()); in test() 64 assertFalse(iterator.hasNext()); in test() 70 assertTrue(iterator.hasNext()); in test()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ContextMap.java | 212 while (i.hasNext()) { in remove() 231 while (i.hasNext()) { in remove() 251 while (i.hasNext()) { in getAllAppsIds() 277 while (i.hasNext()) { in removeConnection() 293 while (i.hasNext()) { in removeConnectionsByAppId() 308 while (i.hasNext()) { in getById() 325 while (i.hasNext()) { in getByUuid() 342 while (i.hasNext()) { in getByName() 359 while (i.hasNext()) { in getByContextInfo() 395 while (i.hasNext()) { in getConnectedDevices() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | Action.java | 133 public Builder hasNext(boolean hasNext) { in hasNext() argument 134 mHasNext = hasNext; in hasNext() 156 boolean hasNext, boolean infoOnly, Intent intent, int checkSetId, boolean enabled) { in Action() argument 164 mHasNext = hasNext; in Action() 269 public boolean hasNext() { in hasNext() method in Action
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 297 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet() 304 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet() 306 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet() 308 assertFalse(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet() 320 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 322 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 324 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 326 assertFalse(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 338 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet() 340 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet() [all …]
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | DiagnosticJson.java | 91 while (jsonReader.hasNext()) { in readIntValues() 95 while (jsonReader.hasNext()) { in readIntValues() 106 while (jsonReader.hasNext()) { in readFloatValues() 110 while (jsonReader.hasNext()) { in readFloatValues() 122 while (jsonReader.hasNext()) { in Builder()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 184 while (bigramsIt.hasNext()) { in getProbabilityOfWord() 211 while (bigramsIt.hasNext()) { in iterateNgramEntries() 570 bool hasNext = true; in getWordProperty() local 572 while (hasNext) { in getWordProperty() 575 hasNext = bigramEntry.hasNext(); in getWordProperty() 606 bool hasNext = true; in getWordProperty() local 607 while (hasNext) { in getWordProperty() 611 &shortcutTargetLength, &shortcutProbability, &hasNext, &shortcutPos); in getWordProperty()
|
D | ver4_patricia_trie_writing_helper.cpp | 254 bool hasNext = true; in truncateBigrams() local 256 while (hasNext) { in truncateBigrams() 260 hasNext = bigramEntry.hasNext(); in truncateBigrams()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 356 while (bigramsIt.hasNext()) { in getProbabilityOfWord() 376 while (bigramsIt.hasNext()) { in iterateNgramEntries() 441 while (bigramsIt.hasNext()) { in getWordProperty() 464 bool hasNext = true; in getWordProperty() local 465 while (hasNext) { in getWordProperty() 468 hasNext = ShortcutListReadingUtils::hasNext(shortcutFlags); in getWordProperty()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/ |
D | UrisSupplierTest.java | 135 while (expectedIter.hasNext() && valueIter.hasNext()) { in assertIterableEquals() 139 assertFalse(expectedIter.hasNext()); in assertIterableEquals() 140 assertFalse(expectedIter.hasNext()); in assertIterableEquals()
|
D | ClipStorageTest.java | 130 while (iter.hasNext() && iter2.hasNext()) { in testReadConcurrently() 135 assertFalse(iter.hasNext()); in testReadConcurrently() 136 assertFalse(iter2.hasNext()); in testReadConcurrently()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterCurvesRepresentation.java | 145 while (sreader.hasNext()) { in deSerializeRepresentation() 153 while (sreader.hasNext()) { in deSerializeRepresentation() 155 sreader.hasNext(); in deSerializeRepresentation() 157 sreader.hasNext(); in deSerializeRepresentation()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsDiffReporter.java | 99 orgRowEntry = orgIter.hasNext() ? orgIter.next() : null; in process() 108 newRowEntry = newIter.hasNext() ? newIter.next() : null; in process() 127 orgRowEntry = orgIter.hasNext() ? orgIter.next() : null; in process() 128 newRowEntry = newIter.hasNext() ? newIter.next() : null; in process()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/ |
D | ver4_shortcut_list_policy.h | 88 bool hasNext = false; in addNewShortcut() local 90 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos); in addNewShortcut() 92 codePointCount, probability, hasNext, entryPos)) { in addNewShortcut()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/ |
D | ver4_shortcut_list_policy.h | 98 bool hasNext = false; in addNewShortcut() local 100 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos); in addNewShortcut() 102 codePointCount, probability, hasNext, entryPos)) { in addNewShortcut()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SlidingWindowTest.java | 30 while(t1.hasNext()) { in sameContents() 31 if (!t2.hasNext()) { in sameContents() 40 return !t2.hasNext(); in sameContents()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/protocol/ |
D | RttChatMessage.java | 111 while (splitText.hasNext()) { in updateRemoteRttChatMessage() 119 if (splitText.hasNext()) { in updateRemoteRttChatMessage() 128 if (splitText.hasNext()) { in updateRemoteRttChatMessage() 151 if (splitText.hasNext()) { in updateRemoteRttChatMessage()
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | Arguments.java | 103 if (!iterator.hasNext()) { in parseFlags() 110 while (iterator.hasNext()) { in parseFlags() 119 if (iterator.hasNext() && !iterator.peek().startsWith("--")) { in parseFlags()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CertificateStore.java | 108 while (reader.hasNext()) { in load() 112 while (reader.hasNext()) { in load() 132 while (reader.hasNext()) { in loadItem()
|