Home
last modified time | relevance | path

Searched refs:firstMatch (Results 1 – 10 of 10) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleDictionary.java121 CharSequence firstMatch = null; in next() local
131 firstMatch = filterToStartsWith(probe); in next()
135 if (firstMatch != null && firstMatch.length() == probe.length()) { in next()
136 possibleMatchesAfter.remove(firstMatch); in next()
138 matchValue = data.get(firstMatch); in next()
163 if (firstMatch == null) { // just in case we skipped the above loop in next()
164 firstMatch = possibleMatchesBefore.iterator().next(); in next()
166 matchValue = data.get(firstMatch); in next()
/external/skqp/src/sksl/
DSkSLCPPUniformCTypes.cpp71 int firstMatch = uniformTemplate.find("${var}"); in determine_inline_from_template() local
73 if (firstMatch < 0) { in determine_inline_from_template()
79 int secondMatch = uniformTemplate.find("${var}", firstMatch + strlen("${var}")); in determine_inline_from_template()
/external/skia/src/sksl/
DSkSLCPPUniformCTypes.cpp71 int firstMatch = uniformTemplate.find("${var}"); in determine_inline_from_template() local
73 if (firstMatch < 0) { in determine_inline_from_template()
79 int secondMatch = uniformTemplate.find("${var}", firstMatch + strlen("${var}")); in determine_inline_from_template()
/external/lz4/lib/
Dlz4hc.c1190 …LZ4HC_match_t const firstMatch = LZ4HC_FindLongerMatch(ctx, ip, matchlimit, MINMATCH-1, nbSearches… in LZ4HC_compress_optimal() local
1191 if (firstMatch.len==0) { ip++; continue; } in LZ4HC_compress_optimal()
1193 if ((size_t)firstMatch.len > sufficient_len) { in LZ4HC_compress_optimal()
1195 int const firstML = firstMatch.len; in LZ4HC_compress_optimal()
1196 const BYTE* const matchPos = ip - firstMatch.off; in LZ4HC_compress_optimal()
1216 int const matchML = firstMatch.len; /* necessarily < sufficient_len < LZ4_OPT_NUM */ in LZ4HC_compress_optimal()
1217 int const offset = firstMatch.off; in LZ4HC_compress_optimal()
1228 last_match_pos = firstMatch.len; in LZ4HC_compress_optimal()
/external/guava/android/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java399 assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool"); in testFirstMatch()
400 assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants"); in testFirstMatch()
401 assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent(); in testFirstMatch()
402 assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); in testFirstMatch()
/external/guava/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java403 assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool"); in testFirstMatch()
404 assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants"); in testFirstMatch()
405 assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent(); in testFirstMatch()
406 assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); in testFirstMatch()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDefaultBaseTraversers.java433 int firstMatch = getNextIndexed(identity, _firstch(identity), in first() local
436 return makeNodeHandle(firstMatch); in first()
/external/guava/guava/src/com/google/common/collect/
DFluentIterable.java465 public final Optional<E> firstMatch(Predicate<? super E> predicate) {
/external/guava/android/guava/src/com/google/common/collect/
DFluentIterable.java468 public final Optional<E> firstMatch(Predicate<? super E> predicate) {
/external/doclava/src/com/google/doclava/
DDoclava.java1557 int firstMatch = 0; in writeClassLists() local
1562 if (firstMatch != i - 1) { in writeClassLists()
1564 for (int j = firstMatch; j < i; j++) { in writeClassLists()
1571 firstMatch = i; in writeClassLists()