Home
last modified time | relevance | path

Searched refs:ptrmap (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/
Dptrmap.c36 struct ptrmap { struct
37 struct ptrmap *next; argument
42 DECLARE_ALLOCATOR(ptrmap); argument
43 ALLOCATOR(ptrmap, "ptrmap");
45 void __ptrmap_add(struct ptrmap **mapp, void *key, void *val) in __ptrmap_add()
47 struct ptrmap *head = *mapp; in __ptrmap_add()
48 struct ptrmap *newmap; in __ptrmap_add()
49 struct ptrmap *map; in __ptrmap_add()
54 struct ptrmap *next = map->next; in __ptrmap_add()
79 void *__ptrmap_lookup(struct ptrmap *map, void *key) in __ptrmap_lookup()
[all …]
Dptrmap.h4 struct ptrmap;
11 __ptrmap_add((struct ptrmap**)map, k, v); \
15 __ptrmap_update((struct ptrmap**)map, k, v); \
19 vtype val = __ptrmap_lookup((struct ptrmap*)map, k); \
24 void __ptrmap_add(struct ptrmap **mapp, void *key, void *val);
25 void __ptrmap_update(struct ptrmap **mapp, void *key, void *val);
26 void *__ptrmap_lookup(struct ptrmap *map, void *key);
DMakefile60 LIB_OBJS += ptrmap.o
/third_party/ltp/tools/sparse/sparse-src/Documentation/release-notes/
Dv0.6.0.rst736 * ptrmap: core implementation
737 * ptrmap: add type-safe interface