Lines Matching refs:hash_item
64 HashKey* hash_item = _hash_map->HashGetFirst(); in ~MsgBuffPool() local
65 while (hash_item) in ~MsgBuffPool()
67 _hash_map->HashRemove(hash_item); in ~MsgBuffPool()
68 msg_map = dynamic_cast<MsgBufMap*>(hash_item); in ~MsgBuffPool()
71 hash_item = _hash_map->HashGetFirst(); in ~MsgBuffPool()
87 HashKey* hash_item = _hash_map->HashFind(&msg_key); in GetMsgBuf() local
88 if (hash_item) { in GetMsgBuf()
89 msg_map = (MsgBufMap*)hash_item->GetDataPtr(); in GetMsgBuf()
93 MTLOG_ERROR("Hash item: %p, msg_map: %p impossible, clean it", hash_item, msg_map); in GetMsgBuf()
94 _hash_map->HashRemove(hash_item); in GetMsgBuf()
95 delete hash_item; in GetMsgBuf()
121 HashKey* hash_item = _hash_map->HashFind(&msg_key); in FreeMsgBuf() local
122 if (hash_item) { in FreeMsgBuf()
123 msg_map = (MsgBufMap*)hash_item->GetDataPtr(); in FreeMsgBuf()
125 if (!hash_item || !msg_map) { in FreeMsgBuf()