Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 185) sorted by relevance

12345678

/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_map.cpp22 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/
Dmap.hpp283 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/
Djs_api_tree_map.cpp24 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/
Dcontainer_vector.js26 let map = new Map(); variable
220 map.set("test vector Symbol.iterator:", res) variable
293 function elements(value, key, map) { argument
Dcontainer_stack.js31 let map = new Map(); variable
71 map.set("test stack Symbol.iterator:", res) variable
97 function elements(value, key, map) { argument
Dcontainer_linked_list.js27 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
Dutility.js57 export function testdProxyIterator(map, res) { argument
86 function TestForEach(value, key, map) { argument
Dcontainer_treemap.js30 let map = new fastmap(); variable
171 function elements(value, key, map) { argument
194 map = new fastmap(); variable
Dcontainer_arraylist.js31 let map = new Map(); variable
172 map.set("test arraylist replaceAllElements:", res) variable
248 function elements(value, key, map) { argument
Dcontainer_hashset.js26 let map = new Map(); variable
179 function elementsHashSet(valueHash, keyHash, map) { argument
Dcontainer_hashmap.js30 let map = new fastmap(); variable
126 function elements(value, key, map) { argument
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_treemap.cpp48 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/
Djs_map.cpp21 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()
Djs_map_iterator.cpp55 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/
Djs_map_test.cpp43 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/
Dmapget.js22 let map = new Map(); variable
37 map = new Map(); variable
240 map = new Map(); variable
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_shared_map.cpp46 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
Dbuiltins_map.cpp41 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/
Ddefinefieldruntime_dynamic.js15 let map = { variable
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_shared_map_test.cpp74 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
Dbuiltins_map_test.cpp116 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/
Dforof_map_test.ts47 const map = new Map([[1, 'a'], [2, 'b'], [3, 'c']]); constant
/arkcompiler/ets_runtime/test/moduletest/mapforeach/
Dmapforeach.js22 let map = new Map(); variable
/arkcompiler/ets_runtime/test/aottest/pgo_builtins/
Dpgo_builtins.js41 map.set("1", "2") variable
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/
Darkts-no-built-in-types.ts27 export const map = new Map<Symbol, string>(); constant

12345678