• Home
  • Raw
  • Download

Lines Matching full:map

49     // Set map’s internal slot with a new empty List.  in TreeMapConstructor()
50 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(obj); in TreeMapConstructor() local
52 map->SetTreeMap(thread, internal); in TreeMapConstructor()
57 return map.GetTaggedValue(); in TreeMapConstructor()
68 return map.GetTaggedValue(); in TreeMapConstructor()
78 // get and check this map in Set()
92 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Set() local
93 JSAPITreeMap::Set(thread, map, key, value); in Set()
95 return map.GetTaggedValue(); in Set()
104 // get and check this map in Get()
116 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Get() local
118 return JSAPITreeMap::Get(thread, map, key); in Get()
127 // get and check this map in Remove()
138 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Remove() local
140 return JSAPITreeMap::Delete(thread, map, key); in Remove()
148 // get and check this map in HasKey()
161 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasKey() local
163 bool flag = JSAPITreeMap::HasKey(thread, JSHandle<JSAPITreeMap>::Cast(map), key); in HasKey()
173 // get and check this map in HasValue()
185 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasValue() local
186 bool flag = map->HasValue(thread, GetCallArg(argv, 0)); in HasValue()
195 // get and check this map in GetFirstKey()
207 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetFirstKey() local
208 return TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())->GetFirstKey(); in GetFirstKey()
216 // get and check this map in GetLastKey()
228 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetLastKey() local
229 return TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())->GetLastKey(); in GetLastKey()
237 // get and check this map in SetAll()
256 … "The type of \"map\" must be TreeMap. Received value is: " + ConvertToString(*result); in SetAll()
277 // get and check this map in Clear()
298 // get and check this map in GetLowerKey()
310 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetLowerKey() local
313 JSHandle<TaggedTreeMap> tmap(thread, map->GetTreeMap()); in GetLowerKey()
322 // get and check this map in GetHigherKey()
334 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetHigherKey() local
337 JSHandle<TaggedTreeMap> tmap(thread, map->GetTreeMap()); in GetHigherKey()
346 // get and check this map in Replace()
358 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Replace() local
362 bool success = JSAPITreeMap::Replace(thread, map, key, value); in Replace()
463 // get and check this map in GetLength()
483 // get and check this map in IsEmpty()
494 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in IsEmpty() local
495 return GetTaggedBoolean(map->GetSize() == 0); in IsEmpty()