Lines Matching refs:rv
1037 int rv = 0; in test_ffs_fls() local
1038 rv += (tlsf_ffs(0) == -1) ? 0 : 0x1; in test_ffs_fls()
1039 rv += (tlsf_fls(0) == -1) ? 0 : 0x2; in test_ffs_fls()
1040 rv += (tlsf_ffs(1) == 0) ? 0 : 0x4; in test_ffs_fls()
1041 rv += (tlsf_fls(1) == 0) ? 0 : 0x8; in test_ffs_fls()
1042 rv += (tlsf_ffs(0x80000000) == 31) ? 0 : 0x10; in test_ffs_fls()
1043 rv += (tlsf_ffs(0x80008000) == 15) ? 0 : 0x20; in test_ffs_fls()
1044 rv += (tlsf_fls(0x80000008) == 31) ? 0 : 0x40; in test_ffs_fls()
1045 rv += (tlsf_fls(0x7FFFFFFF) == 30) ? 0 : 0x80; in test_ffs_fls()
1048 rv += (tlsf_fls_sizet(0x80000000) == 31) ? 0 : 0x100; in test_ffs_fls()
1049 rv += (tlsf_fls_sizet(0x100000000) == 32) ? 0 : 0x200; in test_ffs_fls()
1050 rv += (tlsf_fls_sizet(0xffffffffffffffff) == 63) ? 0 : 0x400; in test_ffs_fls()
1053 if(rv) { in test_ffs_fls()
1054 printf("test_ffs_fls: %x ffs/fls tests failed.\n", rv); in test_ffs_fls()
1056 return rv; in test_ffs_fls()