HomeSort by relevance Sort by last modified time
    Searched full:matchlength (Results 1 - 19 of 19) sorted by null

  /external/webkit/Source/WebCore/platform/text/
RegularExpression.cpp 94 int RegularExpression::match(const String& str, int startFrom, int* matchLength) const
123 if (matchLength)
124 *matchLength = d->lastMatchLength;
138 int matchLength;
139 pos = match(str, start, &matchLength);
141 if (pos + matchLength > lastPos + lastMatchLength) {
144 lastMatchLength = matchLength;
162 int matchLength;
163 index = target.match(string, index, &matchLength);
166 string.replace(index, matchLength, replacement)
    [all...]
RegularExpression.h 42 int match(const String&, int startFrom = 0, int* matchLength = 0) const;
  /external/webkit/Source/WebCore/html/
BaseTextInputType.cpp 46 int matchLength = 0;
48 int matchOffset = RegularExpression(pattern, TextCaseSensitive).match(value, 0, &matchLength);
49 return matchOffset || matchLength != valueLength;
EmailInputType.cpp 47 int matchLength;
48 int matchOffset = regExp.match(address, 0, &matchLength);
50 return !matchOffset && matchLength == addressLength;
  /external/webkit/Source/JavaScriptCore/wtf/text/
StringImpl.cpp 539 unsigned matchLength = matchStringLength;
540 if (!matchLength)
544 if (matchLength == 1)
547 // Check index & matchLength are in range.
551 if (matchLength > searchLength)
554 unsigned delta = searchLength - matchLength;
563 for (unsigned i = 0; i < matchLength; ++i) {
570 while (searchHash != matchHash || !equal(searchCharacters + i, matchString, matchLength)) {
573 searchHash += searchCharacters[i + matchLength];
588 unsigned matchLength = matchStringLength
    [all...]
  /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/webkit/Source/WebKit/chromium/src/
WebRegularExpression.cpp 59 int* matchLength) const
64 return m_private->match(str, startFrom, matchLength);
  /external/icu4c/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...]
search.cpp 241 int32_t matchlength = m_search_->matchedLength; local
247 matchindex + matchlength >= textlength)) {
267 if (matchlength > 0) {
268 // if matchlength is 0 we are at the start of the iteration
273 offset += matchlength;
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...]
usearch.cpp     [all...]
  /external/icu4c/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/webkit/Source/WebKit/chromium/public/
WebRegularExpression.h 48 WEBKIT_API int match(const WebString&, int startFrom = 0, int* matchLength = 0) const;
  /external/icu4c/test/cintltst/
usrchtst.c 358 uint32_t matchlength = search.size[count]; local
361 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) {
368 matchindex, matchlength);
374 (int32_t) matchlength || U_FAILURE(status) ||
377 matchlength * sizeof(UChar)) != 0) {
401 uint32_t matchlength = search.size[count]; local
404 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) {
416 (int32_t) matchlength || U_FAILURE(status) ||
419 matchlength * sizeof(UChar)) != 0) {
1157 uint32_t matchlength = search.size[count]; local
1339 int32_t matchlength = search.size[count]; local
2215 uint32_t matchlength = search.size[count]; local
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
DefaultHostnameVerifier.java 110 int matchLength = cn.length() - 1;
111 return hostName.regionMatches(hostName.length() - matchLength, cn, 1, matchLength)
  /external/webkit/Source/JavaScriptCore/runtime/
StringPrototype.cpp 620 int matchLength = 0;
621 regExpConstructor->performMatch(reg.get(), s, 0, pos, matchLength);
633 list.append(jsSubstring(exec, s, pos, matchLength));
635 pos += matchLength == 0 ? 1 : matchLength;
636 regExpConstructor->performMatch(reg.get(), s, pos, pos, matchLength);
670 int matchLength = 0;
671 regExpConstructor->performMatch(reg.get(), s, 0, pos, matchLength);
    [all...]
  /external/icu4c/test/intltest/
srchtest.cpp 274 int32_t matchlength = search->size[count]; local
277 matchlength != strsrch->getMatchedLength()) {
284 matchindex, matchlength);
293 matchindex + matchlength,
316 int32_t matchlength = search->size[count]; local
319 matchlength != strsrch->getMatchedLength()) {
333 matchindex + matchlength,
1218 int32_t matchlength = search.size[count]; local
1348 int32_t matchlength = search.size[count]; local
2051 int32_t matchlength = search.size[count]; local
    [all...]
  /external/webkit/Source/WebCore/editing/
TextIterator.cpp     [all...]
  /frameworks/base/media/java/android/media/
MediaScanner.java     [all...]

Completed in 391 milliseconds