Home
last modified time | relevance | path

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

12345678910>>...16

/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 …]
Devents.rb59 def fields method in Event
60 @fields ||= @dscr['fields'].map { |field| Field.new(self, field) }
/arkcompiler/ets_frontend/ets2panda/linter/test_extended_features/
Dindexable_collections_array.ets.json22 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
29 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
36 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
43 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
50 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
57 "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)"
71 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
78 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
85 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dparameter_properties.ts.json24 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
33 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
42 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
51 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
60 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
69 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
85 … "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)"
Dparameter_properties.ts.autofix.json49 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
83 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
117 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
146 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
175 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
182 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
196 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
203 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
Dproperty_access_by_index.ts.json22 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
29 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
36 "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)"
Dproperty_access_by_index.ts.autofix.json23 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
31 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
39 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
71 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
Dliterals_as_prop_names.ts.json38 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
45 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
52 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
75 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
82 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
/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_runtime/ecmascript/
Djs_date.cpp663 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToDateString() local
664 if (!GetThisDateValues(thread, &fields, true)) { in ToDateString()
669 str.append(WEEK_DAY_NAME[fields[WEEKDAY]]) // Append weekdy name in ToDateString()
671 .append(MONTH_NAME[fields[MONTH]]) // Append mouth name in ToDateString()
673 ConvertAndAppend(fields[DAYS], STR_LENGTH_OTHERS, str); in ToDateString()
675 ConvertAndAppend(fields[YEAR], STR_LENGTH_YEAR, str); in ToDateString()
686 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToDateString() local
687 GetDateValues(thread, timeMs, &fields, true); in ToDateString()
701 str.append(WEEK_DAY_NAME[fields[WEEKDAY]]) // Append weekday name in ToDateString()
703 .append(MONTH_NAME[fields[MONTH]]) // Append mouth name in ToDateString()
[all …]
/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/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/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/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/compiler/
Dcompiler.yaml619 fields:
634 fields:
645 fields:
654 fields:
661 fields:
668 fields:
677 fields:
692 fields:
697 fields:
710 fields:
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule25.ts.json22 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
29 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
36 … "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
/arkcompiler/runtime_core/static_core/compiler/
Dcompiler.yaml817 fields:
832 fields:
843 fields:
852 fields:
859 fields:
866 fields:
875 fields:
884 fields:
899 fields:
904 fields:
[all …]

12345678910>>...16