| /arkcompiler/ets_runtime/test/moduletest/hugeictest/ |
| D | hugeictest.js | 74 function stobjbyname_253(o) { argument 75 o.v0 = 0; o.v2 = 2; o.v4 = 4; o.v6 = 6; o.v8 = 8; 76 o.v10 = 10; o.v12 = 12; o.v14 = 14; o.v16 = 16; o.v18 = 18; 77 o.v20 = 20; o.v22 = 22; o.v24 = 24; o.v26 = 26; o.v28 = 28; 78 o.v30 = 30; o.v32 = 32; o.v34 = 34; o.v36 = 36; o.v38 = 38; 79 o.v40 = 40; o.v42 = 42; o.v44 = 44; o.v46 = 46; o.v48 = 48; 80 o.v50 = 50; o.v52 = 52; o.v54 = 54; o.v56 = 56; o.v58 = 58; 81 o.v60 = 60; o.v62 = 62; o.v64 = 64; o.v66 = 66; o.v68 = 68; 82 o.v70 = 70; o.v72 = 72; o.v74 = 74; o.v76 = 76; o.v78 = 78; 83 o.v80 = 80; o.v82 = 82; o.v84 = 84; o.v86 = 86; o.v88 = 88; [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | opcode_info.h | 66 OpcodeDesc GetTableItemAt(Opcode o) const in GetTableItemAt() argument 68 DEBUG_ASSERT(o < OP_last, "invalid opcode"); in GetTableItemAt() 69 return table[o]; in GetTableItemAt() 72 bool IsStmt(Opcode o) const in IsStmt() argument 74 DEBUG_ASSERT(o < OP_last, "invalid opcode"); in IsStmt() 75 return table[o].flag & OPCODEISSTMT; in IsStmt() 78 bool IsVarSize(Opcode o) const in IsVarSize() argument 80 DEBUG_ASSERT(o < OP_last, "invalid opcode"); in IsVarSize() 81 return table[o].flag & OPCODEISVARSIZE; in IsVarSize() 84 bool NotMMPL(Opcode o) const in NotMMPL() argument [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/version_control/API12beta1_and_beta2/bytecode_feature/ |
| D | wide_sendable_lexical_env.ts | 17 o: number = 1; property in TopLevelSendableClass1 24 o: number = 1; property in TopLevelSendableClass2 31 o: number = 1; property in TopLevelSendableClass3 38 o: number = 1; property in TopLevelSendableClass4 45 o: number = 1; property in TopLevelSendableClass5 52 o: number = 1; property in TopLevelSendableClass6 59 o: number = 1; property in TopLevelSendableClass7 66 o: number = 1; property in TopLevelSendableClass8 73 o: number = 1; property in TopLevelSendableClass9 80 o: number = 1; property in TopLevelSendableClass10 [all …]
|
| /arkcompiler/runtime_core/static_core/static_linker/ |
| D | linker_context_misc.cpp | 30 void DemangleName(std::ostream &o, std::string_view s) in DemangleName() argument 43 DemangleName(o, s.substr(1)); in DemangleName() 44 o << "[]"; in DemangleName() 50 o << ty; in DemangleName() 58 o << s.substr(0, to); in DemangleName() 60 o << "."; in DemangleName() 69 o << "<unknown>"; in DemangleName() 72 void ReprItem(std::ostream &o, const panda_file::BaseItem *i); 74 void ReprMethod(std::ostream &o, panda_file::StringItem *name, panda_file::BaseClassItem *clz, pand… in ReprMethod() argument 79 auto reprType = [&typs, &refs, &numRefs, &o](size_t ii) { in ReprMethod() [all …]
|
| D | linker.cpp | 23 void PrintTime(std::ostream &o, uint64_t micros) in PrintTime() argument 25 auto f = [µs, &o](uint64_t d, const auto suffix) { in PrintTime() 29 o << double(full) + rem << " " << suffix; in PrintTime() 111 std::ostream &operator<<(std::ostream &o, const Result::Stats &s) in operator <<() argument 113 o << "total: "; in operator <<() 114 PrintTime(o, s.elapsed.total); in operator <<() 115 o << "\n"; in operator <<() 116 auto printTimeHist = [&o, &s](std::string_view name, const uint64_t t) { in operator <<() 118 o << std::left << std::setw(MAX_NAME_SIZE) << name << std::internal; in operator <<() 120 o << "|"; in operator <<() [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | isinstance.yaml | 53 …Object of type O is instance of type T if O is the same as T or is subtype of T. For arrays T shou… 54 …type in type hierarchy or T is such array that O array elements are the same or subtype of T array… 330 …Object of type O is instance of type T if O is the same as T or is subtype of T. For arrays T shou… 331 …type in type hierarchy or T is such array that O array elements are the same or subtype of T array… 344 # O has a type of T 347 # O and T are of the same type, std object 353 # O and T are of the same type, custom object 359 # O and T are of the same type, string 364 # O and T are of the same type, type 367 # O is a subtype of T [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | type_variance1.sts | 32 class O {} 34 class Declaration_Site_C implements Declaration_Site_I<O, O> { 35 override set(_: O): void {} 36 override get(): O { 37 return new O(); 41 abstract class Use_Site_C implements Use_Site_I<in O, out O> { 42 // override set(_: O): void {} 43 // override get(): O { 44 // return new O(); 48 abstract class Outbounded_Use_Site_C implements Use_Site_I<in O, out> { [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | isinstance.yaml | 31 …Object of type O is instance of type T if O is the same as T or is subtype of T. For arrays T shou… 32 …type in type hierarchy or T is such array that O array elements are the same or subtype of T array… 163 …Object of type O is instance of type T if O is the same as T or is subtype of T. For arrays T shou… 164 …type in type hierarchy or T is such array that O array elements are the same or subtype of T array… 176 # O has a type of T 179 # O and T are of the same type, std object 185 # O and T are of the same type, custom object 191 # O and T are of the same type, string 196 # O and T are of the same type, type 199 # O is a subtype of T [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/templates/ |
| D | ins_create_api.h.erb | 26 % signature_str = signature.map { |o| "#{o.type} #{o.name}" }.join(', ') 33 % format = format_ops(insn.format).select { |o| o.name != 'prof' } 34 % format.each { |o| o.width = storage_width(o.width) } 36 % format.each_with_index do |o, i| 37 % if o.name.start_with?('v') 44 % format.each_with_index do |o, i| 45 % if o.name.start_with?('imm') 49 <%=group.first.emitter_name%>_.imms.emplace_back(<%= o.name %>); 51 % elsif o.name.start_with?('id') 52 <%=group.first.emitter_name%>_.ids.push_back(<%= o.name %>); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | instanceof_x_object.sts | 25 function fn_object(o: Object): boolean { 26 return o instanceof Object; 29 function fn_ets_object(o: A): boolean { 30 return o instanceof Object; 33 function fn_jsvalue(o: JSValue): boolean { 34 return o instanceof Object; 37 function fn_dyn_value(o: AValue): boolean { 38 return o instanceof Object; 41 function fn_dyn_decl(o: ADeclared): boolean { 42 return o instanceof Object;
|
| D | instanceof_x_etstype.sts | 26 function fn_object(o: Object): boolean { 27 return o instanceof B; 30 function fn_ets_object(o: A): boolean { 31 return o instanceof B; 34 function fn_jsvalue(o: JSValue): boolean { 35 return o instanceof B; 38 function fn_dyn_value(o: AValue): boolean { 39 return o instanceof B; 42 function fn_dyn_decl(o: ADeclared): boolean { 43 return o instanceof B;
|
| D | instanceof_x_dyndecl.sts | 25 function fn_object(o: Object): boolean { 26 return o instanceof BDeclared; 29 function fn_ets_object(o: A): boolean { 30 return o instanceof BDeclared; 33 function fn_jsvalue(o: JSValue): boolean { 34 return o instanceof BDeclared; 37 function fn_dyn_value(o: AValue): boolean { 38 return o instanceof BDeclared; 41 function fn_dyn_decl(o: ADeclared): boolean { 42 return o instanceof BDeclared;
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | delete_operator.sts | 20 const f0 = (o: T0) => delete o.field; 26 const f1 = (o: T1) => delete o.field; 32 const f2 = (o: T2) => delete o.field; 38 const f3 = (o: T3) => delete o.field; 44 const f4 = (o: T4) => delete o.field;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Object.sts | 97 * @param o an object 101 public static keys(o: Object): string[] { 103 if (o instanceof Char || 104 o instanceof Boolean || 105 o instanceof Byte || 106 o instanceof Short || 107 o instanceof Int || 108 o instanceof Long || 109 o instanceof Float || 110 o instanceof Double) { [all …]
|
| /arkcompiler/runtime_core/assembler/templates/ |
| D | ins_create_api.h.erb | 26 % signature_str = signature.map { |o| "#{o.type} #{o.name}" }.join(', ') 32 % format.each { |o| o.width = storage_width(o.width) } 34 % format.each_with_index do |o, i| 35 % if o.name.start_with?('v') 42 % format.each_with_index do |o, i| 43 % if o.name.start_with?('imm') 47 <%=group.first.emitter_name%>_.imms.emplace_back(<%= o.name %>); 49 % elsif o.name.start_with?('id') 50 <%=group.first.emitter_name%>_.ids.push_back(<%= o.name %>); 52 <%=group.first.emitter_name%>_.regs.push_back(<%= o.name %>);
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_object.h | 32 … /* Object.create ( O, Properties ) */ \ 34 … /* Object.defineProperties ( O, Properties ) */ \ 36 … /* Object.defineProperty ( O, P, Attributes ) */ \ 38 … /* Object.entries ( O ) */ \ 40 … /* Object.freeze ( O ) */ \ 44 … /* Object.getOwnPropertyDescriptor ( O, P ) */ \ 46 … /* Object.getOwnPropertyDescriptors ( O ) */ \ 48 … /* Object.getOwnPropertyNames ( O ) */ \ 50 … /* Object.getOwnPropertySymbols ( O ) */ \ 52 … /* Object.getPrototypeOf ( O ) */ \ [all …]
|
| /arkcompiler/runtime_core/libabckit/src/wrappers/templates/ |
| D | ins_create_wrapper_api.inc.erb | 43 % signature_str = signature.map { |o| "#{o.type} #{o.name}" }.join(', ') 51 % format.each { |o| o.width = storage_width(o.width) } 53 % format.each_with_index do |o, i| 54 % if o.name.start_with?('v') 61 % format.each_with_index do |o, i| 62 % if o.name.start_with?('imm') 66 <%=group.first.emitter_name.downcase%>Inst.imms.emplace_back(<%= o.name %>); 68 % elsif o.name.start_with?('id') 69 <%=group.first.emitter_name.downcase%>Inst.ids.push_back(<%= o.name %>); 71 <%=group.first.emitter_name.downcase%>Inst.regs.push_back(<%= o.name %>);
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | pandafile_isapi.rb | 61 sig = format_ops(group.first.format).each { |o| o.width = storage_width(o.width) } 63 insn.operands.each_with_index do |o, i| 64 sig[i].width = [o.width, sig[i].width].max 67 sig.each do |o| 68 if o.name.start_with?('imm') 69 o.type, o.name = is_jump ? ['const Label &', 'label'] : ["int#{o.width}_t", o.name] 71 o.type = "uint#{o.width}_t"
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/regex/ |
| D | split_character_class_any_non_alphanumeric_character_and_quantifier_match_zero_or_more_times_non_greedy-expected.txt | 1 …,"e","l","l","o"," ","j","a","c","k",","," ","y","o","u","&","m","e",","," ","G","o","o","d"," ","…
|
| /arkcompiler/ets_runtime/test/moduletest/stringreplaceall/ |
| D | stringreplaceall.js | 25 let res1 = str1.replaceAll("o", "o-o"); 26 assert_equal(res1,"Hello-o, wo-orld"); 29 let res2 = str1.replaceAll(/o/g, "o-o"); 30 assert_equal(res2,"Hello-o, wo-orld"); 33 let res3 = str1.replaceAll(/o/g, "$&-$&"); 34 assert_equal(res3,"Hello-o, wo-orld"); 37 let res4 = str1.replaceAll("o", "$&-$&"); 38 assert_equal(res4,"Hello-o, wo-orld"); 41 let res5 = str1.replaceAll("o", String);
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | asm_isapi.rb | 90 format_ops(insn.format).select { |o| o.name != 'prof'}.each do |o| 91 if o.name.start_with?('imm') 93 o.type, o.name = is_jump ? ['const std::string &', 'label'] : ['double', o.name] 95 o.type, o.name = is_jump ? ['const std::string &', 'label'] : ['int64_t', o.name] 97 elsif o.name.start_with?('id') 98 o.type, o.name = ['const std::string &', 'id'] 100 o.type = 'uint16_t'
|
| /arkcompiler/ets_runtime/test/moduletest/loadicbyvalue/ |
| D | loadicbyvalue.js | 93 function g(o, v) { argument 96 res = o[1]; 106 let o = { variable 108 o[102500] = 1; 109 o["test"] = "test"; 110 assert_equal(g(o, 1),1); 111 Object.defineProperty(o, "1", { value: 2 }); 112 assert_equal(g(o, 2),2); 117 let o = { variable 119 o[102500] = 1; [all …]
|
| /arkcompiler/runtime_core/static_core/ldscripts/ |
| D | panda.ld | 67 KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .ctors)) 73 KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .dtors)) 78 KEEP (*crtbegin.o(.ctors)) 79 KEEP (*crtbegin?.o(.ctors)) 80 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors)) 85 KEEP (*crtbegin.o(.dtors)) 86 KEEP (*crtbegin?.o(.dtors)) 87 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
|
| /arkcompiler/runtime_core/ldscripts/ |
| D | panda.ld | 67 KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .ctors)) 73 KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .dtors)) 78 KEEP (*crtbegin.o(.ctors)) 79 KEEP (*crtbegin?.o(.ctors)) 80 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors)) 85 KEEP (*crtbegin.o(.dtors)) 86 KEEP (*crtbegin?.o(.dtors)) 87 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
|
| /arkcompiler/runtime_core/assembler/ |
| D | asm_isapi.rb | 90 format_ops(insn.format).each do |o| 91 if o.name.start_with?('imm') 93 o.type, o.name = is_jump ? ['const std::string &', 'label'] : ['double', o.name] 95 o.type, o.name = is_jump ? ['const std::string &', 'label'] : ['int64_t', o.name] 97 elsif o.name.start_with?('id') 98 o.type, o.name = ['const std::string &', o.name] 100 o.type = 'uint16_t'
|