Lines Matching refs:LINESIZE
43 char g_testdesc[LINESIZE];
44 char g_errbuf[LINESIZE];
61 char sbuf[LINESIZE];
63 memset((void *)sbuf, 0, LINESIZE);
64 snprintf(g_testdesc, LINESIZE, desc);
69 len = snprintf(sbuf, LINESIZE, "ok");
73 len = snprintf(sbuf, LINESIZE, "not ok");
74 snprintf(g_errbuf, LINESIZE, " : Expected %#x, but got %#x",
78 snprintf(sbuf + len, LINESIZE - len, " %d - %s (%s)",
85 memset((void *)g_errbuf, 0, LINESIZE);
86 memset((void *)g_testdesc, 0, LINESIZE);
94 char sbuf[LINESIZE];
96 memset((void *)sbuf, 0, LINESIZE);
97 snprintf(g_testdesc, LINESIZE, desc);
102 len = snprintf(sbuf, LINESIZE, "ok");
106 len = snprintf(sbuf, LINESIZE, "not ok");
107 snprintf(g_errbuf, LINESIZE,
111 snprintf(sbuf + len, LINESIZE - len, " %d - %s (%s)",
118 memset((void *)g_errbuf, 0, LINESIZE);
119 memset((void *)g_testdesc, 0, LINESIZE);
128 char sbuf[LINESIZE];
130 memset((void *)sbuf, 0, LINESIZE);
131 snprintf(g_testdesc, LINESIZE, desc);
148 len = snprintf(sbuf, LINESIZE, "ok");
152 len = snprintf(sbuf, LINESIZE, "not ok");
153 snprintf(g_errbuf, LINESIZE,
157 snprintf(sbuf + len, LINESIZE - len, " %d - %s (%s)",
164 memset((void *)g_errbuf, 0, LINESIZE);
165 memset((void *)g_testdesc, 0, LINESIZE);