Searched refs:lastIndex (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/RegExp/
H A Dproperties-002.js20 re_1.lastIndex = Math.pow(2,31);
24 re_2.lastIndex = Math.pow(2,32) -1;
28 re_3.lastIndex = Math.pow(2,31) -1;
32 re_4.lastIndex = Math.pow(2,30) -1;
36 re_5.lastIndex = Math.pow(2,30);
42 * http://bugzilla.mozilla.org/show_bug.cgi?id=124339, lastIndex
51 re_6.lastIndex = Math.pow(2,32);
55 re_7.lastIndex = Math.pow(2,32) + 1;
59 re_8.lastIndex = Math.pow(2,32) * 2;
63 re_9.lastIndex
[all...]
H A Dconstructor-001.js23 * - lastIndex property is set to 0
62 "(new RegExp()).lastIndex",
64 re.lastIndex );
H A Dfunction-001.js23 * - lastIndex property is set to 0
62 "(new RegExp()).lastIndex",
64 re.lastIndex );
H A Dproperties-001.js82 AddTestCase( re + ".lastIndex",
84 re.lastIndex );
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/RegExp/
H A D15.10.6.2-2.js38 * SUMMARY: Testing re.exec(str) when re.lastIndex is < 0 or > str.length
58 * 3. Let lastIndex be the value of the lastIndex property.
59 * 4. Let i be the value of ToInteger(lastIndex).
61 * 6. If i < 0 or i > length then set lastIndex to 0 and return null.
68 * 11. If the global property is true, set lastIndex to e.
75 * A. If the global flag is not set, |lastIndex| is set to 0
78 * B. If the global flag IS set and re.lastIndex is >= 0 and <= str.length,
79 * |lastIndex| is incremented every time there is a match; not from
86 * C. When the global flag IS set and re.lastIndex i
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/String/
H A Dmatch-003.js19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
42 // [if regexp.global is true] set the regexp.lastIndex property to 0 and
45 // regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
51 // set the value of lastIndex
62 re.lastIndex = 0;
66 "re = " + re + "; re.lastIndex = 0 ",
71 re.lastIndex
[all...]
H A Dmatch-002.js19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
56 // set the value of lastIndex
58 re.lastIndex = 0;
63 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex =0",
69 re.lastIndex = s.length;
72 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " +
78 re.lastIndex = s.lastIndexOf("0");
81 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex
[all...]
H A Dmatch-004.js19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
45 // set the value of lastIndex
59 re.lastIndex = 0;
61 "re = " + re +" [lastIndex is " + re.lastIndex+"]",
68 re.lastIndex = s.length;
71 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " +
77 re.lastIndex
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/regexp/
H A DRegExp_lastIndex.js24 Description: 'Tests RegExps lastIndex property'
33 var TITLE = 'RegExp: lastIndex';
42 // re=/x./g; re.lastIndex=4; re.exec('xyabcdxa');
44 re.lastIndex=4;
45 testcases[count++] = new TestCase ( SECTION, "re=/x./g; re.lastIndex=4; re.exec('xyabcdxa')",
48 // re.lastIndex
49 testcases[count++] = new TestCase ( SECTION, "re.lastIndex",
50 8, re.lastIndex);
56 // re.lastIndex
57 testcases[count++] = new TestCase ( SECTION, "re.lastIndex",
[all...]
/macosx-10.10/WTF-7600.1.24/wtf/
H A DInsertion.h61 size_t lastIndex = target.size(); local
66 for (size_t i = lastIndex; --i > firstIndex;)
69 lastIndex = firstIndex;
/macosx-10.10/JavaScriptCore-7600.1.17/runtime/
H A DRegExpObject.h43 void setLastIndex(ExecState* exec, size_t lastIndex) argument
45 m_lastIndex.setWithoutWriteBarrier(jsNumber(lastIndex));
47 m_lastIndex.setWithoutWriteBarrier(jsNumber(lastIndex));
51 void setLastIndex(ExecState* exec, JSValue lastIndex, bool shouldThrow) argument
54 m_lastIndex.set(exec->vm(), this, lastIndex);
H A DRegExpObject.cpp94 if (propertyName == exec->propertyNames().lastIndex) {
105 if (propertyName == exec->propertyNames().lastIndex)
113 propertyNames.add(exec->propertyNames().lastIndex);
120 propertyNames.add(exec->propertyNames().lastIndex);
133 if (propertyName == exec->propertyNames().lastIndex) {
291 if (propertyName == exec->propertyNames().lastIndex) {
316 unsigned lastIndex; local
318 lastIndex = jsLastIndex.asUInt32();
319 if (lastIndex > input.length()) {
329 lastIndex
[all...]
H A DCommonIdentifiers.h127 macro(lastIndex) \
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/
H A DConsoleCommand.js52 regexObject.lastIndex = 0;
H A DResourceSidebarPanel.js377 while ((searchRegex.lastIndex < match.lineContent.length) && (lineMatch = searchRegex.exec(match.lineContent))) {
378 var matchObject = new WebInspector.ResourceSearchMatchObject(resource, match.lineContent, searchTerm, new WebInspector.TextRange(match.lineNumber, lineMatch.index, match.lineNumber, searchRegex.lastIndex));
433 while ((searchRegex.lastIndex < domNodeTitle.length) && (lineMatch = searchRegex.exec(domNodeTitle))) {
434 var matchObject = new WebInspector.DOMSearchMatchObject(resource, domNode, domNodeTitle, searchTerm, new WebInspector.TextRange(0, lineMatch.index, 0, searchRegex.lastIndex));
/macosx-10.10/Security-57031.1.35/Security/include/security_filedb/
H A DDbIndex.cpp207 long lastIndex; local
208 for (lastIndex = mAttributes.size() - 1; (lastIndex >= 0) && (attributeUsed[lastIndex] == ~(uint32)0);
209 lastIndex--);
211 if (lastIndex != numPredicates - 1)
/macosx-10.10/Security-57031.1.35/Security/libsecurity_filedb/lib/
H A DDbIndex.cpp207 long lastIndex; local
208 for (lastIndex = mAttributes.size() - 1; (lastIndex >= 0) && (attributeUsed[lastIndex] == ~(uint32)0);
209 lastIndex--);
211 if (lastIndex != numPredicates - 1)
/macosx-10.10/tcl-105/tcl_ext/incrtcl/iwidgets/generic/
H A Dtoolbar.itk667 set lastIndex [\
671 $lastIndex $lastIndex ""
674 set lastIndex [\
678 $lastIndex $lastIndex ""
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/External/CodeMirror/
H A Dsearchcursor.js30 query.lastIndex = 0;
33 query.lastIndex = cutOff;
49 query.lastIndex = pos.ch;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/antlr/
H A DTokenStreamRewriteEngine.hpp163 , lastIndex(to)
169 return lastIndex+1;
175 size_t lastIndex; member in class:ReplaceOp
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/Bookmarks/
H A DDNDArrayController.py119 index = indexSet.lastIndex()
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/Bookmarks/
H A DDNDArrayController.py119 index = indexSet.lastIndex()
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/CocoaBindings/Bookmarks/
H A DDNDArrayController.py119 index = indexSet.lastIndex()
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/
H A DMachineVerifier.cpp89 SlotIndex lastIndex; member in struct:__anon10243::MachineVerifier
429 lastIndex = SlotIndex();
674 lastIndex = Indexes->getMBBStartIdx(MBB);
682 if (!(idx > lastIndex)) {
684 *OS << "Last instruction was at " << lastIndex << '\n'; local
686 lastIndex = idx;
1108 if (!(stop > lastIndex)) {
1111 << " last instruction was at " << lastIndex << '\n'; local
1113 lastIndex = stop;
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Controllers/
H A DCodeMirrorCompletionController.js744 var lastIndex = Math.min(commonPrefix.length, completion.length);
745 for (var j = prefixLength; j < lastIndex; ++j) {

Completed in 237 milliseconds

12