Lines Matching refs:lh
502 OrderedHashmap *lh = (OrderedHashmap*) h; in bucket_move_entry() local
519 if (lh->iterate_list_head == from) in bucket_move_entry()
520 lh->iterate_list_head = to; in bucket_move_entry()
521 if (lh->iterate_list_tail == from) in bucket_move_entry()
522 lh->iterate_list_tail = to; in bucket_move_entry()
575 OrderedHashmap *lh = (OrderedHashmap*) h; in base_remove_entry() local
576 struct ordered_hashmap_entry *le = ordered_bucket_at(lh, idx); in base_remove_entry()
579 … ordered_bucket_at(lh, le->iterate_next)->iterate_previous = le->iterate_previous; in base_remove_entry()
581 lh->iterate_list_tail = le->iterate_previous; in base_remove_entry()
584 … ordered_bucket_at(lh, le->iterate_previous)->iterate_next = le->iterate_next; in base_remove_entry()
586 lh->iterate_list_head = le->iterate_next; in base_remove_entry()
792 OrderedHashmap *lh = (OrderedHashmap*)h; in hashmap_base_new() local
793 lh->iterate_list_head = lh->iterate_list_tail = IDX_NIL; in hashmap_base_new()
918 OrderedHashmap *lh = (OrderedHashmap*) h; in internal_hashmap_clear() local
919 lh->iterate_list_head = lh->iterate_list_tail = IDX_NIL; in internal_hashmap_clear()
1040 OrderedHashmap *lh = (OrderedHashmap*) h; in hashmap_base_put_boldly() local
1043 new_entry->iterate_previous = lh->iterate_list_tail; in hashmap_base_put_boldly()
1045 if (lh->iterate_list_tail != IDX_NIL) { in hashmap_base_put_boldly()
1048 old_tail = ordered_bucket_at(lh, lh->iterate_list_tail); in hashmap_base_put_boldly()
1053 lh->iterate_list_tail = IDX_PUT; in hashmap_base_put_boldly()
1054 if (lh->iterate_list_head == IDX_NIL) in hashmap_base_put_boldly()
1055 lh->iterate_list_head = IDX_PUT; in hashmap_base_put_boldly()