Home | History | Annotate | Download | only in src

Lines Matching defs:regexp

1731   CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 0);
1741 Handle<Object> result = RegExpImpl::Exec(regexp,
1788 CONVERT_ARG_CHECKED(JSRegExp, regexp, 0);
1800 Map* map = regexp->map();
1805 regexp->InObjectPropertyAtPut(JSRegExp::kSourceFieldIndex, source);
1808 regexp->InObjectPropertyAtPut(
1810 regexp->InObjectPropertyAtPut(
1812 regexp->InObjectPropertyAtPut(
1814 regexp->InObjectPropertyAtPut(JSRegExp::kLastIndexFieldIndex,
1817 return regexp;
1827 result = regexp->SetLocalPropertyIgnoreAttributes(heap->source_symbol(),
1831 result = regexp->SetLocalPropertyIgnoreAttributes(heap->global_symbol(),
1836 regexp->SetLocalPropertyIgnoreAttributes(heap->ignore_case_symbol(),
1840 result = regexp->SetLocalPropertyIgnoreAttributes(heap->multiline_symbol(),
1845 regexp->SetLocalPropertyIgnoreAttributes(heap->last_index_symbol(),
1850 return regexp;
1935 // Get the RegExp function from the context in the literals array.
1936 // This is the RegExp function from the context in which the
1937 // function was created. We do not use the RegExp function from the
1938 // current global context because this might be the RegExp function
1945 Handle<Object> regexp =
1952 literals->set(index, *regexp);
1953 return *regexp;
2207 // Insert the object, regexp and array functions in the literals
2209 // creating object, regexp and array literals.
2960 JSRegExp* regexp,
2970 Handle<JSRegExp> regexp_handle(regexp);
2995 // Shortcut for simple non-regexp global replacements
3086 JSRegExp* regexp,
3093 Handle<JSRegExp> regexp_handle(regexp);
3095 // Shortcut for simple non-regexp global replacements
3142 // If the regexp isn't global, only match once.
3253 CONVERT_ARG_CHECKED(JSRegExp, regexp, 1);
3261 isolate, subject, regexp, last_match_info);
3264 isolate, subject, regexp, last_match_info);
3270 regexp,
3591 CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 1);
3595 Handle<Object> match = RegExpImpl::Exec(regexp, subject, 0, regexp_info);
3619 match = RegExpImpl::Exec(regexp, subject, end, regexp_info);
3773 Handle<JSRegExp> regexp,
3780 int required_registers = RegExpImpl::IrregexpPrepare(regexp, subject);
3790 RegExpImpl::IrregexpExecOnce(regexp,
3848 Handle<JSRegExp> regexp,
3853 int required_registers = RegExpImpl::IrregexpPrepare(regexp, subject);
3860 RegExpImpl::IrregexpExecOnce(regexp,
3865 int capture_count = regexp->CaptureCount();
3944 result = RegExpImpl::IrregexpExecOnce(regexp,
3985 CONVERT_ARG_HANDLE_CHECKED(JSRegExp, regexp, 0);
3990 ASSERT(regexp->GetFlags().is_global());
4001 if (regexp->TypeTag() == JSRegExp::ATOM) {
4003 String::cast(regexp->DataAt(JSRegExp::kAtomPatternIndex)));
4012 ASSERT_EQ(regexp->TypeTag(), JSRegExp::IRREGEXP);
4015 if (regexp->CaptureCount() == 0) {
4018 regexp,
4024 regexp,