Lines Matching refs:NULL
29 assert(k_idr.top == NULL); // 刚被创建,必须是NULL in ktest_idr_case0()
31 assert(k_idr.free_list == NULL); in ktest_idr_case0()
55 assert(k_idr.free_list == NULL); in ktest_idr_case0()
56 assert(k_idr.top == NULL); in ktest_idr_case0()
84 assert(ptr != NULL); in ktest_idr_case1()
92 assert(id != NULL); in ktest_idr_case1()
94 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
101 assert(id != NULL); in ktest_idr_case1()
103 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
127 assert(id != NULL); in ktest_idr_case1()
129 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
136 assert(id != NULL); in ktest_idr_case1()
138 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
143 assert(k_idr.top == NULL); in ktest_idr_case1()
164 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
171 assert(idr_find(&k_idr, a[i]) == NULL); in ktest_idr_case1()
177 assert(k_idr.free_list == NULL); in ktest_idr_case1()
208 assert(ptr != NULL); in ktest_idr_case2()
221 assert(ptr != NULL); in ktest_idr_case2()
224 assert(idr_find(&k_idr, i) == NULL); in ktest_idr_case2()
234 assert(idr_find(&k_idr, i) == NULL); in ktest_idr_case2()
242 assert(k_idr.top != NULL); in ktest_idr_case2()
245 assert(ptr != NULL); in ktest_idr_case2()
249 assert(k_idr.top != NULL); in ktest_idr_case2()
253 assert(idr_replace(&k_idr, NULL, i) == 0); in ktest_idr_case2()
259 assert(k_idr.free_list == NULL); in ktest_idr_case2()
284 assert(ptr != NULL); in ktest_idr_case3()
295 assert(ptr != NULL); in ktest_idr_case3()
301 assert(ptr == NULL); in ktest_idr_case3()
311 assert(ptr != NULL); in ktest_idr_case3()
315 assert(idr_find(&k_idr, i) == NULL); in ktest_idr_case3()
317 assert(k_idr.top != NULL); in ktest_idr_case3()
328 assert(ptr != NULL); in ktest_idr_case3()
334 assert(ptr == NULL); in ktest_idr_case3()
342 assert(k_idr.free_list == NULL); in ktest_idr_case3()
373 assert(ptr != NULL); in ktest_idr_case4()
381 assert(ptr != NULL); in ktest_idr_case4()
389 assert(ptr != NULL); in ktest_idr_case4()
394 assert(k_idr.top == NULL); in ktest_idr_case4()
401 assert(k_idr.free_list == NULL); in ktest_idr_case4()
432 assert(ptr != NULL); in ktest_idr_case5()
437 assert(ptr != NULL); in ktest_idr_case5()
444 assert(k_idr.free_list == NULL); in ktest_idr_case5()
457 assert(k_idr.free_list == NULL); in ktest_idr_case5()
506 assert(k_ida.idr.top == NULL); in ktest_idr_case6()
518 assert(k_ida.idr.top != NULL); in ktest_idr_case6()
522 assert(k_ida.idr.top == NULL); in ktest_idr_case6()
524 assert(k_ida.free_list == NULL); in ktest_idr_case6()
556 assert(k_ida.idr.top != NULL); in ktest_idr_case6()
560 assert(k_ida.idr.top == NULL); in ktest_idr_case6()
562 assert(k_ida.free_list == NULL); in ktest_idr_case6()