Home
last modified time | relevance | path

Searched refs:matchLength (Results 1 – 25 of 62) sorted by relevance

123

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
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()
662 if (matchLength > _maxMatchLen) { in handlePrefixMatch()
[all …]
DTextTrieMap.java29 public int matchLength; field in TextTrieMap.Output
86 output.matchLength = handler.getMatchLength(); in get()
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/
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()
667 if (matchLength > _maxMatchLen) { in handlePrefixMatch()
[all …]
DTextTrieMap.java34 public int matchLength; field in TextTrieMap.Output
91 output.matchLength = handler.getMatchLength(); in get()
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/
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/skia/third_party/externals/icu/source/i18n/
Dtznames.cpp375 int32_t matchLength; member
378 …MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const Unicod… 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()
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()
Dtznames_impl.cpp109 int32_t matchLength; member
923 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
943 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status)… in handleMatch() argument
965 … fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); in handleMatch()
968 … fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status); in handleMatch()
970 if (U_SUCCESS(status) && matchLength > fMaxMatchLen) { in handleMatch()
971 fMaxMatchLen = matchLength; in handleMatch()
1894 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
1915 TZDBNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &stat… in handleMatch() argument
1999 fResults->addMetaZone(ntype, matchLength, UnicodeString(match->mzID, -1), status); in handleMatch()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dtznames.cpp375 int32_t matchLength; member
378 …MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const Unicod… 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()
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/icu/icu4c/source/i18n/
Dtznames.cpp375 int32_t matchLength; member
378 …MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const Unicod… 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()
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/icu/icu4c/source/common/
Ducnv_ext.cpp132 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()
544 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local
582 i=j=matchLength=0; in ucnv_extMatchFromU()
598 matchLength=2+i+j; in ucnv_extMatchFromU()
635 matchLength=2+i+j; in ucnv_extMatchFromU()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducnv_ext.cpp132 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()
544 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local
582 i=j=matchLength=0; in ucnv_extMatchFromU()
598 matchLength=2+i+j; in ucnv_extMatchFromU()
635 matchLength=2+i+j; in ucnv_extMatchFromU()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_ext.cpp132 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()
544 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local
582 i=j=matchLength=0; in ucnv_extMatchFromU()
598 matchLength=2+i+j; in ucnv_extMatchFromU()
635 matchLength=2+i+j; in ucnv_extMatchFromU()
[all …]
/third_party/lz4/lib/
Dlz4hc.c279 int matchLength=0; in LZ4HC_InsertAndGetWiderMatch() local
291matchLength = 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 -= back; in LZ4HC_InsertAndGetWiderMatch()
311 if (matchLength > longest) { in LZ4HC_InsertAndGetWiderMatch()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTimeZoneNames.java345 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
352 if (matchLength <= 0) { in MatchInfo()
358 _matchLength = matchLength; in MatchInfo()
404 public int matchLength() { in matchLength() method in TimeZoneNames.MatchInfo
DSearchIterator.java77 protected int matchLength; field in SearchIterator
126 return SearchIterator.this.matchLength; in matchedLength()
130 SearchIterator.this.matchLength = matchedLength; in setMatchedLength()
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/core/src/com/ibm/icu/text/
DTimeZoneNames.java373 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
380 if (matchLength <= 0) { in MatchInfo()
386 _matchLength = matchLength; in MatchInfo()
432 public int matchLength() { in matchLength() method in TimeZoneNames.MatchInfo
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/icu4j/main/classes/collate/src/com/ibm/icu/text/
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/
Dtznames.h332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
/third_party/icu/icu4c/source/i18n/unicode/
Dtznames.h332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dtznames.h332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,

123