/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
D | small_vector_test.cpp | 56 std::array values = {10U, 20U, 30U, 40U, 50U, 60U, 70U, 80U, 90U, 100U}; in TestVectorGrow() local 60 vector.push_back(values[0U]); in TestVectorGrow() 65 vector.push_back(values[1U]); in TestVectorGrow() 66 vector.push_back(values[2U]); in TestVectorGrow() 67 vector.push_back(values[3U]); in TestVectorGrow() 72 vector.push_back(values[4U]); in TestVectorGrow() 77 ASSERT_TRUE(std::equal(values.begin(), values.begin() + 5U, vector.begin())); in TestVectorGrow() 79 std::copy(values.begin() + 5U, values.end(), std::back_inserter(vector)); in TestVectorGrow() 82 for (size_t i = 0; i < values.size(); i++) { in TestVectorGrow() 83 ASSERT_EQ(vector[i], values[i]); in TestVectorGrow() [all …]
|
D | bit_table_test.cpp | 135 std::array<std::array<uint32_t, 10U>, 5U> values = { in TEST_F() local 143 builder.Emplace(CreateEntry<decltype(builder)>(values[0U])); in TEST_F() 144 builder.Emplace(CreateEntry<decltype(builder)>(values[1U])); in TEST_F() 145 builder.Emplace(CreateEntry<decltype(builder)>(values[2U])); in TEST_F() 146 builder.Emplace(CreateEntry<decltype(builder)>(values[3U])); in TEST_F() 147 builder.Emplace(CreateEntry<decltype(builder)>(values[4U])); in TEST_F() 161 ASSERT_EQ(row.Get(i), values[rowIndex][i]); in TEST_F() 240 std::array<std::array<uint32_t, 2U>, 10U> values = { in TEST_F() local 244 for (auto &v : values) { in TEST_F() 260 ASSERT_EQ(range[0U].GetField0(), values[0U][0U]); in TEST_F() [all …]
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | small_vector_test.cpp | 51 std::array values = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100}; in TestVectorGrow() local 55 vector.push_back(values[0]); in TestVectorGrow() 60 vector.push_back(values[1]); in TestVectorGrow() 61 vector.push_back(values[2]); in TestVectorGrow() 62 vector.push_back(values[3]); in TestVectorGrow() 67 vector.push_back(values[4]); in TestVectorGrow() 72 ASSERT_TRUE(std::equal(values.begin(), values.begin() + 5, vector.begin())); in TestVectorGrow() 74 std::copy(values.begin() + 5, values.end(), std::back_inserter(vector)); in TestVectorGrow() 77 for (size_t i = 0; i < values.size(); i++) { in TestVectorGrow() 78 ASSERT_EQ(vector[i], values[i]); in TestVectorGrow() [all …]
|
D | bit_table_test.cpp | 130 std::array<std::array<uint32_t, 10>, 5> values = { in TEST_F() local 138 builder.Emplace(CreateEntry<decltype(builder)>(values[0])); in TEST_F() 139 builder.Emplace(CreateEntry<decltype(builder)>(values[1])); in TEST_F() 140 builder.Emplace(CreateEntry<decltype(builder)>(values[2])); in TEST_F() 141 builder.Emplace(CreateEntry<decltype(builder)>(values[3])); in TEST_F() 142 builder.Emplace(CreateEntry<decltype(builder)>(values[4])); in TEST_F() 156 ASSERT_EQ(row.Get(i), values[row_index][i]); in TEST_F() 234 std::array<std::array<uint32_t, 2>, 10> values = { in TEST_F() local 238 for (auto &v : values) { in TEST_F() 255 ASSERT_EQ(range[0].GetField0(), values[0][0]); in TEST_F() [all …]
|
/arkcompiler/ets_runtime/test/moduletest/arrayValuesCase/ |
D | arrayValuesCase.js | 25 const iterator1 = array1.values(); 36 for (const entry of Array.prototype.values.call(arrayLike)) { 39 for (const element of [, "a"].values()) { 43 const iterator = arr.values(); 48 const values = array.values(); constant 49 for (const letter of values) { 55 for (const letter of values) { 60 const values1 = arr1.values();
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/for_of/ |
D | for_of_11.ts | 30 values: T[] property in Foo 31 constructor(p_values: T[]) { this.values = p_values } 33 return new FooIterator(this.values); 40 private values: T[]; property in FooIterator 42 constructor(values: T[]) { 45 this.values = values; 55 if (this.index === this.values.length) { 63 const value = this.values[this.index];
|
D | for_of_12.ts | 60 private values: String; property in FooIterator 62 constructor(values: string) { 65 this.values = values; 75 if (this.index === this.values.length) { 83 const value = this.values.charAt[this.index];
|
D | for_of_11.ets | 22 values : T[] 25 return new FooIterator(this.values); 33 constructor(values: T[]) { 45 if (this.index === this.values.length) { 53 const value = this.values[this.index]; 66 console.log(values);
|
D | for_of_10.ets | 22 values : T[] 25 return new FooIterator(this.values); 33 constructor(values: T[]) { 45 if (this.index === this.values.length) { 53 const value = this.values[this.index]; 66 console.log(values);
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/ |
D | std_core_array.ets | 18 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 25 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 32 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 39 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 46 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 53 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 60 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 67 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 74 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} 88 desc: {function: {{.item.method_name}}_{{.item.method_signature_desc.values()|join("_")}}} [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/ets_proxy/ |
D | check_access_references.js | 26 function TestAccessors(tname, ...values) { argument 27 function TestAccessorsOf(o, tname, ...values) { argument 28 for (let v of values) { 35 TestAccessorsOf(ra, tname, ...values); 36 TestAccessorsOf(ras, tname, ...values); 58 function TestTypecheck(tname, ...values) { argument 62 for (let v of values) {
|
D | check_access_primitives.js | 30 function TestAccessors(tname, ...values) { argument 31 function TestAccessorsOf(o, tname, ...values) { argument 32 for (let v of values) { 39 TestAccessorsOf(pa, tname, ...values); 40 TestAccessorsOf(pas, tname, ...values);
|
/arkcompiler/runtime_core/static_core/gn/build/ |
D | cmake_configure_file.py | 36 values = {} 37 for value in args.values: 39 if key in values: 41 values[key] = val.replace('\\n', '\n') 49 if key in values: 50 return values[key] 69 if var not in values:
|
/arkcompiler/runtime_core/gn/build/ |
D | cmake_configure_file.py | 36 values = {} 37 for value in args.values: 39 if key in values: 41 values[key] = val.replace('\\n', '\n') 49 if key in values: 50 return values[key] 69 if var not in values:
|
/arkcompiler/ets_frontend/ets2panda/linter/src/utils/functions/ |
D | MergeArrayMaps.ts | 27 rhs.forEach((values, key) => { 28 if (values.length != 0) { 30 lhs.get(key)!.push(...values); 32 lhs.set(key, values);
|
/arkcompiler/ets_frontend/ets2panda/linter/test/ |
D | template_literals.ts | 30 function tag2(strings: TemplateStringsArray, ...values: any[]): void { 31 console.log(strings, values); 35 ...values: any[] 37 console.log(strings, values);
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
D | template_literals.ts | 30 function tag2(strings: TemplateStringsArray, ...values: any[]): void { 31 console.log(strings, values); 35 ...values: any[] 37 console.log(strings, values);
|
/arkcompiler/runtime_core/static_core/tests/regression/ |
D | fcmp.pa | 18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
|
/arkcompiler/runtime_core/tests/regression/ |
D | fcmp.pa | 18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.kinds_of_contexts/01.assignment_and_call_contexts/ |
D | unboxing_call.ets | 23 {%- for v in c['values'] %} 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 28 {%- for v in c['values'] %} 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 35 {%- for v in c['values'] %} 47 {%- for v in c['values'] %} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
D | boxing_call.ets | 23 {%- for v in c['values'] %} 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 28 {%- for v in c['values'] %} 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 35 {%- for v in c['values'] %} 47 {%- for v in c['values'] %} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
D | boxing2_call.ets | 23 {%- for v in c['values'] %} 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 28 {%- for v in c['values'] %} 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 35 {%- for v in c['values'] %} 47 {%- for v in c['values'] %} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
D | unboxing2_call.ets | 23 {%- for v in c['values'] %} 27 …public constructor({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }… 28 {%- for v in c['values'] %} 33 …public foo({% for v in c['values'] %}p{{loop.index}}: {{c.type}}{{ ", " if not loop.last }}{% endf… 35 {%- for v in c['values'] %} 47 {%- for v in c['values'] %} 51 …let c: A = new A({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %}); 52 return c.foo({% for v in c['values'] %}v{{loop.index}}{{ ", " if not loop.last }}{% endfor %});
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/ |
D | BasicSetTest.ets | 28 failures += test(createSetAddClearAndGetValues(), "Get Values after all values removed"); 59 let values = set.values(); 61 let result = getIteratorLen<char>(values) == 0 ? 0 : 1; 71 let values = set.values(); 73 let result = getIteratorLen<char>(values) == 3 ? 0 : 1; 83 let values = set.values(); 84 let result = getIteratorLen<char>(values) == 2 ? 0 : 1; 95 let values = set.values(); 96 let result = getIteratorLen<char>(values) == 0 ? 0 : 1;
|
/arkcompiler/runtime_core/static_core/docs/ |
D | cross-values.md | 2 `Cross-values` is a module that delivers implementation-defined constants (data structure sizes, of… 4 `Cross-values` consists of (and may refer to) the following objects: 13 3. [Generated files example](#example-of-generated-cross-values) 19 `Cross-values` are intended to provide the following features: 20 * A common interface for platform-dependent values (see [Interface](#interface)); 22 …* Changing of actual values (e.g. adding/removing new fields in data structures) will not break `c… 26 …* Depending on the toolchain, data layout may differ even on the same platform; `cross-values` are… 39 To use `cross-values`: 76 ## Example of generated cross-values 113 LOG(FATAL, COMMON) << "No cross-values generated for " << GetStringFromArch(arch); [all …]
|