Home
last modified time | relevance | path

Searched full:fields (Results 1 – 25 of 450) sorted by relevance

12345678910>>...18

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/fields/
Dfields.ts29 import { Fields } from './lib';
43 const fields = new Fields(); constant
44 assertEq(fields.readonlyBoolean_, true);
45 assertEq(Fields.staticFloat_.toFixed(PRECISION), (ONE + ONE_TENTH).toFixed(PRECISION));
46 assertEq(fields.number_.toFixed(PRECISION), (TWO + TWO_TENTH).toFixed(PRECISION));
47 assertEq(fields.Number_.toFixed(PRECISION), (THREE + THREE_TENTH).toFixed(PRECISION));
48 assertEq(fields.double_.toFixed(PRECISION), (FOUR + FOUR_TENTH).toFixed(PRECISION));
49 assertEq(fields.Double_.toFixed(PRECISION), (FIVE + FIVE_TENTH).toFixed(PRECISION));
50 assertEq(fields.int_, SIX);
53 assertEq(fields.object_ instanceof Object, true);
[all …]
Dlib.expected27 class Fields {
44 (Fields as any) = (globalThis as any).Panda.getClass('LFields;');
45 export {Fields};
46 exports.Fields = Fields;
/arkcompiler/runtime_core/static_core/libpandabase/events/
Devents.yaml14 # To add new event, create new record in the 'events' section with following fields:
16 # - fields - data fields that will be stored within event. The type of each field should be a real …
28 fields:
41 fields:
56 fields:
66 fields:
73 fields:
86 fields:
108 fields:
113 fields:
[all …]
Devents_gen.h.erb34 % event.fields.select(&:is_enum?).each do |field|
49 …virtual void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type}.join(', ') %>) {} /…
60 % event.fields.select(&:is_enum?).each do |field|
77 % event.fields.each do |field|
103 …void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type + ' ' + f.name.camelizeback }…
105 …auto event = new EventRecord(<%= event.name.camelize %>Event{<%= event.fields.map {|f| f.name.came…
169 …void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type + ' ' + f.name.camelizeback }…
171 …file_ << "<%= event.name.camelize %>," << <%= event.fields.map{|f| f.name.camelizeback }.join(" <<…
191 …void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type + ' ' + f.name.camelizeback }…
192 …LOG(INFO, EVENTS) << "<%= event.name.camelize %>," << <%= event.fields.map {|f| f.name.camelizebac…
[all …]
/arkcompiler/runtime_core/libpandabase/events/
Devents.yaml14 # To add new event, create new record in the 'events' section with following fields:
16 # - fields - data fields that will be stored within event. The type of each field should be a real …
28 fields:
41 fields:
56 fields:
66 fields:
79 fields:
101 fields:
106 fields:
114 fields:
[all …]
Devents_gen.h.erb34 % event.fields.select(&:is_enum?).each do |field|
49 …virtual void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type}.join(', ') %>) {} /…
60 % event.fields.select(&:is_enum?).each do |field|
77 % event.fields.each do |field|
103 …void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type + ' ' + f.name }.join(', ') %…
105 …auto event = new EventRecord(<%= event.name.camelize %>Event{<%= event.fields.map(&:name).join(', …
169 …void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type + ' ' + f.name }.join(', ') %…
171 …file_ << "<%= event.name.camelize %>," << <%= event.fields.map(&:name).join(" << ',' << ") %> << s…
191 …void <%= event.name.camelize %>(<%= event.fields.map {|f| f.arg_type + ' ' + f.name }.join(', ') %…
192 …LOG(INFO, EVENTS) << "<%= event.name.camelize %>," << <%= event.fields.map(&:name).join(" << ',' <…
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/extended_features/
Dindexable_collections_array.ets.json24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
84 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
114 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/12.union_types/access_to_common_union_members/
Dcm_fld1.params.yaml16 # Common fields in classes
18 // classes, fields of any type
32 // classes, fields of number type
46 // classes, fields of bigint type
60 // classes, fields of Integral type
74 // classes, fields of Error type
88 // classes, fields of union literal type
102 // classes, fields of union type
116 // classes, fields of array type
130 // classes, fields of tuple type
[all …]
Dcm_fld2.params.yaml16 # Common fields in superclasses
18 // classes, fields of any type
34 // classes, fields of number type
52 // classes, fields of bigint type
68 // classes, fields of Integral type
92 // classes, fields of Error type
106 // classes, fields of union literal type
128 // classes, fields of union type
148 // classes, fields of array type
164 // classes, fields of tuple type
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dparameter_properties.ts.json24 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
34 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
44 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
54 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
64 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
74 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
94 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
104 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
Dproperty_access_by_index.ts.arkts2.json24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
114 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
124 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
Dindexable_type_element_access.ts.json24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
Dparameter_properties.ts.autofix.json51 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
88 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
125 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
157 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
189 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
199 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
219 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
229 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dgc-mark-activity.plantuml29 :Mark all fields in Reference except 'referent';
31 :Mark all fields in object;
37 mark object == mark object and add all non-primitive fields to the Mark Stack
38 …mark all fields in object == mark all directly referenced objects and add their un-marked fields t…
/arkcompiler/runtime_core/docs/diagrams/
Dgc-mark.puactivity29 :Mark all fields in Reference except 'referent';
31 :Mark all fields in object;
37 mark object == mark object and add all non-primitive fields to the Mark Stack
38 …mark all fields in object == mark all directly referenced objects and add their un-marked fields t…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DReflectGetBadCases.sts20 failures += test(reflectGetBadCases(), "Reflect.get on types without fields and elements");
59 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
65 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
71 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
77 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
83 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
89 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
95 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
101 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
107 … result += e.toString().contains("`target` argument of Reflect.get must have fields", 0) ? 0 : 1
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/
DannotationUsage_missing_arguements02.sts29 /* @@? 20:2 Error TypeError: The required field 'testProperty2' must be specified. Fields without d…
30 /* @@? 23:2 Error TypeError: The required field 'testProperty2' must be specified. Fields without d…
31 /* @@? 23:2 Error TypeError: The required field 'testProperty1' must be specified. Fields without d…
32 /* @@? 25:6 Error TypeError: The required field 'testProperty1' must be specified. Fields without d…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/map_mirror_classes/
Dtest_map_mirror_classes.cpp39 auto fields = klass->GetFields(); in CheckOffsetOfFields() local
40 ASSERT_EQ(fields.size(), membersList.size()); in CheckOffsetOfFields()
42 for (size_t i = 0; i < fields.size(); i++) { in CheckOffsetOfFields()
43 ASSERT_NE(fields[i], nullptr); in CheckOffsetOfFields()
44 EXPECT_STREQ(fields[i]->GetNameString()->GetMutf8().data(), membersList[i].name); in CheckOffsetOfFields()
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule25.ts.json24 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
34 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
44 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
54 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)",
/arkcompiler/ets_runtime/ecmascript/
Djs_date.cpp660 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToDateString() local
661 if (!GetThisDateValues(thread, &fields, true)) { in ToDateString()
666 str.append(WEEK_DAY_NAME[fields[WEEKDAY]]) // Append weekdy name in ToDateString()
668 .append(MONTH_NAME[fields[MONTH]]) // Append mouth name in ToDateString()
670 ConvertAndAppend(fields[DAYS], STR_LENGTH_OTHERS, str); in ToDateString()
672 ConvertAndAppend(fields[YEAR], STR_LENGTH_YEAR, str); in ToDateString()
683 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToDateString() local
684 GetDateValues(thread, timeMs, &fields, true); in ToDateString()
698 str.append(WEEK_DAY_NAME[fields[WEEKDAY]]) // Append weekday name in ToDateString()
700 .append(MONTH_NAME[fields[MONTH]]) // Append mouth name in ToDateString()
[all …]
/arkcompiler/ets_frontend/test262/
Des2022_tests.txt186 language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-assignment-exp…
187 language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-additive-expre…
188 language/expressions/class/cpn-class-expr-fields-computed-property-name-from-expression-coalesce.js
189 language/expressions/class/cpn-class-expr-fields-computed-property-name-from-identifier.js
190 language/expressions/class/cpn-class-expr-fields-computed-property-name-from-additive-expression-su…
191 language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-condition-expr…
192 language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-numeric-litera…
193 language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-null.js
194 language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-additive-expre…
195 language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-function-decla…
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe25.md1 # Declaring fields in ``constructor`` is not supported
7 ArkTS does not support declaring class fields in the ``constructor``.
8 Declare class fields inside the ``class`` declaration instead.
Drecipe29.md1 # Indexed access is not supported for fields
8 object fields immediately in the class. Access only those class fields
10 any other fields is prohibited, and causes compile-time errors.
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dclasses.rst18 A class declaration introduces a new type and defines its fields, methods,
21 In the following example, the class ``Person`` is defined that has fields
58 Fields chapter
62 Classes can have instance fields, static fields, or both.
66 Instance Fields
69 Instance fields exist on every instance of a class. Each instance has its own
70 set of instance fields:
95 ``static`` Fields
99 fields belong to the class itself, and all instances of the class share the
100 same set of ``static`` fields.
[all …]
/arkcompiler/runtime_core/compiler/
Dcompiler.yaml619 fields:
634 fields:
645 fields:
654 fields:
661 fields:
668 fields:
677 fields:
692 fields:
697 fields:
710 fields:
[all …]

12345678910>>...18