Lines Matching refs:size2index
32 max_index = size2index(max_size_class);
44 assert_u_eq(index, size2index(size_class),
45 "size2index() does not reverse index2size(): index=%u -->"
47 size_class, size2index(size_class),
48 index2size(size2index(size_class)));
49 assert_zu_eq(size_class, index2size(size2index(size_class)),
50 "index2size() does not reverse size2index(): index=%u -->"
52 size_class, size2index(size_class),
53 index2size(size2index(size_class)));
55 assert_u_eq(index+1, size2index(size_class+1),
69 assert_u_eq(index, size2index(index2size(index)),
70 "size2index() does not reverse index2size()");
71 assert_zu_eq(max_size_class, index2size(size2index(max_size_class)),
72 "index2size() does not reverse size2index()");
89 assert_u_ge(size2index(max_size_class+1), NSIZES,
90 "size2index() should return >= NSIZES on overflow");
91 assert_u_ge(size2index(ZU(PTRDIFF_MAX)+1), NSIZES,
92 "size2index() should return >= NSIZES on overflow");
93 assert_u_ge(size2index(SIZE_T_MAX), NSIZES,
94 "size2index() should return >= NSIZES on overflow");