Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/destructuredDeclarationEmit/
Dfoo.ts37 const arr: [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] = [0, 1, 2, ['a', 'b', 'c', [{d…
39 AssertType(def, "string");
41 AssertType([0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]], "[0, 1, 2, ["a", "b", "c", [{ …
45 AssertType(['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]], "["a", "b", "c", [{ def: "def"; }, { sec:…
49 AssertType([{def: 'def'}, {sec: 'sec'}], "[{ def: "def"; }, { sec: "sec"; }]");
50 AssertType({def: 'def'}, "{ def: "def"; }");
51 AssertType(def, "string");
Dindex.ts47 AssertType(arr, "[0, 1, 2, ["a", "b", "c", [{ def: "def"; }, { sec: "sec"; }]]]");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/exportDefaultQualifiedNameNoError/
Dusage.ts21 import def from "./code";
22 void def;
23 AssertType(void def, "undefined");
24 AssertType(def, "number");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DstrictBooleanMemberAssignability.ts22 def: boolean
24 this.def = true
25 AssertType(this.def = true, "boolean");
26 AssertType(this.def, "boolean");
DasyncFunctionContextuallyTypedReturns.ts83 h(async v => v ? (def) => { } : Promise.reject());
84 AssertType(h(async v => v ? (def) => { } : Promise.reject()), "void");
86 AssertType(async v => v ? (def) => { } : Promise.reject(), "(boolean) => Promise<union>");
88 AssertType(v ? (def) => { } : Promise.reject(), "union");
90 AssertType((def) => { }, "(string) => void");
91 AssertType(def, "string");
DlateBoundConstraintTypeChecksCorrectly.ts44 const def: T[typeof fooProp] = x[fooProp]; constant
45 AssertType(def, "T[unique symbol]");
DinvalidThisEmitInContextualObjectLiteral.ts27 public m(def: IDef) { }
/arkcompiler/ets_frontend/arkguard/src/utils/
DScopeAnalyzer.ts168 addDefinition(def: Symbol): void;
246 function addDefinition(def: Symbol): void {
247 current.defs.add(def);
362 defSymbols.forEach((def: Symbol) => {
364 if (def.exportSymbol) {
365 current.exportNames.add(def.name);
368 current.addDefinition(def);
583 for (const def of current.defs) { constant
584 if (def.exportSymbol) {
585 if (!current.exportNames.has(def.name)) {
[all …]
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/
DRenameIdentifierTransformer.ts169 scope.defs.forEach((def) => {
170 if (scope.importNames.has(def.name)) {
171 scope.defs.delete(def);
183 defs.forEach((def) => {
184 const original: string = def.name;
187 …if (reservedNames.includes(original) || scope.exportNames.has(def.name) || isSkippedGlobal(openTop…
189 mangledSymbolNames.set(def, mangled);
193 if (mangledSymbolNames.has(def)) {
210 mangledSymbolNames.set(def, mangled);
/arkcompiler/ets_frontend/ts2panda/templates/
Dirnodes.ts.erb15 % def get_node_kind(mnemonic)
19 % def insn2node(insn)
24 % def get_result_type(insn)
42 % def get_result_dst(insn)
53 % def is_VReg(name)
59 % def is_Acc(name)
65 % def is_Imm(name)
71 % def is_Id(name)
77 % def is_Call(insn)
87 % def is_CallRange(insn)
[all …]
Ddiagnostic.ts.erb92 % def convertPropertyName(origName)
130 % def createKey(name,code)
137 % def genReportsUnnecessary(reportsUnnecessary)
144 % def genElidedInCompatabilityPyramid(elidedInCompatabilityPyramid,reportsUnnecessary)
155 % def genReportsDeprecated(reportsDeprecated,argElidedInCompatabilityPyramid)
/arkcompiler/ets_frontend/es2panda/compiler/templates/
Disa.h.erb1 % def get_node_kind(mnemonic)
5 % def get_format_name(mnemonic)
76 % def insn2node(insn)
81 % def is_Range(insn)
93 % def is_VReg(name)
99 % def is_Acc(name)
105 % def is_Imm(name)
111 % def is_Id(name)
117 % def get_operand_type(name, name_tmp, insn, map)
139 % def get_operands(sig)
[all …]
Dformats.h.erb1 % def get_format_name(mnemonic)
4 % def get_format_item_name(mnemonic, index)
31 % def get_operand_kind(op, insn)
52 % def make_format(fmt, insn)
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DclassExpression.h36 …explicit ClassExpression(ClassDefinition *def) : Expression(AstNodeType::CLASS_EXPRESSION), def_(d… in ClassExpression() argument
/arkcompiler/ets_frontend/es2panda/ir/statements/
DclassDeclaration.h34 explicit ClassDeclaration(ClassDefinition *def, ArenaVector<Decorator *> &&decorators) in ClassDeclaration() argument
35 : Statement(AstNodeType::CLASS_DECLARATION), def_(def), decorators_(std::move(decorators)) in ClassDeclaration()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb20 def get_input_idx(index, kind)
30 def inputs
34 def has_dst?
38 def get_input_string(index)
47 def get_format
53 def get_type(type)
89 def get_template_by_inst(inst)
97 def get_template(mn)
137 def template(name, inst, indent, context = {})
143 def get_cc(inst)
/arkcompiler/runtime_core/compiler/docs/
Dir_builder.md78 def Run(graph, bytecode):
90 def BuildBasicBlocks(graph, bytecode):
108 def BuildInstruction(bb, bc_inst):
116 def SplitConstants():
121 def FixInstructions():
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dreadme_zh.md21 def __init__(self):
27 def __init__(self):
Dreadme.md21 def __init__(self):
27 def __init__(self):
/arkcompiler/ets_runtime/ecmascript/mem/
Dchunk_containers.h41 ChunkVector(size_t size, T def, Chunk *chunk) in ChunkVector() argument
42 : std::vector<T, ChunkAllocator<T>>(size, def, ChunkAllocator<T>(chunk)) in ChunkVector()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dframe_states.cpp387 GateRef def = gateAcc_.GetValueIn(gate, id); in ComputeLiveOutBC() local
388 UpdateAccumulator(def); in ComputeLiveOutBC()
394 GateRef def = gateAcc_.GetValueIn(gate, i); in ComputeLiveOutBC() local
395 UpdateVirtualRegister(vreg, def); in ComputeLiveOutBC()
563 GateRef def = gateAcc_.GetValueIn(saveRegsGate, i); in UpdateVirtualRegistersOfSuspend() local
564 UpdateVirtualRegister(i, def); in UpdateVirtualRegistersOfSuspend()
/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb37 % def type(insn)
42 % def op_size(insn)
46 % def operands(insn, regs = "regs")
/arkcompiler/runtime_core/docs/
Don-stack-replacement.md105 def interpreter_work():
115 def update_hotness(method: Method*, bytecode_offset: int) -> bool:
126 def osr_entry(method: Method*, bytecode_offset: int) -> bool:
/arkcompiler/runtime_core/libpandafile/templates/tests/
Dbytecode_emitter_tests_gen.h.erb162 % def opcode_full_name(i)
166 % def format_full_name(i)
204 % def get_min(width, is_signed)
220 % def get_max(width, is_signed)
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_emitter_gen.h.erb50 % def opcode_full_name(i)
54 % def format_full_name(i)

12