Searched defs:matchLength (Results 1 - 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/html/
H A DBaseTextInputType.cpp46 int matchLength = 0; local
48 int matchOffset = RegularExpression(pattern, TextCaseSensitive).match(value, 0, &matchLength);
49 return matchOffset || matchLength != valueLength;
H A DEmailInputType.cpp47 int matchLength; local
48 int matchOffset = regExp.match(address, 0, &matchLength);
50 return !matchOffset && matchLength == addressLength;
/external/chromium/webkit/glue/
H A Dregular_expression_unittest.cc21 const int matchLength; member in struct:__anon3371::Match
33 EXPECT_EQ(matches[i].matchLength, matchedLength);
40 #define MATCH_DESC(webuchar, matchPosition, matchLength) \
41 { webuchar, arraysize(webuchar), matchPosition, matchLength }
/external/webkit/Source/WebCore/platform/text/
H A DRegularExpression.cpp94 int RegularExpression::match(const String& str, int startFrom, int* matchLength) const
123 if (matchLength)
124 *matchLength = d->lastMatchLength;
138 int matchLength; local
139 pos = match(str, start, &matchLength);
141 if (pos + matchLength > lastPos + lastMatchLength) {
144 lastMatchLength = matchLength;
162 int matchLength; local
163 index = target.match(string, index, &matchLength);
166 string.replace(index, matchLength, replacemen
[all...]
/external/icu4c/i18n/
H A Dtznames.cpp350 int32_t matchLength; member in struct:MatchInfo
353 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) { argument
355 this->matchLength = matchLength;
387 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, argument
392 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL);
404 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, argument
409 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID);
441 return match->matchLength;
H A Dtzgnames.cpp115 int32_t matchLength; member in struct:GMatchInfo
169 return minfo->matchLength;
193 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
213 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { argument
240 gmatch->matchLength = matchLength;
246 if (matchLength > fMaxMatchLen) {
247 fMaxMatchLen = matchLength;
H A Dtznames_impl.cpp721 int32_t matchLength; member in struct:ZMatchInfo
734 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
754 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { argument
776 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status);
779 fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status);
781 if (U_SUCCESS(status) && matchLength > fMaxMatchLen) {
782 fMaxMatchLen = matchLength;
/external/icu4c/common/
H A Ducnv_ext.cpp118 * - the returned matchLength is not offset by 2
129 int32_t i, j, idx, length, matchLength; local
141 i=j=matchLength=0;
175 matchLength=i+j;
214 matchLength=i+j;
223 if(matchLength==0) {
230 return matchLength;
515 * the matchLength is 2 if only firstCP matched, and >2 if firstCP and
532 int32_t i, j, idx, length, matchLength; local
570 i=j=matchLength
[all...]
/external/icu4c/test/cintltst/
H A Dusrchtst.c2929 int32_t matchLength = 0; local
2978 matchLength = usearch_getMatchedLength(usearch);
2980 if (matchLength != expectedMatchLength) {
2981 log_err("Error: matchLength=%d, expected=%d\n", matchLength, expectedMatchLength);
/external/webkit/Source/JavaScriptCore/runtime/
H A DStringPrototype.cpp620 int matchLength = 0; local
621 regExpConstructor->performMatch(reg.get(), s, 0, pos, matchLength);
633 list.append(jsSubstring(exec, s, pos, matchLength));
635 pos += matchLength == 0 ? 1 : matchLength;
636 regExpConstructor->performMatch(reg.get(), s, pos, pos, matchLength);
670 int matchLength = 0; local
671 regExpConstructor->performMatch(reg.get(), s, 0, pos, matchLength);
/external/webkit/Source/JavaScriptCore/wtf/text/
H A DStringImpl.cpp539 unsigned matchLength = matchStringLength; local
540 if (!matchLength)
544 if (matchLength == 1)
547 // Check index & matchLength are in range.
551 if (matchLength > searchLength)
554 unsigned delta = searchLength - matchLength;
563 for (unsigned i = 0; i < matchLength; ++i) {
570 while (searchHash != matchHash || !equal(searchCharacters + i, matchString, matchLength)) {
573 searchHash += searchCharacters[i + matchLength];
588 unsigned matchLength local
618 unsigned matchLength = matchString->length(); local
664 unsigned matchLength = matchString->length(); local
700 unsigned matchLength = matchString->length(); local
742 unsigned matchLength = matchString->length(); local
[all...]
/external/webkit/Source/WebCore/editing/
H A DTextIterator.cpp2050 inline bool SearchBuffer::isBadMatch(const UChar* match, size_t matchLength) const
2059 normalizeCharacters(match, matchLength, m_normalizedMatch);
2588 size_t matchLength = 0; local
2613 matchLength = newMatchLength;
2626 return matchLength;
2633 size_t matchLength; local
2636 matchLength = findPlainText(findIterator, target, options, matchStart);
2637 if (!matchLength)
2643 return characterSubrange(computeRangeIterator, matchStart, matchLength);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 2177 milliseconds