Home
last modified time | relevance | path

Searched refs:comment (Results 1 – 25 of 110) sorted by relevance

12345

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/10.comments/
Dmulti_line_comment.ets36 // /* one-liner comment
38 // */ one-liner comment
45 nested comment
69 nested comment
71 another nested comment
81 // this is not a comment
82 /* this is not a comment either */
Dcombined3.ets22 let i: int = // comment
23 // comment */ comment
Dcombined2.ets22 let i: int = // comment /* comment
23 // comment
Dcombined1.ets22 let i: int = /* comment
23 // comment */ 5;
Dmulti_line_comment3_n.ets19 params: space in comment opening
Done_line_comment1_n.ets17 desc: One-line comment
Dmulti_line_comment4_n.ets19 params: space in comment closing
Dmulti_line_comment8_n.ets25 nested comment, opening is missing
Dcombined4.ets24 // /* comment */
/arkcompiler/ets_runtime/ecmascript/compiler/
Dhcr_circuit_builder.cpp57 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 bool isNew, const char* comment) in CallBuiltinRuntime() argument
91 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBuiltinRuntime()
96 const char* comment) in CallBuiltinRuntimeWithNewTarget() argument
109 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBuiltinRuntimeWithNewTarget()
114 const std::vector<GateRef> &args, GateRef hirGate, const char* comment) in Call() argument
157 …Ref result = GetCircuit()->NewGate(meta, machineType, inputs.size(), inputs.data(), type, comment); in Call()
164 const char* comment) in CallBCHandler() argument
[all …]
Dcircuit.cpp108 const GateRef inList[], GateType type, const char* comment) in NewGate() argument
129 if (comment != nullptr) { in NewGate()
130 AddComment(result, comment); in NewGate()
135 …Circuit::NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment) in NewGate() argument
137 …turn NewGate(meta, MachineType::NOVALUE, inList.size(), inList.data(), GateType::Empty(), comment); in NewGate()
141 const std::initializer_list<GateRef>& args, GateType type, const char* comment) in NewGate() argument
143 return NewGate(meta, machineType, args.size(), args.begin(), type, comment); in NewGate()
147 const std::vector<GateRef>& inList, GateType type, const char* comment) in NewGate() argument
149 return NewGate(meta, machineType, inList.size(), inList.data(), type, comment); in NewGate()
152 …uit::NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const char* comment) in NewGate() argument
[all …]
Dlcr_circuit_builder.cpp21 …rcuitBuilder::BinaryCmp(const GateMetaData* meta, GateRef left, GateRef right, const char* comment) in BinaryCmp() argument
23 …eturn GetCircuit()->NewGate(meta, MachineType::I1, { left, right }, GateType::NJSValue(), comment); in BinaryCmp()
83 … GateRef left, GateRef right, GateType gateType, const char* comment) in BinaryArithmetic() argument
89 return circuit->NewGate(meta, machineType, { left, right }, gateType, comment); in BinaryArithmetic()
Dcircuit_builder.h226 const char* comment = nullptr); // 1: default branch weight
358 GateRef propertyLookupResult, const char* comment = nullptr);
360 GateRef value, const char* comment = nullptr);
362 const char* comment = nullptr);
364 const char* comment = nullptr);
366 const char* comment = nullptr);
368 const char* comment = nullptr);
369 …RuntimeVarargs(GateRef glue, int index, GateRef argc, GateRef argv, const char* comment = nullptr);
371 const char* comment = nullptr);
375 GateRef hirGate, const char* comment = nullptr);
[all …]
Dlcr_circuit_builder.h321 GateRef CircuitBuilder::Equal(GateRef x, GateRef y, const char* comment) in Equal() argument
332 … return BinaryCmp(circuit_->Icmp(static_cast<uint64_t>(ICmpCondition::EQ)), x, y, comment); in Equal()
335 … return BinaryCmp(circuit_->Fcmp(static_cast<uint64_t>(FCmpCondition::OEQ)), x, y, comment); in Equal()
342 GateRef CircuitBuilder::NotEqual(GateRef x, GateRef y, const char* comment) in NotEqual() argument
353 … return BinaryCmp(circuit_->Icmp(static_cast<uint64_t>(ICmpCondition::NE)), x, y, comment); in NotEqual()
356 … return BinaryCmp(circuit_->Fcmp(static_cast<uint64_t>(FCmpCondition::ONE)), x, y, comment); in NotEqual()
Dcircuit.h52 …wGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment = nullptr);
53 …e(const GateMetaData *meta, MachineType machineType, GateType type, const char* comment = nullptr);
55 const std::initializer_list<GateRef>& args, GateType type, const char* comment = nullptr);
57 const GateRef inList[], GateType type, const char* comment = nullptr);
59 … const std::vector<GateRef>& inList, GateType type, const char* comment = nullptr);
/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/ets_frontend/es2panda/test/parser/js/
Dtest-hashbang-comment-3-expected.txt1 SyntaxError: Invalid or unexpected token [test-hashbang-comment-3.js:18:1]
Dtest-hashbang-comment-2-expected.txt1 SyntaxError: Invalid or unexpected token [test-hashbang-comment-2.js:16:1]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dinsn.h54 comment(&memPool) in Insn()
317 comment = str; in SetComment()
322 comment = str; in SetComment()
327 return comment; in GetComment()
332 comment += str; in AppendComment()
706 MapleString comment; variable
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DDefaultParam_5.ets74 function too1(a0:int = 5 /*comment*/):int{
78 function too2(a0:int = 5 //comment
/arkcompiler/ets_frontend/ets2panda/linter/src/
DTypeScriptLinter.ts1687 for (const comment of leadingComments) { constant
1690 if (!this.walkedComments.has(comment.pos) && comment.pos !== comment.end) {
1691 this.walkedComments.add(comment.pos);
1692 this.checkErrorSuppressingAnnotation(comment, srcText);
1700 for (const comment of trailingComments) { constant
1703 if (!this.walkedComments.has(comment.pos) && comment.pos !== comment.end) {
1704 this.walkedComments.add(comment.pos);
1705 this.checkErrorSuppressingAnnotation(comment, srcText);
1720 private checkErrorSuppressingAnnotation(comment: ts.CommentRange, srcText: string) {
1721 const commentContent = comment.kind === ts.SyntaxKind.MultiLineCommentTrivia
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_reg_info.cpp165 Insn *X64RegInfo::BuildCommentInsn(const std::string &comment) in BuildCommentInsn() argument
168 GetCurrFunction()->GetOpndBuilder()->CreateComment(comment); in BuildCommentInsn()
/arkcompiler/runtime_core/ldscripts/
Dpanda.ld107 .comment : { *(.comment) }
/arkcompiler/runtime_core/static_core/ldscripts/
Dpanda.ld107 .comment : { *(.comment) }

12345