Home
last modified time | relevance | path

Searched full:comment (Results 1 – 25 of 275) sorted by relevance

1234567891011

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/testing/
Darktest.sts42 * @param comment optional comment that will be printed in case of failed assertion
45 export function assertTrue(condition: boolean, comment?: string): void {
46 assertCommon(condition, "expected true but was false", comment)
52 * @param comment optional comment that will be printed in case of failed assertion
55 export function assertFalse(condition: boolean, comment?: string): void {
56 assertCommon(!condition, "expected false but was true", comment)
63 * @param comment optional comment will be printed if equality failed
66 export function assertEQ<T1, T2>(value1: T1, value2: T2, comment?: string): void {
67 … assertCommon(value1 == value2, "expected equality failed: " + value1 + " == " + value2, comment);
74 * @param comment optional comment will be printed if non-equality failed
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/compact/
DnumericLiteralsWithTrailingDecimalPoints.ts30 var test10 = 0 /* comment */.toString();
31 var test11 = 3. /* comment */.toString();
33 /* comment */ .toString();
35 /* comment */.toString();
40 /* comment */.toString();
42 // comment
45 // comment
47 var test16 = 3 // comment time
49 var test17 = 3. // comment time again
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/10.comments/
Dmulti_line_comment.sts30 // /* one-liner comment
32 // */ one-liner comment
39 comment
61 comment
62 // another comment
72 // this is not a comment
73 /* this is not a comment either */
Dcombined3.sts22 let i: int = // comment
23 // comment */ comment
Dcombined2.sts22 let i: int = // comment /* comment
23 // comment
Dcombined1.sts22 let i: int = /* comment
23 // comment */ 5;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/
DCMakeLists.txt27 COMMENT "${PROJECT_NAME}: create venv"
45 COMMENT "${PROJECT_NAME}: install dependinces"
53 COMMENT "${PROJECT_NAME}: mypy"
65 COMMENT "${PROJECT_NAME}: flake8"
72 COMMENT "${PROJECT_NAME}: black"
103 COMMENT "${PROJECT_NAME}: Running tests"
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/
Dspec.rb48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
190 …ned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
213 …'file' => file, 'error' => 'Group with given title not found in the ISA', 'comment' => test_group }
223 'comment' => test_group }
238 …@orphaned << { 'file' => file, 'error' => 'Given instruction not found in the ISA', 'comment' => t…
242 …@orphaned << { 'file' => file, 'error' => 'Given instruction is non-testable', 'comment' => test_i…
261 'comment' => test_descr }
265 …@orphaned << { 'file' => file, 'error' => 'Given description is non-testable', 'comment' => test_d…
284 'comment' => test_exc }
288 …< { 'file' => file, 'error' => 'Given exception assertion is non-testable', 'comment' => test_exc }
[all …]
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
Dspec.rb48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
190 …ned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
213 …'file' => file, 'error' => 'Group with given title not found in the ISA', 'comment' => test_group }
223 'comment' => test_group }
238 …@orphaned << { 'file' => file, 'error' => 'Given instruction not found in the ISA', 'comment' => t…
242 …@orphaned << { 'file' => file, 'error' => 'Given instruction is non-testable', 'comment' => test_i…
261 'comment' => test_descr }
265 …@orphaned << { 'file' => file, 'error' => 'Given description is non-testable', 'comment' => test_d…
284 'comment' => test_exc }
288 …< { 'file' => file, 'error' => 'Given exception assertion is non-testable', 'comment' => test_exc }
[all …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
Ddoclet.py127 raise ValueError(f'Multiple @{d} doclets in same comment')
135 f'@{d1.value} and @{d2.value} doclets in same comment')
150 def doclist(self, comment: str) -> List[NameVal]:
152 for line in comment.split("\n"):
235 def parse_comment(self, comment: str) -> None:
236 """Process all the @Stuff in multiline comment.
238 Assuming only one exclusive doclet in same comment
242 doclets = self.doclist(comment)
275 comment = ''
279 if not comment and \
[all …]
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/
Dprepare_header.py27 # Remove one-line comment
35 … debug_log(f"Removing single-line comment at end of file:\n'{data[double_slash_pos:end_of_line]}'")
40 # Remove multi-line comment
47 raise RuntimeError("Error find end of multiline-comment")
/arkcompiler/runtime_core/static_core/plugins/ets/cmake/
Dets_package.cmake87 COMMENT "${TARGET}: Convert sts files to ${OUTPUT_ABC}"
103 COMMENT "${TARGET}: Convert ets files to ${CUR_OUTPUT_ABC}"
116 COMMENT "Linking ABC files: ${ABC_FILES}"
125 COMMENT "${TARGET}: Verify abc file ${OUTPUT_ABC}"
133 COMMENT "${TARGET}: Copy abc file to ${OUTPUT_ABC}"
143 COMMENT "Create ${OUTPUT_ZIP}"
154 COMMENT "Copy ${OUTPUT_ZIP} to ${RELEASE_ZIP}"
/arkcompiler/ets_runtime/ecmascript/compiler/
Dhcr_circuit_builder.cpp56 const char* comment) in CallStub() argument
67 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallStub()
69 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallStub()
75 const char *comment) in CallCommonStub() argument
85 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallCommonStub()
87 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallCommonStub()
132 const std::vector<GateRef> &args, GateRef hirGate, const char* comment) in Call() argument
179 …Ref result = GetCircuit()->NewGate(meta, machineType, inputs.size(), inputs.data(), type, comment); in Call()
186 const char* comment) in CallBCHandler() argument
193 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBCHandler()
[all …]
Dcircuit.cpp119 const GateRef inList[], GateType type, const char* comment) in NewGate() argument
140 if (comment != nullptr) { in NewGate()
141 AddComment(result, std::string(comment)); in NewGate()
151 …Circuit::NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment) in NewGate() argument
153 …turn NewGate(meta, MachineType::NOVALUE, inList.size(), inList.data(), GateType::Empty(), comment); in NewGate()
157 const std::initializer_list<GateRef>& args, GateType type, const char* comment) in NewGate() argument
159 return NewGate(meta, machineType, args.size(), args.begin(), type, comment); in NewGate()
163 const std::vector<GateRef>& inList, GateType type, const char* comment) in NewGate() argument
165 return NewGate(meta, machineType, inList.size(), inList.data(), type, comment); in NewGate()
168 …uit::NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const char* comment) in NewGate() argument
[all …]
Dcircuit_builder.h312 const char* comment = nullptr); // 1: default branch weight
418 uint32_t trueWeight = 1, uint32_t falseWeight = 1, const char* comment = nullptr);
480 …lPrivateGetter(GateRef hirGate, GateRef receiver, GateRef accessor, const char* comment = nullptr);
482 …GateRef hirGate, GateRef receiver, GateRef accessor, GateRef value, const char* comment = nullptr);
484 GateRef propertyLookupResult, const char* comment = nullptr);
486 GateRef value, const char* comment = nullptr);
488 const char* comment = nullptr);
490 const char* comment = nullptr);
493 const char* comment = nullptr);
495 const char* comment = nullptr);
[all …]
/arkcompiler/runtime_core/static_core/tests/panda/
DCMakeLists.txt20COMMENT "Creating the binary directory ${CMAKE_CURRENT_BINARY_DIR}/${TEST_BINARY_SUBDIR} for panda…
23 add_custom_target(panda_cli_options_test_suite COMMENT "Running panda options cli tests")
44 COMMENT "Build Pandasm-based test for the panda cli"
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/templates/
Dorphaned_md.erb20 <% if v['comment'] != '' %>
21 `<%= v['comment'] %>`
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/templates/
Dorphaned_md.erb20 <% if v['comment'] != '' %>
21 `<%= v['comment'] %>`
/arkcompiler/runtime_core/static_core/tests/benchmarks/
DCMakeLists.txt79 COMMENT "Running benchmarks in Panda Assembly in interpreter")
81 COMMENT "Running benchmarks in Panda Assembly in Irtoc interpreter")
83 COMMENT "Running benchmarks in Panda Assembly with enforced JIT")
85 COMMENT "Running benchmarks in Panda Assembly with AOT")
87 COMMENT "Running benchmarks in Panda Assembly")
99 COMMENT "Gathering compiler's statistics in benchmarks-AOT")
300 COMMENT "Update VMB, all benchmarks"
304 COMMENT "Update VMB, only JITtable benchmarks"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/
DCMakeLists.txt97 COMMENT "Running ${ETS_SRC} determenistic compilation test"
120 COMMENT "Running verifier for ets file: ${OUTPUT_ABC}"
185 COMMENT "Running ark INT(${INTERPRETER_TYPE}) for ets file: ${OUTPUT_ABC}"
193 COMMENT "Running ark INT(${INTERPRETER_TYPE}) for ets file: ${OUTPUT_ABC}"
261 COMMENT "Running ark JIT for ets file: ${OUTPUT_ABC}"
299 COMMENT "Running ark JIT for ets file: ${OUTPUT_ABC}"
322 COMMENT "Compile ark AOT(${PAOC_MODE}) for ets file: ${ETS_ABC}"
363 COMMENT "Running ark AOT(${PAOC_MODE}) for ets file: ${OUTPUT_ABC}"
436 COMMENT "Running ark_aot compilation for etsstdlib for ${TARGET_ARCH} with default options"
441 COMMENT "Running ark_aot compilation for etsstdlib for ${TARGET_ARCH} with jit mode"
[all …]
/arkcompiler/runtime_core/cmake/
DDoxygen.cmake16 add_custom_target(doc_build COMMENT "Building doxygen documentation")
56 COMMENT "Generating API documentation with Doxygen"
/arkcompiler/runtime_core/static_core/cmake/
DDoxygen.cmake16 add_custom_target(doc_build COMMENT "Building doxygen documentation")
56 COMMENT "Generating API documentation with Doxygen"
/arkcompiler/ets_frontend/ets2panda/compiler/scripts/
Dsignatures.yaml51 comment: ETS annotation type
54 comment: ETS annotation type
57 comment: ETS annotation type
60 comment: ETS annotation type
63 comment: ETS annotation type
66 comment: ETS annotation type
69 comment: ETS annotation key
72 comment: ETS annotation key
75 comment: ETS annotation key
78 comment: Annotation retention type
[all …]
/arkcompiler/runtime_core/tests/benchmarks/
DCMakeLists.txt105 COMMENT "Running benchmarks in Panda Assembly in interpreter")
107 COMMENT "Running benchmarks in Panda Assembly with enforced JIT")
109 COMMENT "Running benchmarks in Panda Assembly with AOT")
111 COMMENT "Running benchmarks in Panda Assembly")
122 COMMENT "Gathering compiler's statistics in benchmarks-AOT")
294 COMMENT "Update VMB, all benchmarks"
298 COMMENT "Update VMB, only JITtable benchmarks"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/cmake/
Dinterop_js_tests.cmake15 add_custom_target(ets_interop_tests COMMENT "Common target to run ETS interop tests")
17 add_custom_target(ets_interop_js_gtests COMMENT "Run ets_interop_js Google tests")
21 add_custom_target(ets_interop_js_tests COMMENT "Run ets_interop_js tests")

1234567891011