Home
last modified time | relevance | path

Searched refs:firstMatch (Results 1 – 9 of 9) 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/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/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/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/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java253 assertEquals(Optional.of("cool"), iterable.firstMatch(Predicates.equalTo("cool"))); in testFirstMatch()
254 assertEquals(Optional.of("pants"), iterable.firstMatch(Predicates.equalTo("pants"))); in testFirstMatch()
255 assertEquals(Optional.absent(), iterable.firstMatch(Predicates.alwaysFalse())); in testFirstMatch()
256 assertEquals(Optional.of("cool"), iterable.firstMatch(Predicates.alwaysTrue())); 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-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DFluentIterable.java223 public final Optional<E> firstMatch(Predicate<? super E> predicate) {
/external/guava/guava/src/com/google/common/collect/
DFluentIterable.java235 public final Optional<E> firstMatch(Predicate<? super E> predicate) {
/external/doclava/src/com/google/doclava/
DDoclava.java1550 int firstMatch = 0; in writeClassLists() local
1555 if (firstMatch != i - 1) { in writeClassLists()
1557 for (int j = firstMatch; j < i; j++) { in writeClassLists()
1564 firstMatch = i; in writeClassLists()