Lines Matching refs:buffer
21 char buffer[256]; in ZTEST() local
24 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 0)); in ZTEST()
25 assert_strings("0.119999", buffer); in ZTEST()
27 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 1)); in ZTEST()
28 assert_strings("0.239999", buffer); in ZTEST()
30 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, -2)); in ZTEST()
31 assert_strings("0.029999", buffer); in ZTEST()
33 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 0)); in ZTEST()
34 assert_strings("0.1199", buffer); in ZTEST()
36 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 1)); in ZTEST()
37 assert_strings("0.2399", buffer); in ZTEST()
39 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, -2)); in ZTEST()
40 assert_strings("0.0299", buffer); in ZTEST()
45 char buffer[256]; in ZTEST() local
48 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 0)); in ZTEST()
49 assert_strings("-0.970000", buffer); in ZTEST()
51 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 1)); in ZTEST()
52 assert_strings("-1.940000", buffer); in ZTEST()
54 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, -2)); in ZTEST()
55 assert_strings("-0.242500", buffer); in ZTEST()
57 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 0)); in ZTEST()
58 assert_strings("-0.9700", buffer); in ZTEST()
60 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 1)); in ZTEST()
61 assert_strings("-1.9400", buffer); in ZTEST()
63 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, -2)); in ZTEST()
64 assert_strings("-0.2425", buffer); in ZTEST()
69 char buffer[256]; in ZTEST() local
72 snprintf(buffer, 256, "%" PRIq(5), PRIq_arg(q, 5, 0)); in ZTEST()
73 assert_strings("0.31997", buffer); in ZTEST()
75 snprintf(buffer, 256, "%" PRIq(5), PRIq_arg(q, 5, 1)); in ZTEST()
76 assert_strings("0.63995", buffer); in ZTEST()
78 snprintf(buffer, 256, "%" PRIq(5), PRIq_arg(q, 5, -2)); in ZTEST()
79 assert_strings("0.07999", buffer); in ZTEST()
81 snprintf(buffer, 256, "%" PRIq(3), PRIq_arg(q, 3, 0)); in ZTEST()
82 assert_strings("0.319", buffer); in ZTEST()
84 snprintf(buffer, 256, "%" PRIq(3), PRIq_arg(q, 3, 1)); in ZTEST()
85 assert_strings("0.639", buffer); in ZTEST()
87 snprintf(buffer, 256, "%" PRIq(3), PRIq_arg(q, 3, -2)); in ZTEST()
88 assert_strings("0.079", buffer); in ZTEST()
93 char buffer[256]; in ZTEST() local
96 snprintf(buffer, 256, "%" PRIq(5), PRIq_arg(q, 5, 0)); in ZTEST()
97 assert_strings("-0.46298", buffer); in ZTEST()
99 snprintf(buffer, 256, "%" PRIq(5), PRIq_arg(q, 5, 1)); in ZTEST()
100 assert_strings("-0.92596", buffer); in ZTEST()
102 snprintf(buffer, 256, "%" PRIq(5), PRIq_arg(q, 5, -2)); in ZTEST()
103 assert_strings("-0.11574", buffer); in ZTEST()
105 snprintf(buffer, 256, "%" PRIq(3), PRIq_arg(q, 3, 0)); in ZTEST()
106 assert_strings("-0.462", buffer); in ZTEST()
108 snprintf(buffer, 256, "%" PRIq(3), PRIq_arg(q, 3, 1)); in ZTEST()
109 assert_strings("-0.925", buffer); in ZTEST()
111 snprintf(buffer, 256, "%" PRIq(3), PRIq_arg(q, 3, -2)); in ZTEST()
112 assert_strings("-0.115", buffer); in ZTEST()
117 char buffer[256]; in ZTEST() local
120 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 0)); in ZTEST()
121 assert_strings("0.0078", buffer); in ZTEST()
123 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 1)); in ZTEST()
124 assert_strings("0.0156", buffer); in ZTEST()
126 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, -2)); in ZTEST()
127 assert_strings("0.0019", buffer); in ZTEST()
129 snprintf(buffer, 256, "%" PRIq(2), PRIq_arg(q, 2, 0)); in ZTEST()
130 assert_strings("0.00", buffer); in ZTEST()
132 snprintf(buffer, 256, "%" PRIq(2), PRIq_arg(q, 2, 1)); in ZTEST()
133 assert_strings("0.01", buffer); in ZTEST()
135 snprintf(buffer, 256, "%" PRIq(2), PRIq_arg(q, 2, -2)); in ZTEST()
136 assert_strings("0.00", buffer); in ZTEST()
141 char buffer[256]; in ZTEST() local
144 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 0)); in ZTEST()
145 assert_strings("-0.2343", buffer); in ZTEST()
147 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 1)); in ZTEST()
148 assert_strings("-0.4687", buffer); in ZTEST()
150 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, -2)); in ZTEST()
151 assert_strings("-0.0585", buffer); in ZTEST()
153 snprintf(buffer, 256, "%" PRIq(2), PRIq_arg(q, 2, 0)); in ZTEST()
154 assert_strings("-0.23", buffer); in ZTEST()
156 snprintf(buffer, 256, "%" PRIq(2), PRIq_arg(q, 2, 1)); in ZTEST()
157 assert_strings("-0.46", buffer); in ZTEST()
159 snprintf(buffer, 256, "%" PRIq(2), PRIq_arg(q, 2, -2)); in ZTEST()
160 assert_strings("-0.05", buffer); in ZTEST()