Lines Matching defs:buf

46 	char buf[10000];
60 memset(buf, 0xff, sizeof(buf));
61 n = isc_print_snprintf(buf, sizeof(buf), "%qu", ll);
63 ATF_CHECK_STREQ(buf, "8589934592");
65 memset(buf, 0xff, sizeof(buf));
66 n = isc_print_snprintf(buf, sizeof(buf), "%llu", ll);
68 ATF_CHECK_STREQ(buf, "8589934592");
70 memset(buf, 0xff, sizeof(buf));
71 n = isc_print_snprintf(buf, sizeof(buf), "%qu", nn);
73 ATF_CHECK_STREQ(buf, "20000000000000");
75 memset(buf, 0xff, sizeof(buf));
76 n = isc_print_snprintf(buf, sizeof(buf), "%llu", nn);
78 ATF_CHECK_STREQ(buf, "20000000000000");
80 memset(buf, 0xff, sizeof(buf));
81 n = isc_print_snprintf(buf, sizeof(buf), "%qu", zz);
83 ATF_CHECK_STREQ(buf, "10000000000000000000");
85 memset(buf, 0xff, sizeof(buf));
86 n = isc_print_snprintf(buf, sizeof(buf), "%llu", zz);
88 ATF_CHECK_STREQ(buf, "10000000000000000000");
90 memset(buf, 0xff, sizeof(buf));
91 n = isc_print_snprintf(buf, sizeof(buf), "%lld", nn);
93 ATF_CHECK_STREQ(buf, "20000000000000");
96 memset(buf, 0xff, sizeof(buf));
97 n = isc_print_snprintf(buf, sizeof(buf), "%zu", size);
99 ATF_CHECK_STREQ(buf, "1000");
102 memset(buf, 0xff, sizeof(buf));
103 n = isc_print_snprintf(buf, sizeof(buf), "%zx", size);
105 ATF_CHECK_STREQ(buf, "3e8");
108 memset(buf, 0xff, sizeof(buf));
109 n = isc_print_snprintf(buf, sizeof(buf), "%zo", size);
111 ATF_CHECK_STREQ(buf, "1750");
114 memset(buf, 0xff, sizeof(buf));
115 n = isc_print_snprintf(buf, sizeof(buf), "0x%"ISC_PRINT_QUADFORMAT"x", zz);
117 ATF_CHECK_STREQ(buf, "0xf5f5f5f5f5f5f5f5");
128 char buf[10000];
141 memset(buf, 0, sizeof(buf));
142 n = fread(buf, 1, sizeof(buf), f);
147 ATF_CHECK_STREQ(buf, "1000");
149 if ((n > 0) && (!strcmp(buf, "1000")))