Home
last modified time | relevance | path

Searched full:sub (Results 1 – 25 of 810) sorted by relevance

12345678910>>...33

/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dsub.yaml16 - file-name: "sub"
27 - sig: sub v1:in:i32, v2:in:i32
34 sub v0, v1
42 description: Check sub with zero and various values.
77 - sig: sub v1:in:i32, v2:in:i32
84 sub v0, v1
92 description: Check sub with +1 and various values.
128 - sig: sub v1:in:i32, v2:in:i32
135 sub v0, v1
143 description: Check sub with -1 and various values.
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dsub.yaml16 - file-name: "sub"
27 - sig: sub v1:in:i32, v2:in:i32
34 sub v0, v1
42 description: Check sub with zero and various values.
77 - sig: sub v1:in:i32, v2:in:i32
84 sub v0, v1
92 description: Check sub with +1 and various values.
127 - sig: sub v1:in:i32, v2:in:i32
134 sub v0, v1
142 description: Check sub with -1 and various values.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/superinterfaces_and_subinterfaces/verify_constant_values_subinterface_class/
Dconstants_union_class_in_subclass_interface_ext.params.yaml33 const sub = new SubClass();
34 assertEQ(sub.CONSTANT_VALUE.value, 11);
53 const sub = new SubClass();
54 assertEQ(typeof sub.CONSTANT_VALUE.value, 'boolean');
82 const sub = new SubClass();
83 assertEQ(sub.CONSTANT_VALUE.value.value_name, "test_name");
114 const sub = new SubClass();
115 assertEQ(sub.CONSTANT_VALUE.value.user_name, "Object1");
138 const sub = new SubClass();
139 assertEQ(sub.CONSTANT_VALUE.enum_value, date);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/01.character_type_and_literals/02.character_types_and_operations/subtraction/
Dsub_func_ref.params.yaml17 exp: 'sub(v2, v1)'
22 exp: "(sub(v1, v2) - c' ') as Char"
27 exp: 'sub(v1, v2)'
32 exp: 'sub(v2, v1)'
37 exp: "sub(c'\\u000F', v1)"
42 exp: "sub((v1 - c'\\u0101') as Char, (v2 - c'\\u1010') as Char)"
47 exp: 'sub(v1, v2)'
Dsub_func_val.params.yaml18 exp: 'sub(v2, v1)'
24 exp: "(sub(v1, v2) - c' ') as char"
30 exp: 'sub(v1, v2)'
36 exp: 'sub(v2, v1)'
42 exp: "sub(c'\\u000F', v1)"
48 exp: "sub((v1 - c'\\u0101') as char, (v2 - c'\\u1010') as char)"
54 exp: 'sub(v1, v2)'
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
Denum_as_class_member_getValue_call.ets33 public sub: Color;
36 constructor(sub: Color, shape: Shape) {
37 this.sub = sub;
42 let a = this.sub.valueOf();
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/ets_es_checked/generate-es-checked/
Dmain.rb183 def parse_non_endpoint_conf(sub) argument
185 if sub.has_key?("self")
186 conf.self = sub["self"]
187 conf.self_type = sub["self_type"]
189 if sub.has_key?("setup")
190 conf.setup = sub["setup"]
192 (sub["vars"] || {}).each { |k, v|
195 (sub["sub"] || []).each { |s|
200 def process(sub) argument
202 if sub["excluded"]
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/
Dmain.rb186 def parse_non_endpoint_conf(sub) argument
188 if sub.has_key?("self")
189 conf.self = sub["self"]
190 conf.self_type = sub["self_type"]
192 if sub.has_key?("setup")
193 conf.setup = sub["setup"]
195 (sub["vars"] || {}).each { |k, v|
198 (sub["sub"] || []).each { |s|
203 def process(sub) argument
205 if sub["excluded"]
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dlowering_doc.md31 void VisitAdd/Sub(Inst* inst) {
65 7.u64 Sub v0, v1 -> (v10)
66 8.u64 Sub v0, v2 -> (v10)
67 9.u64 Sub v0, v3 -> (v10)
69 14.f64 Sub v11, v21 -> (v10)
71 16.f32 Sub v12, v22 -> (v10)
73 18.u64 Sub v0, v0 -> (v10)
102 9.u64 Sub v0, v3 -> (v10)
104 14.f64 Sub v11, v21 -> (v10)
106 16.f32 Sub v12, v22 -> (v10)
[all …]
/arkcompiler/runtime_core/compiler/docs/
Dlowering_doc.md31 void VisitAdd/Sub(Inst* inst) {
65 7.u64 Sub v0, v1 -> (v10)
66 8.u64 Sub v0, v2 -> (v10)
67 9.u64 Sub v0, v3 -> (v10)
69 14.f64 Sub v11, v21 -> (v10)
71 16.f32 Sub v12, v22 -> (v10)
73 18.u64 Sub v0, v0 -> (v10)
102 9.u64 Sub v0, v3 -> (v10)
104 14.f64 Sub v11, v21 -> (v10)
106 16.f32 Sub v12, v22 -> (v10)
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_inherited_function_operation/
Dpgo_inherited_function_operation.ts36 …Derived.prototype.sub = () => { print("sub") } // store: Derived.prototype.sub --> type: MONO_STOR…
42 obj.sub() // load: obj.sub --> type: MONO_LOAD_PROPERTY_ON_PROTO
104 …Derived1.prototype.sub = "sub" // store: Derived1.prototype.sub = "sub" --> type: MONO_STORE_PROP…
112 print(obj1.sub) // load: obj1.sub --> type: MONO_LOAD_PROPERTY_ON_PROTO
115 print(obj2.sub) // load: obj2.sub --> type: MONO_LOAD_PROPERTY_ON_PROTO
118 print(obj3.sub) // slowpath
144 …Level1.prototype.sub = () => { print("sub") } // store: Level1.prototype.sub --> type: MONO_STORE_…
152 obj.sub() // load: obj.sub --> type: MONO_LOAD_PROPERTY_ON_PROTO
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D15_semantics.rst326 *Direct supertypes* of the generic type ``C`` <``F``:sub:`1` ``,..., F``:sub:`n`>
327 (for a generic class or interface type declaration ``C`` <``F``:sub:`1` ``,..., F``:sub:`n`>
330 - Direct superclass of ``C`` <``F``:sub:`1` ``,..., F``:sub:`n`>;
332 - Direct superinterfaces of ``C`` <``F``:sub:`1` ``,..., F``:sub:`n`>, and
334 - Type ``Object`` if ``C`` <``F``:sub:`1` ``,..., F``:sub:`n`> is a generic
417 1. Union type ``U`` (``U``:sub:`1` ``| ... | U``:sub:`n`) is a subtype of
418 type ``T`` if each ``U``:sub:`i` is a subtype of ``T``.
453 (``U``:sub:`1` ``| ... | U``:sub:`n`) if for some ``i``
454 ``T`` is a subtype of ``U``:sub:`i`.
489 Function type ``F`` with parameters ``FP``:sub:`1` ``, ... , FP``:sub:`m`
[all …]
D10_interfaces.rst199 If an interface declaration (possibly generic) ``I`` <``F``:sub:`1` ``,...,
200 F``:sub:`n`> (:math:`n\geq{}0`) contains an ``extends`` clause, then the
201 *direct superinterfaces* of the interface type ``I`` <``F``:sub:`1` ``,...,
202 F``:sub:`n`> are the types given in the ``extends`` clause of the declaration
206 <``T``:sub:`1` ``,..., T``:sub:`n`> are types ``J``
207 <``U``:sub:`1`:math:`\theta{}` ``,..., U``:sub:`k`:math:`\theta{}`>, if:
209 - ``T``:sub:`i` (:math:`1\leq{}i\leq{}n`) is the type of a generic interface
210 declaration ``I`` <``F``:sub:`1` ``,..., F``:sub:`n`> (:math:`n > 0`);
211 - ``J`` <``U``:sub:`1` ``,..., U``:sub:`k`> is a direct superinterface of
212 ``I`` <``F``:sub:`1` ``,..., F``:sub:`n`>; and
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dets_char_isuppercase.ets22 //! INST /Sub/
27 //! INST /Sub/
32 //! INST /Sub/
39 //! INST /Sub/
49 //! INST /Sub/
54 //! INST /Sub/
59 //! INST /Sub/
66 //! INST /Sub/
/arkcompiler/runtime_core/taihe/test/ani_iface/user/
Dmain.ets81 let sub = IfaceTest.getSubBaseFun();
82 let info = sub.base();
84 console.log("sub.base is " + info)
89 let sub = IfaceTest.getSubBaseElem();
90 sub.base = "SubBaseElem.base";
91 let info = sub.base;
/arkcompiler/toolchain/tooling/dynamic/test/
Ddebugger_types_test.cpp84 // abnormal params of null params.sub-key in HWTEST_F_L0()
89 // abnormal params of unknown params.sub-key in HWTEST_F_L0()
94 // abnormal params of params.sub-key = [ type = 100, ] in HWTEST_F_L0()
99 // abnormal params of params.sub-key = [ type = [ "sub": "test" ] }, ] in HWTEST_F_L0()
104 // normal params of params.sub-key = [ type = "object", ] in HWTEST_F_L0()
110 // abnormal params of params.sub-key = [ type = "object", subtype = "unknown"] in HWTEST_F_L0()
116 // abnormal params of params.sub-key = [ type = "object", subtype = 100] in HWTEST_F_L0()
122 // normal params of params.sub-key = [ type = "object", subtype = "array"] in HWTEST_F_L0()
131 // abnormal params of params.sub-key = [ type = "object", className = 100] in HWTEST_F_L0()
137 // abnormal params of params.sub-key = [ type = "object", className = {"xx":"yy"}] in HWTEST_F_L0()
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/string_validation/
Dstring_sub.ts20 assert(str.sub() === '<sub>abc</sub>', 'success');
/arkcompiler/ets_frontend/ets2panda/checker/types/
Dsignature.cpp212 Signature *const sub) in MethodSignaturesAreCompatible() argument
214 ES2PANDA_ASSERT(!sub->HasRestParameter() || (sub->ArgCount() == sub->MinArgCount())); in MethodSignaturesAreCompatible()
217 if (sub->ArgCount() != super->ArgCount()) { in MethodSignaturesAreCompatible()
221 if (sub->HasRestParameter() != super->HasRestParameter()) { in MethodSignaturesAreCompatible()
228 if (!relation->NoReturnTypeCheck() && !areCompatible(super->ReturnType(), sub->ReturnType())) { in MethodSignaturesAreCompatible()
231 for (size_t idx = 0; idx < sub->ArgCount(); ++idx) { in MethodSignaturesAreCompatible()
232 if (!areCompatible(sub->Params()[idx]->TsType(), super->Params()[idx]->TsType())) { in MethodSignaturesAreCompatible()
236 …return !sub->HasRestParameter() || relation->IsIdenticalTo(sub->RestVar()->TsType(), super->RestVa… in MethodSignaturesAreCompatible()
241 auto sub = this; in IsSubtypeOf() local
242 if (sub->HasSignatureFlag(SignatureFlags::GETTER_OR_SETTER) != in IsSubtypeOf()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_vtable_builder.cpp133 static bool RefIsAssignableToImpl(const ClassLinkerContext *ctx, RefTypeLink sub, RefTypeLink super…
135 static bool RefExtendsOrImplements(const ClassLinkerContext *ctx, RefTypeLink sub, RefTypeLink supe… in RefExtendsOrImplements() argument
145 auto subCDAOpt = sub.CreateCDA(); in RefExtendsOrImplements()
166 static bool RefIsAssignableToImpl(const ClassLinkerContext *ctx, RefTypeLink sub, RefTypeLink super… in RefIsAssignableToImpl() argument
172 if (RefTypeLink::AreEqual(sub, super)) { in RefIsAssignableToImpl()
175 if (IsPrimitveDescriptor(sub.GetDescriptor()) || IsPrimitveDescriptor(super.GetDescriptor())) { in RefIsAssignableToImpl()
182 if (!ClassHelper::IsArrayDescriptor(sub.GetDescriptor())) { in RefIsAssignableToImpl()
185 RefTypeLink subComp(ctx, ClassHelper::GetComponentDescriptor(sub.GetDescriptor())); in RefIsAssignableToImpl()
190 if (ClassHelper::IsArrayDescriptor(sub.GetDescriptor())) { in RefIsAssignableToImpl()
194 return RefExtendsOrImplements(ctx, sub, super, depth); in RefIsAssignableToImpl()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/multi_layer_interface/multi_layer_interface_inheritance_override/
Dmulti_layer_interface_inheritance_override_ext.params.yaml16 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
40 …- desc: An upper-layer interface has multiple methods. In multi-layer inheritance, the sub-interfa…
76 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
100 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
124 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
148 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
172 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
196 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
220 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
249 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsFunctionType.cpp173 …c Signature *EnhanceSignatureSubstitution(TypeRelation *relation, Signature *super, Signature *sub) in EnhanceSignatureSubstitution() argument
178 auto const enhance = [checker, sub, substitution](Type *param, Type *arg) { in EnhanceSignatureSubstitution()
179 …return checker->EnhanceSubstitutionForType(sub->GetSignatureInfo()->typeParams, param, arg, substi… in EnhanceSignatureSubstitution()
181 for (size_t ix = 0; ix < sub->ArgCount(); ix++) { in EnhanceSignatureSubstitution()
182 …if (!enhance(sub->GetSignatureInfo()->params[ix]->TsType(), super->GetSignatureInfo()->params[ix]-… in EnhanceSignatureSubstitution()
187 if (!enhance(sub->RestVar()->TsType(), super->RestVar()->TsType())) { in EnhanceSignatureSubstitution()
191 return sub->Substitute(relation, substitution); in EnhanceSignatureSubstitution()
201 static bool SignatureIsSupertypeOf(TypeRelation *relation, Signature *super, Signature *sub) in SignatureIsSupertypeOf() argument
203 if (super->MinArgCount() < sub->MinArgCount()) { in SignatureIsSupertypeOf()
206 if ((super->RestVar() != nullptr && sub->RestVar() == nullptr) || in SignatureIsSupertypeOf()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/test-lists/ets-func-tests/
Dets-func-tests-excluded-JIT-REPEATS.txt3 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-union.ets
6 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-BigInt.ets
10 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-BigInt-1.ets
11 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-equal.ets
12 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands.ets
16 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-negative-number-2.ets
70 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-3-operands.ets
73 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-4-operands.ets
76 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero-negative.ets
77 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero.ets
[all …]
Dets-func-tests-excluded-TSAN.txt48 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-negative-number-1.ets
49 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-negative-number-2.ets
50 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero-negative.ets
51 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero.ets
52 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-3-operands.ets
53 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-4-operands.ets
54 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-equal-zero-negative.ets
55 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-equal-zero.ets
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
Daarch64_fixup_sdiv.cpp35 auto sub = selectInst->getOperand(1U); in ReplaceSelect() local
38 // sub instruction may be replaced with value in ReplaceSelect()
49 if (sub->uses().empty() && llvm::isa<llvm::Instruction>(sub)) { in ReplaceSelect()
50 auto subInst = llvm::cast<llvm::Instruction>(sub); in ReplaceSelect()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/function_ops/
Dfunction_call_char_test.cpp38 ASSERT_EQ(env_->Namespace_FindFunction(ns, "sub", "CC:C", &fn), ANI_OK); in GetMethod()
51 ani_char sub = CHAR_VAL3; in TEST_F() local
52 ASSERT_EQ(env_->c_api->Function_Call_Char(env_, fn, &sub, CHAR_VAL1, CHAR_VAL2), ANI_OK); in TEST_F()
53 ASSERT_EQ(sub, CHAR_VAL1 - CHAR_VAL2); in TEST_F()
61 ani_char sub = CHAR_VAL3; in TEST_F() local
62 ASSERT_EQ(env_->Function_Call_Char(fn, &sub, CHAR_VAL1, CHAR_VAL2), ANI_OK); in TEST_F()
63 ASSERT_EQ(sub, CHAR_VAL1 - CHAR_VAL2); in TEST_F()
76 ani_char sub = CHAR_VAL3; in TEST_F() local
77 ASSERT_EQ(env_->Function_Call_Char_A(fn, &sub, args), ANI_OK); in TEST_F()
78 ASSERT_EQ(sub, args[0U].b - args[1U].b); in TEST_F()
[all …]

12345678910>>...33