Lines Matching refs:key
24 char key[20]; in htab_fill() local
27 sprintf(key, "%d", (int)i); in htab_fill()
29 item.data = key; in htab_fill()
31 item.key = key; in htab_fill()
44 char key[20]; in htab_check_fill() local
47 sprintf(key, "%d", (int)i); in htab_check_fill()
50 item.data = key; in htab_check_fill()
51 item.key = key; in htab_check_fill()
54 ut_asserteq_str(key, ritem->key); in htab_check_fill()
55 ut_asserteq_str(key, ritem->data); in htab_check_fill()
67 char key[20]; in htab_create_delete() local
70 sprintf(key, "cd-%d", (int)i); in htab_create_delete()
73 item.data = key; in htab_create_delete()
74 item.key = key; in htab_create_delete()
80 ut_asserteq_str(key, ritem->key); in htab_create_delete()
81 ut_asserteq_str(key, ritem->data); in htab_create_delete()
83 ut_asserteq(0, hdelete_r(key, htab, 0)); in htab_create_delete()