Lines Matching refs:TEST_EQ
17 TEST_EQ(vb2_safe_memcmp("foo", "foo", 3), 0, "memcmp equal"); in test_memcmp()
19 TEST_EQ(vb2_safe_memcmp("foo1", "foo2", 0), 0, "memcmp 0-size"); in test_memcmp()
36 TEST_EQ(vb2_offset_of(p0, ptr), 0, "ptr"); in test_align()
37 TEST_EQ(size, 16, " size"); in test_align()
38 TEST_EQ(vb2_align(&ptr, &size, 4, 17), in test_align()
45 TEST_EQ(vb2_offset_of(p0, ptr), 4, "ptr"); in test_align()
46 TEST_EQ(size, 12, " size"); in test_align()
51 TEST_EQ(vb2_align(&ptr, &size, 4, 15), in test_align()
57 TEST_EQ(vb2_align(&ptr, &size, 4, 1), in test_align()
75 TEST_EQ(vb2_offset_of(p0, wb.buf), 0, "Workbuf init aligned"); in test_workbuf()
76 TEST_EQ(wb.size, 64, " size"); in test_workbuf()
79 TEST_EQ(vb2_offset_of(p0, wb.buf), VB2_WORKBUF_ALIGN, in test_workbuf()
81 TEST_EQ(wb.size, 64 - VB2_WORKBUF_ALIGN + 4, " size"); in test_workbuf()
84 TEST_EQ(wb.size, 0, "Workbuf init tiny unaligned size"); in test_workbuf()
89 TEST_EQ(vb2_offset_of(p0, ptr), 0, "Workbuf alloc"); in test_workbuf()
90 TEST_EQ(vb2_offset_of(p0, wb.buf), 32, " buf"); in test_workbuf()
91 TEST_EQ(wb.size, 32, " size"); in test_workbuf()
100 TEST_EQ(vb2_offset_of(p0, wb.buf), 0, "Workbuf free buf"); in test_workbuf()
101 TEST_EQ(wb.size, 32, " size"); in test_workbuf()
107 TEST_EQ(vb2_offset_of(p0, ptr), 0, "Workbuf realloc"); in test_workbuf()
108 TEST_EQ(vb2_offset_of(p0, wb.buf), 32, " buf"); in test_workbuf()
109 TEST_EQ(wb.size, 32, " size"); in test_workbuf()