Home
last modified time | relevance | path

Searched refs:jsSubstring (Results 1 – 8 of 8) sorted by relevance

/external/webkit/Source/JavaScriptCore/runtime/
DRegExpConstructor.cpp141 …JSArray::put(exec, i, jsSubstring(exec, d->lastInput, start, d->lastOvector()[2 * i + 1] - start)); in fillArrayInstance()
164 return jsSubstring(exec, d->lastInput, start, d->lastOvector()[2 * i + 1] - start); in getBackref()
176 return jsSubstring(exec, d->lastInput, start, d->lastOvector()[2 * i + 1] - start); in getLastParen()
184 return jsSubstring(exec, d->lastInput, 0, d->lastOvector()[0]); in getLeftContext()
191 …return jsSubstring(exec, d->lastInput, d->lastOvector()[1], d->lastInput.length() - d->lastOvector… in getRightContext()
DJSString.h46 JSString* jsSubstring(JSGlobalData*, const UString&, unsigned offset, unsigned length);
47 JSString* jsSubstring(ExecState*, const UString&, unsigned offset, unsigned length);
442 … friend JSString* jsSubstring(ExecState* exec, JSString* s, unsigned offset, unsigned length);
528 inline JSString* jsSubstring(ExecState* exec, JSString* s, unsigned offset, unsigned length) in jsSubstring() function
538 return jsSubstring(globalData, s->m_value, offset, length); in jsSubstring()
541 …inline JSString* jsSubstring(JSGlobalData* globalData, const UString& s, unsigned offset, unsigned… in jsSubstring() function
572 …inline JSString* jsSubstring(ExecState* exec, const UString& s, unsigned offset, unsigned length) … in jsSubstring() function
DStringPrototype.cpp353 cachedCall.setArgument(i, jsSubstring(exec, source, matchStart, matchLen)); in stringProtoFuncReplace()
400 args.append(jsSubstring(exec, source, matchStart, matchLen)); in stringProtoFuncReplace()
458 args.append(jsSubstring(exec, source, matchPos, matchLen)); in stringProtoFuncReplace()
633 list.append(jsSubstring(exec, s, pos, matchLength)); in stringProtoFuncMatch()
696 …return JSValue::encode(jsSubstring(exec, s, static_cast<unsigned>(from), static_cast<unsigned>(to)… in stringProtoFuncSlice()
731 result->put(exec, i++, jsSubstring(exec, s, p0, mpos - p0)); in stringProtoFuncSplit()
739 result->put(exec, i++, jsSubstring(exec, s, spos, ovector[si * 2 + 1] - spos)); in stringProtoFuncSplit()
754 result->put(exec, i++, jsSubstring(exec, s, p0, pos - p0)); in stringProtoFuncSplit()
762 result->put(exec, i++, jsSubstring(exec, s, p0, s.length() - p0)); in stringProtoFuncSplit()
800 return JSValue::encode(jsSubstring(exec, jsString, substringStart, substringLength)); in stringProtoFuncSubstr()
[all …]
DJSString.cpp147 return jsSubstring(&exec->globalData(), m_value, substringStart, substringLength); in substringFromRope()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2009-06-1619052 REGRESSION (r38745): Assertion failure in jsSubstring() at ge.com
31226 (JSC::jsSubstring): Ditto.
31236 (JSC::jsSubstring): Ditto.
35215 (JSC::jsSubstring):
38749 efficient jsSubstring(), rather than using UString::substr() and then
38823 (KJS::jsSubstring): Added. Used when creating a string from a substring
38829 jsSingleCharacterSubstring, jsSubstring, and jsNontrivialString for various
38856 (KJS::RegExpMatchesArray::fillArrayInstance): Adopted jsSubstring. Also,
38858 (KJS::RegExpConstructor::getBackref): Adopted jsSubstring and jsEmptyString.
38861 jsSubstring.
[all …]
DChangeLog-2011-02-168160 (JSC::jsSubstring):
16859 (JSC::jsSubstring):
17133 (JSC::jsSubstring):
17223 (JSC::jsSubstring):
DChangeLog-2010-05-2411417 (JSC::jsSubstring): Ditto.
12885 (JSC::jsSubstring): Don't report extra cost for substrings, since they
13916 (JSC::jsSubstring):
16960 (JSC::jsSubstring):
DChangeLog5227 (JSC::jsSubstring):