/external/webkit/JavaScriptCore/runtime/ |
D | RegExpObject.h | 34 void setRegExp(PassRefPtr<RegExp> r) { d->regExp = r; } in setRegExp() 35 RegExp* regExp() const { return d->regExp.get(); } in regExp() function 60 RegExpObjectData(PassRefPtr<RegExp> regExp, double lastIndex) in RegExpObjectData() 61 : regExp(regExp) in RegExpObjectData() 66 RefPtr<RegExp> regExp; member
|
D | RegExpObject.cpp | 59 RegExpObject::RegExpObject(PassRefPtr<Structure> structure, PassRefPtr<RegExp> regExp) in RegExpObject() argument 61 , d(new RegExpObjectData(regExp, 0)) in RegExpObject() 76 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->global()); in regExpObjectGlobal() 81 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->ignoreCase()); in regExpObjectIgnoreCase() 86 return jsBoolean(asRegExpObject(slot.slotBase())->regExp()->multiline()); in regExpObjectMultiline() 91 return jsString(exec, asRegExpObject(slot.slotBase())->regExp()->pattern()); in regExpObjectSource() 143 if (!regExp()->global()) { in match() 146 regExpConstructor->performMatch(d->regExp.get(), input, 0, position, length); in match() 157 …regExpConstructor->performMatch(d->regExp.get(), input, static_cast<int>(d->lastIndex), position, … in match()
|
D | RegExpPrototype.cpp | 77 RefPtr<RegExp> regExp; in regExpProtoFuncCompile() local 84 regExp = asRegExpObject(arg0)->regExp(); in regExpProtoFuncCompile() 88 regExp = RegExp::create(&exec->globalData(), pattern, flags); in regExpProtoFuncCompile() 91 if (!regExp->isValid()) in regExpProtoFuncCompile() 92 …return throwError(exec, SyntaxError, UString("Invalid regular expression: ").append(regExp->errorM… in regExpProtoFuncCompile() 94 asRegExpObject(thisValue)->setRegExp(regExp.release()); in regExpProtoFuncCompile()
|
D | RegExpConstructor.cpp | 334 RefPtr<RegExp> regExp = RegExp::create(&exec->globalData(), pattern, flags); in constructRegExp() local 335 if (!regExp->isValid()) in constructRegExp() 336 …return throwError(exec, SyntaxError, UString("Invalid regular expression: ").append(regExp->errorM… in constructRegExp() 337 … return new (exec) RegExpObject(exec->lexicalGlobalObject()->regExpStructure(), regExp.release()); in constructRegExp()
|
D | StringPrototype.cpp | 222 RegExp* reg = asRegExpObject(pattern)->regExp(); in stringProtoFuncReplace() 421 reg = asRegExpObject(a0)->regExp(); in stringProtoFuncMatch() 471 reg = asRegExpObject(a0)->regExp(); in stringProtoFuncSearch() 523 RegExp* reg = asRegExpObject(a0)->regExp(); in stringProtoFuncSplit()
|
/external/webkit/WebCore/page/mac/ |
D | FrameMac.mm | 150 NSString* Frame::searchForNSLabelsAboveCell(RegularExpression* regExp, HTMLTableCellElement* cell) 167 int pos = regExp->searchRev(nodeString); 169 return nodeString.substring(pos, regExp->matchedLength()); 181 RegularExpression* regExp = regExpForLabels(labels); 206 NSString* result = searchForLabelsAboveCell(regExp, startingTableCell); 216 int pos = regExp->searchRev(nodeString); 218 return nodeString.substring(pos, regExp->matchedLength()); 227 NSString* result = searchForLabelsAboveCell(regExp, startingTableCell); 245 RegularExpression* regExp = regExpForLabels(labels); 253 pos = regExp->match(name, start); [all …]
|
/external/webkit/WebCore/page/ |
D | Frame.cpp | 399 String Frame::searchForLabelsAboveCell(RegularExpression* regExp, HTMLTableCellElement* cell) in searchForLabelsAboveCell() argument 416 int pos = regExp->searchRev(nodeString); in searchForLabelsAboveCell() 418 return nodeString.substring(pos, regExp->matchedLength()); in searchForLabelsAboveCell() 430 OwnPtr<RegularExpression> regExp(createRegExpForLabels(labels)); in searchForLabelsBeforeElement() local 455 String result = searchForLabelsAboveCell(regExp.get(), startingTableCell); in searchForLabelsBeforeElement() 465 int pos = regExp->searchRev(nodeString); in searchForLabelsBeforeElement() 467 return nodeString.substring(pos, regExp->matchedLength()); in searchForLabelsBeforeElement() 475 return searchForLabelsAboveCell(regExp.get(), startingTableCell); in searchForLabelsBeforeElement() 490 OwnPtr<RegularExpression> regExp(createRegExpForLabels(labels)); in matchLabelsAgainstElement() local 498 pos = regExp->match(name, start); in matchLabelsAgainstElement() [all …]
|
/external/webkit/JavaScriptCore/bytecode/ |
D | CodeBlock.cpp | 87 static UString regexpToSourceString(RegExp* regExp) in regexpToSourceString() argument 89 UString pattern = UString("/") + regExp->pattern() + "/"; in regexpToSourceString() 90 if (regExp->global()) in regexpToSourceString() 92 if (regExp->ignoreCase()) in regexpToSourceString() 94 if (regExp->multiline()) in regexpToSourceString()
|
/external/webkit/WebCore/bridge/qt/ |
D | qt_runtime.cpp | 783 RefPtr<JSC::RegExp> regExp = JSC::RegExp::create(&exec->globalData(), pattern, uflags); in convertQVariantToValue() local 784 if (regExp->isValid()) in convertQVariantToValue() 785 … return new (exec) RegExpObject(exec->lexicalGlobalObject()->regExpStructure(), regExp.release()); in convertQVariantToValue()
|
/external/webkit/JavaScriptCore/bytecompiler/ |
D | BytecodeGenerator.h | 257 RegisterID* emitNewRegExp(RegisterID* dst, RegExp* regExp);
|
D | BytecodeGenerator.cpp | 1233 RegisterID* BytecodeGenerator::emitNewRegExp(RegisterID* dst, RegExp* regExp) in emitNewRegExp() argument 1237 instructions().append(addRegExp(regExp)); in emitNewRegExp()
|
/external/webkit/JavaScriptCore/parser/ |
D | Nodes.cpp | 315 RefPtr<RegExp> regExp = RegExp::create(generator.globalData(), m_pattern, m_flags); in emitBytecode() local 316 if (!regExp->isValid()) in emitBytecode() 317 …wError(generator, SyntaxError, ("Invalid regular expression: " + UString(regExp->errorMessage())).… in emitBytecode() 320 return generator.emitNewRegExp(generator.finalDestination(dst), regExp.get()); in emitBytecode()
|
/external/webkit/JavaScriptCore/jit/ |
D | JIT.cpp | 931 RegExp* regExp = m_codeBlock->regexp(currentInstruction[2].u.operand); in privateCompileMainPass() local 932 emitPutJITStubArgConstant(regExp, 1); in privateCompileMainPass()
|
/external/webkit/JavaScriptCore/interpreter/ |
D | Interpreter.cpp | 1508 int regExp = (++vPC)->u.operand; in privateExecute() local 1509 …llFrame->scopeChain()->globalObject()->regExpStructure(), callFrame->codeBlock()->regexp(regExp))); in privateExecute()
|
/external/webkit/JavaScriptCore/ |
D | ChangeLog-2008-08-10 | 28177 (KJS::RegExpImp::regExp):
|