Home
last modified time | relevance | path

Searched refs:hasNext (Results 1 – 25 of 177) sorted by relevance

12345678

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp58 *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/suggest/policyimpl/dictionary/structure/backward/v402/content/
Dbigram_dict_content.cpp46 const bool hasNext = (bigramFlags & Ver4DictConstants::BIGRAM_HAS_NEXT_MASK) != 0; in getBigramEntryAndAdvancePosition() local
69 return BigramEntry(hasNext, probability, &historicalInfo, targetTerminalId); in getBigramEntryAndAdvancePosition()
71 return BigramEntry(hasNext, probability, targetTerminalId); in getBigramEntryAndAdvancePosition()
78 const int bigramFlags = createAndGetBigramFlags(bigramEntryToWrite->hasNext()); in writeBigramEntryAndAdvancePosition()
129 bool hasNext = true; in copyBigramList() local
130 while (hasNext) { in copyBigramList()
132 hasNext = bigramEntry.hasNext(); in copyBigramList()
133 if (!hasNext) { in copyBigramList()
184 bool hasNext = true; in runGCBigramList() local
188 while (hasNext) { in runGCBigramList()
[all …]
Dshortcut_dict_content.cpp116 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 …]
Dbigram_entry.h42 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
Dshortcut_dict_content.h77 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/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/
Dshortcut_dict_content.cpp101 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 …]
Dbigram_entry.h33 BigramEntry(const bool hasNext, const int probability, const int targetTerminalId) in BigramEntry() argument
34 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(), in BigramEntry()
38 BigramEntry(const bool hasNext, const int probability, in BigramEntry() argument
40 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo), in BigramEntry()
47 const BigramEntry updateHasNextAndGetEntry(const bool hasNext) const { in updateHasNextAndGetEntry() argument
48 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId); in updateHasNextAndGetEntry()
68 bool hasNext() const { in hasNext() function
Dshortcut_dict_content.h70 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;
Dbigram_dict_content.cpp186 bool hasNext = true; in runGCBigramList() local
189 while (hasNext) { in runGCBigramList()
192 hasNext = originalBigramEntry.hasNext(); in runGCBigramList()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java142 while(i.hasNext()) { in remove()
159 while(i.hasNext()) { in remove()
188 while(i.hasNext()) { in removeConnection()
203 while(i.hasNext()) { in getById()
216 while(i.hasNext()) { in getByUuid()
230 while(i.hasNext()) { in getConnectedDevices()
242 while(ii.hasNext()) { in getByConnId()
259 while(i.hasNext()) { in connIdByAddress()
272 while(i.hasNext()) { in addressByConnId()
282 while(i.hasNext()) { in getConnectionByApp()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterVignetteRepresentation.java212 while (sreader.hasNext()) { in deSerializeRepresentation()
216 sreader.hasNext(); in deSerializeRepresentation()
218 sreader.hasNext(); in deSerializeRepresentation()
220 sreader.hasNext(); in deSerializeRepresentation()
222 sreader.hasNext(); in deSerializeRepresentation()
224 sreader.hasNext(); in deSerializeRepresentation()
228 sreader.hasNext(); in deSerializeRepresentation()
230 sreader.hasNext(); in deSerializeRepresentation()
232 sreader.hasNext(); in deSerializeRepresentation()
234 sreader.hasNext(); in deSerializeRepresentation()
[all …]
DFilterChanSatRepresentation.java186 while (sreader.hasNext()) { in deSerializeRepresentation()
190 sreader.hasNext(); in deSerializeRepresentation()
192 sreader.hasNext(); in deSerializeRepresentation()
194 sreader.hasNext(); in deSerializeRepresentation()
196 sreader.hasNext(); in deSerializeRepresentation()
198 sreader.hasNext(); in deSerializeRepresentation()
200 sreader.hasNext(); in deSerializeRepresentation()
202 sreader.hasNext(); in deSerializeRepresentation()
204 sreader.hasNext(); in deSerializeRepresentation()
DFilterGradRepresentation.java463 while (sreader.hasNext()) { in deSerializeRepresentation()
470 sreader.hasNext(); in deSerializeRepresentation()
472 sreader.hasNext(); in deSerializeRepresentation()
474 sreader.hasNext(); in deSerializeRepresentation()
476 sreader.hasNext(); in deSerializeRepresentation()
478 sreader.hasNext(); in deSerializeRepresentation()
480 sreader.hasNext(); in deSerializeRepresentation()
482 sreader.hasNext(); in deSerializeRepresentation()
484 sreader.hasNext(); in deSerializeRepresentation()
DFilterCurvesRepresentation.java145 while (sreader.hasNext()) { in deSerializeRepresentation()
153 while (sreader.hasNext()) { in deSerializeRepresentation()
155 sreader.hasNext(); in deSerializeRepresentation()
157 sreader.hasNext(); in deSerializeRepresentation()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/bigram/
Dver4_bigram_list_policy.cpp48 *outHasNext = bigramEntry.hasNext(); in getNextBigram()
175 bool hasNext = true; in updateAllBigramEntriesAndDeleteUselessEntries() local
177 while (hasNext) { in updateAllBigramEntriesAndDeleteUselessEntries()
181 hasNext = bigramEntry.hasNext(); in updateAllBigramEntriesAndDeleteUselessEntries()
224 bool hasNext = true; in getBigramEntryConut() local
226 while (hasNext) { in getBigramEntryConut()
229 hasNext = bigramEntry.hasNext(); in getBigramEntryConut()
248 if (!bigramEntry.hasNext()) { in getEntryPosToUpdate()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp137 while (bigramsIt.hasNext()) { in getProbabilityOfPtNode()
156 while (bigramsIt.hasNext()) { in iterateNgramEntries()
468 bool hasNext = true; in getWordProperty() local
470 while (hasNext) { in getWordProperty()
473 hasNext = bigramEntry.hasNext(); in getWordProperty()
504 bool hasNext = true; in getWordProperty() local
505 while (hasNext) { in getWordProperty()
509 &shortcutTargetLength, &shortcutProbability, &hasNext, &shortcutPos); in getWordProperty()
Dver4_patricia_trie_writing_helper.cpp242 bool hasNext = true; in truncateBigrams() local
244 while (hasNext) { in truncateBigrams()
248 hasNext = bigramEntry.hasNext(); in truncateBigrams()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp147 while (bigramsIt.hasNext()) { in getProbabilityOfPtNode()
166 while (bigramsIt.hasNext()) { in iterateNgramEntries()
456 bool hasNext = true; in getWordProperty() local
458 while (hasNext) { in getWordProperty()
461 hasNext = bigramEntry.hasNext(); in getWordProperty()
492 bool hasNext = true; in getWordProperty() local
493 while (hasNext) { in getWordProperty()
497 &shortcutTargetLength, &shortcutProbability, &hasNext, &shortcutPos); in getWordProperty()
Dver4_patricia_trie_writing_helper.cpp251 bool hasNext = true; in truncateBigrams() local
253 while (hasNext) { in truncateBigrams()
257 hasNext = bigramEntry.hasNext(); in truncateBigrams()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
Dpatricia_trie_policy.cpp316 while (bigramsIt.hasNext()) { in getProbabilityOfPtNode()
335 while (bigramsIt.hasNext()) { in iterateNgramEntries()
397 while (bigramsIt.hasNext()) { in getWordProperty()
419 bool hasNext = true; in getWordProperty() local
420 while (hasNext) { in getWordProperty()
423 hasNext = ShortcutListReadingUtils::hasNext(shortcutFlags); in getWordProperty()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DAction.java142 public Builder hasNext(boolean hasNext) { in hasNext() argument
143 mHasNext = hasNext; in hasNext()
167 int drawableResource, boolean checked, boolean multilineDescription, boolean hasNext, in Action() argument
176 mHasNext = hasNext; in Action()
311 public boolean hasNext() { in hasNext() method in Action
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnClauseConverterJAJP.java263 while (stemsi.hasNext()) { in singleClauseConvert()
293 while (stemsi.hasNext()) { in singleClauseConvert()
297 while (fzksi.hasNext()) { in singleClauseConvert()
359 while (clauseListi.hasNext()) { in addClause()
441 while (followFzksi.hasNext()) { in getAncillaryPattern()
496 while (list.hasNext()) { in getIndependentWords()
DOpenWnnEngineJAJP.java236 while (convResult.hasNext()) { in getCandidate()
250 while(it.hasNext()) { in getCandidate()
426 if ((headCandidates == null) || (!headCandidates.hasNext())) { in convert()
453 while(it.hasNext()) { in convert()
502 while (clauses.hasNext()) { in learn()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimers.java52 while(i.hasNext()) { in findTimer()
62 while(i.hasNext()) { in findExpiredTimer()
74 while(it.hasNext()) { in timersInUse()
86 while(it.hasNext()) { in timersInTimesUp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer2DictEncoder.java179 while (shortcutIterator.hasNext()) { in writeShortcuts()
182 shortcutIterator.hasNext(), in writeShortcuts()
208 while (bigramIterator.hasNext()) { in writeBigrams()
216 final int bigramFlags = BinaryDictEncoderUtils.makeBigramFlags(bigramIterator.hasNext(), in writeBigrams()

12345678