Home
last modified time | relevance | path

Searched refs:captureStart (Results 1 – 5 of 5) sorted by relevance

/ark/js_runtime/ecmascript/regexp/
Dregexp_executor.cpp221 captureState->captureStart = GetCurrentPtr(); in HandleOpSaveStart()
242 captureState->captureStart = nullptr; in HandleOpSaveReset()
399 const uint8_t *captureStart = captureResultList_[captureIndex].captureStart; in HandleOpBackReference() local
402 if (captureStart == nullptr || captureEnd == nullptr) { in HandleOpBackReference()
408 const uint8_t *refCptr = captureStart; in HandleOpBackReference()
436 while (refCptr > captureStart) { in HandleOpBackReference()
442 uint32_t c1 = GetPrevChar(&refCptr, captureStart); in HandleOpBackReference()
605 int32_t len = captureState->captureEnd - captureState->captureStart; in DumpResult()
606 …if ((captureState->captureStart != nullptr && captureState->captureEnd != nullptr) && (len >= 0)) { in DumpResult()
607 …out << i << ":\t" << CString(reinterpret_cast<const char *>(captureState->captureStart), len) << s… in DumpResult()
[all …]
Dregexp_parser.h89 void ParseQuantifier(size_t atomBcStart, int captureStart, int captureEnd);
Dregexp_parser.cpp683 void RegExpParser::ParseQuantifier(size_t atomBcStart, int captureStart, int captureEnd) in ParseQuantifier() argument
741 if (captureStart != 0) { in ParseQuantifier()
743 saveResetOp.InsertOpCode(&buffer_, atomBcStart, captureStart, captureEnd); in ParseQuantifier()
Dregexp_executor.h26 const uint8_t *captureStart; member
Dregexp_opcode.cpp322 …auto captureStart = static_cast<uint8_t>(start & 0xffU); // NOLINTNEXTLINE(readability-magic-numb… in InsertOpCode() local
326 buf->PutU8(offset + RegExpOpCode::OP_SIZE_ONE, captureStart); in InsertOpCode()