Lines Matching refs:output
40 char output[130]; variable
45 rc = curl_msnprintf(output, 4, "%.*s", width, buf);
47 fail_unless(!strcmp(output, "bug"), "wrong output");
50 rc = curl_msnprintf(output, 4, "%.*s", width, str);
52 fail_unless(!strcmp(output, "bug"), "wrong output");
56 rc = curl_msnprintf(output, 4, "%.*s", width, buf);
58 fail_unless(!strcmp(output, "bu"), "wrong output");
61 rc = curl_msnprintf(output, 8, "%.8s", str);
63 fail_unless(!strcmp(output, "bug"), "wrong output");
66 rc = curl_msnprintf(output, 8, "%.3s", "0123456789");
68 fail_unless(!strcmp(output, "012"), "wrong output");
71 rc = curl_msnprintf(output, 8, "%-8s", str);
73 fail_unless(!strcmp(output, "bug "), "wrong output");
76 rc = curl_msnprintf(output, 8, "%8s", str);
78 fail_unless(!strcmp(output, " bu"), "wrong output");
81 rc = curl_msnprintf(output, 4, "%d", 10240);
83 fail_unless(!strcmp(output, "102"), "wrong output");
86 rc = curl_msnprintf(output, 16, "%8s%8s", str, str);
88 fail_unless(!strcmp(output, " bug bu"), "wrong output");
91 rc = curl_msnprintf(output, 16, "%8d%8d", 1234, 5678);
93 fail_unless(!strcmp(output, " 1234 567"), "wrong output");
96 rc = curl_msnprintf(output, 24, "%2$.*1$.99d", 3, 5678);
100 rc = curl_msnprintf(output, 130,
132 rc = curl_msnprintf(output, 130,
164 rc = curl_msnprintf(output, 130,
176 rc = curl_msnprintf(output, 129,