Searched refs:capture (Results 1 - 12 of 12) sorted by relevance
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | walker.py | 41 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 D | runtime.py | 123 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 D | rich_logging.py | 33 from _pytest.capture import CaptureManager # pylint:disable=protected-access
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/evaluate/ |
H A D | test_evaluate_simple.py | 48 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 D | test_ets_evaluate.py | 125 assert walker.capture.stdout[-1] == arkts_str(breakpoints[0].label)
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/ |
H A D | test_runtime_capture.py | 43 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 D | test_arkts_str.py | 67 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 D | regexp_opcode.cpp | 125 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 D | regexp_parser.cpp | 698 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 D | regexp_opcode.cpp | 119 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 D | regexp_parser.cpp | 658 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 D | builtins_string.cpp | 1365 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