/arkcompiler/ets_frontend/es2panda/ir/ |
D | astNodeMapping.h | 19 #define AST_NODE_MAPPING(_) \ argument 20 _(ARROW_FUNCTION_EXPRESSION, ArrowFunctionExpression) \ 21 _(AWAIT_EXPRESSION, AwaitExpression) \ 22 _(BIGINT_LITERAL, BigIntLiteral) \ 23 _(BINARY_EXPRESSION, BinaryExpression) \ 24 _(BLOCK_STATEMENT, BlockStatement) \ 25 _(BOOLEAN_LITERAL, BooleanLiteral) \ 26 _(BREAK_STATEMENT, BreakStatement) \ 27 _(CALL_EXPRESSION, CallExpression) \ 28 _(CATCH_CLAUSE, CatchClause) \ [all …]
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | typeMapping.h | 21 #define TYPE_MAPPING(_) \ argument 22 _(TypeFlag::ARRAY, ArrayType) \ 23 _(TypeFlag::ANY, AnyType) \ 24 _(TypeFlag::BIGINT_LITERAL, BigintLiteralType) \ 25 _(TypeFlag::NUMBER, NumberType) \ 26 _(TypeFlag::STRING, StringType) \ 27 _(TypeFlag::SYMBOL, SymbolType) \ 28 _(TypeFlag::BOOLEAN, BooleanType) \ 29 _(TypeFlag::VOID, VoidType) \ 30 _(TypeFlag::NULL_TYPE, NullType) \ [all …]
|
/arkcompiler/runtime_core/assembler/ |
D | define.h | 25 #define PANDA_ASSEMBLER_TYPES(_) \ argument 26 _("void", VOID) \ 27 _("u1", U1) \ 28 _("u8", U8) \ 29 _("i8", I8) \ 30 _("u16", U16) \ 31 _("i16", I16) \ 32 _("u32", U32) \ 33 _("i32", I32) \ 34 _("u64", U64) \ [all …]
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variableFlags.h | 24 #define DECLARATION_KINDS(_) \ argument 25 _(VAR, VarDecl) \ 26 _(LET, LetDecl) \ 27 _(CONST, ConstDecl) \ 28 _(CLASS, ClassDecl) \ 29 _(FUNC, FunctionDecl) \ 30 _(PARAM, ParameterDecl) \ 32 _(TYPE_ALIAS, TypeAliasDecl) \ 33 _(NAMESPACE, NamespaceDecl) \ 34 _(INTERFACE, InterfaceDecl) \ [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | gate_meta_data_builder.h | 59 GateMetaData cached##NAME##_ { OpCode::OP, R, S, D, V }; 64 GateMetaData cachedMerge##VALUE##_ { OpCode::MERGE, GateFlags::CONTROL, VALUE, 0, 0 }; \ 65 GateMetaData cachedDependSelector##VALUE##_ { OpCode::DEPEND_SELECTOR, GateFlags::FIXED, 1, VALUE, … 70 OneParameterMetaData cachedArg##VALUE##_ { OpCode::ARG, GateFlags::HAS_ROOT, 0, 0, 0, VALUE }; 75 GateMetaData cached##NAME##1_{ OpCode::OP, R, S, D, ONE_VALUE }; \ 76 GateMetaData cached##NAME##2_{ OpCode::OP, R, S, D, TWO_VALUE }; \ 77 GateMetaData cached##NAME##3_{ OpCode::OP, R, S, D, THREE_VALUE }; \ 78 GateMetaData cached##NAME##4_{ OpCode::OP, R, S, D, FOUR_VALUE }; \ 79 GateMetaData cached##NAME##5_{ OpCode::OP, R, S, D, FIVE_VALUE }; 84 OneParameterMetaData cached##NAME##1_{ OpCode::OP, R, S, D, V, ONE_VALUE }; \ [all …]
|
D | gate_meta_data.cpp | 178 return &cache_.cached##NAME##_; \ 188 return &cache_.cached##NAME##1_; \ 190 return &cache_.cached##NAME##2_; \ 192 return &cache_.cached##NAME##3_; \ 194 return &cache_.cached##NAME##4_; \ 196 return &cache_.cached##NAME##5_; \ 212 return &cache_.cached##NAME##1_; \ in GATE_META_DATA_LIST_WITH_SIZE() 214 return &cache_.cached##NAME##2_; \ in GATE_META_DATA_LIST_WITH_SIZE() 216 return &cache_.cached##NAME##3_; \ in GATE_META_DATA_LIST_WITH_SIZE() 218 return &cache_.cached##NAME##4_; \ in GATE_META_DATA_LIST_WITH_SIZE() [all …]
|
/arkcompiler/runtime_core/assembler/templates/ |
D | ins_create_api.h.erb | 29 Ins <%=insn.emitter_name%>_; 30 <%=group.first.emitter_name%>_.opcode = Opcode::<%= insn.asm_token %>; 40 <%=group.first.emitter_name%>_.regs.reserve(<%= count_reg %>); 45 <%=group.first.emitter_name%>_.ids.push_back(label); 47 <%=group.first.emitter_name%>_.imms.emplace_back(<%= o.name %>); 50 <%=group.first.emitter_name%>_.ids.push_back(<%= o.name %>); 52 <%=group.first.emitter_name%>_.regs.push_back(<%= o.name %>); 55 return <%=insn.emitter_name%>_;
|
D | isa.h.erb | 16 #define PANDA_INSTRUCTION_LIST(_) \ 51 _(<%= insn.asm_token %>, "<%= insn.mnemonic %>", <%= pretty_format %>, <%= max_width %>, <%= flags … 56 _(<%= insn.opcode %> , "<%= insn.opcode %>", NONE, 0, (<%= insn.flags.join(" | ") %>), <%= insn.dst…
|
/arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
D | expect_pauses.cpp | 35 using testing::_; 85 JsonProperty<JsonObject::StringT> {"callFrameId", _}, in operator ()() 89 Pointee(JsonProperties(JsonProperty<JsonObject::StringT> {"scriptId", _}, in operator ()() 91 … JsonProperty<JsonObject::StringT> {"url", _}, JsonProperty<JsonObject::ArrayT> {"scopeChain", _}, in operator ()()
|
D | inspector_test.cpp | 33 using testing::_; 126 … JsonProperty<JsonObject::StringT> {"origin", _}, in TEST_F() 127 … JsonProperty<JsonObject::StringT> {"name", _}))})); in TEST_F() 130 Callback(debuggerEnabled, JsonProperty<JsonObject::StringT> {"debuggerId", _})); in TEST_F() 135 Call("Runtime.getIsolateId", Callback(JsonProperty<JsonObject::StringT> {"id", _})); in TEST_F() 165 …all("Debugger.paused", Callback(debuggerPaused, JsonProperty<JsonObject::ArrayT> {"callFrames", _}, in TEST_F()
|
D | breakpoint_test.cpp | 36 using testing::_; 216 JsonProperties(JsonProperty<JsonObject::StringT> {"breakpointId", _}, in TEST_F() 244 JsonProperties(JsonProperty<JsonObject::StringT> {"breakpointId", _}, in TEST_F() 273 JsonProperties(JsonProperty<JsonObject::StringT> {"breakpointId", _}, in TEST_F()
|
D | ws_logger_test.cpp | 25 using testing::_; 103 EXPECT_DEATH(wsLogger.write(elevel::fatal, "fatal"), _); in TEST_F()
|
D | server_test.cpp | 33 using testing::_; 108 EXPECT_DEATH(server_.Call("foo"), _); in TEST_F()
|
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/templates/ |
D | full_md.erb | 40 <% if i['type'] %> - *type:* <%= i['type'].gsub(/_/, '\\_') + "\n" %><% end -%> 41 <% if i['dtype'] %> - *dtype:* <%= i['dtype'].gsub(/_/, '\\_') + "\n" %><% end -%> 42 <% if i['etype'] %> - *etype:* <%= i['etype'].gsub(/_/, '\\_') + "\n" %><% end -%>
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | regScope.cpp | 55 for (const auto &[_, var] : scope->Bindings()) { in LocalRegScope() 56 (void)_; in LocalRegScope() 99 for (const auto &[_, var] : funcScope->Bindings()) { in FunctionRegScope() 100 (void)_; in FunctionRegScope()
|
/arkcompiler/ets_frontend/es2panda/compiler/templates/ |
D | isa.h.erb | 2 % return "#{mnemonic.gsub('.', '_').upcase}" 6 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS" 119 % map['reg'].push("#{name}_") 123 % map['lbl'].push("#{name}_") 126 % map['imm'].push("#{name}_") 132 % map['str'].push("#{name}_") 141 % _, operands = sig.match(/(\S+) (.+)/).captures 157 % name, _ = operand_parts 159 % name, _, _ = operand_parts 187 % members = ctor_arg_list.map {|arg| "#{arg}_;"}.join("\n ") [all …]
|
D | formats.h.erb | 2 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMATS" 5 % return "#{mnemonic.gsub('.', '_').upcase}" + "_FORMAT_ITEMS_" + index.to_s
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …_(e,t){t=t||{};const r=a?a.level:0;e.level=void 0===t.level?r:t.level,e.enabled="enabled"in t?t.en… argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
D | assembler_aarch64_constants.h | 321 static const uint32_t INSTNAME##_##FIELD_NAME##_HIGHBITS = HIGHBITS; \ 322 static const uint32_t INSTNAME##_##FIELD_NAME##_LOWBITS = LOWBITS; \ 323 static const uint32_t INSTNAME##_##FIELD_NAME##_WIDTH = ((HIGHBITS - LOWBITS) + 1); \ 324 static const uint32_t INSTNAME##_##FIELD_NAME##_MASK = (((1 << INSTNAME##_##FIELD_NAME##_WIDTH) - 1…
|
/arkcompiler/runtime_core/verification/gen/templates/ |
D | abs_int_inl_compat_checks.h.erb | 39 …lts.ok.to_h.merge(checks.results.warnings.to_h).merge(checks.results.errors.to_h).each do |name, _| 50 % checks.domains.each_pair do |_, domain| 66 % if !name.start_with?('_') # those are special like _domains and _default 71 % if !name2.start_with?('_')
|
/arkcompiler/ets_frontend/ts2panda/templates/ |
D | diagnostic.ts.erb | 104 % result += "_" 108 % result = result.gsub(/_+/, "_"); 111 % result = result.gsub(/^_([^\d])/, "$1"); 114 % result = result.gsub(/_$/, ""); 133 % key = name + "_" + code.to_s
|
/arkcompiler/ets_frontend/es2panda/test/parser/js/ |
D | test-numeric-separator2.js | 1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, [all …]
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | json_builder_test.cpp | 126 R"({"x":1,"y":"foo","z":{"_":{}}})"); in TEST() 137 EXPECT_EQ(std::move(builder).Build(), R"({"x":1,"y":"foo","z":{"_":{}}})"); in TEST()
|
/arkcompiler/ets_frontend/test262/ |
D | harness.patch | 24 if (!argv._.length) { 26 @@ -130,15 +137,18 @@ if (!argv._.length) { 36 test262Dir = test262Finder(argv._[0]); 48 argv._ = argv._.map(p => path.relative(remove, p));
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | hoisting.cpp | 100 for (const auto &[_, var] : scope->Bindings()) { in Hoist() 101 (void)_; in Hoist()
|