Home
last modified time | relevance | path

Searched refs:matchStart (Results 1 – 7 of 7) sorted by relevance

/external/icu4c/i18n/
Dstrmatch.cpp33 matchStart(-1), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 matchStart(o.matchStart), in StringMatcher()
112 if (matchStart < 0) { in matches()
113 matchStart = cursor+1; in matches()
144 matchStart = offset; in matches()
224 if (matchStart >= 0) { in replace()
225 if (matchStart != matchLimit) { in replace()
226 text.copy(matchStart, matchLimit, dest); in replace()
227 outLen = matchLimit - matchStart; in replace()
253 matchStart = matchLimit = -1; in resetMatch()
Dstrmatch.h240 int32_t matchStart; variable
/external/webkit/V8Binding/v8/src/
Dregexp-delay.js183 var matchStart = lastMatchInfo[CAPTURE(i << 1)];
185 if (matchStart != -1 && matchEnd != -1) {
186 result[i] = SubString(s, matchStart, matchEnd);
308 var matchStart = lastMatchInfo[CAPTURE(index)];
310 if (matchStart == -1 || matchEnd == -1) return '';
311 return SubString(LAST_SUBJECT(lastMatchInfo), matchStart, matchEnd);
/external/webkit/WebCore/editing/
DTextIterator.cpp1555 int matchStart = usearch_first(searcher, &status); in search() local
1557 if (!(matchStart >= 0 && static_cast<size_t>(matchStart) < size)) { in search()
1558 ASSERT(matchStart == USEARCH_DONE); in search()
1565 if (!m_atBreak && static_cast<size_t>(matchStart) >= size - m_overlap) { in search()
1571 size_t newSize = size - (matchStart + 1); in search()
1572 memmove(m_buffer.data(), m_buffer.data() + matchStart + 1, newSize * sizeof(UChar)); in search()
1575 start = size - matchStart; in search()
1884 …(CharacterIterator& it, const String& target, bool forward, bool caseSensitive, size_t& matchStart) in findPlainText() argument
1886 matchStart = 0; in findPlainText()
1899 matchStart = lastCharacterInBufferOffset - matchStartOffset; in findPlainText()
[all …]
/external/webkit/JavaScriptCore/runtime/
DStringPrototype.cpp256 int matchStart = ovector[i * 2]; in stringProtoFuncReplace() local
257 int matchLen = ovector[i * 2 + 1] - matchStart; in stringProtoFuncReplace()
259 if (matchStart < 0) in stringProtoFuncReplace()
262 cachedCall.setArgument(i, jsSubstring(exec, source, matchStart, matchLen)); in stringProtoFuncReplace()
299 int matchStart = ovector[i * 2]; in stringProtoFuncReplace() local
300 int matchLen = ovector[i * 2 + 1] - matchStart; in stringProtoFuncReplace()
302 if (matchStart < 0) in stringProtoFuncReplace()
305 args.append(jsSubstring(exec, source, matchStart, matchLen)); in stringProtoFuncReplace()
/external/icu4c/test/intltest/
Dusettest.cpp2510 int32_t matchStart=prev-str->length(); in containsSpanBackUTF16() local
2511 if(matchStart==0) { in containsSpanBackUTF16()
2518 length=matchStart; // First match from prev. in containsSpanBackUTF16()
2520 if(matchStart>length) { in containsSpanBackUTF16()
2523 length=matchStart; in containsSpanBackUTF16()
2524 matchStart=temp; in containsSpanBackUTF16()
2527 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
2537 if(matchStart<length) { in containsSpanBackUTF16()
2539 length=matchStart; in containsSpanBackUTF16()
2729 int32_t matchStart=prev-length8; in containsSpanBackUTF8() local
[all …]
/external/webkit/WebCore/
DChangeLog-2007-10-1438744 the location we found with integers matchStart and matchLength. 4) Got rid of the use