Lines Matching defs:ui_test

119 static struct unsint_st   ui_test[UINT_TESTS_ARRSZ];
260 i = 1; ui_test[i].num = 0xFFFFU; ui_test[i].expected = "65535";
261 i++; ui_test[i].num = 0xFF00U; ui_test[i].expected = "65280";
262 i++; ui_test[i].num = 0x00FFU; ui_test[i].expected = "255";
264 i++; ui_test[i].num = 0xF000U; ui_test[i].expected = "61440";
265 i++; ui_test[i].num = 0x0F00U; ui_test[i].expected = "3840";
266 i++; ui_test[i].num = 0x00F0U; ui_test[i].expected = "240";
267 i++; ui_test[i].num = 0x000FU; ui_test[i].expected = "15";
269 i++; ui_test[i].num = 0xC000U; ui_test[i].expected = "49152";
270 i++; ui_test[i].num = 0x0C00U; ui_test[i].expected = "3072";
271 i++; ui_test[i].num = 0x00C0U; ui_test[i].expected = "192";
272 i++; ui_test[i].num = 0x000CU; ui_test[i].expected = "12";
274 i++; ui_test[i].num = 0x0001U; ui_test[i].expected = "1";
275 i++; ui_test[i].num = 0x0000U; ui_test[i].expected = "0";
281 i = 1; ui_test[i].num = 0xFFFFFFFFU; ui_test[i].expected = "4294967295";
282 i++; ui_test[i].num = 0xFFFF0000U; ui_test[i].expected = "4294901760";
283 i++; ui_test[i].num = 0x0000FFFFU; ui_test[i].expected = "65535";
285 i++; ui_test[i].num = 0xFF000000U; ui_test[i].expected = "4278190080";
286 i++; ui_test[i].num = 0x00FF0000U; ui_test[i].expected = "16711680";
287 i++; ui_test[i].num = 0x0000FF00U; ui_test[i].expected = "65280";
288 i++; ui_test[i].num = 0x000000FFU; ui_test[i].expected = "255";
290 i++; ui_test[i].num = 0xF0000000U; ui_test[i].expected = "4026531840";
291 i++; ui_test[i].num = 0x0F000000U; ui_test[i].expected = "251658240";
292 i++; ui_test[i].num = 0x00F00000U; ui_test[i].expected = "15728640";
293 i++; ui_test[i].num = 0x000F0000U; ui_test[i].expected = "983040";
294 i++; ui_test[i].num = 0x0000F000U; ui_test[i].expected = "61440";
295 i++; ui_test[i].num = 0x00000F00U; ui_test[i].expected = "3840";
296 i++; ui_test[i].num = 0x000000F0U; ui_test[i].expected = "240";
297 i++; ui_test[i].num = 0x0000000FU; ui_test[i].expected = "15";
299 i++; ui_test[i].num = 0xC0000000U; ui_test[i].expected = "3221225472";
300 i++; ui_test[i].num = 0x0C000000U; ui_test[i].expected = "201326592";
301 i++; ui_test[i].num = 0x00C00000U; ui_test[i].expected = "12582912";
302 i++; ui_test[i].num = 0x000C0000U; ui_test[i].expected = "786432";
303 i++; ui_test[i].num = 0x0000C000U; ui_test[i].expected = "49152";
304 i++; ui_test[i].num = 0x00000C00U; ui_test[i].expected = "3072";
305 i++; ui_test[i].num = 0x000000C0U; ui_test[i].expected = "192";
306 i++; ui_test[i].num = 0x0000000CU; ui_test[i].expected = "12";
308 i++; ui_test[i].num = 0x00000001U; ui_test[i].expected = "1";
309 i++; ui_test[i].num = 0x00000000U; ui_test[i].expected = "0";
316 i = 1; ui_test[i].num = 0xFFFFFFFFFFFFFFFFU; ui_test[i].expected = "18446744073709551615";
317 i++; ui_test[i].num = 0xFFFFFFFF00000000U; ui_test[i].expected = "18446744069414584320";
318 i++; ui_test[i].num = 0x00000000FFFFFFFFU; ui_test[i].expected = "4294967295";
320 i++; ui_test[i].num = 0xFFFF000000000000U; ui_test[i].expected = "18446462598732840960";
321 i++; ui_test[i].num = 0x0000FFFF00000000U; ui_test[i].expected = "281470681743360";
322 i++; ui_test[i].num = 0x00000000FFFF0000U; ui_test[i].expected = "4294901760";
323 i++; ui_test[i].num = 0x000000000000FFFFU; ui_test[i].expected = "65535";
325 i++; ui_test[i].num = 0xFF00000000000000U; ui_test[i].expected = "18374686479671623680";
326 i++; ui_test[i].num = 0x00FF000000000000U; ui_test[i].expected = "71776119061217280";
327 i++; ui_test[i].num = 0x0000FF0000000000U; ui_test[i].expected = "280375465082880";
328 i++; ui_test[i].num = 0x000000FF00000000U; ui_test[i].expected = "1095216660480";
329 i++; ui_test[i].num = 0x00000000FF000000U; ui_test[i].expected = "4278190080";
330 i++; ui_test[i].num = 0x0000000000FF0000U; ui_test[i].expected = "16711680";
331 i++; ui_test[i].num = 0x000000000000FF00U; ui_test[i].expected = "65280";
332 i++; ui_test[i].num = 0x00000000000000FFU; ui_test[i].expected = "255";
334 i++; ui_test[i].num = 0xF000000000000000U; ui_test[i].expected = "17293822569102704640";
335 i++; ui_test[i].num = 0x0F00000000000000U; ui_test[i].expected = "1080863910568919040";
336 i++; ui_test[i].num = 0x00F0000000000000U; ui_test[i].expected = "67553994410557440";
337 i++; ui_test[i].num = 0x000F000000000000U; ui_test[i].expected = "4222124650659840";
338 i++; ui_test[i].num = 0x0000F00000000000U; ui_test[i].expected = "263882790666240";
339 i++; ui_test[i].num = 0x00000F0000000000U; ui_test[i].expected = "16492674416640";
340 i++; ui_test[i].num = 0x000000F000000000U; ui_test[i].expected = "1030792151040";
341 i++; ui_test[i].num = 0x0000000F00000000U; ui_test[i].expected = "64424509440";
342 i++; ui_test[i].num = 0x00000000F0000000U; ui_test[i].expected = "4026531840";
343 i++; ui_test[i].num = 0x000000000F000000U; ui_test[i].expected = "251658240";
344 i++; ui_test[i].num = 0x0000000000F00000U; ui_test[i].expected = "15728640";
345 i++; ui_test[i].num = 0x00000000000F0000U; ui_test[i].expected = "983040";
346 i++; ui_test[i].num = 0x000000000000F000U; ui_test[i].expected = "61440";
347 i++; ui_test[i].num = 0x0000000000000F00U; ui_test[i].expected = "3840";
348 i++; ui_test[i].num = 0x00000000000000F0U; ui_test[i].expected = "240";
349 i++; ui_test[i].num = 0x000000000000000FU; ui_test[i].expected = "15";
351 i++; ui_test[i].num = 0xC000000000000000U; ui_test[i].expected = "13835058055282163712";
352 i++; ui_test[i].num = 0x0C00000000000000U; ui_test[i].expected = "864691128455135232";
353 i++; ui_test[i].num = 0x00C0000000000000U; ui_test[i].expected = "54043195528445952";
354 i++; ui_test[i].num = 0x000C000000000000U; ui_test[i].expected = "3377699720527872";
355 i++; ui_test[i].num = 0x0000C00000000000U; ui_test[i].expected = "211106232532992";
356 i++; ui_test[i].num = 0x00000C0000000000U; ui_test[i].expected = "13194139533312";
357 i++; ui_test[i].num = 0x000000C000000000U; ui_test[i].expected = "824633720832";
358 i++; ui_test[i].num = 0x0000000C00000000U; ui_test[i].expected = "51539607552";
359 i++; ui_test[i].num = 0x00000000C0000000U; ui_test[i].expected = "3221225472";
360 i++; ui_test[i].num = 0x000000000C000000U; ui_test[i].expected = "201326592";
361 i++; ui_test[i].num = 0x0000000000C00000U; ui_test[i].expected = "12582912";
362 i++; ui_test[i].num = 0x00000000000C0000U; ui_test[i].expected = "786432";
363 i++; ui_test[i].num = 0x000000000000C000U; ui_test[i].expected = "49152";
364 i++; ui_test[i].num = 0x0000000000000C00U; ui_test[i].expected = "3072";
365 i++; ui_test[i].num = 0x00000000000000C0U; ui_test[i].expected = "192";
366 i++; ui_test[i].num = 0x000000000000000CU; ui_test[i].expected = "12";
368 i++; ui_test[i].num = 0x00000001U; ui_test[i].expected = "1";
369 i++; ui_test[i].num = 0x00000000U; ui_test[i].expected = "0";
378 ui_test[i].result[j] = 'X';
379 ui_test[i].result[BUFSZ-1] = '\0';
381 (void)curl_msprintf(ui_test[i].result, "%u", ui_test[i].num);
383 if(memcmp(ui_test[i].result,
384 ui_test[i].expected,
385 strlen(ui_test[i].expected))) {
387 i, ui_test[i].expected, ui_test[i].result);