Home
last modified time | relevance | path

Searched refs:capture (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Dwalker.py41 def __init__(self, locator: Locator, data: debugger.Paused, capture: ProcessCapture) -> None:
43 self.capture = capture
70 capture = self.process.capture
71 nout = len(capture.stdout)
72 nerr = len(capture.stderr)
79 capture=ProcessCapture(
80 stdout=capture.stdout[nout:],
81 stderr=capture
87 def capture(self): global() member in BreakpointWalker
[all...]
H A Druntime.py123 self.capture = ProcessCapture()
128 self.capture.stdout,
129 name="Runtime STDOUT capture to list",
134 self.capture.stderr,
135 name="Runtime STDERR capture to list",
H A Drich_logging.py33 from _pytest.capture import CaptureManager # pylint:disable=protected-access
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/evaluate/
H A Dtest_evaluate_simple.py48 assert walker.capture.stdout[-1] == arkts_str(BEFORE_EVAL_MESSAGE)
56 assert walker.capture.stdout[-1] == arkts_str(EVAL_MESSAGE)
60 assert walker.capture.stdout[-1] == arkts_str(AFTER_EVAL_MESSAGE)
80 assert walker.capture.stdout[-1] == arkts_str(f"{BEFORE_EVAL_MESSAGE}{expected_number}")
88 assert walker.capture.stdout[-1] == arkts_str(f"{EVAL_MESSAGE}{expected_number}")
93 assert walker.capture.stdout[-1] == arkts_str(f"{AFTER_EVAL_MESSAGE}{expected_number}")
113 assert walker.capture.stdout[-1] == arkts_str(f"{BEFORE_EVAL_MESSAGE}{expected_string}")
121 assert walker.capture.stdout[-1] == arkts_str(f"{EVAL_MESSAGE}{expected_string}")
126 assert walker.capture.stdout[-1] == arkts_str(f"{AFTER_EVAL_MESSAGE}{expected_string}")
H A Dtest_ets_evaluate.py125 assert walker.capture.stdout[-1] == arkts_str(breakpoints[0].label)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
H A Dtest_runtime_capture.py43 runtime_capture = process.capture
82 assert arkts_str(bp_label) == paused.capture.stdout[-1]
85 assert [arkts_str(counter)] == paused.capture.stdout
89 assert arkts_str_list([bp_label]) == paused.capture.stdout
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/
H A Dtest_arkts_str.py67 cap = walker.capture
128 assert paused.capture.stdout[-1] == "begin"
133 assert paused.capture.stdout == expected
139 # >>> printed_variables.append(paused.capture.stdout[-1])
180 log.info("Capture:\n%s", "\n".join(paused.capture.stdout))
/arkcompiler/ets_runtime/ecmascript/regexp/
H A Dregexp_opcode.cpp125 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINTNEXTLINE(readability-magic-numbers) in EmitOpCode() local
127 buf->EmitChar(capture); in EmitOpCode()
140 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINTNEXTLINE(readability-magic-numbers) in EmitOpCode() local
142 buf->EmitChar(capture); in EmitOpCode()
575 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINTNEXTLINE(readability-magic-numbers) in EmitOpCode() local
577 buf->EmitChar(capture); in EmitOpCode()
590 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINTNEXTLINE(readability-magic-numbers) in EmitOpCode() local
592 buf->EmitChar(capture); in EmitOpCode()
H A Dregexp_parser.cpp698 PrintF("capture start %d \n", *captureIndex); in ParseAssertionCapture()
704 PrintF("capture end %d \n", *captureIndex); in ParseAssertionCapture()
713 ParseError("capture syntax error"); in ParseAssertionCapture()
1043 int capture = ParseDecimalDigits(); in ParseAtomEscape() local
1044 if (capture > captureCount_ - 1 && capture > ParseCaptureCount(nullptr) - 1) { in ParseAtomEscape()
1050 backReferenceOp.EmitOpCode(&buffer_, capture); in ParseAtomEscape()
1053 backReferenceOp.EmitOpCode(&buffer_, capture); in ParseAtomEscape()
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
H A Dregexp_opcode.cpp119 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINT(readability-magic-numbers) in EmitOpCode() local
121 buf->EmitChar(capture); in EmitOpCode()
134 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINT(readability-magic-numbers) in EmitOpCode() local
136 buf->EmitChar(capture); in EmitOpCode()
539 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINT(readability-magic-numbers) in EmitOpCode() local
541 buf->EmitChar(capture); in EmitOpCode()
554 auto capture = static_cast<uint8_t>(para & 0xffU); // NOLINT(readability-magic-numbers) in EmitOpCode() local
556 buf->EmitChar(capture); in EmitOpCode()
H A Dregexp_parser.cpp658 PrintF("capture start %d \n", *captureIndex); in ParseAssertionCapture()
661 PrintF("capture end %d \n", *captureIndex); in ParseAssertionCapture()
670 ParseError("capture syntax error"); in ParseAssertionCapture()
983 int capture = ParseDecimalDigits(); in ParseAtomEscape() local
984 if (capture > captureCount_ - 1 && capture > ParseCaptureCount(nullptr) - 1) { in ParseAtomEscape()
990 backReferenceOp.EmitOpCode(&buffer_, capture); in ParseAtomEscape()
993 backReferenceOp.EmitOpCode(&buffer_, capture); in ParseAtomEscape()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_string.cpp1365 JSHandle<JSTaggedValue> capture = JSObject::GetProperty(thread, namedCaptures, names).GetValue(); in ProcessNamedCaptures() local
1366 if (capture->IsUndefined()) { in ProcessNamedCaptures()
1369 JSHandle<EcmaString> captureName = JSTaggedValue::ToString(thread, capture); in ProcessNamedCaptures()

Completed in 16 milliseconds