/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | BaseTextInputType.cpp | 61 int matchLength = 0; local 63 int matchOffset = ScriptRegexp(pattern, TextCaseSensitive).match(value, 0, &matchLength); 64 return matchOffset || matchLength != valueLength;
|
H A D | EmailInputType.cpp | 142 int matchLength; local 143 int matchOffset = regExp.match(address, 0, &matchLength); 145 return !matchOffset && matchLength == addressLength;
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | ScriptRegexp.h | 47 int match(const String&, int startFrom = 0, int* matchLength = 0) const;
|
H A D | ScriptRegexp.cpp | 59 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 D | VTTScanner.cpp | 56 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 D | StringImpl.cpp | 1120 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 D | AtomicString.h | 106 template<unsigned matchLength> 107 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 108 { return m_string.startsWith<matchLength>(prefix, caseSensitive); } 114 template<unsigned matchLength> 115 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 116 { return m_string.endsWith<matchLength>(prefix, caseSensitive); }
|
H A D | StringImpl.h | 397 bool startsWith(const char*, unsigned matchLength, bool caseSensitive) const; 398 template<unsigned matchLength> 399 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return startsWith(prefix, matchLength - 1, caseSensitive); } 403 bool endsWith(const char*, unsigned matchLength, bool caseSensitive) const; 404 template<unsigned matchLength> 405 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return endsWith(prefix, matchLength - 1, caseSensitive); }
|
H A D | WTFString.h | 263 template<unsigned matchLength> 264 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 265 { return m_impl ? m_impl->startsWith<matchLength>(prefix, caseSensitive) : !matchLength; } 271 template<unsigned matchLength> 272 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 273 { return m_impl ? m_impl->endsWith<matchLength>(prefix, caseSensitive) : !matchLength; }
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | tznames.cpp | 317 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 D | tznames_impl.h | 119 virtual UBool handleMatch(int32_t matchLength,
|
H A D | tzgnames.cpp | 114 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 D | tznames_impl.cpp | 760 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 D | tzfmt.cpp | 2601 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/ |
H A D | tznames.cpp | 317 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 D | tznames_impl.h | 119 virtual UBool handleMatch(int32_t matchLength,
|
H A D | tzgnames.cpp | 114 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 D | tznames_impl.cpp | 760 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;
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | tznames.h | 303 * @param matchLength The match length. 308 void addZone(UTimeZoneNameType nameType, int32_t matchLength, 314 * @param matchLength The match length. 319 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | tznames.h | 301 * @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/common/ |
H A D | ucnv_ext.cpp | 118 * - 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/icu/icu4c/source/common/ |
H A D | ucnv_ext.cpp | 118 * - 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 D | ContentSearchUtils.cpp | 74 int matchLength; local 75 if (regex->match(line, 0, &matchLength) != -1)
|
H A D | InspectorStyleSheet.cpp | 1285 int matchLength; 1287 while ((offset = comment.match(selector, offset, &matchLength)) >= 0) 1288 selector.replace(offset, matchLength, "");
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | TextIterator.cpp | 2095 inline bool SearchBuffer::isBadMatch(const UChar* match, size_t matchLength) const 2104 normalizeCharactersIntoNFCForm(match, matchLength, m_normalizedMatch); 2334 size_t matchLength = 0; local 2363 matchLength = newMatchLength; 2376 return matchLength; 2385 size_t matchLength; local 2388 matchLength = findPlainTextInternal(findIterator, target, options, matchStart); 2389 if (!matchLength) 2397 calculateCharacterSubrange(computeRangeIterator, matchStart, matchLength, resultStart, resultEnd); 2412 size_t matchLength; local [all...] |