/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringImpl.cpp | 1106 unsigned matchLength = matchStringLength; in find() local 1107 if (!matchLength) in find() 1111 if (matchLength == 1) in find() 1118 if (matchLength > searchLength) in find() 1121 unsigned delta = searchLength - matchLength; in find() 1129 for (unsigned i = 0; i < matchLength; ++i) { in find() 1136 while (searchHash != matchHash || !equal(searchCharacters + i, matchString, matchLength)) { in find() 1139 searchHash += searchCharacters[i + matchLength]; in find() 1147 …hCharacters, const LChar* matchString, unsigned index, unsigned searchLength, unsigned matchLength) in findIgnoringCaseInternal() argument 1150 unsigned delta = searchLength - matchLength; in findIgnoringCaseInternal() [all …]
|
D | 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); }
|
D | StringImpl.h | 407 bool startsWith(const char*, unsigned matchLength, bool caseSensitive) const; 408 template<unsigned matchLength> 409 … startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return startsWit… 413 bool endsWith(const char*, unsigned matchLength, bool caseSensitive) const; 414 template<unsigned matchLength> 415 …ool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const { return endsWith…
|
D | WTFString.h | 276 template<unsigned matchLength> 277 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 278 { return m_impl ? m_impl->startsWith<matchLength>(prefix, caseSensitive) : !matchLength; } 284 template<unsigned matchLength> 285 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const 286 { return m_impl ? m_impl->endsWith<matchLength>(prefix, caseSensitive) : !matchLength; }
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | ContentSearchUtils.cpp | 75 int matchLength; in getScriptRegexpMatchesByLines() local 76 if (regex->match(line, 0, &matchLength) != -1) in getScriptRegexpMatchesByLines() 106 int matchLength; in countScriptRegexpMatches() local 107 while ((position = regex->match(content, start, &matchLength)) != -1) { in countScriptRegexpMatches() 110 if (matchLength > 0) in countScriptRegexpMatches() 153 int matchLength; in findMagicComment() local 154 int offset = regex.match(content, 0, &matchLength); in findMagicComment() 156 offset = deprecatedRegex.match(content, 0, &matchLength); in findMagicComment() 163 String match = content.substring(offset, matchLength); in findMagicComment()
|
D | InspectorStyleSheet.cpp | 1227 int matchLength; in selectorsFromSource() local 1229 while ((offset = comment.match(selector, offset, &matchLength)) >= 0) in selectorsFromSource() 1230 selector.replace(offset, matchLength, ""); in selectorsFromSource()
|
/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() 98 if (matchLength) { in match() 100 *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/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 | 130 int matchLength; in isValidEmailAddress() local 131 int matchOffset = regExp.match(address, 0, &matchLength); in isValidEmailAddress() 133 return !matchOffset && matchLength == addressLength; in isValidEmailAddress()
|
/external/icu4c/i18n/ |
D | tznames.cpp | 327 int32_t matchLength; member 330 …MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const Unicod… in MatchInfo() 332 this->matchLength = matchLength; in MatchInfo() 364 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, in addZone() argument 369 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); in addZone() 381 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, in addMetaZone() argument 386 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); in addMetaZone() 418 return match->matchLength; in getMatchLengthAt()
|
D | tzgnames.cpp | 115 int32_t matchLength; member 169 return minfo->matchLength; in getMatchLength() 193 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status); 213 GNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status)… in handleMatch() argument 240 gmatch->matchLength = matchLength; in handleMatch() 246 if (matchLength > fMaxMatchLen) { in handleMatch() 247 fMaxMatchLen = matchLength; in handleMatch()
|
D | tznames_impl.cpp | 755 int32_t matchLength; member 768 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status); 788 ZNameSearchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status)… in handleMatch() argument 810 … fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); in handleMatch() 813 … fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status); in handleMatch() 815 if (U_SUCCESS(status) && matchLength > fMaxMatchLen) { in handleMatch() 816 fMaxMatchLen = matchLength; in handleMatch()
|
D | tznames_impl.h | 119 virtual UBool handleMatch(int32_t matchLength,
|
D | tzfmt.cpp | 2595 UBool handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status); 2611 ZoneIdMatchHandler::handleMatch(int32_t matchLength, const CharacterNode *node, UErrorCode &status)… in handleMatch() argument 2618 if (fLen < matchLength) { in handleMatch() 2620 fLen = matchLength; in handleMatch()
|
/external/chromium/webkit/glue/ |
D | regular_expression_unittest.cc | 21 const int matchLength; member 33 EXPECT_EQ(matches[i].matchLength, matchedLength); in testMatches() 40 #define MATCH_DESC(webuchar, matchPosition, matchLength) \ argument 41 { webuchar, arraysize(webuchar), matchPosition, matchLength }
|
/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/icu4c/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/icu4c/i18n/unicode/ |
D | tznames.h | 309 void addZone(UTimeZoneNameType nameType, int32_t matchLength, 320 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | TextIterator.cpp | 1845 inline bool SearchBuffer::isBadMatch(const UChar* match, size_t matchLength) const in isBadMatch() 1854 normalizeCharactersIntoNFCForm(match, matchLength, m_normalizedMatch); in isBadMatch() 2030 size_t matchLength = 0; in findPlainText() local 2057 matchLength = newMatchLength; in findPlainText() 2070 return matchLength; in findPlainText() 2080 size_t matchLength; in findPlainText() local 2083 matchLength = findPlainText(findIterator, target, options, matchStart); in findPlainText() 2084 if (!matchLength) in findPlainText() 2090 return characterSubrange(computeRangeIterator, matchStart, matchLength); in findPlainText()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | CodeMirrorTextEditor.js | 1287 var matchLength = match[0].length; 1288 if (matchLength === 1) 1290 this._searchMatchLength = matchLength;
|
/external/icu4c/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()
|