/external/chromium_org/third_party/WebKit/Source/core/html/ |
BaseTextInputType.cpp | 47 int matchLength = 0; 49 int matchOffset = RegularExpression(pattern, TextCaseSensitive).match(value, 0, &matchLength); 50 return matchOffset || matchLength != valueLength;
|
EmailInputType.cpp | 103 int matchLength; 104 int matchOffset = regExp.match(address, 0, &matchLength); 106 return !matchOffset && matchLength == addressLength;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
RegularExpression.h | 47 int match(const String&, int startFrom = 0, int* matchLength = 0) const;
|
RegularExpression.cpp | 63 int RegularExpression::match(const String& string, int startFrom, int* matchLength) const 65 if (matchLength) 66 *matchLength = 0; 102 if (matchLength) { 104 *matchLength = match->Length();
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
ContentSearchUtils.cpp | 74 int matchLength; 75 if (regex->match(line, 0, &matchLength) != -1) 105 int matchLength; 106 while ((position = regex->match(content, start, &matchLength)) != -1) { 109 if (matchLength > 0) 152 int matchLength; 153 int offset = regex.match(content, 0, &matchLength); 155 offset = deprecatedRegex.match(content, 0, &matchLength); 162 String match = content.substring(offset, matchLength);
|
InspectorStyleSheet.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringImpl.cpp | 971 unsigned matchLength = matchStringLength; 972 if (!matchLength) 976 if (matchLength == 1) 979 // Check index & matchLength are in range. 983 if (matchLength > searchLength) 986 unsigned delta = searchLength - matchLength; 994 for (unsigned i = 0; i < matchLength; ++i) { 1001 while (searchHash != matchHash || !equal(searchCharacters + i, matchString, matchLength)) { 1004 searchHash += searchCharacters[i + matchLength]; 1012 ALWAYS_INLINE size_t findIgnoringCaseInternal(const CharType* searchCharacters, const LChar* matchString, unsigned index, unsigned searchLength, unsigned matchLength) [all...] |
AtomicString.h | 121 template<unsigned matchLength> 122 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 123 { return m_string.startsWith<matchLength>(prefix, caseSensitive); } 129 template<unsigned matchLength> 130 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 131 { return m_string.endsWith<matchLength>(prefix, caseSensitive); }
|
StringImpl.h | 388 bool startsWith(const char*, unsigned matchLength, bool caseSensitive) const; 389 template<unsigned matchLength> 390 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return startsWith(prefix, matchLength - 1, caseSensitive); } 394 bool endsWith(const char*, unsigned matchLength, bool caseSensitive) const; 395 template<unsigned matchLength> 396 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return endsWith(prefix, matchLength - 1, caseSensitive); }
|
WTFString.h | 281 template<unsigned matchLength> 282 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 283 { return m_impl ? m_impl->startsWith<matchLength>(prefix, caseSensitive) : !matchLength; } 289 template<unsigned matchLength> 290 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 291 { return m_impl ? m_impl->endsWith<matchLength>(prefix, caseSensitive) : !matchLength; }
|
/external/chromium/webkit/glue/ |
regular_expression_unittest.cc | 21 const int matchLength; 33 EXPECT_EQ(matches[i].matchLength, matchedLength); 40 #define MATCH_DESC(webuchar, matchPosition, matchLength) \ 41 { webuchar, arraysize(webuchar), matchPosition, matchLength }
|
/external/chromium_org/third_party/icu/source/i18n/ |
zstrfmt.h | 73 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, const CharacterNode *node, UErrorCode &status) [all...] |
zstrfmt.cpp | 470 ZoneStringSearchResultHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { 487 if (matchLength > fMatchLen[lenidx]) { 490 fMatchLen[lenidx] = matchLength; 499 fMatchLen[getTimeZoneTranslationTypeIndex(zsinfo->fType)] = matchLength; 512 ZoneStringSearchResultHandler::getMatch(int32_t index, int32_t &matchLength) { 516 matchLength = fMatchLen[getTimeZoneTranslationTypeIndex(zsinfo->fType)]; [all...] |
/external/icu4c/i18n/ |
tznames.cpp | 327 int32_t matchLength; 330 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) { 332 this->matchLength = matchLength; 364 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, 369 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); 381 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, 386 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); 418 return match->matchLength;
|
tznames_impl.h | 119 virtual UBool handleMatch(int32_t matchLength,
|
tzgnames.cpp | 115 int32_t matchLength; 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) { 240 gmatch->matchLength = matchLength; 246 if (matchLength > fMaxMatchLen) { 247 fMaxMatchLen = matchLength; [all...] |
tznames_impl.cpp | 755 int32_t matchLength; 768 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status); 788 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { 810 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); 813 fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status); 815 if (U_SUCCESS(status) && matchLength > fMaxMatchLen) { 816 fMaxMatchLen = matchLength; [all...] |
tzfmt.cpp | [all...] |
/external/icu4c/i18n/unicode/ |
tznames.h | 304 * @param matchLength The match length. 309 void addZone(UTimeZoneNameType nameType, int32_t matchLength, 315 * @param matchLength The match length. 320 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
|
/external/chromium_org/third_party/icu/source/common/ |
ucnv_ext.c | 117 * - the returned matchLength is not offset by 2 128 int32_t i, j, idx, length, matchLength; 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; 569 i=j=matchLength=0 [all...] |
/external/icu4c/common/ |
ucnv_ext.cpp | 118 * - the returned matchLength is not offset by 2 129 int32_t i, j, idx, length, matchLength; 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; 579 i=j=matchLength=0 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TextIterator.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
CodeMirrorTextEditor.js | [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | [all...] |
/external/icu4c/test/cintltst/ |
usrchtst.c | 344 int32_t matchlength; local 360 matchlength = search.size[count]; 363 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) { 370 matchindex, matchlength); 376 (int32_t) matchlength || U_FAILURE(status) || 379 matchlength * sizeof(UChar)) != 0) { 402 matchlength = search.size[count]; 405 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) { 412 matchindex, matchlength); 417 (int32_t) matchlength || U_FAILURE(status) | 1256 uint32_t matchlength = search.size[count]; local 1438 int32_t matchlength = search.size[count]; local 2314 uint32_t matchlength = search.size[count]; local [all...] |