/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringImpl.cpp | 1120 unsigned matchLength = matchStringLength; in find() local 1121 if (!matchLength) in find() 1125 if (matchLength == 1) in find() 1132 if (matchLength > searchLength) in find() 1135 unsigned delta = searchLength - matchLength; in find() 1143 for (unsigned i = 0; i < matchLength; ++i) { in find() 1150 while (searchHash != matchHash || !equal(searchCharacters + i, matchString, matchLength)) { in find() 1153 searchHash += searchCharacters[i + matchLength]; in find() 1161 …hCharacters, const LChar* matchString, unsigned index, unsigned searchLength, unsigned matchLength) in findIgnoringCaseInternal() argument 1164 unsigned delta = searchLength - matchLength; in findIgnoringCaseInternal() [all …]
|
D | 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); }
|
D | StringImpl.h | 383 bool startsWith(const char*, unsigned matchLength, bool caseSensitive) const; 384 template<unsigned matchLength> 385 … startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return startsWit… 389 bool endsWith(const char*, unsigned matchLength, bool caseSensitive) const; 390 template<unsigned matchLength> 391 …ool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return endsWith…
|
D | 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/chromium_org/third_party/WebKit/Source/bindings/v8/ |
D | ScriptRegexp.cpp | 59 int ScriptRegexp::match(const String& string, int startFrom, int* matchLength) const in match() 61 if (matchLength) in match() 62 *matchLength = 0; in match() 99 if (matchLength) { in match() 101 *matchLength = match->Length(); in match()
|
D | ScriptRegexp.h | 47 int match(const String&, int startFrom = 0, int* matchLength = 0) const;
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
D | VTTScanner.cpp | 56 …unsigned matchLength = m_is8Bit ? m_end.characters8 - m_data.characters8 : m_end.characters16 - m_… in scan() local 57 if (matchLength < charactersCount) in scan() 75 size_t matchLength = run.length(); in scanRun() local 76 if (toMatch.length() > matchLength) in scanRun() 80 matched = WTF::equal(toMatch.impl(), m_data.characters8, matchLength); in scanRun() 82 matched = WTF::equal(toMatch.impl(), m_data.characters16, matchLength); in scanRun()
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
D | BaseTextInputType.cpp | 47 int matchLength = 0; in patternMismatch() local 49 int matchOffset = ScriptRegexp(pattern, TextCaseSensitive).match(value, 0, &matchLength); in patternMismatch() 50 return matchOffset || matchLength != valueLength; in patternMismatch()
|
D | EmailInputType.cpp | 142 int matchLength; in isValidEmailAddress() local 143 int matchOffset = regExp.match(address, 0, &matchLength); in isValidEmailAddress() 145 return !matchOffset && matchLength == addressLength; in isValidEmailAddress()
|
/external/icu/icu4c/source/i18n/ |
D | tznames.cpp | 317 int32_t matchLength; member 320 …MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const Unicod… in MatchInfo() 322 this->matchLength = matchLength; in MatchInfo() 354 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, in addZone() argument 359 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); in addZone() 371 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, in addMetaZone() argument 376 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); in addMetaZone() 408 return match->matchLength; in getMatchLengthAt()
|
D | tzgnames.cpp | 114 int32_t matchLength; member 168 return minfo->matchLength; in getMatchLength() 192 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status); 212 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status)… in handleMatch() argument 239 gmatch->matchLength = matchLength; in handleMatch() 245 if (matchLength > fMaxMatchLen) { in handleMatch() 246 fMaxMatchLen = matchLength; in handleMatch()
|
D | tznames_impl.cpp | 760 int32_t matchLength; member 773 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status); 793 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status)… in handleMatch() argument 815 … fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); in handleMatch() 818 … fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status); in handleMatch() 820 if (U_SUCCESS(status) && matchLength > fMaxMatchLen) { in handleMatch() 821 fMaxMatchLen = matchLength; in handleMatch()
|
D | tznames_impl.h | 119 virtual UBool handleMatch(int32_t matchLength,
|
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)… in handleMatch() argument 2624 if (fLen < matchLength) { in handleMatch() 2626 fLen = matchLength; in handleMatch()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | 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; 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); 467 const ZoneStringInfo* getMatch(int32_t index, int32_t &matchLength);
|
D | zstrfmt.cpp | 470 ZoneStringSearchResultHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCo… in handleMatch() argument 487 if (matchLength > fMatchLen[lenidx]) { in handleMatch() 490 fMatchLen[lenidx] = matchLength; in handleMatch() 499 fMatchLen[getTimeZoneTranslationTypeIndex(zsinfo->fType)] = matchLength; in handleMatch() 512 ZoneStringSearchResultHandler::getMatch(int32_t index, int32_t &matchLength) { in getMatch() argument 516 matchLength = fMatchLen[getTimeZoneTranslationTypeIndex(zsinfo->fType)]; in getMatch() 1312 int32_t &matchLength, UErrorCode &status) const { in findSpecificLong() argument 1313 return find(text, start, STANDARD_LONG | DAYLIGHT_LONG, matchLength, status); in findSpecificLong() 1318 int32_t &matchLength, UErrorCode &status) const { in findSpecificShort() argument 1319 return find(text, start, STANDARD_SHORT | DAYLIGHT_SHORT, matchLength, status); in findSpecificShort() [all …]
|
/external/chromium_org/third_party/icu/source/common/ |
D | ucnv_ext.c | 128 int32_t i, j, idx, length, matchLength; in ucnv_extMatchToU() local 140 i=j=matchLength=0; in ucnv_extMatchToU() 174 matchLength=i+j; in ucnv_extMatchToU() 213 matchLength=i+j; in ucnv_extMatchToU() 222 if(matchLength==0) { in ucnv_extMatchToU() 229 return matchLength; in ucnv_extMatchToU() 531 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local 569 i=j=matchLength=0; in ucnv_extMatchFromU() 589 matchLength=2+i+j; in ucnv_extMatchFromU() 629 matchLength=2+i+j; in ucnv_extMatchFromU() [all …]
|
/external/icu/icu4c/source/common/ |
D | ucnv_ext.cpp | 129 int32_t i, j, idx, length, matchLength; in ucnv_extMatchToU() local 141 i=j=matchLength=0; in ucnv_extMatchToU() 175 matchLength=i+j; in ucnv_extMatchToU() 214 matchLength=i+j; in ucnv_extMatchToU() 223 if(matchLength==0) { in ucnv_extMatchToU() 230 return matchLength; in ucnv_extMatchToU() 541 int32_t i, j, idx, length, matchLength; in ucnv_extMatchFromU() local 579 i=j=matchLength=0; in ucnv_extMatchFromU() 595 matchLength=2+i+j; in ucnv_extMatchFromU() 632 matchLength=2+i+j; in ucnv_extMatchFromU() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tznames.h | 306 void addZone(UTimeZoneNameType nameType, int32_t matchLength, 317 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | ContentSearchUtils.cpp | 73 int matchLength; in getScriptRegexpMatchesByLines() local 74 if (regex->match(line, 0, &matchLength) != -1) in getScriptRegexpMatchesByLines()
|
D | InspectorStyleSheet.cpp | 1176 int matchLength; in selectorsFromSource() local 1178 while ((offset = comment.match(selector, offset, &matchLength)) >= 0) in selectorsFromSource() 1179 selector.replace(offset, matchLength, ""); in selectorsFromSource()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | TextIterator.cpp | 1905 inline bool SearchBuffer::isBadMatch(const UChar* match, size_t matchLength) const in isBadMatch() 1914 normalizeCharactersIntoNFCForm(match, matchLength, m_normalizedMatch); in isBadMatch() 2114 size_t matchLength = 0; in findPlainTextInternal() local 2144 matchLength = newMatchLength; in findPlainTextInternal() 2157 return matchLength; in findPlainTextInternal() 2169 size_t matchLength; in findPlainText() local 2172 matchLength = findPlainTextInternal(findIterator, target, options, matchStart); in findPlainText() 2173 if (!matchLength) in findPlainText() 2181 … calculateCharacterSubrange(computeRangeIterator, matchStart, matchLength, resultStart, resultEnd); in findPlainText() 2197 size_t matchLength; in findPlainText() local [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/ |
D | CodeMirrorTextEditor.js | 1400 var matchLength = match[0].length; 1401 if (matchLength === 1) 1403 this._searchMatchLength = matchLength;
|
/external/icu/icu4c/source/test/cintltst/ |
D | usrchtst.c | 2929 int32_t matchLength = 0; in TestMatchFollowedByIgnorables() local 2978 matchLength = usearch_getMatchedLength(usearch); in TestMatchFollowedByIgnorables() 2980 if (matchLength != expectedMatchLength) { in TestMatchFollowedByIgnorables() 2981 log_err("Error: matchLength=%d, expected=%d\n", matchLength, expectedMatchLength); in TestMatchFollowedByIgnorables()
|