Lines Matching refs:regexp
41 #include "regexp-macro-assembler.h"
42 #include "regexp-macro-assembler-tracer.h"
43 #include "regexp-macro-assembler-irregexp.h"
44 #include "regexp-stack.h"
48 #include "ia32/regexp-macro-assembler-ia32.h"
50 #include "x64/regexp-macro-assembler-x64.h"
52 #include "arm/regexp-macro-assembler-arm.h"
54 #include "mips/regexp-macro-assembler-mips.h"
111 // Generic RegExp methods. Dispatches to implementation specific methods.
159 // Compilation succeeded so the data is set on the regexp
168 Handle<Object> RegExpImpl::Exec(Handle<JSRegExp> regexp,
172 switch (regexp->TypeTag()) {
174 return AtomExec(regexp, subject, index, last_match_info);
177 IrregexpExec(regexp, subject, index, last_match_info);
188 // RegExp Atom implementation: Simple string search using indexOf.
285 // Ensures that the regexp object contains a compiled version of the
295 #else // V8_INTERPRETED_REGEXP (RegExp native code)
303 // Compile the RegExp.
342 // Unable to compile regexp.
412 int RegExpImpl::IrregexpPrepare(Handle<JSRegExp> regexp,
427 if (!EnsureCompiledIrregexp(regexp, is_ascii)) {
431 // Byte-code regexp needs space allocated for all its registers.
432 return IrregexpNumberOfRegisters(FixedArray::cast(regexp->data()));
434 // Native regexp only needs room to output captures. Registers are handled
436 return (IrregexpNumberOfCaptures(FixedArray::cast(regexp->data())) + 1) * 2;
442 Handle<JSRegExp> regexp,
446 Isolate* isolate = regexp->GetIsolate();
448 Handle<FixedArray> irregexp(FixedArray::cast(regexp->data()), isolate);
488 IrregexpPrepare(regexp, subject);
578 // The Irregexp regexp engine is structured in three steps.
838 return RegExpEngine::CompilationResult("RegExp too big");
842 // Attempts to compile the regexp using an Irregexp code generator. Returns
2417 // later passes. for example for the case independent regexp /%[asdfghjkl]a/
2788 * regexp continuation is generated directly after the Sn node, up to the
5302 // Wrap the body of the regexp in capture #0.
5347 // Native regexp implementation.
5364 // Interpreted regexp implementation.