Lines Matching refs:expected
60 const char *expected; /* expected string */ member
67 const char *expected; /* expected string */ member
74 const char *expected; /* expected string */ member
81 const char *expected; /* expected string */ member
88 const char *expected; /* expected string */ member
95 const char *expected; /* expected string */ member
102 const char *expected; /* expected string */ member
124 i=1; us_test[i].num = 0xFFU; us_test[i].expected = "256"; in test_unsigned_short_formatting()
125 i++; us_test[i].num = 0xF0U; us_test[i].expected = "240"; in test_unsigned_short_formatting()
126 i++; us_test[i].num = 0x0FU; us_test[i].expected = "15"; in test_unsigned_short_formatting()
128 i++; us_test[i].num = 0xE0U; us_test[i].expected = "224"; in test_unsigned_short_formatting()
129 i++; us_test[i].num = 0x0EU; us_test[i].expected = "14"; in test_unsigned_short_formatting()
131 i++; us_test[i].num = 0xC0U; us_test[i].expected = "192"; in test_unsigned_short_formatting()
132 i++; us_test[i].num = 0x0CU; us_test[i].expected = "12"; in test_unsigned_short_formatting()
134 i++; us_test[i].num = 0x01U; us_test[i].expected = "1"; in test_unsigned_short_formatting()
135 i++; us_test[i].num = 0x00U; us_test[i].expected = "0"; in test_unsigned_short_formatting()
141 i=1; us_test[i].num = 0xFFFFU; us_test[i].expected = "65535"; in test_unsigned_short_formatting()
142 i++; us_test[i].num = 0xFF00U; us_test[i].expected = "65280"; in test_unsigned_short_formatting()
143 i++; us_test[i].num = 0x00FFU; us_test[i].expected = "255"; in test_unsigned_short_formatting()
145 i++; us_test[i].num = 0xF000U; us_test[i].expected = "61440"; in test_unsigned_short_formatting()
146 i++; us_test[i].num = 0x0F00U; us_test[i].expected = "3840"; in test_unsigned_short_formatting()
147 i++; us_test[i].num = 0x00F0U; us_test[i].expected = "240"; in test_unsigned_short_formatting()
148 i++; us_test[i].num = 0x000FU; us_test[i].expected = "15"; in test_unsigned_short_formatting()
150 i++; us_test[i].num = 0xC000U; us_test[i].expected = "49152"; in test_unsigned_short_formatting()
151 i++; us_test[i].num = 0x0C00U; us_test[i].expected = "3072"; in test_unsigned_short_formatting()
152 i++; us_test[i].num = 0x00C0U; us_test[i].expected = "192"; in test_unsigned_short_formatting()
153 i++; us_test[i].num = 0x000CU; us_test[i].expected = "12"; in test_unsigned_short_formatting()
155 i++; us_test[i].num = 0x0001U; us_test[i].expected = "1"; in test_unsigned_short_formatting()
156 i++; us_test[i].num = 0x0000U; us_test[i].expected = "0"; in test_unsigned_short_formatting()
162 i=1; us_test[i].num = 0xFFFFFFFFU; us_test[i].expected = "4294967295"; in test_unsigned_short_formatting()
163 i++; us_test[i].num = 0xFFFF0000U; us_test[i].expected = "4294901760"; in test_unsigned_short_formatting()
164 i++; us_test[i].num = 0x0000FFFFU; us_test[i].expected = "65535"; in test_unsigned_short_formatting()
166 i++; us_test[i].num = 0xFF000000U; us_test[i].expected = "4278190080"; in test_unsigned_short_formatting()
167 i++; us_test[i].num = 0x00FF0000U; us_test[i].expected = "16711680"; in test_unsigned_short_formatting()
168 i++; us_test[i].num = 0x0000FF00U; us_test[i].expected = "65280"; in test_unsigned_short_formatting()
169 i++; us_test[i].num = 0x000000FFU; us_test[i].expected = "255"; in test_unsigned_short_formatting()
171 i++; us_test[i].num = 0xF0000000U; us_test[i].expected = "4026531840"; in test_unsigned_short_formatting()
172 i++; us_test[i].num = 0x0F000000U; us_test[i].expected = "251658240"; in test_unsigned_short_formatting()
173 i++; us_test[i].num = 0x00F00000U; us_test[i].expected = "15728640"; in test_unsigned_short_formatting()
174 i++; us_test[i].num = 0x000F0000U; us_test[i].expected = "983040"; in test_unsigned_short_formatting()
175 i++; us_test[i].num = 0x0000F000U; us_test[i].expected = "61440"; in test_unsigned_short_formatting()
176 i++; us_test[i].num = 0x00000F00U; us_test[i].expected = "3840"; in test_unsigned_short_formatting()
177 i++; us_test[i].num = 0x000000F0U; us_test[i].expected = "240"; in test_unsigned_short_formatting()
178 i++; us_test[i].num = 0x0000000FU; us_test[i].expected = "15"; in test_unsigned_short_formatting()
180 i++; us_test[i].num = 0xC0000000U; us_test[i].expected = "3221225472"; in test_unsigned_short_formatting()
181 i++; us_test[i].num = 0x0C000000U; us_test[i].expected = "201326592"; in test_unsigned_short_formatting()
182 i++; us_test[i].num = 0x00C00000U; us_test[i].expected = "12582912"; in test_unsigned_short_formatting()
183 i++; us_test[i].num = 0x000C0000U; us_test[i].expected = "786432"; in test_unsigned_short_formatting()
184 i++; us_test[i].num = 0x0000C000U; us_test[i].expected = "49152"; in test_unsigned_short_formatting()
185 i++; us_test[i].num = 0x00000C00U; us_test[i].expected = "3072"; in test_unsigned_short_formatting()
186 i++; us_test[i].num = 0x000000C0U; us_test[i].expected = "192"; in test_unsigned_short_formatting()
187 i++; us_test[i].num = 0x0000000CU; us_test[i].expected = "12"; in test_unsigned_short_formatting()
189 i++; us_test[i].num = 0x00000001U; us_test[i].expected = "1"; in test_unsigned_short_formatting()
190 i++; us_test[i].num = 0x00000000U; us_test[i].expected = "0"; in test_unsigned_short_formatting()
205 us_test[i].expected, in test_unsigned_short_formatting()
206 strlen(us_test[i].expected))) { in test_unsigned_short_formatting()
208 i, us_test[i].expected, us_test[i].result); in test_unsigned_short_formatting()
231 i=1; ss_test[i].num = 0x7F; ss_test[i].expected = "127"; in test_signed_short_formatting()
233 i++; ss_test[i].num = 0x70; ss_test[i].expected = "112"; in test_signed_short_formatting()
234 i++; ss_test[i].num = 0x07; ss_test[i].expected = "7"; in test_signed_short_formatting()
236 i++; ss_test[i].num = 0x50; ss_test[i].expected = "80"; in test_signed_short_formatting()
237 i++; ss_test[i].num = 0x05; ss_test[i].expected = "5"; in test_signed_short_formatting()
239 i++; ss_test[i].num = 0x01; ss_test[i].expected = "1"; in test_signed_short_formatting()
240 i++; ss_test[i].num = 0x00; ss_test[i].expected = "0"; in test_signed_short_formatting()
242 i++; ss_test[i].num = -0x7F -1; ss_test[i].expected = "-128"; in test_signed_short_formatting()
244 i++; ss_test[i].num = -0x70 -1; ss_test[i].expected = "-113"; in test_signed_short_formatting()
245 i++; ss_test[i].num = -0x07 -1; ss_test[i].expected = "-8"; in test_signed_short_formatting()
247 i++; ss_test[i].num = -0x50 -1; ss_test[i].expected = "-81"; in test_signed_short_formatting()
248 i++; ss_test[i].num = -0x05 -1; ss_test[i].expected = "-6"; in test_signed_short_formatting()
250 i++; ss_test[i].num = 0x00 -1; ss_test[i].expected = "-1"; in test_signed_short_formatting()
256 i=1; ss_test[i].num = 0x7FFF; ss_test[i].expected = "32767"; in test_signed_short_formatting()
257 i++; ss_test[i].num = 0x7FFE; ss_test[i].expected = "32766"; in test_signed_short_formatting()
258 i++; ss_test[i].num = 0x7FFD; ss_test[i].expected = "32765"; in test_signed_short_formatting()
259 i++; ss_test[i].num = 0x7F00; ss_test[i].expected = "32512"; in test_signed_short_formatting()
260 i++; ss_test[i].num = 0x07F0; ss_test[i].expected = "2032"; in test_signed_short_formatting()
261 i++; ss_test[i].num = 0x007F; ss_test[i].expected = "127"; in test_signed_short_formatting()
263 i++; ss_test[i].num = 0x7000; ss_test[i].expected = "28672"; in test_signed_short_formatting()
264 i++; ss_test[i].num = 0x0700; ss_test[i].expected = "1792"; in test_signed_short_formatting()
265 i++; ss_test[i].num = 0x0070; ss_test[i].expected = "112"; in test_signed_short_formatting()
266 i++; ss_test[i].num = 0x0007; ss_test[i].expected = "7"; in test_signed_short_formatting()
268 i++; ss_test[i].num = 0x5000; ss_test[i].expected = "20480"; in test_signed_short_formatting()
269 i++; ss_test[i].num = 0x0500; ss_test[i].expected = "1280"; in test_signed_short_formatting()
270 i++; ss_test[i].num = 0x0050; ss_test[i].expected = "80"; in test_signed_short_formatting()
271 i++; ss_test[i].num = 0x0005; ss_test[i].expected = "5"; in test_signed_short_formatting()
273 i++; ss_test[i].num = 0x0001; ss_test[i].expected = "1"; in test_signed_short_formatting()
274 i++; ss_test[i].num = 0x0000; ss_test[i].expected = "0"; in test_signed_short_formatting()
276 i++; ss_test[i].num = -0x7FFF -1; ss_test[i].expected = "-32768"; in test_signed_short_formatting()
277 i++; ss_test[i].num = -0x7FFE -1; ss_test[i].expected = "-32767"; in test_signed_short_formatting()
278 i++; ss_test[i].num = -0x7FFD -1; ss_test[i].expected = "-32766"; in test_signed_short_formatting()
279 i++; ss_test[i].num = -0x7F00 -1; ss_test[i].expected = "-32513"; in test_signed_short_formatting()
280 i++; ss_test[i].num = -0x07F0 -1; ss_test[i].expected = "-2033"; in test_signed_short_formatting()
281 i++; ss_test[i].num = -0x007F -1; ss_test[i].expected = "-128"; in test_signed_short_formatting()
283 i++; ss_test[i].num = -0x7000 -1; ss_test[i].expected = "-28673"; in test_signed_short_formatting()
284 i++; ss_test[i].num = -0x0700 -1; ss_test[i].expected = "-1793"; in test_signed_short_formatting()
285 i++; ss_test[i].num = -0x0070 -1; ss_test[i].expected = "-113"; in test_signed_short_formatting()
286 i++; ss_test[i].num = -0x0007 -1; ss_test[i].expected = "-8"; in test_signed_short_formatting()
288 i++; ss_test[i].num = -0x5000 -1; ss_test[i].expected = "-20481"; in test_signed_short_formatting()
289 i++; ss_test[i].num = -0x0500 -1; ss_test[i].expected = "-1281"; in test_signed_short_formatting()
290 i++; ss_test[i].num = -0x0050 -1; ss_test[i].expected = "-81"; in test_signed_short_formatting()
291 i++; ss_test[i].num = -0x0005 -1; ss_test[i].expected = "-6"; in test_signed_short_formatting()
293 i++; ss_test[i].num = 0x0000 -1; ss_test[i].expected = "-1"; in test_signed_short_formatting()
299 i=1; ss_test[i].num = 0x7FFFFFFF; ss_test[i].expected = "2147483647"; in test_signed_short_formatting()
300 i++; ss_test[i].num = 0x7FFFFFFE; ss_test[i].expected = "2147483646"; in test_signed_short_formatting()
301 i++; ss_test[i].num = 0x7FFFFFFD; ss_test[i].expected = "2147483645"; in test_signed_short_formatting()
302 i++; ss_test[i].num = 0x7FFF0000; ss_test[i].expected = "2147418112"; in test_signed_short_formatting()
303 i++; ss_test[i].num = 0x00007FFF; ss_test[i].expected = "32767"; in test_signed_short_formatting()
305 i++; ss_test[i].num = 0x7F000000; ss_test[i].expected = "2130706432"; in test_signed_short_formatting()
306 i++; ss_test[i].num = 0x007F0000; ss_test[i].expected = "8323072"; in test_signed_short_formatting()
307 i++; ss_test[i].num = 0x00007F00; ss_test[i].expected = "32512"; in test_signed_short_formatting()
308 i++; ss_test[i].num = 0x0000007F; ss_test[i].expected = "127"; in test_signed_short_formatting()
310 i++; ss_test[i].num = 0x70000000; ss_test[i].expected = "1879048192"; in test_signed_short_formatting()
311 i++; ss_test[i].num = 0x07000000; ss_test[i].expected = "117440512"; in test_signed_short_formatting()
312 i++; ss_test[i].num = 0x00700000; ss_test[i].expected = "7340032"; in test_signed_short_formatting()
313 i++; ss_test[i].num = 0x00070000; ss_test[i].expected = "458752"; in test_signed_short_formatting()
314 i++; ss_test[i].num = 0x00007000; ss_test[i].expected = "28672"; in test_signed_short_formatting()
315 i++; ss_test[i].num = 0x00000700; ss_test[i].expected = "1792"; in test_signed_short_formatting()
316 i++; ss_test[i].num = 0x00000070; ss_test[i].expected = "112"; in test_signed_short_formatting()
317 i++; ss_test[i].num = 0x00000007; ss_test[i].expected = "7"; in test_signed_short_formatting()
319 i++; ss_test[i].num = 0x50000000; ss_test[i].expected = "1342177280"; in test_signed_short_formatting()
320 i++; ss_test[i].num = 0x05000000; ss_test[i].expected = "83886080"; in test_signed_short_formatting()
321 i++; ss_test[i].num = 0x00500000; ss_test[i].expected = "5242880"; in test_signed_short_formatting()
322 i++; ss_test[i].num = 0x00050000; ss_test[i].expected = "327680"; in test_signed_short_formatting()
323 i++; ss_test[i].num = 0x00005000; ss_test[i].expected = "20480"; in test_signed_short_formatting()
324 i++; ss_test[i].num = 0x00000500; ss_test[i].expected = "1280"; in test_signed_short_formatting()
325 i++; ss_test[i].num = 0x00000050; ss_test[i].expected = "80"; in test_signed_short_formatting()
326 i++; ss_test[i].num = 0x00000005; ss_test[i].expected = "5"; in test_signed_short_formatting()
328 i++; ss_test[i].num = 0x00000001; ss_test[i].expected = "1"; in test_signed_short_formatting()
329 i++; ss_test[i].num = 0x00000000; ss_test[i].expected = "0"; in test_signed_short_formatting()
331 i++; ss_test[i].num = -0x7FFFFFFF -1; ss_test[i].expected = "-2147483648"; in test_signed_short_formatting()
332 i++; ss_test[i].num = -0x7FFFFFFE -1; ss_test[i].expected = "-2147483647"; in test_signed_short_formatting()
333 i++; ss_test[i].num = -0x7FFFFFFD -1; ss_test[i].expected = "-2147483646"; in test_signed_short_formatting()
334 i++; ss_test[i].num = -0x7FFF0000 -1; ss_test[i].expected = "-2147418113"; in test_signed_short_formatting()
335 i++; ss_test[i].num = -0x00007FFF -1; ss_test[i].expected = "-32768"; in test_signed_short_formatting()
337 i++; ss_test[i].num = -0x7F000000 -1; ss_test[i].expected = "-2130706433"; in test_signed_short_formatting()
338 i++; ss_test[i].num = -0x007F0000 -1; ss_test[i].expected = "-8323073"; in test_signed_short_formatting()
339 i++; ss_test[i].num = -0x00007F00 -1; ss_test[i].expected = "-32513"; in test_signed_short_formatting()
340 i++; ss_test[i].num = -0x0000007F -1; ss_test[i].expected = "-128"; in test_signed_short_formatting()
342 i++; ss_test[i].num = -0x70000000 -1; ss_test[i].expected = "-1879048193"; in test_signed_short_formatting()
343 i++; ss_test[i].num = -0x07000000 -1; ss_test[i].expected = "-117440513"; in test_signed_short_formatting()
344 i++; ss_test[i].num = -0x00700000 -1; ss_test[i].expected = "-7340033"; in test_signed_short_formatting()
345 i++; ss_test[i].num = -0x00070000 -1; ss_test[i].expected = "-458753"; in test_signed_short_formatting()
346 i++; ss_test[i].num = -0x00007000 -1; ss_test[i].expected = "-28673"; in test_signed_short_formatting()
347 i++; ss_test[i].num = -0x00000700 -1; ss_test[i].expected = "-1793"; in test_signed_short_formatting()
348 i++; ss_test[i].num = -0x00000070 -1; ss_test[i].expected = "-113"; in test_signed_short_formatting()
349 i++; ss_test[i].num = -0x00000007 -1; ss_test[i].expected = "-8"; in test_signed_short_formatting()
351 i++; ss_test[i].num = -0x50000000 -1; ss_test[i].expected = "-1342177281"; in test_signed_short_formatting()
352 i++; ss_test[i].num = -0x05000000 -1; ss_test[i].expected = "-83886081"; in test_signed_short_formatting()
353 i++; ss_test[i].num = -0x00500000 -1; ss_test[i].expected = "-5242881"; in test_signed_short_formatting()
354 i++; ss_test[i].num = -0x00050000 -1; ss_test[i].expected = "-327681"; in test_signed_short_formatting()
355 i++; ss_test[i].num = -0x00005000 -1; ss_test[i].expected = "-20481"; in test_signed_short_formatting()
356 i++; ss_test[i].num = -0x00000500 -1; ss_test[i].expected = "-1281"; in test_signed_short_formatting()
357 i++; ss_test[i].num = -0x00000050 -1; ss_test[i].expected = "-81"; in test_signed_short_formatting()
358 i++; ss_test[i].num = -0x00000005 -1; ss_test[i].expected = "-6"; in test_signed_short_formatting()
360 i++; ss_test[i].num = 0x00000000 -1; ss_test[i].expected = "-1"; in test_signed_short_formatting()
375 ss_test[i].expected, in test_signed_short_formatting()
376 strlen(ss_test[i].expected))) { in test_signed_short_formatting()
378 i, ss_test[i].expected, ss_test[i].result); in test_signed_short_formatting()
401 i=1; ui_test[i].num = 0xFFFFU; ui_test[i].expected = "65535"; in test_unsigned_int_formatting()
402 i++; ui_test[i].num = 0xFF00U; ui_test[i].expected = "65280"; in test_unsigned_int_formatting()
403 i++; ui_test[i].num = 0x00FFU; ui_test[i].expected = "255"; in test_unsigned_int_formatting()
405 i++; ui_test[i].num = 0xF000U; ui_test[i].expected = "61440"; in test_unsigned_int_formatting()
406 i++; ui_test[i].num = 0x0F00U; ui_test[i].expected = "3840"; in test_unsigned_int_formatting()
407 i++; ui_test[i].num = 0x00F0U; ui_test[i].expected = "240"; in test_unsigned_int_formatting()
408 i++; ui_test[i].num = 0x000FU; ui_test[i].expected = "15"; in test_unsigned_int_formatting()
410 i++; ui_test[i].num = 0xC000U; ui_test[i].expected = "49152"; in test_unsigned_int_formatting()
411 i++; ui_test[i].num = 0x0C00U; ui_test[i].expected = "3072"; in test_unsigned_int_formatting()
412 i++; ui_test[i].num = 0x00C0U; ui_test[i].expected = "192"; in test_unsigned_int_formatting()
413 i++; ui_test[i].num = 0x000CU; ui_test[i].expected = "12"; in test_unsigned_int_formatting()
415 i++; ui_test[i].num = 0x0001U; ui_test[i].expected = "1"; in test_unsigned_int_formatting()
416 i++; ui_test[i].num = 0x0000U; ui_test[i].expected = "0"; in test_unsigned_int_formatting()
422 i=1; ui_test[i].num = 0xFFFFFFFFU; ui_test[i].expected = "4294967295"; in test_unsigned_int_formatting()
423 i++; ui_test[i].num = 0xFFFF0000U; ui_test[i].expected = "4294901760"; in test_unsigned_int_formatting()
424 i++; ui_test[i].num = 0x0000FFFFU; ui_test[i].expected = "65535"; in test_unsigned_int_formatting()
426 i++; ui_test[i].num = 0xFF000000U; ui_test[i].expected = "4278190080"; in test_unsigned_int_formatting()
427 i++; ui_test[i].num = 0x00FF0000U; ui_test[i].expected = "16711680"; in test_unsigned_int_formatting()
428 i++; ui_test[i].num = 0x0000FF00U; ui_test[i].expected = "65280"; in test_unsigned_int_formatting()
429 i++; ui_test[i].num = 0x000000FFU; ui_test[i].expected = "255"; in test_unsigned_int_formatting()
431 i++; ui_test[i].num = 0xF0000000U; ui_test[i].expected = "4026531840"; in test_unsigned_int_formatting()
432 i++; ui_test[i].num = 0x0F000000U; ui_test[i].expected = "251658240"; in test_unsigned_int_formatting()
433 i++; ui_test[i].num = 0x00F00000U; ui_test[i].expected = "15728640"; in test_unsigned_int_formatting()
434 i++; ui_test[i].num = 0x000F0000U; ui_test[i].expected = "983040"; in test_unsigned_int_formatting()
435 i++; ui_test[i].num = 0x0000F000U; ui_test[i].expected = "61440"; in test_unsigned_int_formatting()
436 i++; ui_test[i].num = 0x00000F00U; ui_test[i].expected = "3840"; in test_unsigned_int_formatting()
437 i++; ui_test[i].num = 0x000000F0U; ui_test[i].expected = "240"; in test_unsigned_int_formatting()
438 i++; ui_test[i].num = 0x0000000FU; ui_test[i].expected = "15"; in test_unsigned_int_formatting()
440 i++; ui_test[i].num = 0xC0000000U; ui_test[i].expected = "3221225472"; in test_unsigned_int_formatting()
441 i++; ui_test[i].num = 0x0C000000U; ui_test[i].expected = "201326592"; in test_unsigned_int_formatting()
442 i++; ui_test[i].num = 0x00C00000U; ui_test[i].expected = "12582912"; in test_unsigned_int_formatting()
443 i++; ui_test[i].num = 0x000C0000U; ui_test[i].expected = "786432"; in test_unsigned_int_formatting()
444 i++; ui_test[i].num = 0x0000C000U; ui_test[i].expected = "49152"; in test_unsigned_int_formatting()
445 i++; ui_test[i].num = 0x00000C00U; ui_test[i].expected = "3072"; in test_unsigned_int_formatting()
446 i++; ui_test[i].num = 0x000000C0U; ui_test[i].expected = "192"; in test_unsigned_int_formatting()
447 i++; ui_test[i].num = 0x0000000CU; ui_test[i].expected = "12"; in test_unsigned_int_formatting()
449 i++; ui_test[i].num = 0x00000001U; ui_test[i].expected = "1"; in test_unsigned_int_formatting()
450 i++; ui_test[i].num = 0x00000000U; ui_test[i].expected = "0"; in test_unsigned_int_formatting()
456 i=1; ui_test[i].num = 0xFFFFFFFFFFFFFFFFU; ui_test[i].expected = "18446744073709551615"; in test_unsigned_int_formatting()
457 i++; ui_test[i].num = 0xFFFFFFFF00000000U; ui_test[i].expected = "18446744069414584320"; in test_unsigned_int_formatting()
458 i++; ui_test[i].num = 0x00000000FFFFFFFFU; ui_test[i].expected = "4294967295"; in test_unsigned_int_formatting()
460 i++; ui_test[i].num = 0xFFFF000000000000U; ui_test[i].expected = "18446462598732840960"; in test_unsigned_int_formatting()
461 i++; ui_test[i].num = 0x0000FFFF00000000U; ui_test[i].expected = "281470681743360"; in test_unsigned_int_formatting()
462 i++; ui_test[i].num = 0x00000000FFFF0000U; ui_test[i].expected = "4294901760"; in test_unsigned_int_formatting()
463 i++; ui_test[i].num = 0x000000000000FFFFU; ui_test[i].expected = "65535"; in test_unsigned_int_formatting()
465 i++; ui_test[i].num = 0xFF00000000000000U; ui_test[i].expected = "18374686479671623680"; in test_unsigned_int_formatting()
466 i++; ui_test[i].num = 0x00FF000000000000U; ui_test[i].expected = "71776119061217280"; in test_unsigned_int_formatting()
467 i++; ui_test[i].num = 0x0000FF0000000000U; ui_test[i].expected = "280375465082880"; in test_unsigned_int_formatting()
468 i++; ui_test[i].num = 0x000000FF00000000U; ui_test[i].expected = "1095216660480"; in test_unsigned_int_formatting()
469 i++; ui_test[i].num = 0x00000000FF000000U; ui_test[i].expected = "4278190080"; in test_unsigned_int_formatting()
470 i++; ui_test[i].num = 0x0000000000FF0000U; ui_test[i].expected = "16711680"; in test_unsigned_int_formatting()
471 i++; ui_test[i].num = 0x000000000000FF00U; ui_test[i].expected = "65280"; in test_unsigned_int_formatting()
472 i++; ui_test[i].num = 0x00000000000000FFU; ui_test[i].expected = "255"; in test_unsigned_int_formatting()
474 i++; ui_test[i].num = 0xF000000000000000U; ui_test[i].expected = "17293822569102704640"; in test_unsigned_int_formatting()
475 i++; ui_test[i].num = 0x0F00000000000000U; ui_test[i].expected = "1080863910568919040"; in test_unsigned_int_formatting()
476 i++; ui_test[i].num = 0x00F0000000000000U; ui_test[i].expected = "67553994410557440"; in test_unsigned_int_formatting()
477 i++; ui_test[i].num = 0x000F000000000000U; ui_test[i].expected = "4222124650659840"; in test_unsigned_int_formatting()
478 i++; ui_test[i].num = 0x0000F00000000000U; ui_test[i].expected = "263882790666240"; in test_unsigned_int_formatting()
479 i++; ui_test[i].num = 0x00000F0000000000U; ui_test[i].expected = "16492674416640"; in test_unsigned_int_formatting()
480 i++; ui_test[i].num = 0x000000F000000000U; ui_test[i].expected = "1030792151040"; in test_unsigned_int_formatting()
481 i++; ui_test[i].num = 0x0000000F00000000U; ui_test[i].expected = "64424509440"; in test_unsigned_int_formatting()
482 i++; ui_test[i].num = 0x00000000F0000000U; ui_test[i].expected = "4026531840"; in test_unsigned_int_formatting()
483 i++; ui_test[i].num = 0x000000000F000000U; ui_test[i].expected = "251658240"; in test_unsigned_int_formatting()
484 i++; ui_test[i].num = 0x0000000000F00000U; ui_test[i].expected = "15728640"; in test_unsigned_int_formatting()
485 i++; ui_test[i].num = 0x00000000000F0000U; ui_test[i].expected = "983040"; in test_unsigned_int_formatting()
486 i++; ui_test[i].num = 0x000000000000F000U; ui_test[i].expected = "61440"; in test_unsigned_int_formatting()
487 i++; ui_test[i].num = 0x0000000000000F00U; ui_test[i].expected = "3840"; in test_unsigned_int_formatting()
488 i++; ui_test[i].num = 0x00000000000000F0U; ui_test[i].expected = "240"; in test_unsigned_int_formatting()
489 i++; ui_test[i].num = 0x000000000000000FU; ui_test[i].expected = "15"; in test_unsigned_int_formatting()
491 i++; ui_test[i].num = 0xC000000000000000U; ui_test[i].expected = "13835058055282163712"; in test_unsigned_int_formatting()
492 i++; ui_test[i].num = 0x0C00000000000000U; ui_test[i].expected = "864691128455135232"; in test_unsigned_int_formatting()
493 i++; ui_test[i].num = 0x00C0000000000000U; ui_test[i].expected = "54043195528445952"; in test_unsigned_int_formatting()
494 i++; ui_test[i].num = 0x000C000000000000U; ui_test[i].expected = "3377699720527872"; in test_unsigned_int_formatting()
495 i++; ui_test[i].num = 0x0000C00000000000U; ui_test[i].expected = "211106232532992"; in test_unsigned_int_formatting()
496 i++; ui_test[i].num = 0x00000C0000000000U; ui_test[i].expected = "13194139533312"; in test_unsigned_int_formatting()
497 i++; ui_test[i].num = 0x000000C000000000U; ui_test[i].expected = "824633720832"; in test_unsigned_int_formatting()
498 i++; ui_test[i].num = 0x0000000C00000000U; ui_test[i].expected = "51539607552"; in test_unsigned_int_formatting()
499 i++; ui_test[i].num = 0x00000000C0000000U; ui_test[i].expected = "3221225472"; in test_unsigned_int_formatting()
500 i++; ui_test[i].num = 0x000000000C000000U; ui_test[i].expected = "201326592"; in test_unsigned_int_formatting()
501 i++; ui_test[i].num = 0x0000000000C00000U; ui_test[i].expected = "12582912"; in test_unsigned_int_formatting()
502 i++; ui_test[i].num = 0x00000000000C0000U; ui_test[i].expected = "786432"; in test_unsigned_int_formatting()
503 i++; ui_test[i].num = 0x000000000000C000U; ui_test[i].expected = "49152"; in test_unsigned_int_formatting()
504 i++; ui_test[i].num = 0x0000000000000C00U; ui_test[i].expected = "3072"; in test_unsigned_int_formatting()
505 i++; ui_test[i].num = 0x00000000000000C0U; ui_test[i].expected = "192"; in test_unsigned_int_formatting()
506 i++; ui_test[i].num = 0x000000000000000CU; ui_test[i].expected = "12"; in test_unsigned_int_formatting()
508 i++; ui_test[i].num = 0x00000001U; ui_test[i].expected = "1"; in test_unsigned_int_formatting()
509 i++; ui_test[i].num = 0x00000000U; ui_test[i].expected = "0"; in test_unsigned_int_formatting()
524 ui_test[i].expected, in test_unsigned_int_formatting()
525 strlen(ui_test[i].expected))) { in test_unsigned_int_formatting()
527 i, ui_test[i].expected, ui_test[i].result); in test_unsigned_int_formatting()
550 i=1; si_test[i].num = 0x7FFF; si_test[i].expected = "32767"; in test_signed_int_formatting()
551 i++; si_test[i].num = 0x7FFE; si_test[i].expected = "32766"; in test_signed_int_formatting()
552 i++; si_test[i].num = 0x7FFD; si_test[i].expected = "32765"; in test_signed_int_formatting()
553 i++; si_test[i].num = 0x7F00; si_test[i].expected = "32512"; in test_signed_int_formatting()
554 i++; si_test[i].num = 0x07F0; si_test[i].expected = "2032"; in test_signed_int_formatting()
555 i++; si_test[i].num = 0x007F; si_test[i].expected = "127"; in test_signed_int_formatting()
557 i++; si_test[i].num = 0x7000; si_test[i].expected = "28672"; in test_signed_int_formatting()
558 i++; si_test[i].num = 0x0700; si_test[i].expected = "1792"; in test_signed_int_formatting()
559 i++; si_test[i].num = 0x0070; si_test[i].expected = "112"; in test_signed_int_formatting()
560 i++; si_test[i].num = 0x0007; si_test[i].expected = "7"; in test_signed_int_formatting()
562 i++; si_test[i].num = 0x5000; si_test[i].expected = "20480"; in test_signed_int_formatting()
563 i++; si_test[i].num = 0x0500; si_test[i].expected = "1280"; in test_signed_int_formatting()
564 i++; si_test[i].num = 0x0050; si_test[i].expected = "80"; in test_signed_int_formatting()
565 i++; si_test[i].num = 0x0005; si_test[i].expected = "5"; in test_signed_int_formatting()
567 i++; si_test[i].num = 0x0001; si_test[i].expected = "1"; in test_signed_int_formatting()
568 i++; si_test[i].num = 0x0000; si_test[i].expected = "0"; in test_signed_int_formatting()
570 i++; si_test[i].num = -0x7FFF -1; si_test[i].expected = "-32768"; in test_signed_int_formatting()
571 i++; si_test[i].num = -0x7FFE -1; si_test[i].expected = "-32767"; in test_signed_int_formatting()
572 i++; si_test[i].num = -0x7FFD -1; si_test[i].expected = "-32766"; in test_signed_int_formatting()
573 i++; si_test[i].num = -0x7F00 -1; si_test[i].expected = "-32513"; in test_signed_int_formatting()
574 i++; si_test[i].num = -0x07F0 -1; si_test[i].expected = "-2033"; in test_signed_int_formatting()
575 i++; si_test[i].num = -0x007F -1; si_test[i].expected = "-128"; in test_signed_int_formatting()
577 i++; si_test[i].num = -0x7000 -1; si_test[i].expected = "-28673"; in test_signed_int_formatting()
578 i++; si_test[i].num = -0x0700 -1; si_test[i].expected = "-1793"; in test_signed_int_formatting()
579 i++; si_test[i].num = -0x0070 -1; si_test[i].expected = "-113"; in test_signed_int_formatting()
580 i++; si_test[i].num = -0x0007 -1; si_test[i].expected = "-8"; in test_signed_int_formatting()
582 i++; si_test[i].num = -0x5000 -1; si_test[i].expected = "-20481"; in test_signed_int_formatting()
583 i++; si_test[i].num = -0x0500 -1; si_test[i].expected = "-1281"; in test_signed_int_formatting()
584 i++; si_test[i].num = -0x0050 -1; si_test[i].expected = "-81"; in test_signed_int_formatting()
585 i++; si_test[i].num = -0x0005 -1; si_test[i].expected = "-6"; in test_signed_int_formatting()
587 i++; si_test[i].num = 0x0000 -1; si_test[i].expected = "-1"; in test_signed_int_formatting()
593 i=1; si_test[i].num = 0x7FFFFFFF; si_test[i].expected = "2147483647"; in test_signed_int_formatting()
594 i++; si_test[i].num = 0x7FFFFFFE; si_test[i].expected = "2147483646"; in test_signed_int_formatting()
595 i++; si_test[i].num = 0x7FFFFFFD; si_test[i].expected = "2147483645"; in test_signed_int_formatting()
596 i++; si_test[i].num = 0x7FFF0000; si_test[i].expected = "2147418112"; in test_signed_int_formatting()
597 i++; si_test[i].num = 0x00007FFF; si_test[i].expected = "32767"; in test_signed_int_formatting()
599 i++; si_test[i].num = 0x7F000000; si_test[i].expected = "2130706432"; in test_signed_int_formatting()
600 i++; si_test[i].num = 0x007F0000; si_test[i].expected = "8323072"; in test_signed_int_formatting()
601 i++; si_test[i].num = 0x00007F00; si_test[i].expected = "32512"; in test_signed_int_formatting()
602 i++; si_test[i].num = 0x0000007F; si_test[i].expected = "127"; in test_signed_int_formatting()
604 i++; si_test[i].num = 0x70000000; si_test[i].expected = "1879048192"; in test_signed_int_formatting()
605 i++; si_test[i].num = 0x07000000; si_test[i].expected = "117440512"; in test_signed_int_formatting()
606 i++; si_test[i].num = 0x00700000; si_test[i].expected = "7340032"; in test_signed_int_formatting()
607 i++; si_test[i].num = 0x00070000; si_test[i].expected = "458752"; in test_signed_int_formatting()
608 i++; si_test[i].num = 0x00007000; si_test[i].expected = "28672"; in test_signed_int_formatting()
609 i++; si_test[i].num = 0x00000700; si_test[i].expected = "1792"; in test_signed_int_formatting()
610 i++; si_test[i].num = 0x00000070; si_test[i].expected = "112"; in test_signed_int_formatting()
611 i++; si_test[i].num = 0x00000007; si_test[i].expected = "7"; in test_signed_int_formatting()
613 i++; si_test[i].num = 0x50000000; si_test[i].expected = "1342177280"; in test_signed_int_formatting()
614 i++; si_test[i].num = 0x05000000; si_test[i].expected = "83886080"; in test_signed_int_formatting()
615 i++; si_test[i].num = 0x00500000; si_test[i].expected = "5242880"; in test_signed_int_formatting()
616 i++; si_test[i].num = 0x00050000; si_test[i].expected = "327680"; in test_signed_int_formatting()
617 i++; si_test[i].num = 0x00005000; si_test[i].expected = "20480"; in test_signed_int_formatting()
618 i++; si_test[i].num = 0x00000500; si_test[i].expected = "1280"; in test_signed_int_formatting()
619 i++; si_test[i].num = 0x00000050; si_test[i].expected = "80"; in test_signed_int_formatting()
620 i++; si_test[i].num = 0x00000005; si_test[i].expected = "5"; in test_signed_int_formatting()
622 i++; si_test[i].num = 0x00000001; si_test[i].expected = "1"; in test_signed_int_formatting()
623 i++; si_test[i].num = 0x00000000; si_test[i].expected = "0"; in test_signed_int_formatting()
625 i++; si_test[i].num = -0x7FFFFFFF -1; si_test[i].expected = "-2147483648"; in test_signed_int_formatting()
626 i++; si_test[i].num = -0x7FFFFFFE -1; si_test[i].expected = "-2147483647"; in test_signed_int_formatting()
627 i++; si_test[i].num = -0x7FFFFFFD -1; si_test[i].expected = "-2147483646"; in test_signed_int_formatting()
628 i++; si_test[i].num = -0x7FFF0000 -1; si_test[i].expected = "-2147418113"; in test_signed_int_formatting()
629 i++; si_test[i].num = -0x00007FFF -1; si_test[i].expected = "-32768"; in test_signed_int_formatting()
631 i++; si_test[i].num = -0x7F000000 -1; si_test[i].expected = "-2130706433"; in test_signed_int_formatting()
632 i++; si_test[i].num = -0x007F0000 -1; si_test[i].expected = "-8323073"; in test_signed_int_formatting()
633 i++; si_test[i].num = -0x00007F00 -1; si_test[i].expected = "-32513"; in test_signed_int_formatting()
634 i++; si_test[i].num = -0x0000007F -1; si_test[i].expected = "-128"; in test_signed_int_formatting()
636 i++; si_test[i].num = -0x70000000 -1; si_test[i].expected = "-1879048193"; in test_signed_int_formatting()
637 i++; si_test[i].num = -0x07000000 -1; si_test[i].expected = "-117440513"; in test_signed_int_formatting()
638 i++; si_test[i].num = -0x00700000 -1; si_test[i].expected = "-7340033"; in test_signed_int_formatting()
639 i++; si_test[i].num = -0x00070000 -1; si_test[i].expected = "-458753"; in test_signed_int_formatting()
640 i++; si_test[i].num = -0x00007000 -1; si_test[i].expected = "-28673"; in test_signed_int_formatting()
641 i++; si_test[i].num = -0x00000700 -1; si_test[i].expected = "-1793"; in test_signed_int_formatting()
642 i++; si_test[i].num = -0x00000070 -1; si_test[i].expected = "-113"; in test_signed_int_formatting()
643 i++; si_test[i].num = -0x00000007 -1; si_test[i].expected = "-8"; in test_signed_int_formatting()
645 i++; si_test[i].num = -0x50000000 -1; si_test[i].expected = "-1342177281"; in test_signed_int_formatting()
646 i++; si_test[i].num = -0x05000000 -1; si_test[i].expected = "-83886081"; in test_signed_int_formatting()
647 i++; si_test[i].num = -0x00500000 -1; si_test[i].expected = "-5242881"; in test_signed_int_formatting()
648 i++; si_test[i].num = -0x00050000 -1; si_test[i].expected = "-327681"; in test_signed_int_formatting()
649 i++; si_test[i].num = -0x00005000 -1; si_test[i].expected = "-20481"; in test_signed_int_formatting()
650 i++; si_test[i].num = -0x00000500 -1; si_test[i].expected = "-1281"; in test_signed_int_formatting()
651 i++; si_test[i].num = -0x00000050 -1; si_test[i].expected = "-81"; in test_signed_int_formatting()
652 i++; si_test[i].num = -0x00000005 -1; si_test[i].expected = "-6"; in test_signed_int_formatting()
654 i++; si_test[i].num = 0x00000000 -1; si_test[i].expected = "-1"; in test_signed_int_formatting()
660 i=1; si_test[i].num = 0x7FFFFFFFFFFFFFFF; si_test[i].expected = "9223372036854775807"; in test_signed_int_formatting()
661 i++; si_test[i].num = 0x7FFFFFFFFFFFFFFE; si_test[i].expected = "9223372036854775806"; in test_signed_int_formatting()
662 i++; si_test[i].num = 0x7FFFFFFFFFFFFFFD; si_test[i].expected = "9223372036854775805"; in test_signed_int_formatting()
663 i++; si_test[i].num = 0x7FFFFFFF00000000; si_test[i].expected = "9223372032559808512"; in test_signed_int_formatting()
664 i++; si_test[i].num = 0x000000007FFFFFFF; si_test[i].expected = "2147483647"; in test_signed_int_formatting()
666 i++; si_test[i].num = 0x7FFF000000000000; si_test[i].expected = "9223090561878065152"; in test_signed_int_formatting()
667 i++; si_test[i].num = 0x00007FFF00000000; si_test[i].expected = "140733193388032"; in test_signed_int_formatting()
668 i++; si_test[i].num = 0x000000007FFF0000; si_test[i].expected = "2147418112"; in test_signed_int_formatting()
669 i++; si_test[i].num = 0x0000000000007FFF; si_test[i].expected = "32767"; in test_signed_int_formatting()
671 i++; si_test[i].num = 0x7F00000000000000; si_test[i].expected = "9151314442816847872"; in test_signed_int_formatting()
672 i++; si_test[i].num = 0x007F000000000000; si_test[i].expected = "35747322042253312"; in test_signed_int_formatting()
673 i++; si_test[i].num = 0x00007F0000000000; si_test[i].expected = "139637976727552"; in test_signed_int_formatting()
674 i++; si_test[i].num = 0x0000007F00000000; si_test[i].expected = "545460846592"; in test_signed_int_formatting()
675 i++; si_test[i].num = 0x000000007F000000; si_test[i].expected = "2130706432"; in test_signed_int_formatting()
676 i++; si_test[i].num = 0x00000000007F0000; si_test[i].expected = "8323072"; in test_signed_int_formatting()
677 i++; si_test[i].num = 0x0000000000007F00; si_test[i].expected = "32512"; in test_signed_int_formatting()
678 i++; si_test[i].num = 0x000000000000007F; si_test[i].expected = "127"; in test_signed_int_formatting()
680 i++; si_test[i].num = 0x7000000000000000; si_test[i].expected = "8070450532247928832"; in test_signed_int_formatting()
681 i++; si_test[i].num = 0x0700000000000000; si_test[i].expected = "504403158265495552"; in test_signed_int_formatting()
682 i++; si_test[i].num = 0x0070000000000000; si_test[i].expected = "31525197391593472"; in test_signed_int_formatting()
683 i++; si_test[i].num = 0x0007000000000000; si_test[i].expected = "1970324836974592"; in test_signed_int_formatting()
684 i++; si_test[i].num = 0x0000700000000000; si_test[i].expected = "123145302310912"; in test_signed_int_formatting()
685 i++; si_test[i].num = 0x0000070000000000; si_test[i].expected = "7696581394432"; in test_signed_int_formatting()
686 i++; si_test[i].num = 0x0000007000000000; si_test[i].expected = "481036337152"; in test_signed_int_formatting()
687 i++; si_test[i].num = 0x0000000700000000; si_test[i].expected = "30064771072"; in test_signed_int_formatting()
688 i++; si_test[i].num = 0x0000000070000000; si_test[i].expected = "1879048192"; in test_signed_int_formatting()
689 i++; si_test[i].num = 0x0000000007000000; si_test[i].expected = "117440512"; in test_signed_int_formatting()
690 i++; si_test[i].num = 0x0000000000700000; si_test[i].expected = "7340032"; in test_signed_int_formatting()
691 i++; si_test[i].num = 0x0000000000070000; si_test[i].expected = "458752"; in test_signed_int_formatting()
692 i++; si_test[i].num = 0x0000000000007000; si_test[i].expected = "28672"; in test_signed_int_formatting()
693 i++; si_test[i].num = 0x0000000000000700; si_test[i].expected = "1792"; in test_signed_int_formatting()
694 i++; si_test[i].num = 0x0000000000000070; si_test[i].expected = "112"; in test_signed_int_formatting()
695 i++; si_test[i].num = 0x0000000000000007; si_test[i].expected = "7"; in test_signed_int_formatting()
697 i++; si_test[i].num = 0x0000000000000001; si_test[i].expected = "1"; in test_signed_int_formatting()
698 i++; si_test[i].num = 0x0000000000000000; si_test[i].expected = "0"; in test_signed_int_formatting()
700 i++; si_test[i].num = -0x7FFFFFFFFFFFFFFF -1; si_test[i].expected = "-9223372036854775808"; in test_signed_int_formatting()
701 i++; si_test[i].num = -0x7FFFFFFFFFFFFFFE -1; si_test[i].expected = "-9223372036854775807"; in test_signed_int_formatting()
702 i++; si_test[i].num = -0x7FFFFFFFFFFFFFFD -1; si_test[i].expected = "-9223372036854775806"; in test_signed_int_formatting()
703 i++; si_test[i].num = -0x7FFFFFFF00000000 -1; si_test[i].expected = "-9223372032559808513"; in test_signed_int_formatting()
704 i++; si_test[i].num = -0x000000007FFFFFFF -1; si_test[i].expected = "-2147483648"; in test_signed_int_formatting()
706 i++; si_test[i].num = -0x7FFF000000000000 -1; si_test[i].expected = "-9223090561878065153"; in test_signed_int_formatting()
707 i++; si_test[i].num = -0x00007FFF00000000 -1; si_test[i].expected = "-140733193388033"; in test_signed_int_formatting()
708 i++; si_test[i].num = -0x000000007FFF0000 -1; si_test[i].expected = "-2147418113"; in test_signed_int_formatting()
709 i++; si_test[i].num = -0x0000000000007FFF -1; si_test[i].expected = "-32768"; in test_signed_int_formatting()
711 i++; si_test[i].num = -0x7F00000000000000 -1; si_test[i].expected = "-9151314442816847873"; in test_signed_int_formatting()
712 i++; si_test[i].num = -0x007F000000000000 -1; si_test[i].expected = "-35747322042253313"; in test_signed_int_formatting()
713 i++; si_test[i].num = -0x00007F0000000000 -1; si_test[i].expected = "-139637976727553"; in test_signed_int_formatting()
714 i++; si_test[i].num = -0x0000007F00000000 -1; si_test[i].expected = "-545460846593"; in test_signed_int_formatting()
715 i++; si_test[i].num = -0x000000007F000000 -1; si_test[i].expected = "-2130706433"; in test_signed_int_formatting()
716 i++; si_test[i].num = -0x00000000007F0000 -1; si_test[i].expected = "-8323073"; in test_signed_int_formatting()
717 i++; si_test[i].num = -0x0000000000007F00 -1; si_test[i].expected = "-32513"; in test_signed_int_formatting()
718 i++; si_test[i].num = -0x000000000000007F -1; si_test[i].expected = "-128"; in test_signed_int_formatting()
720 i++; si_test[i].num = -0x7000000000000000 -1; si_test[i].expected = "-8070450532247928833"; in test_signed_int_formatting()
721 i++; si_test[i].num = -0x0700000000000000 -1; si_test[i].expected = "-504403158265495553"; in test_signed_int_formatting()
722 i++; si_test[i].num = -0x0070000000000000 -1; si_test[i].expected = "-31525197391593473"; in test_signed_int_formatting()
723 i++; si_test[i].num = -0x0007000000000000 -1; si_test[i].expected = "-1970324836974593"; in test_signed_int_formatting()
724 i++; si_test[i].num = -0x0000700000000000 -1; si_test[i].expected = "-123145302310913"; in test_signed_int_formatting()
725 i++; si_test[i].num = -0x0000070000000000 -1; si_test[i].expected = "-7696581394433"; in test_signed_int_formatting()
726 i++; si_test[i].num = -0x0000007000000000 -1; si_test[i].expected = "-481036337153"; in test_signed_int_formatting()
727 i++; si_test[i].num = -0x0000000700000000 -1; si_test[i].expected = "-30064771073"; in test_signed_int_formatting()
728 i++; si_test[i].num = -0x0000000070000000 -1; si_test[i].expected = "-1879048193"; in test_signed_int_formatting()
729 i++; si_test[i].num = -0x0000000007000000 -1; si_test[i].expected = "-117440513"; in test_signed_int_formatting()
730 i++; si_test[i].num = -0x0000000000700000 -1; si_test[i].expected = "-7340033"; in test_signed_int_formatting()
731 i++; si_test[i].num = -0x0000000000070000 -1; si_test[i].expected = "-458753"; in test_signed_int_formatting()
732 i++; si_test[i].num = -0x0000000000007000 -1; si_test[i].expected = "-28673"; in test_signed_int_formatting()
733 i++; si_test[i].num = -0x0000000000000700 -1; si_test[i].expected = "-1793"; in test_signed_int_formatting()
734 i++; si_test[i].num = -0x0000000000000070 -1; si_test[i].expected = "-113"; in test_signed_int_formatting()
735 i++; si_test[i].num = -0x0000000000000007 -1; si_test[i].expected = "-8"; in test_signed_int_formatting()
737 i++; si_test[i].num = 0x0000000000000000 -1; si_test[i].expected = "-1"; in test_signed_int_formatting()
752 si_test[i].expected, in test_signed_int_formatting()
753 strlen(si_test[i].expected))) { in test_signed_int_formatting()
755 i, si_test[i].expected, si_test[i].result); in test_signed_int_formatting()
778 i=1; ul_test[i].num = 0xFFFFUL; ul_test[i].expected = "65535"; in test_unsigned_long_formatting()
779 i++; ul_test[i].num = 0xFF00UL; ul_test[i].expected = "65280"; in test_unsigned_long_formatting()
780 i++; ul_test[i].num = 0x00FFUL; ul_test[i].expected = "255"; in test_unsigned_long_formatting()
782 i++; ul_test[i].num = 0xF000UL; ul_test[i].expected = "61440"; in test_unsigned_long_formatting()
783 i++; ul_test[i].num = 0x0F00UL; ul_test[i].expected = "3840"; in test_unsigned_long_formatting()
784 i++; ul_test[i].num = 0x00F0UL; ul_test[i].expected = "240"; in test_unsigned_long_formatting()
785 i++; ul_test[i].num = 0x000FUL; ul_test[i].expected = "15"; in test_unsigned_long_formatting()
787 i++; ul_test[i].num = 0xC000UL; ul_test[i].expected = "49152"; in test_unsigned_long_formatting()
788 i++; ul_test[i].num = 0x0C00UL; ul_test[i].expected = "3072"; in test_unsigned_long_formatting()
789 i++; ul_test[i].num = 0x00C0UL; ul_test[i].expected = "192"; in test_unsigned_long_formatting()
790 i++; ul_test[i].num = 0x000CUL; ul_test[i].expected = "12"; in test_unsigned_long_formatting()
792 i++; ul_test[i].num = 0x0001UL; ul_test[i].expected = "1"; in test_unsigned_long_formatting()
793 i++; ul_test[i].num = 0x0000UL; ul_test[i].expected = "0"; in test_unsigned_long_formatting()
799 i=1; ul_test[i].num = 0xFFFFFFFFUL; ul_test[i].expected = "4294967295"; in test_unsigned_long_formatting()
800 i++; ul_test[i].num = 0xFFFF0000UL; ul_test[i].expected = "4294901760"; in test_unsigned_long_formatting()
801 i++; ul_test[i].num = 0x0000FFFFUL; ul_test[i].expected = "65535"; in test_unsigned_long_formatting()
803 i++; ul_test[i].num = 0xFF000000UL; ul_test[i].expected = "4278190080"; in test_unsigned_long_formatting()
804 i++; ul_test[i].num = 0x00FF0000UL; ul_test[i].expected = "16711680"; in test_unsigned_long_formatting()
805 i++; ul_test[i].num = 0x0000FF00UL; ul_test[i].expected = "65280"; in test_unsigned_long_formatting()
806 i++; ul_test[i].num = 0x000000FFUL; ul_test[i].expected = "255"; in test_unsigned_long_formatting()
808 i++; ul_test[i].num = 0xF0000000UL; ul_test[i].expected = "4026531840"; in test_unsigned_long_formatting()
809 i++; ul_test[i].num = 0x0F000000UL; ul_test[i].expected = "251658240"; in test_unsigned_long_formatting()
810 i++; ul_test[i].num = 0x00F00000UL; ul_test[i].expected = "15728640"; in test_unsigned_long_formatting()
811 i++; ul_test[i].num = 0x000F0000UL; ul_test[i].expected = "983040"; in test_unsigned_long_formatting()
812 i++; ul_test[i].num = 0x0000F000UL; ul_test[i].expected = "61440"; in test_unsigned_long_formatting()
813 i++; ul_test[i].num = 0x00000F00UL; ul_test[i].expected = "3840"; in test_unsigned_long_formatting()
814 i++; ul_test[i].num = 0x000000F0UL; ul_test[i].expected = "240"; in test_unsigned_long_formatting()
815 i++; ul_test[i].num = 0x0000000FUL; ul_test[i].expected = "15"; in test_unsigned_long_formatting()
817 i++; ul_test[i].num = 0xC0000000UL; ul_test[i].expected = "3221225472"; in test_unsigned_long_formatting()
818 i++; ul_test[i].num = 0x0C000000UL; ul_test[i].expected = "201326592"; in test_unsigned_long_formatting()
819 i++; ul_test[i].num = 0x00C00000UL; ul_test[i].expected = "12582912"; in test_unsigned_long_formatting()
820 i++; ul_test[i].num = 0x000C0000UL; ul_test[i].expected = "786432"; in test_unsigned_long_formatting()
821 i++; ul_test[i].num = 0x0000C000UL; ul_test[i].expected = "49152"; in test_unsigned_long_formatting()
822 i++; ul_test[i].num = 0x00000C00UL; ul_test[i].expected = "3072"; in test_unsigned_long_formatting()
823 i++; ul_test[i].num = 0x000000C0UL; ul_test[i].expected = "192"; in test_unsigned_long_formatting()
824 i++; ul_test[i].num = 0x0000000CUL; ul_test[i].expected = "12"; in test_unsigned_long_formatting()
826 i++; ul_test[i].num = 0x00000001UL; ul_test[i].expected = "1"; in test_unsigned_long_formatting()
827 i++; ul_test[i].num = 0x00000000UL; ul_test[i].expected = "0"; in test_unsigned_long_formatting()
833 i=1; ul_test[i].num = 0xFFFFFFFFFFFFFFFFUL; ul_test[i].expected = "18446744073709551615"; in test_unsigned_long_formatting()
834 i++; ul_test[i].num = 0xFFFFFFFF00000000UL; ul_test[i].expected = "18446744069414584320"; in test_unsigned_long_formatting()
835 i++; ul_test[i].num = 0x00000000FFFFFFFFUL; ul_test[i].expected = "4294967295"; in test_unsigned_long_formatting()
837 i++; ul_test[i].num = 0xFFFF000000000000UL; ul_test[i].expected = "18446462598732840960"; in test_unsigned_long_formatting()
838 i++; ul_test[i].num = 0x0000FFFF00000000UL; ul_test[i].expected = "281470681743360"; in test_unsigned_long_formatting()
839 i++; ul_test[i].num = 0x00000000FFFF0000UL; ul_test[i].expected = "4294901760"; in test_unsigned_long_formatting()
840 i++; ul_test[i].num = 0x000000000000FFFFUL; ul_test[i].expected = "65535"; in test_unsigned_long_formatting()
842 i++; ul_test[i].num = 0xFF00000000000000UL; ul_test[i].expected = "18374686479671623680"; in test_unsigned_long_formatting()
843 i++; ul_test[i].num = 0x00FF000000000000UL; ul_test[i].expected = "71776119061217280"; in test_unsigned_long_formatting()
844 i++; ul_test[i].num = 0x0000FF0000000000UL; ul_test[i].expected = "280375465082880"; in test_unsigned_long_formatting()
845 i++; ul_test[i].num = 0x000000FF00000000UL; ul_test[i].expected = "1095216660480"; in test_unsigned_long_formatting()
846 i++; ul_test[i].num = 0x00000000FF000000UL; ul_test[i].expected = "4278190080"; in test_unsigned_long_formatting()
847 i++; ul_test[i].num = 0x0000000000FF0000UL; ul_test[i].expected = "16711680"; in test_unsigned_long_formatting()
848 i++; ul_test[i].num = 0x000000000000FF00UL; ul_test[i].expected = "65280"; in test_unsigned_long_formatting()
849 i++; ul_test[i].num = 0x00000000000000FFUL; ul_test[i].expected = "255"; in test_unsigned_long_formatting()
851 i++; ul_test[i].num = 0xF000000000000000UL; ul_test[i].expected = "17293822569102704640"; in test_unsigned_long_formatting()
852 i++; ul_test[i].num = 0x0F00000000000000UL; ul_test[i].expected = "1080863910568919040"; in test_unsigned_long_formatting()
853 i++; ul_test[i].num = 0x00F0000000000000UL; ul_test[i].expected = "67553994410557440"; in test_unsigned_long_formatting()
854 i++; ul_test[i].num = 0x000F000000000000UL; ul_test[i].expected = "4222124650659840"; in test_unsigned_long_formatting()
855 i++; ul_test[i].num = 0x0000F00000000000UL; ul_test[i].expected = "263882790666240"; in test_unsigned_long_formatting()
856 i++; ul_test[i].num = 0x00000F0000000000UL; ul_test[i].expected = "16492674416640"; in test_unsigned_long_formatting()
857 i++; ul_test[i].num = 0x000000F000000000UL; ul_test[i].expected = "1030792151040"; in test_unsigned_long_formatting()
858 i++; ul_test[i].num = 0x0000000F00000000UL; ul_test[i].expected = "64424509440"; in test_unsigned_long_formatting()
859 i++; ul_test[i].num = 0x00000000F0000000UL; ul_test[i].expected = "4026531840"; in test_unsigned_long_formatting()
860 i++; ul_test[i].num = 0x000000000F000000UL; ul_test[i].expected = "251658240"; in test_unsigned_long_formatting()
861 i++; ul_test[i].num = 0x0000000000F00000UL; ul_test[i].expected = "15728640"; in test_unsigned_long_formatting()
862 i++; ul_test[i].num = 0x00000000000F0000UL; ul_test[i].expected = "983040"; in test_unsigned_long_formatting()
863 i++; ul_test[i].num = 0x000000000000F000UL; ul_test[i].expected = "61440"; in test_unsigned_long_formatting()
864 i++; ul_test[i].num = 0x0000000000000F00UL; ul_test[i].expected = "3840"; in test_unsigned_long_formatting()
865 i++; ul_test[i].num = 0x00000000000000F0UL; ul_test[i].expected = "240"; in test_unsigned_long_formatting()
866 i++; ul_test[i].num = 0x000000000000000FUL; ul_test[i].expected = "15"; in test_unsigned_long_formatting()
868 i++; ul_test[i].num = 0xC000000000000000UL; ul_test[i].expected = "13835058055282163712"; in test_unsigned_long_formatting()
869 i++; ul_test[i].num = 0x0C00000000000000UL; ul_test[i].expected = "864691128455135232"; in test_unsigned_long_formatting()
870 i++; ul_test[i].num = 0x00C0000000000000UL; ul_test[i].expected = "54043195528445952"; in test_unsigned_long_formatting()
871 i++; ul_test[i].num = 0x000C000000000000UL; ul_test[i].expected = "3377699720527872"; in test_unsigned_long_formatting()
872 i++; ul_test[i].num = 0x0000C00000000000UL; ul_test[i].expected = "211106232532992"; in test_unsigned_long_formatting()
873 i++; ul_test[i].num = 0x00000C0000000000UL; ul_test[i].expected = "13194139533312"; in test_unsigned_long_formatting()
874 i++; ul_test[i].num = 0x000000C000000000UL; ul_test[i].expected = "824633720832"; in test_unsigned_long_formatting()
875 i++; ul_test[i].num = 0x0000000C00000000UL; ul_test[i].expected = "51539607552"; in test_unsigned_long_formatting()
876 i++; ul_test[i].num = 0x00000000C0000000UL; ul_test[i].expected = "3221225472"; in test_unsigned_long_formatting()
877 i++; ul_test[i].num = 0x000000000C000000UL; ul_test[i].expected = "201326592"; in test_unsigned_long_formatting()
878 i++; ul_test[i].num = 0x0000000000C00000UL; ul_test[i].expected = "12582912"; in test_unsigned_long_formatting()
879 i++; ul_test[i].num = 0x00000000000C0000UL; ul_test[i].expected = "786432"; in test_unsigned_long_formatting()
880 i++; ul_test[i].num = 0x000000000000C000UL; ul_test[i].expected = "49152"; in test_unsigned_long_formatting()
881 i++; ul_test[i].num = 0x0000000000000C00UL; ul_test[i].expected = "3072"; in test_unsigned_long_formatting()
882 i++; ul_test[i].num = 0x00000000000000C0UL; ul_test[i].expected = "192"; in test_unsigned_long_formatting()
883 i++; ul_test[i].num = 0x000000000000000CUL; ul_test[i].expected = "12"; in test_unsigned_long_formatting()
885 i++; ul_test[i].num = 0x00000001UL; ul_test[i].expected = "1"; in test_unsigned_long_formatting()
886 i++; ul_test[i].num = 0x00000000UL; ul_test[i].expected = "0"; in test_unsigned_long_formatting()
901 ul_test[i].expected, in test_unsigned_long_formatting()
902 strlen(ul_test[i].expected))) { in test_unsigned_long_formatting()
904 i, ul_test[i].expected, ul_test[i].result); in test_unsigned_long_formatting()
927 i=1; sl_test[i].num = 0x7FFFL; sl_test[i].expected = "32767"; in test_signed_long_formatting()
928 i++; sl_test[i].num = 0x7FFEL; sl_test[i].expected = "32766"; in test_signed_long_formatting()
929 i++; sl_test[i].num = 0x7FFDL; sl_test[i].expected = "32765"; in test_signed_long_formatting()
930 i++; sl_test[i].num = 0x7F00L; sl_test[i].expected = "32512"; in test_signed_long_formatting()
931 i++; sl_test[i].num = 0x07F0L; sl_test[i].expected = "2032"; in test_signed_long_formatting()
932 i++; sl_test[i].num = 0x007FL; sl_test[i].expected = "127"; in test_signed_long_formatting()
934 i++; sl_test[i].num = 0x7000L; sl_test[i].expected = "28672"; in test_signed_long_formatting()
935 i++; sl_test[i].num = 0x0700L; sl_test[i].expected = "1792"; in test_signed_long_formatting()
936 i++; sl_test[i].num = 0x0070L; sl_test[i].expected = "112"; in test_signed_long_formatting()
937 i++; sl_test[i].num = 0x0007L; sl_test[i].expected = "7"; in test_signed_long_formatting()
939 i++; sl_test[i].num = 0x5000L; sl_test[i].expected = "20480"; in test_signed_long_formatting()
940 i++; sl_test[i].num = 0x0500L; sl_test[i].expected = "1280"; in test_signed_long_formatting()
941 i++; sl_test[i].num = 0x0050L; sl_test[i].expected = "80"; in test_signed_long_formatting()
942 i++; sl_test[i].num = 0x0005L; sl_test[i].expected = "5"; in test_signed_long_formatting()
944 i++; sl_test[i].num = 0x0001L; sl_test[i].expected = "1"; in test_signed_long_formatting()
945 i++; sl_test[i].num = 0x0000L; sl_test[i].expected = "0"; in test_signed_long_formatting()
947 i++; sl_test[i].num = -0x7FFFL -1L; sl_test[i].expected = "-32768"; in test_signed_long_formatting()
948 i++; sl_test[i].num = -0x7FFEL -1L; sl_test[i].expected = "-32767"; in test_signed_long_formatting()
949 i++; sl_test[i].num = -0x7FFDL -1L; sl_test[i].expected = "-32766"; in test_signed_long_formatting()
950 i++; sl_test[i].num = -0x7F00L -1L; sl_test[i].expected = "-32513"; in test_signed_long_formatting()
951 i++; sl_test[i].num = -0x07F0L -1L; sl_test[i].expected = "-2033"; in test_signed_long_formatting()
952 i++; sl_test[i].num = -0x007FL -1L; sl_test[i].expected = "-128"; in test_signed_long_formatting()
954 i++; sl_test[i].num = -0x7000L -1L; sl_test[i].expected = "-28673"; in test_signed_long_formatting()
955 i++; sl_test[i].num = -0x0700L -1L; sl_test[i].expected = "-1793"; in test_signed_long_formatting()
956 i++; sl_test[i].num = -0x0070L -1L; sl_test[i].expected = "-113"; in test_signed_long_formatting()
957 i++; sl_test[i].num = -0x0007L -1L; sl_test[i].expected = "-8"; in test_signed_long_formatting()
959 i++; sl_test[i].num = -0x5000L -1L; sl_test[i].expected = "-20481"; in test_signed_long_formatting()
960 i++; sl_test[i].num = -0x0500L -1L; sl_test[i].expected = "-1281"; in test_signed_long_formatting()
961 i++; sl_test[i].num = -0x0050L -1L; sl_test[i].expected = "-81"; in test_signed_long_formatting()
962 i++; sl_test[i].num = -0x0005L -1L; sl_test[i].expected = "-6"; in test_signed_long_formatting()
964 i++; sl_test[i].num = 0x0000L -1L; sl_test[i].expected = "-1"; in test_signed_long_formatting()
970 i=1; sl_test[i].num = 0x7FFFFFFFL; sl_test[i].expected = "2147483647"; in test_signed_long_formatting()
971 i++; sl_test[i].num = 0x7FFFFFFEL; sl_test[i].expected = "2147483646"; in test_signed_long_formatting()
972 i++; sl_test[i].num = 0x7FFFFFFDL; sl_test[i].expected = "2147483645"; in test_signed_long_formatting()
973 i++; sl_test[i].num = 0x7FFF0000L; sl_test[i].expected = "2147418112"; in test_signed_long_formatting()
974 i++; sl_test[i].num = 0x00007FFFL; sl_test[i].expected = "32767"; in test_signed_long_formatting()
976 i++; sl_test[i].num = 0x7F000000L; sl_test[i].expected = "2130706432"; in test_signed_long_formatting()
977 i++; sl_test[i].num = 0x007F0000L; sl_test[i].expected = "8323072"; in test_signed_long_formatting()
978 i++; sl_test[i].num = 0x00007F00L; sl_test[i].expected = "32512"; in test_signed_long_formatting()
979 i++; sl_test[i].num = 0x0000007FL; sl_test[i].expected = "127"; in test_signed_long_formatting()
981 i++; sl_test[i].num = 0x70000000L; sl_test[i].expected = "1879048192"; in test_signed_long_formatting()
982 i++; sl_test[i].num = 0x07000000L; sl_test[i].expected = "117440512"; in test_signed_long_formatting()
983 i++; sl_test[i].num = 0x00700000L; sl_test[i].expected = "7340032"; in test_signed_long_formatting()
984 i++; sl_test[i].num = 0x00070000L; sl_test[i].expected = "458752"; in test_signed_long_formatting()
985 i++; sl_test[i].num = 0x00007000L; sl_test[i].expected = "28672"; in test_signed_long_formatting()
986 i++; sl_test[i].num = 0x00000700L; sl_test[i].expected = "1792"; in test_signed_long_formatting()
987 i++; sl_test[i].num = 0x00000070L; sl_test[i].expected = "112"; in test_signed_long_formatting()
988 i++; sl_test[i].num = 0x00000007L; sl_test[i].expected = "7"; in test_signed_long_formatting()
990 i++; sl_test[i].num = 0x50000000L; sl_test[i].expected = "1342177280"; in test_signed_long_formatting()
991 i++; sl_test[i].num = 0x05000000L; sl_test[i].expected = "83886080"; in test_signed_long_formatting()
992 i++; sl_test[i].num = 0x00500000L; sl_test[i].expected = "5242880"; in test_signed_long_formatting()
993 i++; sl_test[i].num = 0x00050000L; sl_test[i].expected = "327680"; in test_signed_long_formatting()
994 i++; sl_test[i].num = 0x00005000L; sl_test[i].expected = "20480"; in test_signed_long_formatting()
995 i++; sl_test[i].num = 0x00000500L; sl_test[i].expected = "1280"; in test_signed_long_formatting()
996 i++; sl_test[i].num = 0x00000050L; sl_test[i].expected = "80"; in test_signed_long_formatting()
997 i++; sl_test[i].num = 0x00000005L; sl_test[i].expected = "5"; in test_signed_long_formatting()
999 i++; sl_test[i].num = 0x00000001L; sl_test[i].expected = "1"; in test_signed_long_formatting()
1000 i++; sl_test[i].num = 0x00000000L; sl_test[i].expected = "0"; in test_signed_long_formatting()
1002 i++; sl_test[i].num = -0x7FFFFFFFL -1L; sl_test[i].expected = "-2147483648"; in test_signed_long_formatting()
1003 i++; sl_test[i].num = -0x7FFFFFFEL -1L; sl_test[i].expected = "-2147483647"; in test_signed_long_formatting()
1004 i++; sl_test[i].num = -0x7FFFFFFDL -1L; sl_test[i].expected = "-2147483646"; in test_signed_long_formatting()
1005 i++; sl_test[i].num = -0x7FFF0000L -1L; sl_test[i].expected = "-2147418113"; in test_signed_long_formatting()
1006 i++; sl_test[i].num = -0x00007FFFL -1L; sl_test[i].expected = "-32768"; in test_signed_long_formatting()
1008 i++; sl_test[i].num = -0x7F000000L -1L; sl_test[i].expected = "-2130706433"; in test_signed_long_formatting()
1009 i++; sl_test[i].num = -0x007F0000L -1L; sl_test[i].expected = "-8323073"; in test_signed_long_formatting()
1010 i++; sl_test[i].num = -0x00007F00L -1L; sl_test[i].expected = "-32513"; in test_signed_long_formatting()
1011 i++; sl_test[i].num = -0x0000007FL -1L; sl_test[i].expected = "-128"; in test_signed_long_formatting()
1013 i++; sl_test[i].num = -0x70000000L -1L; sl_test[i].expected = "-1879048193"; in test_signed_long_formatting()
1014 i++; sl_test[i].num = -0x07000000L -1L; sl_test[i].expected = "-117440513"; in test_signed_long_formatting()
1015 i++; sl_test[i].num = -0x00700000L -1L; sl_test[i].expected = "-7340033"; in test_signed_long_formatting()
1016 i++; sl_test[i].num = -0x00070000L -1L; sl_test[i].expected = "-458753"; in test_signed_long_formatting()
1017 i++; sl_test[i].num = -0x00007000L -1L; sl_test[i].expected = "-28673"; in test_signed_long_formatting()
1018 i++; sl_test[i].num = -0x00000700L -1L; sl_test[i].expected = "-1793"; in test_signed_long_formatting()
1019 i++; sl_test[i].num = -0x00000070L -1L; sl_test[i].expected = "-113"; in test_signed_long_formatting()
1020 i++; sl_test[i].num = -0x00000007L -1L; sl_test[i].expected = "-8"; in test_signed_long_formatting()
1022 i++; sl_test[i].num = -0x50000000L -1L; sl_test[i].expected = "-1342177281"; in test_signed_long_formatting()
1023 i++; sl_test[i].num = -0x05000000L -1L; sl_test[i].expected = "-83886081"; in test_signed_long_formatting()
1024 i++; sl_test[i].num = -0x00500000L -1L; sl_test[i].expected = "-5242881"; in test_signed_long_formatting()
1025 i++; sl_test[i].num = -0x00050000L -1L; sl_test[i].expected = "-327681"; in test_signed_long_formatting()
1026 i++; sl_test[i].num = -0x00005000L -1L; sl_test[i].expected = "-20481"; in test_signed_long_formatting()
1027 i++; sl_test[i].num = -0x00000500L -1L; sl_test[i].expected = "-1281"; in test_signed_long_formatting()
1028 i++; sl_test[i].num = -0x00000050L -1L; sl_test[i].expected = "-81"; in test_signed_long_formatting()
1029 i++; sl_test[i].num = -0x00000005L -1L; sl_test[i].expected = "-6"; in test_signed_long_formatting()
1031 i++; sl_test[i].num = 0x00000000L -1L; sl_test[i].expected = "-1"; in test_signed_long_formatting()
1037 i=1; sl_test[i].num = 0x7FFFFFFFFFFFFFFFL; sl_test[i].expected = "9223372036854775807"; in test_signed_long_formatting()
1038 i++; sl_test[i].num = 0x7FFFFFFFFFFFFFFEL; sl_test[i].expected = "9223372036854775806"; in test_signed_long_formatting()
1039 i++; sl_test[i].num = 0x7FFFFFFFFFFFFFFDL; sl_test[i].expected = "9223372036854775805"; in test_signed_long_formatting()
1040 i++; sl_test[i].num = 0x7FFFFFFF00000000L; sl_test[i].expected = "9223372032559808512"; in test_signed_long_formatting()
1041 i++; sl_test[i].num = 0x000000007FFFFFFFL; sl_test[i].expected = "2147483647"; in test_signed_long_formatting()
1043 i++; sl_test[i].num = 0x7FFF000000000000L; sl_test[i].expected = "9223090561878065152"; in test_signed_long_formatting()
1044 i++; sl_test[i].num = 0x00007FFF00000000L; sl_test[i].expected = "140733193388032"; in test_signed_long_formatting()
1045 i++; sl_test[i].num = 0x000000007FFF0000L; sl_test[i].expected = "2147418112"; in test_signed_long_formatting()
1046 i++; sl_test[i].num = 0x0000000000007FFFL; sl_test[i].expected = "32767"; in test_signed_long_formatting()
1048 i++; sl_test[i].num = 0x7F00000000000000L; sl_test[i].expected = "9151314442816847872"; in test_signed_long_formatting()
1049 i++; sl_test[i].num = 0x007F000000000000L; sl_test[i].expected = "35747322042253312"; in test_signed_long_formatting()
1050 i++; sl_test[i].num = 0x00007F0000000000L; sl_test[i].expected = "139637976727552"; in test_signed_long_formatting()
1051 i++; sl_test[i].num = 0x0000007F00000000L; sl_test[i].expected = "545460846592"; in test_signed_long_formatting()
1052 i++; sl_test[i].num = 0x000000007F000000L; sl_test[i].expected = "2130706432"; in test_signed_long_formatting()
1053 i++; sl_test[i].num = 0x00000000007F0000L; sl_test[i].expected = "8323072"; in test_signed_long_formatting()
1054 i++; sl_test[i].num = 0x0000000000007F00L; sl_test[i].expected = "32512"; in test_signed_long_formatting()
1055 i++; sl_test[i].num = 0x000000000000007FL; sl_test[i].expected = "127"; in test_signed_long_formatting()
1057 i++; sl_test[i].num = 0x7000000000000000L; sl_test[i].expected = "8070450532247928832"; in test_signed_long_formatting()
1058 i++; sl_test[i].num = 0x0700000000000000L; sl_test[i].expected = "504403158265495552"; in test_signed_long_formatting()
1059 i++; sl_test[i].num = 0x0070000000000000L; sl_test[i].expected = "31525197391593472"; in test_signed_long_formatting()
1060 i++; sl_test[i].num = 0x0007000000000000L; sl_test[i].expected = "1970324836974592"; in test_signed_long_formatting()
1061 i++; sl_test[i].num = 0x0000700000000000L; sl_test[i].expected = "123145302310912"; in test_signed_long_formatting()
1062 i++; sl_test[i].num = 0x0000070000000000L; sl_test[i].expected = "7696581394432"; in test_signed_long_formatting()
1063 i++; sl_test[i].num = 0x0000007000000000L; sl_test[i].expected = "481036337152"; in test_signed_long_formatting()
1064 i++; sl_test[i].num = 0x0000000700000000L; sl_test[i].expected = "30064771072"; in test_signed_long_formatting()
1065 i++; sl_test[i].num = 0x0000000070000000L; sl_test[i].expected = "1879048192"; in test_signed_long_formatting()
1066 i++; sl_test[i].num = 0x0000000007000000L; sl_test[i].expected = "117440512"; in test_signed_long_formatting()
1067 i++; sl_test[i].num = 0x0000000000700000L; sl_test[i].expected = "7340032"; in test_signed_long_formatting()
1068 i++; sl_test[i].num = 0x0000000000070000L; sl_test[i].expected = "458752"; in test_signed_long_formatting()
1069 i++; sl_test[i].num = 0x0000000000007000L; sl_test[i].expected = "28672"; in test_signed_long_formatting()
1070 i++; sl_test[i].num = 0x0000000000000700L; sl_test[i].expected = "1792"; in test_signed_long_formatting()
1071 i++; sl_test[i].num = 0x0000000000000070L; sl_test[i].expected = "112"; in test_signed_long_formatting()
1072 i++; sl_test[i].num = 0x0000000000000007L; sl_test[i].expected = "7"; in test_signed_long_formatting()
1074 i++; sl_test[i].num = 0x0000000000000001L; sl_test[i].expected = "1"; in test_signed_long_formatting()
1075 i++; sl_test[i].num = 0x0000000000000000L; sl_test[i].expected = "0"; in test_signed_long_formatting()
1077 i++; sl_test[i].num = -0x7FFFFFFFFFFFFFFFL -1L; sl_test[i].expected = "-9223372036854775808"; in test_signed_long_formatting()
1078 i++; sl_test[i].num = -0x7FFFFFFFFFFFFFFEL -1L; sl_test[i].expected = "-9223372036854775807"; in test_signed_long_formatting()
1079 i++; sl_test[i].num = -0x7FFFFFFFFFFFFFFDL -1L; sl_test[i].expected = "-9223372036854775806"; in test_signed_long_formatting()
1080 i++; sl_test[i].num = -0x7FFFFFFF00000000L -1L; sl_test[i].expected = "-9223372032559808513"; in test_signed_long_formatting()
1081 i++; sl_test[i].num = -0x000000007FFFFFFFL -1L; sl_test[i].expected = "-2147483648"; in test_signed_long_formatting()
1083 i++; sl_test[i].num = -0x7FFF000000000000L -1L; sl_test[i].expected = "-9223090561878065153"; in test_signed_long_formatting()
1084 i++; sl_test[i].num = -0x00007FFF00000000L -1L; sl_test[i].expected = "-140733193388033"; in test_signed_long_formatting()
1085 i++; sl_test[i].num = -0x000000007FFF0000L -1L; sl_test[i].expected = "-2147418113"; in test_signed_long_formatting()
1086 i++; sl_test[i].num = -0x0000000000007FFFL -1L; sl_test[i].expected = "-32768"; in test_signed_long_formatting()
1088 i++; sl_test[i].num = -0x7F00000000000000L -1L; sl_test[i].expected = "-9151314442816847873"; in test_signed_long_formatting()
1089 i++; sl_test[i].num = -0x007F000000000000L -1L; sl_test[i].expected = "-35747322042253313"; in test_signed_long_formatting()
1090 i++; sl_test[i].num = -0x00007F0000000000L -1L; sl_test[i].expected = "-139637976727553"; in test_signed_long_formatting()
1091 i++; sl_test[i].num = -0x0000007F00000000L -1L; sl_test[i].expected = "-545460846593"; in test_signed_long_formatting()
1092 i++; sl_test[i].num = -0x000000007F000000L -1L; sl_test[i].expected = "-2130706433"; in test_signed_long_formatting()
1093 i++; sl_test[i].num = -0x00000000007F0000L -1L; sl_test[i].expected = "-8323073"; in test_signed_long_formatting()
1094 i++; sl_test[i].num = -0x0000000000007F00L -1L; sl_test[i].expected = "-32513"; in test_signed_long_formatting()
1095 i++; sl_test[i].num = -0x000000000000007FL -1L; sl_test[i].expected = "-128"; in test_signed_long_formatting()
1097 i++; sl_test[i].num = -0x7000000000000000L -1L; sl_test[i].expected = "-8070450532247928833"; in test_signed_long_formatting()
1098 i++; sl_test[i].num = -0x0700000000000000L -1L; sl_test[i].expected = "-504403158265495553"; in test_signed_long_formatting()
1099 i++; sl_test[i].num = -0x0070000000000000L -1L; sl_test[i].expected = "-31525197391593473"; in test_signed_long_formatting()
1100 i++; sl_test[i].num = -0x0007000000000000L -1L; sl_test[i].expected = "-1970324836974593"; in test_signed_long_formatting()
1101 i++; sl_test[i].num = -0x0000700000000000L -1L; sl_test[i].expected = "-123145302310913"; in test_signed_long_formatting()
1102 i++; sl_test[i].num = -0x0000070000000000L -1L; sl_test[i].expected = "-7696581394433"; in test_signed_long_formatting()
1103 i++; sl_test[i].num = -0x0000007000000000L -1L; sl_test[i].expected = "-481036337153"; in test_signed_long_formatting()
1104 i++; sl_test[i].num = -0x0000000700000000L -1L; sl_test[i].expected = "-30064771073"; in test_signed_long_formatting()
1105 i++; sl_test[i].num = -0x0000000070000000L -1L; sl_test[i].expected = "-1879048193"; in test_signed_long_formatting()
1106 i++; sl_test[i].num = -0x0000000007000000L -1L; sl_test[i].expected = "-117440513"; in test_signed_long_formatting()
1107 i++; sl_test[i].num = -0x0000000000700000L -1L; sl_test[i].expected = "-7340033"; in test_signed_long_formatting()
1108 i++; sl_test[i].num = -0x0000000000070000L -1L; sl_test[i].expected = "-458753"; in test_signed_long_formatting()
1109 i++; sl_test[i].num = -0x0000000000007000L -1L; sl_test[i].expected = "-28673"; in test_signed_long_formatting()
1110 i++; sl_test[i].num = -0x0000000000000700L -1L; sl_test[i].expected = "-1793"; in test_signed_long_formatting()
1111 i++; sl_test[i].num = -0x0000000000000070L -1L; sl_test[i].expected = "-113"; in test_signed_long_formatting()
1112 i++; sl_test[i].num = -0x0000000000000007L -1L; sl_test[i].expected = "-8"; in test_signed_long_formatting()
1114 i++; sl_test[i].num = 0x0000000000000000L -1L; sl_test[i].expected = "-1"; in test_signed_long_formatting()
1129 sl_test[i].expected, in test_signed_long_formatting()
1130 strlen(sl_test[i].expected))) { in test_signed_long_formatting()
1132 i, sl_test[i].expected, sl_test[i].result); in test_signed_long_formatting()
1155 i=1; co_test[i].num = MPRNT_OFF_T_C(0x7FFF); co_test[i].expected = "32767"; in test_curl_off_t_formatting()
1156 i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFE); co_test[i].expected = "32766"; in test_curl_off_t_formatting()
1157 i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFD); co_test[i].expected = "32765"; in test_curl_off_t_formatting()
1158 i++; co_test[i].num = MPRNT_OFF_T_C(0x7F00); co_test[i].expected = "32512"; in test_curl_off_t_formatting()
1159 i++; co_test[i].num = MPRNT_OFF_T_C(0x07F0); co_test[i].expected = "2032"; in test_curl_off_t_formatting()
1160 i++; co_test[i].num = MPRNT_OFF_T_C(0x007F); co_test[i].expected = "127"; in test_curl_off_t_formatting()
1162 i++; co_test[i].num = MPRNT_OFF_T_C(0x7000); co_test[i].expected = "28672"; in test_curl_off_t_formatting()
1163 i++; co_test[i].num = MPRNT_OFF_T_C(0x0700); co_test[i].expected = "1792"; in test_curl_off_t_formatting()
1164 i++; co_test[i].num = MPRNT_OFF_T_C(0x0070); co_test[i].expected = "112"; in test_curl_off_t_formatting()
1165 i++; co_test[i].num = MPRNT_OFF_T_C(0x0007); co_test[i].expected = "7"; in test_curl_off_t_formatting()
1167 i++; co_test[i].num = MPRNT_OFF_T_C(0x5000); co_test[i].expected = "20480"; in test_curl_off_t_formatting()
1168 i++; co_test[i].num = MPRNT_OFF_T_C(0x0500); co_test[i].expected = "1280"; in test_curl_off_t_formatting()
1169 i++; co_test[i].num = MPRNT_OFF_T_C(0x0050); co_test[i].expected = "80"; in test_curl_off_t_formatting()
1170 i++; co_test[i].num = MPRNT_OFF_T_C(0x0005); co_test[i].expected = "5"; in test_curl_off_t_formatting()
1172 i++; co_test[i].num = MPRNT_OFF_T_C(0x0001); co_test[i].expected = "1"; in test_curl_off_t_formatting()
1173 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000); co_test[i].expected = "0"; in test_curl_off_t_formatting()
1175 i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFF) -MPRNT_OFF_T_C(1); co_test[i].expected = "-32768"; in test_curl_off_t_formatting()
1176 i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFE) -MPRNT_OFF_T_C(1); co_test[i].expected = "-32767"; in test_curl_off_t_formatting()
1177 i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFD) -MPRNT_OFF_T_C(1); co_test[i].expected = "-32766"; in test_curl_off_t_formatting()
1178 i++; co_test[i].num = -MPRNT_OFF_T_C(0x7F00) -MPRNT_OFF_T_C(1); co_test[i].expected = "-32513"; in test_curl_off_t_formatting()
1179 i++; co_test[i].num = -MPRNT_OFF_T_C(0x07F0) -MPRNT_OFF_T_C(1); co_test[i].expected = "-2033"; in test_curl_off_t_formatting()
1180 i++; co_test[i].num = -MPRNT_OFF_T_C(0x007F) -MPRNT_OFF_T_C(1); co_test[i].expected = "-128"; in test_curl_off_t_formatting()
1182 i++; co_test[i].num = -MPRNT_OFF_T_C(0x7000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-28673"; in test_curl_off_t_formatting()
1183 i++; co_test[i].num = -MPRNT_OFF_T_C(0x0700) -MPRNT_OFF_T_C(1); co_test[i].expected = "-1793"; in test_curl_off_t_formatting()
1184 i++; co_test[i].num = -MPRNT_OFF_T_C(0x0070) -MPRNT_OFF_T_C(1); co_test[i].expected = "-113"; in test_curl_off_t_formatting()
1185 i++; co_test[i].num = -MPRNT_OFF_T_C(0x0007) -MPRNT_OFF_T_C(1); co_test[i].expected = "-8"; in test_curl_off_t_formatting()
1187 i++; co_test[i].num = -MPRNT_OFF_T_C(0x5000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-20481"; in test_curl_off_t_formatting()
1188 i++; co_test[i].num = -MPRNT_OFF_T_C(0x0500) -MPRNT_OFF_T_C(1); co_test[i].expected = "-1281"; in test_curl_off_t_formatting()
1189 i++; co_test[i].num = -MPRNT_OFF_T_C(0x0050) -MPRNT_OFF_T_C(1); co_test[i].expected = "-81"; in test_curl_off_t_formatting()
1190 i++; co_test[i].num = -MPRNT_OFF_T_C(0x0005) -MPRNT_OFF_T_C(1); co_test[i].expected = "-6"; in test_curl_off_t_formatting()
1192 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-1"; in test_curl_off_t_formatting()
1198 i=1; co_test[i].num = MPRNT_OFF_T_C(0x7FFFFFFF); co_test[i].expected = "2147483647"; in test_curl_off_t_formatting()
1199 i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFFFFFE); co_test[i].expected = "2147483646"; in test_curl_off_t_formatting()
1200 i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFFFFFD); co_test[i].expected = "2147483645"; in test_curl_off_t_formatting()
1201 i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFF0000); co_test[i].expected = "2147418112"; in test_curl_off_t_formatting()
1202 i++; co_test[i].num = MPRNT_OFF_T_C(0x00007FFF); co_test[i].expected = "32767"; in test_curl_off_t_formatting()
1204 i++; co_test[i].num = MPRNT_OFF_T_C(0x7F000000); co_test[i].expected = "2130706432"; in test_curl_off_t_formatting()
1205 i++; co_test[i].num = MPRNT_OFF_T_C(0x007F0000); co_test[i].expected = "8323072"; in test_curl_off_t_formatting()
1206 i++; co_test[i].num = MPRNT_OFF_T_C(0x00007F00); co_test[i].expected = "32512"; in test_curl_off_t_formatting()
1207 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000007F); co_test[i].expected = "127"; in test_curl_off_t_formatting()
1209 i++; co_test[i].num = MPRNT_OFF_T_C(0x70000000); co_test[i].expected = "1879048192"; in test_curl_off_t_formatting()
1210 i++; co_test[i].num = MPRNT_OFF_T_C(0x07000000); co_test[i].expected = "117440512"; in test_curl_off_t_formatting()
1211 i++; co_test[i].num = MPRNT_OFF_T_C(0x00700000); co_test[i].expected = "7340032"; in test_curl_off_t_formatting()
1212 i++; co_test[i].num = MPRNT_OFF_T_C(0x00070000); co_test[i].expected = "458752"; in test_curl_off_t_formatting()
1213 i++; co_test[i].num = MPRNT_OFF_T_C(0x00007000); co_test[i].expected = "28672"; in test_curl_off_t_formatting()
1214 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000700); co_test[i].expected = "1792"; in test_curl_off_t_formatting()
1215 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000070); co_test[i].expected = "112"; in test_curl_off_t_formatting()
1216 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000007); co_test[i].expected = "7"; in test_curl_off_t_formatting()
1218 i++; co_test[i].num = MPRNT_OFF_T_C(0x50000000); co_test[i].expected = "1342177280"; in test_curl_off_t_formatting()
1219 i++; co_test[i].num = MPRNT_OFF_T_C(0x05000000); co_test[i].expected = "83886080"; in test_curl_off_t_formatting()
1220 i++; co_test[i].num = MPRNT_OFF_T_C(0x00500000); co_test[i].expected = "5242880"; in test_curl_off_t_formatting()
1221 i++; co_test[i].num = MPRNT_OFF_T_C(0x00050000); co_test[i].expected = "327680"; in test_curl_off_t_formatting()
1222 i++; co_test[i].num = MPRNT_OFF_T_C(0x00005000); co_test[i].expected = "20480"; in test_curl_off_t_formatting()
1223 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000500); co_test[i].expected = "1280"; in test_curl_off_t_formatting()
1224 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000050); co_test[i].expected = "80"; in test_curl_off_t_formatting()
1225 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000005); co_test[i].expected = "5"; in test_curl_off_t_formatting()
1227 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000001); co_test[i].expected = "1"; in test_curl_off_t_formatting()
1228 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000000); co_test[i].expected = "0"; in test_curl_off_t_formatting()
1230 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFFFFFF) -MPRNT_OFF_T_C(1); co_test[i].expected = "-214748… in test_curl_off_t_formatting()
1231 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFFFFFE) -MPRNT_OFF_T_C(1); co_test[i].expected = "-214748… in test_curl_off_t_formatting()
1232 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFFFFFD) -MPRNT_OFF_T_C(1); co_test[i].expected = "-214748… in test_curl_off_t_formatting()
1233 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFF0000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-214741… in test_curl_off_t_formatting()
1234 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00007FFF) -MPRNT_OFF_T_C(1); co_test[i].expected = "-32768"; in test_curl_off_t_formatting()
1236 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7F000000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-213070… in test_curl_off_t_formatting()
1237 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x007F0000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-832307… in test_curl_off_t_formatting()
1238 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00007F00) -MPRNT_OFF_T_C(1); co_test[i].expected = "-32513"; in test_curl_off_t_formatting()
1239 i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000007F) -MPRNT_OFF_T_C(1); co_test[i].expected = "-128"; in test_curl_off_t_formatting()
1241 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x70000000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-187904… in test_curl_off_t_formatting()
1242 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x07000000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-117440… in test_curl_off_t_formatting()
1243 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00700000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-734003… in test_curl_off_t_formatting()
1244 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00070000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-458753… in test_curl_off_t_formatting()
1245 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00007000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-28673"; in test_curl_off_t_formatting()
1246 i++; co_test[i].num = -MPRNT_OFF_T_C(0x00000700) -MPRNT_OFF_T_C(1); co_test[i].expected = "-1793"; in test_curl_off_t_formatting()
1247 i++; co_test[i].num = -MPRNT_OFF_T_C(0x00000070) -MPRNT_OFF_T_C(1); co_test[i].expected = "-113"; in test_curl_off_t_formatting()
1248 i++; co_test[i].num = -MPRNT_OFF_T_C(0x00000007) -MPRNT_OFF_T_C(1); co_test[i].expected = "-8"; in test_curl_off_t_formatting()
1250 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x50000000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-134217… in test_curl_off_t_formatting()
1251 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x05000000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-838860… in test_curl_off_t_formatting()
1252 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00500000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-524288… in test_curl_off_t_formatting()
1253 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00050000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-327681… in test_curl_off_t_formatting()
1254 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00005000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-20481"; in test_curl_off_t_formatting()
1255 i++; co_test[i].num = -MPRNT_OFF_T_C(0x00000500) -MPRNT_OFF_T_C(1); co_test[i].expected = "-1281"; in test_curl_off_t_formatting()
1256 i++; co_test[i].num = -MPRNT_OFF_T_C(0x00000050) -MPRNT_OFF_T_C(1); co_test[i].expected = "-81"; in test_curl_off_t_formatting()
1257 i++; co_test[i].num = -MPRNT_OFF_T_C(0x00000005) -MPRNT_OFF_T_C(1); co_test[i].expected = "-6"; in test_curl_off_t_formatting()
1259 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000000) -MPRNT_OFF_T_C(1); co_test[i].expected = "-1"; in test_curl_off_t_formatting()
1265 …i=1; co_test[i].num = MPRNT_OFF_T_C(0x7FFFFFFFFFFFFFFF); co_test[i].expected = "922337203685477580… in test_curl_off_t_formatting()
1266 …i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFFFFFFFFFFFFFE); co_test[i].expected = "922337203685477580… in test_curl_off_t_formatting()
1267 …i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFFFFFFFFFFFFFD); co_test[i].expected = "922337203685477580… in test_curl_off_t_formatting()
1268 …i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFFFFFF00000000); co_test[i].expected = "922337203255980851… in test_curl_off_t_formatting()
1269 i++; co_test[i].num = MPRNT_OFF_T_C(0x000000007FFFFFFF); co_test[i].expected = "2147483647"; in test_curl_off_t_formatting()
1271 …i++; co_test[i].num = MPRNT_OFF_T_C(0x7FFF000000000000); co_test[i].expected = "922309056187806515… in test_curl_off_t_formatting()
1272 i++; co_test[i].num = MPRNT_OFF_T_C(0x00007FFF00000000); co_test[i].expected = "140733193388032"; in test_curl_off_t_formatting()
1273 i++; co_test[i].num = MPRNT_OFF_T_C(0x000000007FFF0000); co_test[i].expected = "2147418112"; in test_curl_off_t_formatting()
1274 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000007FFF); co_test[i].expected = "32767"; in test_curl_off_t_formatting()
1276 …i++; co_test[i].num = MPRNT_OFF_T_C(0x7F00000000000000); co_test[i].expected = "915131444281684787… in test_curl_off_t_formatting()
1277 …i++; co_test[i].num = MPRNT_OFF_T_C(0x007F000000000000); co_test[i].expected = "35747322042253312"; in test_curl_off_t_formatting()
1278 i++; co_test[i].num = MPRNT_OFF_T_C(0x00007F0000000000); co_test[i].expected = "139637976727552"; in test_curl_off_t_formatting()
1279 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000007F00000000); co_test[i].expected = "545460846592"; in test_curl_off_t_formatting()
1280 i++; co_test[i].num = MPRNT_OFF_T_C(0x000000007F000000); co_test[i].expected = "2130706432"; in test_curl_off_t_formatting()
1281 i++; co_test[i].num = MPRNT_OFF_T_C(0x00000000007F0000); co_test[i].expected = "8323072"; in test_curl_off_t_formatting()
1282 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000007F00); co_test[i].expected = "32512"; in test_curl_off_t_formatting()
1283 i++; co_test[i].num = MPRNT_OFF_T_C(0x000000000000007F); co_test[i].expected = "127"; in test_curl_off_t_formatting()
1285 …i++; co_test[i].num = MPRNT_OFF_T_C(0x7000000000000000); co_test[i].expected = "807045053224792883… in test_curl_off_t_formatting()
1286 …i++; co_test[i].num = MPRNT_OFF_T_C(0x0700000000000000); co_test[i].expected = "504403158265495552… in test_curl_off_t_formatting()
1287 …i++; co_test[i].num = MPRNT_OFF_T_C(0x0070000000000000); co_test[i].expected = "31525197391593472"; in test_curl_off_t_formatting()
1288 i++; co_test[i].num = MPRNT_OFF_T_C(0x0007000000000000); co_test[i].expected = "1970324836974592"; in test_curl_off_t_formatting()
1289 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000700000000000); co_test[i].expected = "123145302310912"; in test_curl_off_t_formatting()
1290 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000070000000000); co_test[i].expected = "7696581394432"; in test_curl_off_t_formatting()
1291 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000007000000000); co_test[i].expected = "481036337152"; in test_curl_off_t_formatting()
1292 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000700000000); co_test[i].expected = "30064771072"; in test_curl_off_t_formatting()
1293 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000070000000); co_test[i].expected = "1879048192"; in test_curl_off_t_formatting()
1294 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000007000000); co_test[i].expected = "117440512"; in test_curl_off_t_formatting()
1295 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000700000); co_test[i].expected = "7340032"; in test_curl_off_t_formatting()
1296 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000070000); co_test[i].expected = "458752"; in test_curl_off_t_formatting()
1297 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000007000); co_test[i].expected = "28672"; in test_curl_off_t_formatting()
1298 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000000700); co_test[i].expected = "1792"; in test_curl_off_t_formatting()
1299 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000000070); co_test[i].expected = "112"; in test_curl_off_t_formatting()
1300 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000000007); co_test[i].expected = "7"; in test_curl_off_t_formatting()
1302 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000000001); co_test[i].expected = "1"; in test_curl_off_t_formatting()
1303 i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000000000); co_test[i].expected = "0"; in test_curl_off_t_formatting()
1305 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFFFFFFFFFFFFFF) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1306 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFFFFFFFFFFFFFE) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1307 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFFFFFFFFFFFFFD) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1308 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFFFFFF00000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1309 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x000000007FFFFFFF) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1311 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7FFF000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1312 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00007FFF00000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1313 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x000000007FFF0000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1314 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000007FFF) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1316 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7F00000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1317 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x007F000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1318 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00007F0000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1319 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000007F00000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1320 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x000000007F000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1321 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x00000000007F0000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1322 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000007F00) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1323 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x000000000000007F) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1325 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x7000000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1326 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0700000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1327 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0070000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1328 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0007000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1329 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000700000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1330 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000070000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1331 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000007000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1332 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000700000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1333 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000070000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1334 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000007000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1335 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000700000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1336 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000070000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1337 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000007000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1338 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000000700) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1339 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000000070) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1340 …i++; co_test[i].num = -MPRNT_OFF_T_C(0x0000000000000007) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1342 …i++; co_test[i].num = MPRNT_OFF_T_C(0x0000000000000000) -MPRNT_OFF_T_C(1); co_test[i].expected = … in test_curl_off_t_formatting()
1357 co_test[i].expected, in test_curl_off_t_formatting()
1358 strlen(co_test[i].expected))) { in test_curl_off_t_formatting()
1360 i, co_test[i].expected, co_test[i].result); in test_curl_off_t_formatting()