| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ArrayEveryTest.ets | 17 const suite = new ArkTestsuite('Array every tests for SDK') 18 suite.addTest('Array.every testBasic ', testBasic) 19 suite.addTest('Array.every testEmptyArray ', testEmptyArray) 20 suite.addTest('Array.every testModifyDuringIteration ', testModifyDuringIteration) 21 suite.addTest('Array.every testObjectArray ', testObjectArray) 22 suite.addTest('Array.every testEarlyTermination ', testEarlyTermination) 23 suite.addTest('Array.every testCallbackError ', testCallbackError) 24 suite.addTest('Array.every testImpureCallback ', testImpureCallback) 31 const result1 = arr.every(x => x < 10) 33 const result2 = arr.every(x => x % 2 === 0) [all …]
|
| D | ArrayTest3.ets | 64 if (arr.every(fnTrue) == false) { return fail; } 68 if (arr.every(fnTrue) == false) { return fail; } 73 if (arr.every(fnFalse) == true) { return fail; } 84 if (arr.every(fnTrue) == false) { return fail; } 88 if (arr.every(fnTrue) == false) { return fail; } 93 if (arr.every(fnFalse) == true) { return fail; } 104 if (arr.every(fnTrue) == false) { return fail; } 108 if (arr.every(fnTrue) == false) { return fail; } 113 if (arr.every(fnFalse) == true) { return fail; }
|
| /arkcompiler/ets_runtime/test/moduletest/arrayEvery/ |
| D | arrayEvery.js | 24 const result = [1, 2, 3, 4].every((x, i, arr) => { 33 const result = [1, 2, -3, 4].every((x, i, arr) => { 42 const result = [].every((x, i, arr) => { 51 const result = [10].every((x, i, arr) => { 60 const result = [, , 3, , 5].every((x, i, arr) => { 69 const result = [1, undefined, 3].every((x, i, arr) => { 78 const result = [null, 1, 2].every((x, i, arr) => { 87 const result = [NaN, 1, 2].every((x, i, arr) => { 97 const result = arr.every((x, i, arrRef) => { 108 const result = arr.every((x, i, arrRef) => { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/array_js_suites/ |
| D | test_every.js | 38 ASSERT_TRUE(arr.every(fnTrue)); 39 ASSERT_TRUE(arr.every(fn1True)); 46 ASSERT_FALSE(arr.every(fnFalse)); 47 ASSERT_FALSE(arr.every(fn1False));
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | nullableGenericSignature.ets | 17 every(fn: (v: T) => boolean): boolean { 27 return x.every((item: Object): boolean => {
|
| /arkcompiler/runtime_core/taihe/test/ani_typedarray/user/ |
| D | main.ets | 110 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 118 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 126 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 134 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 142 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 150 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 158 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 166 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 174 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… 182 …let arraysAreEqual = arr.length === res.length && arr.every((value, index) => value === res[index]… [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/src/ |
| D | script_module.rb | 21 def paramGroupsConcat(*every) argument 24 every.each { |e|
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/ets_es_checked/generate-es-checked/src/ |
| D | script_module.rb | 21 def paramGroupsConcat(*every) argument 24 every.each { |e|
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_core_typeduarray_methods.j2 | 23 failures += check(testTypedArrayEvery(), "Test .every method") 90 const isTrueEverywhere = array.every(() => true) 91 … failures += check(boolToResult(isTrueEverywhere == expected[0]), `[${array}].every(() => true)`) 93 const isFalseEverywhere = array.every(() => false) 94 … failures += check(boolToResult(isFalseEverywhere == expected[1]), `[${array}].every(() => false)`) 96 const isPositive = array.every((x: {{.item.type}}) => x > {{.item.create}}(0)) 97 failures += check(boolToResult(isPositive == expected[2]), `[${array}].every(x > 0)`) 99 const isNegative = array.every((x: {{.item.type}}) => x < {{.item.create}}(0)) 100 failures += check(boolToResult(isNegative == expected[3]), `[${array}].every(x < 0)`) 102 const isValueEqualToIndexPlus1 = array.every( [all …]
|
| D | test_core_typedarray_methods.j2 | 39 failures += check(testTypedArrayEvery(), "Test .every method") 464 const isTrueEverywhere = array.every(() => true) 465 … failures += check(boolToResult(isTrueEverywhere == expected[0]), `[${array}].every(() => true)`) 467 const isFalseEverywhere = array.every(() => false) 468 … failures += check(boolToResult(isFalseEverywhere == expected[1]), `[${array}].every(() => false)`) 470 const isPositive = array.every((x: {{.item.type}}) => x > {{.item.create}}(0)) 471 failures += check(boolToResult(isPositive == expected[2]), `[${array}].every(x > 0)`) 473 const isNegative = array.every((x: {{.item.type}}) => x < {{.item.create}}(0)) 474 failures += check(boolToResult(isNegative == expected[3]), `[${array}].every(x < 0)`) 476 const isValueEqualToIndexPlus1 = array.every( [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | g1gc_fullgc_test.cpp | 122 void MakeObjectsAlive(const ObjVec &objects, int every = 1); 123 void MakeObjectsPermAlive(const ObjVec &objects, int every = 1); 124 void MakeObjectsGarbage(size_t startIdx, size_t afterEndIdx, int every = 1); 213 void G1GCFullGCTest::MakeObjectsAlive(const ObjVec &objects, int every) in MakeObjectsAlive() argument 215 int cnt = every; in MakeObjectsAlive() 224 cnt = every; in MakeObjectsAlive() 228 void G1GCFullGCTest::MakeObjectsGarbage(size_t startIdx, size_t afterEndIdx, int every) in MakeObjectsGarbage() argument 230 int cnt = every; in MakeObjectsGarbage() 238 cnt = every; in MakeObjectsGarbage() 242 void G1GCFullGCTest::MakeObjectsPermAlive(const ObjVec &objects, int every) in MakeObjectsPermAlive() argument [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/01.subtyping/03.subtyping_for_union_types/ |
| D | negative.params.yaml | 18 there is at least one type Vj (i in 1..m) for every type Ui (i in 1..n), i.e., Ui 26 there is at least one type Vj (i in 1..m) for every type Ui (i in 1..n), i.e., Ui
|
| D | positive.params.yaml | 18 there is at least one type Vj (i in 1..m) for every type Ui (i in 1..n), i.e., Ui 26 there is at least one type Vj (i in 1..m) for every type Ui (i in 1..n), i.e., Ui
|
| /arkcompiler/ets_frontend/test262/ |
| D | ignored-test262-fastverify-x64-jit.txt | 13 test262/data/test/built-ins/TypedArray/prototype/every/callbackfn-not-callable-throws.js 19 test262/data/test/built-ins/TypedArray/prototype/some/returns-false-if-every-cb-returns-false.js
|
| D | sendable_tests.txt | 453 sendable/builtins/Array/prototype/every/15.4.4.16-0-1.js 454 sendable/builtins/Array/prototype/every/15.4.4.16-4-12.js 455 sendable/builtins/Array/prototype/every/15.4.4.16-4-1.js 456 sendable/builtins/Array/prototype/every/15.4.4.16-4-3.js 457 sendable/builtins/Array/prototype/every/15.4.4.16-4-4.js 458 sendable/builtins/Array/prototype/every/15.4.4.16-4-5.js 459 sendable/builtins/Array/prototype/every/15.4.4.16-4-6.js 460 sendable/builtins/Array/prototype/every/15.4.4.16-4-7.js 461 sendable/builtins/Array/prototype/every/15.4.4.16-5-10.js 462 sendable/builtins/Array/prototype/every/15.4.4.16-5-11.js [all …]
|
| D | es2015_tests.txt | 255 built-ins/Array/prototype/every/15.4.4.16-0-1.js 256 built-ins/Array/prototype/every/15.4.4.16-1-1.js 257 built-ins/Array/prototype/every/15.4.4.16-1-10.js 258 built-ins/Array/prototype/every/15.4.4.16-1-11.js 259 built-ins/Array/prototype/every/15.4.4.16-1-12.js 260 built-ins/Array/prototype/every/15.4.4.16-1-13.js 261 built-ins/Array/prototype/every/15.4.4.16-1-14.js 262 built-ins/Array/prototype/every/15.4.4.16-1-15.js 263 built-ins/Array/prototype/every/15.4.4.16-1-2.js 264 built-ins/Array/prototype/every/15.4.4.16-1-3.js [all …]
|
| /arkcompiler/runtime_core/static_core/docs/bc_verification/ |
| D | types_n_values.md | 35 …pes, say `A()` and `B()` related as `A() <: B()`, i.e. `A()` is the subtype of `B()`, then in every 39 `A() <: A()` for every type in the type universe. 76 So for every type `Bot <: T <: Top`
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | types_n_values.md | 35 …pes, say `A()` and `B()` related as `A() <: B()`, i.e. `A()` is the subtype of `B()`, then in every 39 `A() <: A()` for every type in the type universe. 76 So for every type `Bot <: T <: Top`
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/ |
| D | interop.readme.md | 26 Within this folder, every benchmark suite is put into a subdirectory with a related name. This fold… 78 This method is called every benchmark iteration and basically IS the iteration. 85 …ar class (opposed to timing them externally). Since that, **please ensure every `test()` call is s…
|
| /arkcompiler/ets_runtime/test/aottest/builtins_array/ |
| D | builtins_array.ts | 86 function every() { function 90 array.every(condition); 152 every();
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/debugger/ |
| D | breakpoint_base.h | 73 * @brief Applies function to every breakpoint location 74 * @param[in] func function to apply to every breakpoint
|
| /arkcompiler/toolchain/tooling/static/debugger/ |
| D | breakpoint_base.h | 73 * @brief Applies function to every breakpoint location 74 * @param[in] func function to apply to every breakpoint
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/ |
| D | array_every.ts | 20 let arr1 = arr.every(
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
| D | build_all.bat | 23 echo all pdf files are in appropriate 'build' sub-folder for every document
|
| /arkcompiler/runtime_core/docs/ |
| D | debugger-vscode-communication.md | 19 * We create a test client every 100 milliseconds to check is socket ready for a debug session
|