Searched refs:hasNext (Results 1 - 25 of 173) sorted by relevance

1234567

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/
H A Dbigram_entry.h42 BigramEntry(const bool hasNext, const int probability, const int targetTerminalId) argument
43 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(),
47 BigramEntry(const bool hasNext, const int probability, argument
49 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo),
56 const BigramEntry updateHasNextAndGetEntry(const bool hasNext) const {
57 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId);
77 bool hasNext() const { function in class:latinime::backward::v402::BigramEntry
H A Dshortcut_dict_content.cpp116 bool hasNext = true; local
120 while (hasNext) {
124 codePoints, &codePointCount, &probability, &hasNext, &readingPos);
126 hasNext, &writingPos)) {
138 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; local
139 const int shortcutFlagsToWrite = createAndGetShortcutFlags(probability, hasNext);
145 const int codePointCount, const int probability, const bool hasNext,
148 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext);
165 bool hasNext = true; local
168 while (hasNext) {
144 writeShortcutEntryAndAdvancePosition(const int *const codePoint, const int codePointCount, const int probability, const bool hasNext, int *const shortcutEntryPos) argument
[all...]
H A Dshortcut_dict_content.h77 const int probability, const bool hasNext, const int shortcutEntryPos) {
80 hasNext, &writingPos);
84 const int codePointCount, const int probability, const bool hasNext,
96 int createAndGetShortcutFlags(const int probability, const bool hasNext) const;
76 writeShortcutEntry(const int *const codePoint, const int codePointCount, const int probability, const bool hasNext, const int shortcutEntryPos) argument
H A Dbigram_dict_content.cpp41 return BigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
46 const bool hasNext = (bigramFlags & Ver4DictConstants::BIGRAM_HAS_NEXT_MASK) != 0; local
69 return BigramEntry(hasNext, probability, &historicalInfo, targetTerminalId);
71 return BigramEntry(hasNext, probability, targetTerminalId);
78 const int bigramFlags = createAndGetBigramFlags(bigramEntryToWrite->hasNext());
129 bool hasNext = true; local
130 while (hasNext) {
132 hasNext = bigramEntry.hasNext();
133 if (!hasNext) {
184 bool hasNext = true; local
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/
H A Dbigram_entry.h33 BigramEntry(const bool hasNext, const int probability, const int targetTerminalId) argument
34 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(),
38 BigramEntry(const bool hasNext, const int probability, argument
40 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo),
47 const BigramEntry updateHasNextAndGetEntry(const bool hasNext) const {
48 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId);
68 bool hasNext() const { function in class:latinime::BigramEntry
H A Dshortcut_dict_content.cpp101 bool hasNext = true; local
105 while (hasNext) {
109 codePoints, &codePointCount, &probability, &hasNext, &readingPos);
111 hasNext, &writingPos)) {
123 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; local
124 const int shortcutFlagsToWrite = createAndGetShortcutFlags(probability, hasNext);
130 const int codePointCount, const int probability, const bool hasNext,
133 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext);
150 bool hasNext = true; local
153 while (hasNext) {
129 writeShortcutEntryAndAdvancePosition(const int *const codePoint, const int codePointCount, const int probability, const bool hasNext, int *const shortcutEntryPos) argument
[all...]
H A Dshortcut_dict_content.h70 const int probability, const bool hasNext, const int shortcutEntryPos) {
73 hasNext, &writingPos);
77 const int codePointCount, const int probability, const bool hasNext,
89 int createAndGetShortcutFlags(const int probability, const bool hasNext) const;
69 writeShortcutEntry(const int *const codePoint, const int codePointCount, const int probability, const bool hasNext, const int shortcutEntryPos) argument
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/bigram/
H A Dver4_bigram_list_policy.cpp58 *outHasNext = bigramEntry.hasNext();
79 const BigramEntry newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
112 const BigramEntry newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
120 if (!updateHasNextFlag(true /* hasNext */, tailEntryPos)) {
174 bool hasNext = true; local
176 while (hasNext) {
180 hasNext = bigramEntry.hasNext();
223 bool hasNext = true; local
225 while (hasNext) {
241 bool hasNext = true; local
282 updateHasNextFlag(const bool hasNext, const int bigramEntryPos) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimers.java51 while(i.hasNext()) {
61 while(i.hasNext()) {
73 while(it.hasNext()) {
85 while(it.hasNext()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DContextMap.java142 while(i.hasNext()) {
171 while(i.hasNext()) {
186 while(i.hasNext()) {
199 while(i.hasNext()) {
213 while(i.hasNext()) {
225 while(ii.hasNext()) {
242 while(i.hasNext()) {
255 while(i.hasNext()) {
265 while(i.hasNext()) {
279 while(i.hasNext()) {
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterVignetteRepresentation.java212 while (sreader.hasNext()) {
216 sreader.hasNext();
218 sreader.hasNext();
220 sreader.hasNext();
222 sreader.hasNext();
224 sreader.hasNext();
228 sreader.hasNext();
230 sreader.hasNext();
232 sreader.hasNext();
234 sreader.hasNext();
[all...]
H A DFilterChanSatRepresentation.java186 while (sreader.hasNext()) {
190 sreader.hasNext();
192 sreader.hasNext();
194 sreader.hasNext();
196 sreader.hasNext();
198 sreader.hasNext();
200 sreader.hasNext();
202 sreader.hasNext();
204 sreader.hasNext();
H A DFilterCurvesRepresentation.java145 while (sreader.hasNext()) {
153 while (sreader.hasNext()) {
155 sreader.hasNext();
157 sreader.hasNext();
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/shortcut/
H A Dver4_shortcut_list_policy.h77 false /* hasNext */, writingPos);
90 codePointCount, probability, true /* hasNext */, &writingPos)) {
98 bool hasNext = false; local
100 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos);
102 codePointCount, probability, hasNext, entryPos)) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/shortcut/
H A Dver4_shortcut_list_policy.h67 false /* hasNext */, writingPos);
80 codePointCount, probability, true /* hasNext */, &writingPos)) {
88 bool hasNext = false; local
90 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos);
92 codePointCount, probability, hasNext, entryPos)) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/bigram/
H A Dver4_bigram_list_policy.cpp48 *outHasNext = bigramEntry.hasNext();
69 const BigramEntry newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
103 const BigramEntry newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
175 bool hasNext = true; local
177 while (hasNext) {
181 hasNext = bigramEntry.hasNext();
224 bool hasNext = true; local
226 while (hasNext) {
229 hasNext
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DObservable.java71 while (mIterator.hasNext()) {
/packages/apps/Email/src/com/beetstra/jutf7/
H A DCharsetProvider.java71 for (Iterator<Charset> iter = charsets.iterator(); iter.hasNext();) {
76 for (Iterator<Charset> iter = charsets.iterator(); iter.hasNext();) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DLineIterator.java38 * while (it.hasNext()) {
88 public boolean hasNext() { method in class:LineIterator
139 if (!hasNext()) {
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcApplication.java53 while (i.hasNext()) {
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DCollapser.java72 while (itr.hasNext()) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Dbinary_dictionary_bigrams_iterator.h43 AK_FORCE_INLINE bool hasNext() const { function in class:latinime::BinaryDictionaryBigramsIterator
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/bigram/
H A Dbigram_list_read_write_utils.h41 static AK_FORCE_INLINE bool hasNext(const BigramFlags flags) { function in class:latinime::BigramListReadWriteUtils
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/shortcut/
H A Dshortcut_list_reading_utils.h36 static AK_FORCE_INLINE bool hasNext(const ShortcutFlags flags) { function in class:latinime::ShortcutListReadingUtils
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/bigram/
H A Dbigram_list_policy.h46 *outHasNext = BigramListReadWriteUtils::hasNext(flags);

Completed in 633 milliseconds

1234567