| /arkcompiler/ets_runtime/ecmascript/shared_objects/ |
| D | js_shared_map.cpp | 22 void JSSharedMap::Set(JSThread *thread, const JSHandle<JSSharedMap> &map, in Set() 39 bool JSSharedMap::Delete(JSThread *thread, const JSHandle<JSSharedMap> &map, const JSHandle<JSTagge… in Delete() 53 void JSSharedMap::Clear(JSThread *thread, const JSHandle<JSSharedMap> &map) in Clear() 63 bool JSSharedMap::Has(JSThread *thread, const JSHandle<JSSharedMap> &map, JSTaggedValue key) in Has() 70 JSTaggedValue JSSharedMap::Get(JSThread *thread, const JSHandle<JSSharedMap> &map, JSTaggedValue ke… in Get() 77 uint32_t JSSharedMap::GetSize(JSThread *thread, const JSHandle<JSSharedMap> &map) in GetSize() 84 JSTaggedValue JSSharedMap::GetKey(JSThread *thread, const JSHandle<JSSharedMap> &map, uint32_t entr… in GetKey() 92 JSTaggedValue JSSharedMap::GetValue(JSThread *thread, const JSHandle<JSSharedMap> &map, uint32_t en… in GetValue()
|
| /arkcompiler/runtime_core/taihe/runtime/include/taihe/ |
| D | map.hpp | 283 struct map : map_view<K, V> { struct 288 …explicit map(std::size_t cap = 16) : map(reinterpret_cast<handle_t *>(calloc(1, sizeof(handle_t)))) in map() argument 297 map(map<K, V> &&other) noexcept : map(other.m_handle) in map() argument 302 map(map<K, V> const &other) : map(other.m_handle) in map() argument 309 map(map_view<K, V> const &other) : map(other.m_handle) in map() argument 316 map &operator=(map other) in operator =() 322 ~map() in ~map() 332 explicit map(handle_t *handle) : map_view<K, V>(handle) {} in map() function 352 struct std::hash<taihe::map<K, V>> {
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_tree_map.cpp | 24 void JSAPITreeMap::Set(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTagged… in Set() 42 JSTaggedValue JSAPITreeMap::Get(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle… in Get() 67 JSTaggedValue JSAPITreeMap::Delete(JSThread *thread, const JSHandle<JSAPITreeMap> &map, in Delete() 82 bool JSAPITreeMap::HasKey(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTag… in HasKey() 94 void JSAPITreeMap::Clear(const JSThread *thread, const JSHandle<JSAPITreeMap> &map) in Clear() 110 bool JSAPITreeMap::Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTa… in Replace()
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | container_vector.js | 26 let map = new Map(); variable 220 map.set("test vector Symbol.iterator:", res) variable 293 function elements(value, key, map) { argument
|
| D | container_stack.js | 31 let map = new Map(); variable 71 map.set("test stack Symbol.iterator:", res) variable 97 function elements(value, key, map) { argument
|
| D | container_linked_list.js | 27 let map = new Map(); variable 156 map.set("test linkedlist convertToArray:", res) variable 285 map.set("test linkedlist intertor:", res) variable 350 function elementsLinkedList(valueLinkedList, keyLinkedList, map) { argument
|
| D | utility.js | 57 export function testdProxyIterator(map, res) { argument 86 function TestForEach(value, key, map) { argument
|
| D | container_treemap.js | 30 let map = new fastmap(); variable 171 function elements(value, key, map) { argument 194 map = new fastmap(); variable
|
| D | container_arraylist.js | 31 let map = new Map(); variable 172 map.set("test arraylist replaceAllElements:", res) variable 248 function elements(value, key, map) { argument
|
| D | container_hashset.js | 26 let map = new Map(); variable 179 function elementsHashSet(valueHash, keyHash, map) { argument
|
| D | container_hashmap.js | 30 let map = new fastmap(); variable 126 function elements(value, key, map) { argument
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_treemap.cpp | 48 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(obj); in TreeMapConstructor() local 91 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Set() local 115 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Get() local 137 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Remove() local 160 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasKey() local 184 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasValue() local 206 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetFirstKey() local 227 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetLastKey() local 312 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetLowerKey() local 336 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetHigherKey() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_map.cpp | 21 void JSMap::Set(JSThread *thread, const JSHandle<JSMap> &map, const JSHandle<JSTaggedValue> &key, in Set() 33 bool JSMap::Delete(const JSThread *thread, const JSHandle<JSMap> &map, const JSHandle<JSTaggedValue… in Delete() 44 void JSMap::Clear(const JSThread *thread, const JSHandle<JSMap> &map) in Clear()
|
| D | js_map_iterator.cpp | 55 JSHandle<LinkedHashMap> map(iteratedMap); in NextInternal() local 95 LinkedHashMap *map = LinkedHashMap::Cast(iteratedMap.GetTaggedObject()); in Update() local 133 JSHandle<LinkedHashMap> map(iteratedMap); in MapIteratorToList() local
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_map_test.cpp | 43 JSHandle<JSMap> map = in CreateMap() local 53 JSMap *map = CreateMap(); in HWTEST_F_L0() local 61 JSHandle<JSMap> map(thread, CreateMap()); in HWTEST_F_L0() local 73 JSHandle<JSMap> map(thread, CreateMap()); in HWTEST_F_L0() local 98 JSHandle<JSMap> map(thread, CreateMap()); in HWTEST_F_L0() local 165 JSHandle<JSMap> map(thread, CreateMap()); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/test/moduletest/mapget/ |
| D | mapget.js | 22 let map = new Map(); variable 37 map = new Map(); variable 240 map = new Map(); variable
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_shared_map.cpp | 46 JSHandle<JSSharedMap> map = JSHandle<JSSharedMap>::Cast(obj); in Constructor() local 83 JSHandle<JSSharedMap> map(self); in Set() local 99 JSHandle<JSSharedMap> map(self); in Clear() local 115 JSHandle<JSSharedMap> map(self); in Delete() local 132 JSHandle<JSSharedMap> map(self); in Has() local 149 JSHandle<JSSharedMap> map(self); in Get() local 168 JSHandle<JSSharedMap> map(self); in ForEach() local 211 JSHandle<JSSharedMap> map(self); in GetSize() local
|
| D | builtins_map.cpp | 41 JSHandle<JSMap> map = JSHandle<JSMap>::Cast(obj); in MapConstructor() local 81 JSHandle<JSMap> map(self); in Set() local 99 JSHandle<JSMap> map(self); in Clear() local 116 JSHandle<JSMap> map(self); in Delete() local 170 JSHandle<JSMap> map(self); in ForEach() local
|
| /arkcompiler/runtime_core/libabckit/tests/ut/isa/isa_dynamic/define/ |
| D | definefieldruntime_dynamic.js | 15 let map = { variable
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_shared_map_test.cpp | 74 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 115 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 137 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 158 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 202 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 234 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 268 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 294 JSHandle<JSSharedMap> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 350 JSHandle<JSTaggedValue> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local 397 JSHandle<JSTaggedValue> map(thread, CreateSBuiltinsMap(thread)); in HWTEST_F_L0() local
|
| D | builtins_map_test.cpp | 116 JSHandle<JSMap> map(thread, CreateBuiltinsMap(thread)); in HWTEST_F_L0() local 157 JSHandle<JSMap> map(thread, CreateBuiltinsMap(thread)); in HWTEST_F_L0() local 192 JSHandle<JSMap> map(thread, CreateBuiltinsMap(thread)); in HWTEST_F_L0() local 218 JSHandle<JSMap> map(thread, CreateBuiltinsMap(thread)); in HWTEST_F_L0() local 275 JSHandle<JSTaggedValue> map(thread, CreateBuiltinsMap(thread)); in HWTEST_F_L0() local 329 JSHandle<JSTaggedValue> map(thread, CreateBuiltinsMap(thread)); in HWTEST_F_L0() local 358 JSHandle<JSTaggedValue> map(thread, CreateBuiltinsMap(thread)); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/test/aottest/forof_map_test/ |
| D | forof_map_test.ts | 47 const map = new Map([[1, 'a'], [2, 'b'], [3, 'c']]); constant
|
| /arkcompiler/ets_runtime/test/moduletest/mapforeach/ |
| D | mapforeach.js | 22 let map = new Map(); variable
|
| /arkcompiler/ets_runtime/test/aottest/pgo_builtins/ |
| D | pgo_builtins.js | 41 map.set("1", "2") variable
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/ |
| D | arkts-no-built-in-types.ts | 27 export const map = new Map<Symbol, string>(); constant
|