Home
last modified time | relevance | path

Searched refs:matchLength (Results 1 - 25 of 51) sorted by relevance

123

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DTimeZoneGenericNames.java603 final int matchLength; field in TimeZoneGenericNames.GenericMatchInfo
606 private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength) { in GenericMatchInfo() argument
607 this(nameType, tzID, matchLength, TimeType.UNKNOWN); in GenericMatchInfo()
610 private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType) { in GenericMatchInfo() argument
613 this.matchLength = matchLength; in GenericMatchInfo()
629 public int matchLength() { in matchLength() method in TimeZoneGenericNames.GenericMatchInfo
630 return matchLength; in matchLength()
651 public boolean handlePrefixMatch(int matchLength, Iterator<NameInfo> values) { in handlePrefixMatch() argument
657 GenericMatchInfo matchInfo = new GenericMatchInfo(info.type, info.tzID, matchLength); in handlePrefixMatch()
[all...]
H A DTextTrieMap.java29 public int matchLength; field in TextTrieMap.Output
86 output.matchLength = handler.getMatchLength(); in get()
205 * @param matchLength Matched key's length
209 public boolean handlePrefixMatch(int matchLength, Iterator<V> values); in handlePrefixMatch() argument
217 public boolean handlePrefixMatch(int matchLength, Iterator<V> values) { in handlePrefixMatch() argument
218 if (matchLength > length) { in handlePrefixMatch()
219 length = matchLength; in handlePrefixMatch()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DTimeZoneGenericNames.java608 final int matchLength; field in TimeZoneGenericNames.GenericMatchInfo
611 private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength) { in GenericMatchInfo() argument
612 this(nameType, tzID, matchLength, TimeType.UNKNOWN); in GenericMatchInfo()
615 private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType) { in GenericMatchInfo() argument
618 this.matchLength = matchLength; in GenericMatchInfo()
634 public int matchLength() { in matchLength() method in TimeZoneGenericNames.GenericMatchInfo
635 return matchLength; in matchLength()
656 public boolean handlePrefixMatch(int matchLength, Iterator<NameInfo> values) { in handlePrefixMatch() argument
662 GenericMatchInfo matchInfo = new GenericMatchInfo(info.type, info.tzID, matchLength); in handlePrefixMatch()
[all...]
H A DTextTrieMap.java34 public int matchLength; field in TextTrieMap.Output
91 output.matchLength = handler.getMatchLength(); in get()
214 * @param matchLength Matched key's length
218 public boolean handlePrefixMatch(int matchLength, Iterator<V> values); in handlePrefixMatch() argument
226 public boolean handlePrefixMatch(int matchLength, Iterator<V> values) { in handlePrefixMatch() argument
227 if (matchLength > length) { in handlePrefixMatch()
228 length = matchLength; in handlePrefixMatch()
/third_party/node/deps/v8/src/inspector/
H A Dv8-regex.cc50 int* matchLength) const { in match()
51 if (matchLength) *matchLength = 0; in match()
98 if (matchLength) { in match()
101 *matchLength = match.As<v8::String>()->Length(); in match()
/third_party/icu/icu4c/source/i18n/
H A Dtznames.cpp375 int32_t matchLength; member
378 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) { in MatchInfo()
380 this->matchLength = matchLength; in MatchInfo()
412 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, in addZone() argument
417 LocalPointer <MatchInfo> matchInfo(new MatchInfo(nameType, matchLength, &tzID, NULL), status); in addZone()
426 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, in addMetaZone() argument
431 LocalPointer<MatchInfo> matchInfo(new MatchInfo(nameType, matchLength, NULL, &mzID), status); in addMetaZone()
460 return match->matchLength; in getMatchLengthAt()
H A Dtzgnames.cpp120 int32_t matchLength; member
174 return minfo->matchLength; in getMatchLength()
198 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) override;
218 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { in handleMatch() argument
245 gmatch->matchLength = matchLength; in handleMatch()
251 if (matchLength > fMaxMatchLen) { in handleMatch()
252 fMaxMatchLen = matchLength; in handleMatch()
H A Dtznames_impl.cpp109 int32_t matchLength; member
933 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) override;
953 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { in handleMatch() argument
975 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); in handleMatch()
978 fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status); in handleMatch()
980 if (U_SUCCESS(status) && matchLength > fMaxMatchLen) { in handleMatch()
981 fMaxMatchLen = matchLength; in handleMatch()
1910 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) override;
1931 TZDBNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { in handleMatch() argument
2015 fResults->addMetaZone(ntype, matchLength, UnicodeStrin in handleMatch()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dtznames.cpp375 int32_t matchLength; member
378 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) { in MatchInfo()
380 this->matchLength = matchLength; in MatchInfo()
412 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, in addZone() argument
417 LocalPointer <MatchInfo> matchInfo(new MatchInfo(nameType, matchLength, &tzID, nullptr), status); in addZone()
426 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, in addMetaZone() argument
431 LocalPointer<MatchInfo> matchInfo(new MatchInfo(nameType, matchLength, nullptr, &mzID), status); in addMetaZone()
460 return match->matchLength; in getMatchLengthAt()
H A Dtzgnames.cpp120 int32_t matchLength; member
174 return minfo->matchLength; in getMatchLength()
198 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) override;
218 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { in handleMatch() argument
245 gmatch->matchLength = matchLength; in handleMatch()
251 if (matchLength > fMaxMatchLen) { in handleMatch()
252 fMaxMatchLen = matchLength; in handleMatch()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dtznames.cpp375 int32_t matchLength; member
378 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) { in MatchInfo()
380 this->matchLength = matchLength; in MatchInfo()
412 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, in addZone() argument
417 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); in addZone()
429 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, in addMetaZone() argument
434 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); in addMetaZone()
466 return match->matchLength; in getMatchLengthAt()
H A Dtzgnames.cpp120 int32_t matchLength; member
174 return minfo->matchLength; in getMatchLength()
198 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
218 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { in handleMatch() argument
245 gmatch->matchLength = matchLength; in handleMatch()
251 if (matchLength > fMaxMatchLen) { in handleMatch()
252 fMaxMatchLen = matchLength; in handleMatch()
/third_party/icu/icu4c/source/common/
H A Ducnv_ext.cpp121 * - the returned matchLength is not offset by 2
132 int32_t i, j, idx, length, matchLength; in ucnv_extMatchToU() local
144 i=j=matchLength=0; in ucnv_extMatchToU()
178 matchLength=i+j; in ucnv_extMatchToU()
217 matchLength=i+j; in ucnv_extMatchToU()
226 if(matchLength==0) { in ucnv_extMatchToU()
233 return matchLength; in ucnv_extMatchToU()
527 * the matchLength is 2 if only firstCP matched, and >2 if firstCP and
544 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local
582 i=j=matchLength in ucnv_extMatchFromU()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnv_ext.cpp121 * - the returned matchLength is not offset by 2
132 int32_t i, j, idx, length, matchLength; in ucnv_extMatchToU() local
144 i=j=matchLength=0; in ucnv_extMatchToU()
178 matchLength=i+j; in ucnv_extMatchToU()
217 matchLength=i+j; in ucnv_extMatchToU()
226 if(matchLength==0) { in ucnv_extMatchToU()
233 return matchLength; in ucnv_extMatchToU()
527 * the matchLength is 2 if only firstCP matched, and >2 if firstCP and
544 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local
582 i=j=matchLength in ucnv_extMatchFromU()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnv_ext.cpp121 * - the returned matchLength is not offset by 2
132 int32_t i, j, idx, length, matchLength; in ucnv_extMatchToU() local
144 i=j=matchLength=0; in ucnv_extMatchToU()
178 matchLength=i+j; in ucnv_extMatchToU()
217 matchLength=i+j; in ucnv_extMatchToU()
226 if(matchLength==0) { in ucnv_extMatchToU()
233 return matchLength; in ucnv_extMatchToU()
527 * the matchLength is 2 if only firstCP matched, and >2 if firstCP and
544 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local
582 i=j=matchLength in ucnv_extMatchFromU()
[all...]
/third_party/lz4/lib/
H A Dlz4hc.c279 int matchLength=0; in LZ4HC_InsertAndGetWiderMatch() local
291 matchLength = MINMATCH + (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
292 matchLength -= back; in LZ4HC_InsertAndGetWiderMatch()
293 if (matchLength > longest) { in LZ4HC_InsertAndGetWiderMatch()
294 longest = matchLength; in LZ4HC_InsertAndGetWiderMatch()
306 matchLength = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
307 if ((ip+matchLength == vLimit) && (vLimit < iHighLimit)) in LZ4HC_InsertAndGetWiderMatch()
308 matchLength += LZ4_count(ip+matchLength, prefixPtr, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
310 matchLength in LZ4HC_InsertAndGetWiderMatch()
467 LZ4HC_encodeSequence( const BYTE** _ip, BYTE** _op, const BYTE** _anchor, int matchLength, const BYTE* const match, limitedOutput_directive limit, BYTE* oend) LZ4HC_encodeSequence() argument
1319 int matchLength = LZ4HC_InsertAndGetWiderMatch(ctx, ip, ip, iHighLimit, minLen, &matchPtr, &ip, nbSearches, 1 /*patternAnalysis*/, 1 /*chainSwap*/, dict, favorDecSpeed); LZ4HC_FindLongerMatch() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeZoneNames.java366 * @param matchLength the match length.
369 * or 3) <code>matchLength</code> is 0 or smaller.
373 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
380 if (matchLength <= 0) { in MatchInfo()
381 throw new IllegalArgumentException("matchLength must be positive value"); in MatchInfo()
386 _matchLength = matchLength; in MatchInfo()
432 public int matchLength() { in matchLength() method in TimeZoneNames.MatchInfo
H A DTimeZoneFormat.java1205 if (startIdx + match.matchLength() > parsedPos) { in parse()
1207 parsedPos = startIdx + match.matchLength(); in parse()
1226 if (startIdx + match.matchLength() > parsedPos) { in parse()
1228 parsedPos = startIdx + match.matchLength(); in parse()
1261 if (bestGeneric != null && (startIdx + bestGeneric.matchLength() > parsedPos)) { in parse()
1263 pos.setIndex(startIdx + bestGeneric.matchLength()); in parse()
1420 if (startIdx + match.matchLength() > matchPos) { in parse()
1422 matchPos = startIdx + match.matchLength(); in parse()
1440 if (startIdx + match.matchLength() > matchPos) { in parse()
1442 matchPos = startIdx + match.matchLength(); in parse()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeZoneNames.java338 * @param matchLength the match length.
341 * or 3) <code>matchLength</code> is 0 or smaller.
345 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
352 if (matchLength <= 0) { in MatchInfo()
353 throw new IllegalArgumentException("matchLength must be positive value"); in MatchInfo()
358 _matchLength = matchLength; in MatchInfo()
404 public int matchLength() { in matchLength() method in TimeZoneNames.MatchInfo
H A DSearchIterator.java77 protected int matchLength; field in SearchIterator
126 return SearchIterator.this.matchLength; in matchedLength()
130 SearchIterator.this.matchLength = matchedLength; in setMatchedLength()
H A DTimeZoneFormat.java1144 if (startIdx + match.matchLength() > parsedPos) { in parse()
1146 parsedPos = startIdx + match.matchLength(); in parse()
1165 if (startIdx + match.matchLength() > parsedPos) { in parse()
1167 parsedPos = startIdx + match.matchLength(); in parse()
1200 if (bestGeneric != null && (startIdx + bestGeneric.matchLength() > parsedPos)) { in parse()
1202 pos.setIndex(startIdx + bestGeneric.matchLength()); in parse()
1359 if (startIdx + match.matchLength() > matchPos) { in parse()
1361 matchPos = startIdx + match.matchLength(); in parse()
1379 if (startIdx + match.matchLength() > matchPos) { in parse()
1381 matchPos = startIdx + match.matchLength(); in parse()
[all...]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DSearchIterator.java80 protected int matchLength; field in SearchIterator
129 return SearchIterator.this.matchLength; in matchedLength()
133 SearchIterator.this.matchLength = matchedLength; in setMatchedLength()
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dtznames.h327 * @param matchLength The match length.
332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
338 * @param matchLength The match length.
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
/third_party/icu/icu4c/source/i18n/unicode/
H A Dtznames.h327 * @param matchLength The match length.
332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
338 * @param matchLength The match length.
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dtznames.h327 * @param matchLength The match length.
332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
338 * @param matchLength The match length.
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,

Completed in 32 milliseconds

123