Searched refs:jsHashMap (Results 1 – 5 of 5) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_hashmap.cpp | 341 JSHandle<JSAPIHashMap> jsHashMap = JSHandle<JSAPIHashMap>::Cast(self); in Replace() local 342 … return JSTaggedValue(jsHashMap->Replace(thread, key.GetTaggedValue(), newValue.GetTaggedValue())); in Replace() 361 JSHandle<JSAPIHashMap> jsHashMap = JSHandle<JSAPIHashMap>::Cast(self); in Clear() local 362 jsHashMap->Clear(thread); in Clear() 382 JSHandle<JSAPIHashMap> jsHashMap = JSHandle<JSAPIHashMap>::Cast(self); in GetLength() local 383 return jsHashMap->GetLength(); in GetLength() 402 JSHandle<JSAPIHashMap> jsHashMap = JSHandle<JSAPIHashMap>::Cast(self); in IsEmpty() local 403 return jsHashMap->IsEmpty(); in IsEmpty()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_hashmap_iterator_test.cpp | 98 JSHandle<JSAPIHashMap> jsHashMap(thread, CreateHashMap()); in HWTEST_F_L0() local 101 jsHashMap, IterationKind::KEY_AND_VALUE); in HWTEST_F_L0()
|
| D | dump_test.cpp | 205 …JSHandle<JSAPIHashMap> jsHashMap = JSHandle<JSAPIHashMap>::Cast(factory->NewJSObjectWithInit(mapCl… in NewJSAPIHashMap() local 206 jsHashMap->SetTable(thread, TaggedHashArray::Create(thread)); in NewJSAPIHashMap() 207 jsHashMap->SetSize(0); in NewJSAPIHashMap() 208 return jsHashMap; in NewJSAPIHashMap() 1129 JSHandle<JSAPIHashMap> jsHashMap = NewJSAPIHashMap(thread, factory); in HWTEST_F_L0() local 1130 DUMP_FOR_HANDLE(jsHashMap); in HWTEST_F_L0() 1141 JSHandle<JSAPIHashMap> jsHashMap = NewJSAPIHashMap(thread, factory); in HWTEST_F_L0() local 1143 factory->NewJSAPIHashMapIterator(jsHashMap, IterationKind::KEY); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_hashmap_test.cpp | 73 JSHandle<JSAPIHashMap> jsHashMap(GetThis(argv)); in TestForEachFunc() local 74 JSAPIHashMap::Set(thread, jsHashMap, key, value); in TestForEachFunc()
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | ffi_workload.cpp | 1542 JSHandle<JSTaggedValue> jsHashMap = JSHandle<JSTaggedValue>::Cast(map); in HWTEST_F_L0() local 1543 Local<JSValueRef> tag = JSNApiHelper::ToLocal<JSValueRef>(jsHashMap); in HWTEST_F_L0() 1557 JSHandle<JSTaggedValue> jsHashMap = JSHandle<JSTaggedValue>::Cast(setHandle); in HWTEST_F_L0() local 1558 Local<JSValueRef> tag = JSNApiHelper::ToLocal<JSValueRef>(jsHashMap); in HWTEST_F_L0() 1572 JSHandle<JSTaggedValue> jsHashMap = JSHandle<JSTaggedValue>::Cast(mapHandle); in HWTEST_F_L0() local 1573 Local<JSValueRef> tag = JSNApiHelper::ToLocal<JSValueRef>(jsHashMap); in HWTEST_F_L0() 1587 JSHandle<JSTaggedValue> jsHashMap = JSHandle<JSTaggedValue>::Cast(mapHandle); in HWTEST_F_L0() local 1588 Local<JSValueRef> tag = JSNApiHelper::ToLocal<JSValueRef>(jsHashMap); in HWTEST_F_L0()
|