Lines Matching refs:rc

36 int rc;  variable
45 rc = curl_msnprintf(output, 4, "%.*s", width, buf);
46 fail_unless(rc == 3, "return code should be 3");
50 rc = curl_msnprintf(output, 4, "%.*s", width, str);
51 fail_unless(rc == 3, "return code should be 3");
56 rc = curl_msnprintf(output, 4, "%.*s", width, buf);
57 fail_unless(rc == 2, "return code should be 2");
61 rc = curl_msnprintf(output, 8, "%.8s", str);
62 fail_unless(rc == 3, "return code should be 3");
66 rc = curl_msnprintf(output, 8, "%.3s", "0123456789");
67 fail_unless(rc == 3, "return code should be 3");
71 rc = curl_msnprintf(output, 8, "%-8s", str);
72 fail_unless(rc == 7, "return code should be 7");
76 rc = curl_msnprintf(output, 8, "%8s", str);
77 fail_unless(rc == 7, "return code should be 7");
81 rc = curl_msnprintf(output, 4, "%d", 10240);
82 fail_unless(rc == 3, "return code should be 3");
86 rc = curl_msnprintf(output, 16, "%8s%8s", str, str);
87 fail_unless(rc == 15, "return code should be 15");
91 rc = curl_msnprintf(output, 16, "%8d%8d", 1234, 5678);
92 fail_unless(rc == 15, "return code should be 15");
96 rc = curl_msnprintf(output, 24, "%2$.*1$.99d", 3, 5678);
97 fail_unless(rc == 0, "return code should be 0");
100 rc = curl_msnprintf(output, 130,
129 fail_unless(rc == 0, "return code should be 0");
132 rc = curl_msnprintf(output, 130,
161 fail_unless(rc == 13, "return code should be 13");
164 rc = curl_msnprintf(output, 130,
173 fail_unless(rc == 0, "return code should be 0");
176 rc = curl_msnprintf(output, 129,
185 fail_unless(rc == 128, "return code should be 128");