| /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 | 68 OpcodeDesc GetTableItemAt(Opcode o) const in GetTableItemAt() argument 70 DEBUG_ASSERT(o < OP_last, "invalid opcode"); in GetTableItemAt() 71 return table[o]; in GetTableItemAt() 74 bool IsStmt(Opcode o) const in IsStmt() argument 76 DEBUG_ASSERT(o < OP_last, "invalid opcode"); in IsStmt() 77 return table[o].flag & OPCODEISSTMT; in IsStmt() 80 bool IsVarSize(Opcode o) const in IsVarSize() argument 82 DEBUG_ASSERT(o < OP_last, "invalid opcode"); in IsVarSize() 83 return table[o].flag & OPCODEISVARSIZE; in IsVarSize() 86 bool NotMMPL(Opcode o) const in NotMMPL() argument [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/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/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/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/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Object.sts | 78 * @param o an object 82 public static keys(o: Object): string[] { 84 if (o instanceof Char || 85 o instanceof Boolean || 86 o instanceof Byte || 87 o instanceof Short || 88 o instanceof Int || 89 o instanceof Long || 90 o instanceof Float || 91 o instanceof Double) { [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_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;
|
| 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;
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| 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/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 …]
|
| D | builtins_object.cpp | 165 // 1.If Type(O) is not Object, throw a TypeError exception. in ObjectDefineProperties() 227 // c.Let status be DefinePropertyOrThrow(O,P, desc). in ObjectDefineProperties() 235 // 9.Return O. in ObjectDefineProperties() 239 // 19.1.2.2 Object.create ( O [ , Properties ] ) 246 // 1.If Type(O) is neither Object nor Null, throw a TypeError exception. in Create() 250 …THROW_TYPE_ERROR_AND_RETURN(thread, "Create: O is neither Object nor Null", JSTaggedValue::Excepti… in Create() 260 // 2.Let obj be ObjectCreate(O). in Create() 273 // 19.1.2.3 Object.defineProperties ( O, Properties ) 280 // 1.Return ObjectDefineProperties(O, Properties). in DefineProperties() 284 // 19.1.2.4 Object.defineProperty ( O, P, Attributes ) [all …]
|
| /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_runtime/test/moduletest/loadicbyvalue/ |
| D | loadicbyvalue.js | 88 function g(o, v) { argument 91 res = o[1]; 100 let o = { variable 102 o[102500] = 1; 103 o["test"] = "test"; 104 print(g(o, 1)); 105 Object.defineProperty(o, "1", { value: 2 }); 107 print(g(o, 2)); 112 let o = { variable 114 o[102500] = 1; [all …]
|
| /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/jsonstringifier/ |
| D | jsonstringifier.js | 45 let o = { 59 print(JSON.stringify(o)) 150 var test_obj = {o: false}; property 151 var replaced = {o: false, replaced: true}; property 156 if (key === "o") return true; 159 print(`{"o":true,"replaced":true}` == JSON.stringify(test_obj, replacer)); 162 holder: { "": { o: false } }, property 164 value: { o: false } property 167 holder: { o: false, replaced: true }, property 168 key: "o", [all …]
|
| /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/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/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'
|
| /arkcompiler/ets_runtime/test/moduletest/loadicbyname/ |
| D | loadicbyname.js | 143 function func1(o, v) { argument 146 res=o.x; 159 let o = { variable 162 o[102500] = 1; 163 o["test"] = "test"; 164 print(func1(o, 1)); 165 Object.defineProperty(o, "x", { value: 2 }); 167 print(func1(o, 2)); 179 let o = { variable 184 print(func1(o, 1)); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/07.function_types/ |
| D | incorrect_function_name.params.yaml | 69 - 'fo!o' 73 - 'fo{o' 77 - 'fo+o' 81 - 'fo(o' 85 - 'fo%o' 88 - 'fo<o' 92 - 'fo?o'
|