Lines Matching refs:result
45 unsigned int result; in test_fwk_macros_align_next() local
51 result = FWK_ALIGN_NEXT(value | 1, interval + 32); in test_fwk_macros_align_next()
52 assert(result == 64); in test_fwk_macros_align_next()
56 result = FWK_ALIGN_NEXT(value, interval); in test_fwk_macros_align_next()
57 assert(result == 0); in test_fwk_macros_align_next()
61 result = FWK_ALIGN_NEXT(value, interval); in test_fwk_macros_align_next()
62 assert(result == 8); in test_fwk_macros_align_next()
66 result = FWK_ALIGN_NEXT(value, interval); in test_fwk_macros_align_next()
67 assert(result == 16); in test_fwk_macros_align_next()
74 unsigned int result; in test_fwk_macros_align_previous() local
80 result = FWK_ALIGN_PREVIOUS(value & 1, interval + 32); in test_fwk_macros_align_previous()
81 assert(result == 0); in test_fwk_macros_align_previous()
85 result = FWK_ALIGN_PREVIOUS(value, interval); in test_fwk_macros_align_previous()
86 assert(result == 0); in test_fwk_macros_align_previous()
90 result = FWK_ALIGN_PREVIOUS(value, interval); in test_fwk_macros_align_previous()
91 assert(result == 8); in test_fwk_macros_align_previous()
95 result = FWK_ALIGN_PREVIOUS(value, interval); in test_fwk_macros_align_previous()
96 assert(result == 8); in test_fwk_macros_align_previous()