Home
last modified time | relevance | path

Searched refs:hashMap (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-hashmap.md130 hashMap.set("squirrel", 123);
169 hashMap.set("squirrel", 123);
208 hashMap.set("squirrel", 123);
209 hashMap.set("sparrow", 356);
244 hashMap.set("sparrow", 356);
247 hashMap.setAll(newHashMap);
272 | Object | 返回添加后的hashMap。 |
326 hashMap.set("sparrow", 356);
355 hashMap.clear();
389 let iter = hashMap.keys();
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-hashmap.md130 hashMap.set("squirrel", 123);
169 hashMap.set("squirrel", 123);
208 hashMap.set("squirrel", 123);
209 hashMap.set("sparrow", 356);
244 hashMap.set("sparrow", 356);
247 hashMap.setAll(newHashMap);
326 hashMap.set("sparrow", 356);
354 hashMap.set("sparrow", 356);
355 hashMap.clear();
389 let iter = hashMap.keys();
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_pcb.c64 pcb->unackList.hashMap = in FillpInitSendpcbUnackList()
73 HLIST_INIT(&pcb->unackList.hashMap[i]); in FillpInitSendpcbUnackList()
100 pcb->pktSeqMap.hashMap = in FillpInitSendpcbPktSeqMap()
106 pcb->unackList.hashMap = FILLP_NULL_PTR; in FillpInitSendpcbPktSeqMap()
113 HLIST_INIT(&pcb->pktSeqMap.hashMap[i]); in FillpInitSendpcbPktSeqMap()
193 pcb->unackList.hashMap = FILLP_NULL_PTR; in InitSimplePcbPar()
573 struct Hlist *hashMap = &pcb->unackList.hashMap[index]; in FillpPcbFreeSendItemArray() local
574 node = HLIST_FIRST(hashMap); in FillpPcbFreeSendItemArray()
578 HlistDelete(hashMap, &item->node); in FillpPcbFreeSendItemArray()
604 pcb->unackList.hashMap = FILLP_NULL_PTR; in FillpPcbRemoveSend()
[all …]
H A Dfillp_output.c329 if (FillpAddtoListBySeqNum(&pcb->send.unackList.hashMap[unackIndex], item) != ERR_OK) { in FillpAddToUnackList()
346 … struct Hlist *list = &pcb->send.pktSeqMap.hashMap[item->pktNum & pcb->send.pktSeqMap.hashModSize]; in FillpAddToPktSeqHash()
H A Dfillp_common.c45 struct Hlist *list = &mapList->hashMap[hashIndex]; in FillpDelPktSeqHashItem()
157 struct Hlist *list = &unackList->hashMap[hashIndex]; in FillpMoveUnackToUnrecvAll()
325 struct Hlist *list = pcb->send.unackList.hashMap; in FillpAckUnackList()
H A Dfillp_flow_control.c140 list = &mapList->hashMap[mapLevel]; in FillpAppLimitedStatus()
H A Dfillp_input.c358 struct Hlist *list = &mapList->hashMap[hashIndex]; in FillpGetSeqFromPktSeqHash()
/ohos5.0/base/startup/init/services/init/
H A Dinit_group_manager.c215 for (size_t i = 0; i < ARRAY_LENGTH(g_initWorkspace.hashMap); i++) { in InitServiceSpace()
216 int ret = OH_HashMapCreate(&g_initWorkspace.hashMap[i], &info); in InitServiceSpace()
282 OH_HashMapAdd(g_initWorkspace.hashMap[type], &groupNode->hashNode); in AddGroupNode()
292 HashNode *node = OH_HashMapGet(g_initWorkspace.hashMap[type], name); in GetGroupNode()
314 OH_HashMapRemove(g_initWorkspace.hashMap[type], name); in DelGroupNode()
338 HashNode *node = OH_HashMapGet(g_initWorkspace.hashMap[type], name); in CheckNodeValid()
358 return g_initWorkspace.hashMap[type]; in GetGroupHashMap()
366 for (size_t i = 0; i < ARRAY_LENGTH(g_initWorkspace.hashMap); i++) { in CloseServiceSpace()
367 if (g_initWorkspace.hashMap[i] != NULL) { in CloseServiceSpace()
368 HashMapHandle handle = g_initWorkspace.hashMap[i]; in CloseServiceSpace()
[all …]
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DStringPool.java49 public StringPool(HashMap<String, Integer> hashMap, int offset) { in StringPool() argument
50 size = hashMap.size(); in StringPool()
51 for (Map.Entry<String, Integer> next : hashMap.entrySet()) { in StringPool()
/ohos5.0/commonlibrary/ets_utils/
H A DREADME.md3017 hashMap.set(1, "A");
3018 hashMap.set(2, "B");
3025 hashMap.set(1, "A");
3026 hashMap.set(2, "B");
3027 hashMap.set(3, "C");
3034 hashMap.set(1, "A");
3035 hashMap.set(2, "B");
3036 hashMap.set(3, "C");
3043 hashMap.set(1, "A");
3044 hashMap.set(2, "B");
[all …]
/ohos5.0/base/startup/init/services/init/include/
H A Dinit_group_manager.h67 HashMapHandle hashMap[NODE_TYPE_GROUPS]; member
/ohos5.0/base/startup/init/services/param/trigger/
H A Dtrigger_manager.c109 ret = OH_HashMapAdd(GetTriggerWorkSpace()->hashMap, &node->hashNode); in AddJobNode_()
160 OH_HashMapRemove(workSpace->hashMap, jobNode->name); in DelJobTrigger_()
294 HashNode *node = OH_HashMapGet(workSpace->hashMap, triggerName); in GetTriggerByName()
648 int ret = OH_HashMapCreate((HashMapHandle *)&workSpace->hashMap, &info); in InitTriggerHead()
H A Dtrigger_processor.c336 OH_HashMapDestory(g_triggerWorkSpace.hashMap, NULL); in CloseTriggerWorkSpace()
337 g_triggerWorkSpace.hashMap = NULL; in CloseTriggerWorkSpace()
/ohos5.0/base/startup/init/services/param/include/
H A Dtrigger_manager.h163 HashMapHandle hashMap; member
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_pcb.h46 struct Hlist *hashMap; member