Searched refs:SM_TEST (Results 1 - 22 of 22) sorted by relevance
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | t-types.c | 32 SM_TEST(sizeof(LONGLONG_T) == sizeof(ULONGLONG_T)); 39 if (!SM_TEST(sizeof(ino_t) <= sizeof(ULONGLONG_T)) || 40 !SM_TEST(sizeof(off_t) <= sizeof(ULONGLONG_T)) || 41 !SM_TEST(sizeof(void*) <= sizeof(ULONGLONG_T))) 65 SM_TEST(lt > ll); 68 if (!SM_TEST(buf[0] == '8') 69 || !SM_TEST(strspn(&buf[1], r) == sizeof(ll) * 2 - 1)) 77 SM_TEST(lt < ll); 80 if (!SM_TEST(buf[0] == '7') 81 || !SM_TEST(strsp [all...] |
H A D | t-path.c | 26 SM_TEST(sm_path_isdevnull(SM_PATH_DEVNULL)); 28 SM_TEST(sm_path_isdevnull(r)); 30 SM_TEST(!sm_path_isdevnull(r)); 32 SM_TEST(!sm_path_isdevnull(r));
|
H A D | t-strl.c | 39 SM_TEST(sm_strlcpy(s3, s1, 4) == 3); 40 SM_TEST(strcmp(s1, s3) == 0); 42 SM_TEST(sm_strlcat(s3, s2, 8) == 6); 44 SM_TEST(strcmp(s3, r) == 0); 46 SM_TEST(sm_strlcpy(s3, s1, 2) == 3); 48 SM_TEST(strcmp(s3, r) == 0); 50 SM_TEST(sm_strlcat(s3, s2, 3) == 4); 52 SM_TEST(strcmp(s3, r) == 0); 54 SM_TEST(sm_strlcpy(s3, s1, 4) == 3); 56 SM_TEST(sm_strlcat [all...] |
H A D | t-strrevcmp.c | 30 SM_TEST(sm_strrevcmp(s1, s2) == 0); 34 SM_TEST(sm_strrevcmp(s1, s2) > 0); 38 SM_TEST(sm_strrevcmp(s1, s2) < 0); 42 SM_TEST(sm_strrevcmp(s1, s2) < 0); 46 SM_TEST(sm_strrevcasecmp(s1, s2) == 0); 50 SM_TEST(sm_strrevcasecmp(s1, s2) == 0);
|
H A D | t-event.c | 34 SM_TEST(arg == 3); 35 SM_TEST(check == 0); 43 SM_TEST(arg == 1); 60 SM_TEST(1 == 1); 64 SM_TEST(2 == 2); 73 SM_TEST(3 == 3); 83 SM_TEST(4 == 4); 84 SM_TEST(check == 1);
|
H A D | t-fget.c | 29 SM_TEST(wfp != NULL); 33 SM_TEST(r >= 0); 36 SM_TEST(r == 0); 40 SM_TEST(rfp != NULL); 45 SM_TEST(r == -1); 46 SM_TEST(errno == 0); 50 SM_TEST(r == l); 55 SM_TEST(memcmp(buf, msg, l) == 0); 57 SM_TEST(r == 0);
|
H A D | t-fopen.c | 28 SM_TEST(out != NULL); 33 SM_TEST(r == 0); 34 SM_TEST(m == SM_IO_WRONLY);
|
H A D | t-string.c | 33 SM_TEST(strcmp(s, r) == 0); 37 SM_TEST(strcmp(s, buf) == 0); 41 SM_TEST(n == 11); 43 SM_TEST(strcmp(foo, r) == 0);
|
H A D | t-exc.c | 56 SM_TEST(x == 1); 68 SM_TEST(x == 2); 87 SM_TEST(x == 2 && exc->exc_argv[0].v_int == 17); 97 SM_TEST(strcmp(unknown, cant) == 0); 111 SM_TEST(strcmp(unknown, cant) == 0); 114 SM_TEST(x == 5 && exc->exc_argv[0].v_int == 94); 124 SM_TEST(strcmp(unknown, cant) == 0); 143 SM_TEST(strcmp(unknown, cant) == 0);
|
H A D | t-scanf.c | 39 if (!SM_TEST(strcmp(buf, r) == 0)) 44 SM_TEST(i == 1); 45 SM_TEST(h == 2); 50 if (!SM_TEST(strcmp(buf, r) == 0)) 55 SM_TEST(i == 1); 56 SM_TEST(h == 2);
|
H A D | t-smstdio.c | 32 SM_TEST(stream != NULL); 35 SM_TEST(fp != NULL); 51 SM_TEST(stream != NULL); 54 SM_TEST(fp != NULL); 57 if (SM_TEST(n == strlen(testmsg))) 60 SM_TEST(strcmp(buf, testmsg) == 0);
|
H A D | t-heap.c | 38 SM_TEST(p != NULL); 40 SM_TEST(p != NULL); 42 SM_TEST(p != NULL);
|
H A D | t-inet6_ntop.c | 48 SM_TEST(r == 1); 50 SM_TEST(ipf != NULL); 51 SM_TEST(strcmp(ipf, ip) == 0);
|
H A D | t-float.c | 39 if (!SM_TEST(strcmp(buf, r) == 0)) 46 if (!SM_TEST(strcmp(buf, r) == 0)) 60 if (!SM_TEST(d == d2)) 68 if (!SM_TEST(strcmp(buf, r) == 0))
|
H A D | t-notify.c | 55 SM_TEST(r >= 0); 65 SM_TEST(r >= 0); 71 SM_TEST(strcmp(buf, TSTSTR) == 0); 120 SM_TEST(r >= 0);
|
H A D | t-shm.c | 173 SM_TEST(r == 0); 177 SM_TEST(cnt <= MAX_CNT); 181 SM_TEST(r == 0); 183 SM_TEST(shm != (int *) 0); 189 SM_TEST(cnt <= MAX_CNT); 260 SM_TEST(r == 0);
|
H A D | t-match.c | 19 if (!SM_TEST(got == want)) \
|
H A D | t-strio.c | 31 SM_TEST(strcmp(buf, r) == 0);
|
H A D | t-rpool.c | 44 SM_TEST(rpool != NULL); 46 SM_TEST(att != NULL);
|
H A D | t-sem.c | 217 SM_TEST(r >= 0); 232 SM_TEST(r >= 0); 247 SM_TEST(r > 0); 262 SM_TEST(r >= 0); 276 SM_TEST(r >= 0); 293 SM_TEST(r >= 0); 308 SM_TEST(r >= 0); 386 SM_TEST(r == 0);
|
H A D | t-qic.c | 66 SM_TEST(exp == cmp); 164 SM_TEST(inout[i].qic_exp == cmp); 187 SM_TEST(los + 1 < sizeof(line)); 191 SM_TEST(inout[i].qic_exp == cmp); 205 SM_TEST(!same); 218 SM_TEST(obp != NULL); 220 SM_TEST(inout[i].qic_exp == cmp);
|
/freebsd-13-stable/contrib/sendmail/include/sm/ |
H A D | test.h | 22 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__) macro 24 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__) macro
|
Completed in 82 milliseconds