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

12

/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DBaseTextInputType.cpp47 int matchLength = 0; local
49 int matchOffset = ScriptRegexp(pattern, TextCaseSensitive).match(value, 0, &matchLength);
50 return matchOffset || matchLength != valueLength;
H A DEmailInputType.cpp142 int matchLength; local
143 int matchOffset = regExp.match(address, 0, &matchLength);
145 return !matchOffset && matchLength == addressLength;
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DScriptRegexp.h47 int match(const String&, int startFrom = 0, int* matchLength = 0) const;
H A DScriptRegexp.cpp59 int ScriptRegexp::match(const String& string, int startFrom, int* matchLength) const
61 if (matchLength)
62 *matchLength = 0;
99 if (matchLength) {
101 *matchLength = match->Length();
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DVTTScanner.cpp56 unsigned matchLength = m_is8Bit ? m_end.characters8 - m_data.characters8 : m_end.characters16 - m_data.characters16; local
57 if (matchLength < charactersCount)
75 size_t matchLength = run.length(); local
76 if (toMatch.length() > matchLength)
80 matched = WTF::equal(toMatch.impl(), m_data.characters8, matchLength);
82 matched = WTF::equal(toMatch.impl(), m_data.characters16, matchLength);
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringImpl.cpp1120 unsigned matchLength = matchStringLength; local
1121 if (!matchLength)
1125 if (matchLength == 1)
1128 // Check index & matchLength are in range.
1132 if (matchLength > searchLength)
1135 unsigned delta = searchLength - matchLength;
1143 for (unsigned i = 0; i < matchLength; ++i) {
1150 while (searchHash != matchHash || !equal(searchCharacters + i, matchString, matchLength)) {
1153 searchHash += searchCharacters[i + matchLength];
1161 ALWAYS_INLINE size_t findIgnoringCaseInternal(const CharType* searchCharacters, const LChar* matchString, unsigned index, unsigned searchLength, unsigned matchLength) argument
1182 unsigned matchLength = matchStringLength; local
1199 findInternal(const SearchCharacterType* searchCharacters, const MatchCharacterType* matchCharacters, unsigned index, unsigned searchLength, unsigned matchLength) argument
1232 unsigned matchLength = matchString->length(); local
1272 unsigned matchLength = matchString->length(); local
1304 findIgnoringCaseInner(const SearchCharacterType* searchCharacters, const MatchCharacterType* matchCharacters, unsigned index, unsigned searchLength, unsigned matchLength) argument
1324 unsigned matchLength = matchString->length(); local
1375 reverseFindInner(const SearchCharacterType* searchCharacters, const MatchCharacterType* matchCharacters, unsigned index, unsigned length, unsigned matchLength) argument
1406 unsigned matchLength = matchString->length(); local
1435 reverseFindIgnoringCaseInner(const SearchCharacterType* searchCharacters, const MatchCharacterType* matchCharacters, unsigned index, unsigned length, unsigned matchLength) argument
1454 unsigned matchLength = matchString->length(); local
1475 equalInner(const StringImpl* stringImpl, unsigned startOffset, const char* matchString, unsigned matchLength, bool caseSensitive) argument
1496 startsWith(const char* matchString, unsigned matchLength, bool caseSensitive) const argument
1519 endsWith(const char* matchString, unsigned matchLength, bool caseSensitive) const argument
[all...]
H A DAtomicString.h117 template<unsigned matchLength>
118 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
119 { return m_string.startsWith<matchLength>(prefix, caseSensitive); }
125 template<unsigned matchLength>
126 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
127 { return m_string.endsWith<matchLength>(prefix, caseSensitive); }
H A DStringImpl.h383 bool startsWith(const char*, unsigned matchLength, bool caseSensitive) const;
384 template<unsigned matchLength>
385 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return startsWith(prefix, matchLength - 1, caseSensitive); }
389 bool endsWith(const char*, unsigned matchLength, bool caseSensitive) const;
390 template<unsigned matchLength>
391 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return endsWith(prefix, matchLength - 1, caseSensitive); }
H A DWTFString.h275 template<unsigned matchLength>
276 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
277 { return m_impl ? m_impl->startsWith<matchLength>(prefix, caseSensitive) : !matchLength; }
283 template<unsigned matchLength>
284 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
285 { return m_impl ? m_impl->endsWith<matchLength>(prefix, caseSensitive) : !matchLength; }
/external/icu/icu4c/source/i18n/
H A Dtznames.cpp317 int32_t matchLength; member in struct:MatchInfo
320 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) { argument
322 this->matchLength = matchLength;
354 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, argument
359 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL);
371 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, argument
376 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID);
408 return match->matchLength;
H A Dtznames_impl.h119 virtual UBool handleMatch(int32_t matchLength,
H A Dtzgnames.cpp114 int32_t matchLength; member in struct:GMatchInfo
168 return minfo->matchLength;
192 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
212 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { argument
239 gmatch->matchLength = matchLength;
245 if (matchLength > fMaxMatchLen) {
246 fMaxMatchLen = matchLength;
H A Dtznames_impl.cpp760 int32_t matchLength; member in struct:ZMatchInfo
773 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
793 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { argument
815 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status);
818 fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status);
820 if (U_SUCCESS(status) && matchLength > fMaxMatchLen) {
821 fMaxMatchLen = matchLength;
H A Dtzfmt.cpp2601 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status);
2617 ZoneIdMatchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) {
2624 if (fLen < matchLength) {
2626 fLen = matchLength;
/external/icu/icu4c/source/i18n/unicode/
H A Dtznames.h301 * @param matchLength The match length.
306 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
312 * @param matchLength The match length.
317 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
/external/chromium_org/third_party/icu/source/i18n/
H A Dzstrfmt.h73 virtual UBool handleMatch(int32_t matchLength,
259 int32_t &matchLength, UErrorCode &status) const;
261 int32_t &matchLength, UErrorCode &status) const;
263 int32_t &matchLength, UErrorCode &status) const;
265 int32_t &matchLength, UErrorCode &status) const;
267 int32_t &matchLength, UErrorCode &status) const;
345 * @param matchLength Receives the match length
353 int32_t &matchLength, UErrorCode &status) const;
355 int32_t &matchLength, UErrorCode &status) const;
465 virtual UBool handleMatch(int32_t matchLength, cons
[all...]
H A Dzstrfmt.cpp470 ZoneStringSearchResultHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { argument
487 if (matchLength > fMatchLen[lenidx]) {
490 fMatchLen[lenidx] = matchLength;
499 fMatchLen[getTimeZoneTranslationTypeIndex(zsinfo->fType)] = matchLength;
512 ZoneStringSearchResultHandler::getMatch(int32_t index, int32_t &matchLength) { argument
516 matchLength = fMatchLen[getTimeZoneTranslationTypeIndex(zsinfo->fType)];
1312 int32_t &matchLength, UErrorCode &status) const {
1313 return find(text, start, STANDARD_LONG | DAYLIGHT_LONG, matchLength, status);
1318 int32_t &matchLength, UErrorCode &status) const {
1319 return find(text, start, STANDARD_SHORT | DAYLIGHT_SHORT, matchLength, statu
1311 findSpecificLong(const UnicodeString &text, int32_t start, int32_t &matchLength, UErrorCode &status) const argument
1317 findSpecificShort(const UnicodeString &text, int32_t start, int32_t &matchLength, UErrorCode &status) const argument
1323 findGenericLong(const UnicodeString &text, int32_t start, int32_t &matchLength, UErrorCode &status) const argument
1329 findGenericShort(const UnicodeString &text, int32_t start, int32_t &matchLength, UErrorCode &status) const argument
1335 findGenericLocation(const UnicodeString &text, int32_t start, int32_t &matchLength, UErrorCode &status) const argument
1619 find(const UnicodeString &text, int32_t start, int32_t types, int32_t &matchLength, UErrorCode &status) const argument
1660 subFind(const UnicodeString &text, int32_t start, int32_t types, int32_t &matchLength, UErrorCode &status) const argument
[all...]
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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;
524 * the matchLength is 2 if only firstCP matched, and >2 if firstCP and
541 int32_t i, j, idx, length, matchLength; local
579 i=j=matchLength
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DContentSearchUtils.cpp73 int matchLength; local
74 if (regex->match(line, 0, &matchLength) != -1)
H A DInspectorStyleSheet.cpp1176 int matchLength;
1178 while ((offset = comment.match(selector, offset, &matchLength)) >= 0)
1179 selector.replace(offset, matchLength, "");
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DTextIterator.cpp1905 inline bool SearchBuffer::isBadMatch(const UChar* match, size_t matchLength) const
1914 normalizeCharactersIntoNFCForm(match, matchLength, m_normalizedMatch);
2114 size_t matchLength = 0; local
2144 matchLength = newMatchLength;
2157 return matchLength;
2169 size_t matchLength; local
2172 matchLength = findPlainTextInternal(findIterator, target, options, matchStart);
2173 if (!matchLength)
2181 calculateCharacterSubrange(computeRangeIterator, matchStart, matchLength, resultStart, resultEnd);
2197 size_t matchLength; local
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DCodeMirrorTextEditor.js1400 var matchLength = match[0].length;
1401 if (matchLength === 1)
1403 this._searchMatchLength = matchLength;
/external/icu/icu4c/source/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 ...

Completed in 4438 milliseconds

12