Searched refs:matchLength (Results 1 - 20 of 20) 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/webkit/Source/WebKit/chromium/src/
H A DWebRegularExpression.cpp59 int* matchLength) const
64 return m_private->match(str, startFrom, 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...]
H A DRegularExpression.h42 int match(const String&, int startFrom = 0, int* matchLength = 0) const;
/external/webkit/Source/WebKit/chromium/public/
H A DWebRegularExpression.h48 WEBKIT_API int match(const WebString&, int startFrom = 0, int* matchLength = 0) const;
/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/chromium/webkit/glue/
H A Dregular_expression_unittest.cc21 const int matchLength; member in struct:__anon2821::Match
33 EXPECT_EQ(matches[i].matchLength, matchedLength);
40 #define MATCH_DESC(webuchar, matchPosition, matchLength) \
41 { webuchar, arraysize(webuchar), matchPosition, matchLength }
/external/icu4c/common/
H A Ducnv_ext.c117 * - the returned matchLength is not offset by 2
128 int32_t i, j, idx, length, matchLength; local
140 i=j=matchLength=0;
174 matchLength=i+j;
213 matchLength=i+j;
222 if(matchLength==0) {
229 return matchLength;
514 * the matchLength is 2 if only firstCP matched, and >2 if firstCP and
531 int32_t i, j, idx, length, matchLength; local
569 i=j=matchLength
[all...]
/external/icu4c/i18n/
H A Dtzgnames.cpp114 int32_t matchLength; member in struct:GMatchInfo
154 return minfo->matchLength;
178 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
198 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { argument
224 gmatch->matchLength = matchLength;
230 if (matchLength > fMaxMatchLen) {
231 fMaxMatchLen = matchLength;
H A Dtznames_impl.h119 virtual UBool handleMatch(int32_t matchLength,
H A Dtznames_impl.cpp747 int32_t matchLength; member in struct:ZMatchInfo
800 return minfo->matchLength;
835 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
855 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { argument
881 zmatch->matchLength = matchLength;
886 if (matchLength > fMaxMatchLen) {
887 fMaxMatchLen = matchLength;
/external/webkit/Source/WebCore/editing/
H A DTextIterator.cpp2047 inline bool SearchBuffer::isBadMatch(const UChar* match, size_t matchLength) const
2056 normalizeCharacters(match, matchLength, m_normalizedMatch);
2585 size_t matchLength = 0; local
2610 matchLength = newMatchLength;
2623 return matchLength;
2630 size_t matchLength; local
2633 matchLength = findPlainText(findIterator, target, options, matchStart);
2634 if (!matchLength)
2640 return characterSubrange(computeRangeIterator, matchStart, matchLength);
/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/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/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 333 milliseconds