/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
BaseTextInputType.cpp | 47 int matchLength = 0; 49 int matchOffset = ScriptRegexp(pattern, TextCaseSensitive).match(value, 0, &matchLength); 50 return matchOffset || matchLength != valueLength;
|
EmailInputType.cpp | 142 int matchLength; 143 int matchOffset = regExp.match(address, 0, &matchLength); 145 return !matchOffset && matchLength == addressLength;
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ScriptRegexp.h | 47 int match(const String&, int startFrom = 0, int* matchLength = 0) const;
|
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/ |
VTTScanner.cpp | 56 unsigned matchLength = m_is8Bit ? m_end.characters8 - m_data.characters8 : m_end.characters16 - m_data.characters16; 57 if (matchLength < charactersCount) 75 size_t matchLength = run.length(); 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/ |
StringImpl.cpp | [all...] |
AtomicString.h | 117 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); }
|
StringImpl.h | 383 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); }
|
WTFString.h | 275 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/unicode/ |
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/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/icu/icu4c/source/i18n/ |
tznames.cpp | 317 int32_t matchLength; 320 MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const UnicodeString* mzID) { 322 this->matchLength = matchLength; 354 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, 359 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); 371 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, 376 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); 408 return match->matchLength;
|
tznames_impl.h | 119 virtual UBool handleMatch(int32_t matchLength,
|
tzgnames.cpp | 114 int32_t matchLength; 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) { 239 gmatch->matchLength = matchLength; 245 if (matchLength > fMaxMatchLen) { 246 fMaxMatchLen = matchLength; [all...] |
tznames_impl.cpp | 760 int32_t matchLength; 773 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status); 793 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status) { 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; [all...] |
tzfmt.cpp | [all...] |
/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/icu/icu4c/source/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/inspector/ |
ContentSearchUtils.cpp | 73 int matchLength; 74 if (regex->match(line, 0, &matchLength) != -1)
|
InspectorStyleSheet.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TextIterator.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/ |
CodeMirrorTextEditor.js | [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | [all...] |
/external/icu/icu4c/source/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...] |