OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Hashmap
(Results
1 - 5
of
5
) sorted by null
/system/core/include/cutils/
hashmap.h
32
typedef struct
Hashmap
Hashmap
;
41
Hashmap
* hashmapCreate(size_t initialCapacity,
47
void hashmapFree(
Hashmap
* map);
62
void* hashmapPut(
Hashmap
* map, void* key, void* value);
68
void* hashmapGet(
Hashmap
* map, void* key);
73
bool hashmapContainsKey(
Hashmap
* map, void* key);
82
void* hashmapMemoize(
Hashmap
* map, void* key,
89
void* hashmapRemove(
Hashmap
* map, void* key);
94
size_t hashmapSize(
Hashmap
* map)
[
all
...]
/system/core/libcutils/
hashmap.c
17
#include <cutils/
hashmap
.h>
34
struct
Hashmap
{
43
Hashmap
* hashmapCreate(size_t initialCapacity,
48
Hashmap
* map = malloc(sizeof(
Hashmap
));
80
static inline int hashKey(
Hashmap
* map, void* key) {
93
size_t hashmapSize(
Hashmap
* map) {
101
static void expandIfNecessary(
Hashmap
* map) {
132
void hashmapLock(
Hashmap
* map) {
136
void hashmapUnlock(
Hashmap
* map)
[
all
...]
str_parms.c
27
#include <cutils/
hashmap
.h>
35
Hashmap
*map;
221
// For new keys,
hashmap
takes ownership of tmp_key and tmp_val.
224
// For existing keys,
hashmap
takes ownership of tmp_val.
/system/core/toolbox/
watchprops.c
7
#include <cutils/
hashmap
.h>
33
static void add_to_watchlist(
Hashmap
*watchlist, const char *name,
47
Hashmap
*watchlist = cookie;
57
Hashmap
*watchlist = cookie;
80
Hashmap
*watchlist = hashmapCreate(1024, str_hash, str_equals);
/system/core/sdcard/
sdcard.c
40
#include <cutils/
hashmap
.h>
251
Hashmap
* package_to_appid;
252
Hashmap
* appid_with_rw;
[
all
...]
Completed in 948 milliseconds