Lines Matching full:self
30 HashMap **self)
35 if (self == NULL)
60 *self = (HashMap*) impl;
64 ESR_ReturnCode HashMapCreate(HashMap** self)
66 return HashMapCreate_Internal(NULL, self);
69 ESR_ReturnCode HashMapCreateBins(size_t nbBins, HashMap** self)
76 return HashMapCreate_Internal(&hashArgs, self);
79 ESR_ReturnCode HashMap_Put(HashMap* self, const LCHAR* key, void* value)
81 HashMapImpl* impl = (HashMapImpl*) self;
129 ESR_ReturnCode HashMap_Remove(HashMap* self, const LCHAR* key)
131 return HashMap_Remove_Internal((HashMapImpl*) self, key, ESR_FALSE);
134 ESR_ReturnCode HashMap_RemoveAndFree(HashMap* self, const LCHAR* key)
136 return HashMap_Remove_Internal((HashMapImpl*) self, key, ESR_TRUE);
167 ESR_ReturnCode HashMap_RemoveAll(HashMap* self)
169 return HashMap_RemoveAll_Internal((HashMapImpl *) self, ESR_FALSE);
172 ESR_ReturnCode HashMap_RemoveAndFreeAll(HashMap* self)
174 return HashMap_RemoveAll_Internal((HashMapImpl *) self, ESR_TRUE);
177 ESR_ReturnCode HashMap_ContainsKey(HashMap* self, const LCHAR* key, ESR_BOOL* exists)
179 HashMapImpl* impl = (HashMapImpl*) self;
188 ESR_ReturnCode HashMap_Get(HashMap* self, const LCHAR* key, void** value)
190 HashMapImpl* impl = (HashMapImpl*) self;
223 ESR_ReturnCode HashMap_GetKeyAtIndex(HashMap* self, const size_t index, LCHAR** key)
225 HashMapImpl* impl = (HashMapImpl*) self;
238 ESR_ReturnCode HashMap_GetValueAtIndex(HashMap* self, const size_t index, void** value)
240 HashMapImpl* impl = (HashMapImpl*) self;
253 ESR_ReturnCode HashMap_RemoveAtIndex(HashMap* self, const size_t index)
255 HashMapImpl* impl = (HashMapImpl*) self;
274 ESR_ReturnCode HashMap_GetSize(HashMap* self, size_t* size)
276 HashMapImpl* impl = (HashMapImpl*) self;
280 ESR_ReturnCode HashMap_Destroy(HashMap* self)
282 HashMapImpl* impl = (HashMapImpl*) self;
285 if ((rc = self->removeAll(self)) != ESR_SUCCESS)