| /arkcompiler/ets_runtime/test/aottest/pgo_extrainfomap_expand/ |
| D | pgo_extrainfomap_expand.ts | 17 set e(a1) {} 20 set e(a2) {} 23 set e(a3) {} 26 set e(a4) {} 29 set e(a5) {} 32 set e(a6) {} 35 set e(a7) {} 38 set e(a8) {} 41 set e(a9) {} 44 set e(a10) {} [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/ |
| D | BasicSetTest.sts | 18 failures += test(createEmptySet(),"Create Empty Set"); 19 failures += test(createSetAndAdd(), "Create Set and Add single item"); 21 failures += test(createSetAddAndClear(), "Create Set add and clear it"); 22 failures += test(createSetAddAndRemove(), "Create Set add and remove some key"); 24 failures += test(createSetAndGetValues(), "Get All Values from empty set"); 25 failures += test(createSetAddAndGetValues(), "Get All Values from non empty set"); 30 failures += test(createSetAddAndCheckHasValue(),"Check set has given value"); 44 let set: Set<char> = new Set<char>; 45 set.add(c'a'); 46 set.add(c'b'); [all …]
|
| /arkcompiler/runtime_core/libabckit/include/c/isa/ |
| D | isa_dynamic.h | 272 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL. 273 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic. 274 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if Intrinsic opcode is not GETMODULENAMESPACE or 283 * @param [ in ] md - Module to be set. 284 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL. 285 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `md` is NULL. 286 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is not Intrinsic. 287 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if Intrinsic opcode is not GETMODULENAMESPACE or 289 …* @note Set `ABCKIT_STATUS_WRONG_CTX` error if corresponding `AbckitFile`s owning `inst` and `md` … 297 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `inst` is NULL. [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | container_treemap.js | 31 map.set("a", "aa"); 32 map.set("b", "bb"); 35 res.set("test get:", map.length == 2 && map.get("a") == "aa" && map.get("b") == "bb"); 37 res.set("test hasKey and hasValue:", map.hasKey("a") && map.hasKey("b") && map.hasValue("aa") && 40 map.set("c", "cc"); 42 … res.set("test getFirstKey and getLastKey:", map.getFirstKey() == "a" && map.getLastKey() == "c"); 44 …res.set("test getLowerKey and getHigherKey:", map.getLowerKey("b") == "a" && map.getLowerKey("a") … 52 res.set("test setAll:", dmap.length == 3); 54 res.set("test remove:", dmap.remove("a") == "aa" && dmap.length == 2); 56 res.set("test replace:", dmap.replace("b", "dd") && dmap.get("b") == "dd"); [all …]
|
| D | container_treeset.js | 33 let set = new fastset(); variable 34 set.add("aa"); 35 set.add("bb"); 38 map.set("test has:", set.length == 2 && set.has("aa") && set.has("bb") && !set.has("cc")); 40 set.add("cc"); 42 …map.set("test getFirstKey and getLastKey:", set.getFirstValue() == "aa" && set.getLastValue() == "… 44 map.set("test getLowerValue and getHigherValue", set.getLowerValue("bb") == "aa" && 45 set.getLowerValue("aa") == undefined && set.getHigherValue("bb") == "cc" && 46 set.getHigherValue("cc") == undefined); 49 let iteratorSetValues = set.values(); [all …]
|
| D | container_hashset.js | 27 let set = new fastset(); variable 28 set.add("aa"); 29 set.add("bb"); 32 map.set("test has:", set.length == 2 && set.has("aa") && set.has("bb") && !set.has("cc")); 34 set.add("cc"); 37 let iteratorSetValues = set.values(); 38 …map.set("test values:", iteratorSetValues.next().value == "aa" && iteratorSetValues.next().value =… 41 let iteratorSetEntries = set.entries(); 44 map.set("test entries1:", iteratorSetEntries.next().value != undefined); 45 map.set("test entries2:", iteratorSetEntries.next().value == undefined); [all …]
|
| D | container_lightweightmap.js | 32 res.set("test isEmpty:", proxy.isEmpty()); 33 proxy.set("a", "aa"); 34 proxy.set("b", "bb"); 37 res.set("test get:", proxy.length == 2 && proxy.get("a") == "aa" && proxy.get("b") == "bb"); 39 …res.set("test hasKey and hasValue:", proxy.hasKey("a") && proxy.hasKey("b") && proxy.hasValue("aa"… 42 proxy.set("c", "cc"); 44 …res.set("test getIndexOfKey and getIndexOfValue:", proxy.getIndexOfKey("a") === 0 && proxy.getInde… 46 res.set("test getKeyAt-1:", proxy.getKeyAt(1) == "b"); 47 res.set("test getKeyAt-2:", proxy.getKeyAt(Math.floor(1.3)) == "b"); 54 res.set("test forEach" + key, flag) [all …]
|
| /arkcompiler/ets_frontend/arkguard/src/utils/ |
| D | CommonCollections.ts | 25 export let reservedProperties: Set<string> = new Set(); 29 // it is necessary to prevent duplication with the names in this set. 30 export let globalMangledNamesInCache: Set<string> = new Set(); 45 export let reservedSdkApiForProp: Set<string> = new Set(); 46 export let reservedSdkApiForGlobal: Set<string> = new Set(); 47 export let reservedSdkApiForLocal: Set<string> = new Set(); 48 export let reservedStruct: Set<string> = new Set(); 49 export let reservedLangForProperty: Set<string> = new Set(); 52 …export let reservedLangForTopLevel: Set<string> = new Set(['__global', 'default']); // Will not ad… 53 export let reservedExportName: Set<string> = new Set(); [all …]
|
| /arkcompiler/runtime_core/cmake/toolchain/ |
| D | cross-ohos-aarch64.cmake | 14 set(TOOLCHAIN_CLANG_ROOT "" CACHE STRING "Path to clang-<version> directory") 15 set(TOOLCHAIN_SYSROOT "" CACHE STRING "Path to sysroot") 17 set(PANDA_TRIPLET aarch64-linux-ohos) 18 set(PANDA_SYSROOT ${TOOLCHAIN_SYSROOT}) 20 set(CMAKE_SYSTEM_NAME OHOS) 21 set(CMAKE_SYSTEM_PROCESSOR aarch64) 22 set(CMAKE_PREFIX_PATH ${TOOLCHAIN_SYSROOT}) 23 set(CMAKE_C_COMPILER_TARGET ${PANDA_TRIPLET}) 24 set(CMAKE_CXX_COMPILER_TARGET ${PANDA_TRIPLET}) 25 set(CMAKE_ASM_COMPILER_TARGET ${PANDA_TRIPLET}) [all …]
|
| /arkcompiler/runtime_core/static_core/cmake/toolchain/ |
| D | cross-ohos-musl-aarch64.cmake | 17 set(PANDA_TRIPLET aarch64-linux-ohos) 18 set(PANDA_SYSROOT ${TOOLCHAIN_SYSROOT}) 20 set(CMAKE_SYSTEM_NAME OHOS) 21 set(CMAKE_SYSTEM_PROCESSOR aarch64) 22 set(CMAKE_PREFIX_PATH ${TOOLCHAIN_SYSROOT}) 23 set(CMAKE_C_COMPILER_TARGET ${PANDA_TRIPLET}) 24 set(CMAKE_CXX_COMPILER_TARGET ${PANDA_TRIPLET}) 25 set(CMAKE_ASM_COMPILER_TARGET ${PANDA_TRIPLET}) 30 # Prevent failures if TOOLCHAIN_CLANG_ROOT is not set this time but still fail 33 set(CMAKE_AR "/bin/false" CACHE FILEPATH "") [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Add/ |
| D | builtinSetAdd copy.ts | 43 let mySet = new Set(); 47 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 48 //: [object Set] 52 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd 57 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 61 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd 66 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 70 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd 75 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 79 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd [all …]
|
| D | builtinSetAdd.ts | 43 let mySet = new Set(); 47 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 48 //: [object Set] 52 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd 57 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 61 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd 66 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 70 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd 75 //aot: [trace] aot inline builtin: Set.add, caller function name:func_main_0@builtinSetAdd 79 //aot: [trace] aot inline builtin: Set.has, caller function name:func_main_0@builtinSetAdd [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Set.sts | 20 * Checks if a value is in the Set 22 * @param v the value to find in the Set 24 * @returns true if the value is in the Set 30 * Returns number of unique elements in the Set 32 * @returns number of unique elements in the Set 37 * Executes a provided function once per each value in the Set object, in insertion order 44 * Executes a provided function once per each value in the Set object, in insertion order 51 * Executes a provided function once per each value in the Set object, in insertion order 58 * Executes a provided function once per each value in the Set object, in insertion order 62 forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void): void; [all …]
|
| /arkcompiler/ets_runtime/test/aottest/forof_set_test/ |
| D | forof_set_test.ts | 21 // Test basic for of set.entries() 23 let set = new Set([1, 2]); 24 for (let ele of set) { 29 // Test basic for of set.keys() 31 let set= new Set(['a', 'b', 2]); 32 for (let ele of set.keys()) { 37 // Test basic for of set.values() 39 let set = new Set(['a', 1, 'b', 2]); 40 for (let ele of set.values()) { 45 // Test update set [all …]
|
| /arkcompiler/runtime_core/libabckit/src/include_v2/c/isa/ |
| D | isa_static.h | 140 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 149 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 150 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitCoreClass *klass is NULL. 158 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 167 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 175 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 185 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 194 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *inst is NULL. 204 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitGraph *graph is NULL. 205 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if AbckitInst *input0 is NULL. [all …]
|
| /arkcompiler/runtime_core/cmake/ |
| D | PandaAssembly.cmake | 23 set(prefix ARG) 24 set(noValues) 25 set(singleValues TARGET SOURCE INDIR OUTDIR TARGETNAME) 26 set(multiValues) 40 set(source_file_dir "${CMAKE_CURRENT_SOURCE_DIR}") 43 set(source_file_dir "${ARG_INDIR}") 46 set(binary_file_dir "${CMAKE_CURRENT_BINARY_DIR}") 49 set(binary_file_dir "${ARG_OUTDIR}") 52 set(target_file_name "${ARG_TARGET}") 55 set(target_file_name "${ARG_TARGETNAME}") [all …]
|
| /arkcompiler/runtime_core/static_core/cmake/ |
| D | PandaAssembly.cmake | 23 set(prefix ARG) 24 set(noValues) 25 set(singleValues TARGET SOURCE INDIR OUTDIR TARGETNAME) 26 set(multiValues) 40 set(source_file_dir "${CMAKE_CURRENT_SOURCE_DIR}") 43 set(source_file_dir "${ARG_INDIR}") 46 set(binary_file_dir "${CMAKE_CURRENT_BINARY_DIR}") 49 set(binary_file_dir "${ARG_OUTDIR}") 52 set(target_file_name "${ARG_TARGET}") 55 set(target_file_name "${ARG_TARGETNAME}") [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedset/ |
| D | expect_output.txt | 15 set size is 5 31 set key[forEach]:key:0, value:0 32 set key[forEach]:key:1, value:1 33 set key[forEach]:key:2, value:2 34 set key[forEach]:key:3, value:3 35 set key[forEach]:key:4, value:4 37 set key[Symbol.iterator]:0 38 set key[Symbol.iterator]:1 39 set key[Symbol.iterator]:2 40 set key[Symbol.iterator]:3 [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/ |
| D | CMakeLists.txt | 18 set(CMAKE_VERBOSE_MAKEFILE ON) 25 # 04.12.20 set to 16 to check behavior 26 set(PANDA_CTS_JOBS_NUMBER 16) 28 set(PANDA_CTS_JOBS_NUMBER 16) 32 set(CTS_TSAN_TEST_SELECTION "--include-tag tsan") 34 # Set timeout for the entire CTS test suite 38 set(PANDA_CTS_TESTING_TIMEOUT 6000) 40 set(PANDA_CTS_TESTING_TIMEOUT 4000) 44 # Set timeout for each single test 48 set(PANDA_CTS_TEST_TIMEOUT 300) # 300 seconds [all …]
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/ |
| D | instruction.h | 102 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `bool(*this)` results in `false` 109 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `bool(*this)` results in `false` 110 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `Instruction` is not a constant instruction. 111 … * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `Instruction` is not I64 constant instruction. 142 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `bool(*this)` results in `false` 162 * @param [ in ] index - Index of input to be set. 163 * @param [ in ] input - Input instruction to be set. 177 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `bool(*this)` results in `false` 184 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `Instruction` is false. 185 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `Instruction` has no LiteralArray argument. [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/ |
| D | CMakeLists.txt | 18 set(CMAKE_VERBOSE_MAKEFILE ON) 25 # 04.12.20 set to 16 to check behavior 26 set(PANDA_CTS_JOBS_NUMBER 16) 28 set(PANDA_CTS_JOBS_NUMBER 16) 32 set(CTS_TSAN_TEST_SELECTION "--include-tag tsan") 34 # Set timeout for the entire CTS test suite 38 set(PANDA_CTS_TESTING_TIMEOUT 6000) 40 set(PANDA_CTS_TESTING_TIMEOUT 4000) 44 # Set timeout for each single test 48 set(PANDA_CTS_TEST_TIMEOUT 300) # 300 seconds [all …]
|
| /arkcompiler/runtime_core/libabckit/include/c/ |
| D | ir_core.h | 75 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. 83 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. 95 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. 103 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. 111 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. 123 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. 124 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `cb` is NULL. 133 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. 134 …* @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if there is no basic block with given `id` in `grap… 143 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if `graph` is NULL. [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/ts/ |
| D | HashSetTest.ts | 16 const set = new Set<string>(); constant 17 set.add('Apple'); 18 set.add('Banana'); 19 set.add('Cherry'); 21 // Test if the set contains a certain element 22 if (set.has('Banana')) { 23 console.log('The set contains the element \'Banana\'.'); 26 // Test removing an element from the set 27 set.delete('Banana'); 28 if (!set.has('Banana')) { [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/js/ |
| D | HashSetTest.js | 16 const set = new Set(); constant 17 set.add('Apple'); 18 set.add('Banana'); 19 set.add('Cherry'); 21 // Test if the set contains a certain element 22 if (set.has('Banana')) { 23 console.log('The set contains the element \'Banana\'.'); 26 // Test removing an element from the set 27 set.delete('Banana'); 28 if (!set.has('Banana')) { [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | free_object_list.cpp | 147 auto set = region->GetFreeObjectSet(type); in FreeImpl() local 148 if (set == nullptr) { // LCOV_EXCL_BR_LINE in FreeImpl() 149 LOG_FULL(FATAL) << "The set of region is nullptr"; in FreeImpl() 152 set->Free(start, size); in FreeImpl() 155 if (set->isAdded_ == 0) { in FreeImpl() 156 AddSet(set); in FreeImpl() 184 EnumerateSets([](FreeObjectSet<T> *set) { set->Rebuild(); }); in Rebuild() argument 197 bool FreeObjectList<T>::MatchFreeObjectInSet(FreeObjectSet<T> *set, size_t size) in MatchFreeObjectInSet() argument 199 if (set == nullptr || set->Empty()) { in MatchFreeObjectInSet() 210 object = set->LookupSmallFreeObject(size); in MatchFreeObjectInSet() [all …]
|