Searched refs:lh_entry (Results 1 – 10 of 10) sorted by relevance
/device/google/bonito/json-c/ |
D | linkhash.h | 44 struct lh_entry; 49 typedef void (lh_entry_free_fn) (struct lh_entry *e); 62 struct lh_entry { struct 74 struct lh_entry *next; argument 78 struct lh_entry *prev; argument 128 struct lh_entry *head; 133 struct lh_entry *tail; 135 struct lh_entry *table; 240 extern struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k); 269 extern int lh_table_delete_entry(struct lh_table *t, struct lh_entry *e);
|
D | json_object_iterator.c | 108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next() 121 return (const char*)(((struct lh_entry *)iter->opaque_)->k); in json_object_iter_peek_name() 134 return (struct json_object*)(((struct lh_entry *)iter->opaque_)->v); in json_object_iter_peek_value()
|
D | json_object.h | 72 struct lh_entry *entry; 349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \ 362 struct lh_entry *entry ## key; \ 363 struct lh_entry *entry_next ## key = NULL; \
|
D | linkhash.c | 439 t->table = (struct lh_entry*)calloc(size, sizeof(struct lh_entry)); in lh_table_new() 463 struct lh_entry *ent; in lh_table_resize() 482 struct lh_entry *c; in lh_table_free() 527 struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k) in lh_table_lookup_entry() 554 struct lh_entry *e = lh_table_lookup_entry(t, k); in lh_table_lookup_ex() 563 int lh_table_delete_entry(struct lh_table *t, struct lh_entry *e) in lh_table_delete_entry() 594 struct lh_entry *e = lh_table_lookup_entry(t, k); in lh_table_delete()
|
D | json_object.c | 78 struct lh_entry *ent; in json_object_fini() 356 static void json_object_lh_entry_free(struct lh_entry *ent) in json_object_lh_entry_free() 405 struct lh_entry *existing_entry; in json_object_object_add()
|
/device/google/crosshatch/json-c/ |
D | linkhash.h | 44 struct lh_entry; 49 typedef void (lh_entry_free_fn) (struct lh_entry *e); 62 struct lh_entry { struct 74 struct lh_entry *next; argument 78 struct lh_entry *prev; argument 128 struct lh_entry *head; 133 struct lh_entry *tail; 135 struct lh_entry *table; 240 extern struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k); 269 extern int lh_table_delete_entry(struct lh_table *t, struct lh_entry *e);
|
D | json_object_iterator.c | 108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next() 121 return (const char*)(((struct lh_entry *)iter->opaque_)->k); in json_object_iter_peek_name() 134 return (struct json_object*)(((struct lh_entry *)iter->opaque_)->v); in json_object_iter_peek_value()
|
D | json_object.h | 72 struct lh_entry *entry; 349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \ 362 struct lh_entry *entry ## key; \ 363 struct lh_entry *entry_next ## key = NULL; \
|
D | linkhash.c | 439 t->table = (struct lh_entry*)calloc(size, sizeof(struct lh_entry)); in lh_table_new() 463 struct lh_entry *ent; in lh_table_resize() 482 struct lh_entry *c; in lh_table_free() 527 struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k) in lh_table_lookup_entry() 554 struct lh_entry *e = lh_table_lookup_entry(t, k); in lh_table_lookup_ex() 563 int lh_table_delete_entry(struct lh_table *t, struct lh_entry *e) in lh_table_delete_entry() 594 struct lh_entry *e = lh_table_lookup_entry(t, k); in lh_table_delete()
|
D | json_object.c | 78 struct lh_entry *ent; in json_object_fini() 356 static void json_object_lh_entry_free(struct lh_entry *ent) in json_object_lh_entry_free() 405 struct lh_entry *existing_entry; in json_object_object_add()
|