/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/10.comments/ |
D | multi_line_comment.ets | 36 // /* 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 */
|
D | combined3.ets | 22 let i: int = // comment 23 // comment */ comment
|
D | combined2.ets | 22 let i: int = // comment /* comment 23 // comment
|
D | combined1.ets | 22 let i: int = /* comment 23 // comment */ 5;
|
D | multi_line_comment3_n.ets | 19 params: space in comment opening
|
D | one_line_comment1_n.ets | 17 desc: One-line comment
|
D | multi_line_comment4_n.ets | 19 params: space in comment closing
|
D | multi_line_comment8_n.ets | 25 nested comment, opening is missing
|
D | combined4.ets | 24 // /* comment */
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | hcr_circuit_builder.cpp | 57 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 …]
|
D | circuit.cpp | 108 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 …]
|
D | lcr_circuit_builder.cpp | 21 …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()
|
D | circuit_builder.h | 226 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 …]
|
D | lcr_circuit_builder.h | 321 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()
|
D | circuit.h | 52 …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/ |
D | orphaned_md.erb | 20 <% if v['comment'] != '' %> 21 `<%= v['comment'] %>`
|
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/templates/ |
D | orphaned_md.erb | 20 <% if v['comment'] != '' %> 21 `<%= v['comment'] %>`
|
/arkcompiler/ets_frontend/es2panda/test/parser/js/ |
D | test-hashbang-comment-3-expected.txt | 1 SyntaxError: Invalid or unexpected token [test-hashbang-comment-3.js:18:1]
|
D | test-hashbang-comment-2-expected.txt | 1 SyntaxError: Invalid or unexpected token [test-hashbang-comment-2.js:16:1]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
D | insn.h | 54 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/ |
D | DefaultParam_5.ets | 74 function too1(a0:int = 5 /*comment*/):int{ 78 function too2(a0:int = 5 //comment
|
/arkcompiler/ets_frontend/ets2panda/linter/src/ |
D | TypeScriptLinter.ts | 1687 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/ |
D | x64_reg_info.cpp | 165 Insn *X64RegInfo::BuildCommentInsn(const std::string &comment) in BuildCommentInsn() argument 168 GetCurrFunction()->GetOpndBuilder()->CreateComment(comment); in BuildCommentInsn()
|
/arkcompiler/runtime_core/ldscripts/ |
D | panda.ld | 107 .comment : { *(.comment) }
|
/arkcompiler/runtime_core/static_core/ldscripts/ |
D | panda.ld | 107 .comment : { *(.comment) }
|