Lines Matching refs:delim

387 static void numbers_list_ll(struct kunit *test, const char *delim)  in numbers_list_ll()  argument
389 numbers_list_8(unsigned long long, "%llu", delim, "llu", check_ull); in numbers_list_ll()
390 numbers_list_8(long long, "%lld", delim, "lld", check_ll); in numbers_list_ll()
391 numbers_list_8(long long, "%lld", delim, "lli", check_ll); in numbers_list_ll()
392 numbers_list_8(unsigned long long, "%llx", delim, "llx", check_ull); in numbers_list_ll()
393 numbers_list_8(unsigned long long, "0x%llx", delim, "llx", check_ull); in numbers_list_ll()
394 numbers_list_8(long long, "0x%llx", delim, "lli", check_ll); in numbers_list_ll()
397 static void numbers_list_l(struct kunit *test, const char *delim) in numbers_list_l() argument
399 numbers_list_8(unsigned long, "%lu", delim, "lu", check_ulong); in numbers_list_l()
400 numbers_list_8(long, "%ld", delim, "ld", check_long); in numbers_list_l()
401 numbers_list_8(long, "%ld", delim, "li", check_long); in numbers_list_l()
402 numbers_list_8(unsigned long, "%lx", delim, "lx", check_ulong); in numbers_list_l()
403 numbers_list_8(unsigned long, "0x%lx", delim, "lx", check_ulong); in numbers_list_l()
404 numbers_list_8(long, "0x%lx", delim, "li", check_long); in numbers_list_l()
407 static void numbers_list_d(struct kunit *test, const char *delim) in numbers_list_d() argument
409 numbers_list_8(unsigned int, "%u", delim, "u", check_uint); in numbers_list_d()
410 numbers_list_8(int, "%d", delim, "d", check_int); in numbers_list_d()
411 numbers_list_8(int, "%d", delim, "i", check_int); in numbers_list_d()
412 numbers_list_8(unsigned int, "%x", delim, "x", check_uint); in numbers_list_d()
413 numbers_list_8(unsigned int, "0x%x", delim, "x", check_uint); in numbers_list_d()
414 numbers_list_8(int, "0x%x", delim, "i", check_int); in numbers_list_d()
417 static void numbers_list_h(struct kunit *test, const char *delim) in numbers_list_h() argument
419 numbers_list_8(unsigned short, "%hu", delim, "hu", check_ushort); in numbers_list_h()
420 numbers_list_8(short, "%hd", delim, "hd", check_short); in numbers_list_h()
421 numbers_list_8(short, "%hd", delim, "hi", check_short); in numbers_list_h()
422 numbers_list_8(unsigned short, "%hx", delim, "hx", check_ushort); in numbers_list_h()
423 numbers_list_8(unsigned short, "0x%hx", delim, "hx", check_ushort); in numbers_list_h()
424 numbers_list_8(short, "0x%hx", delim, "hi", check_short); in numbers_list_h()
427 static void numbers_list_hh(struct kunit *test, const char *delim) in numbers_list_hh() argument
429 numbers_list_8(unsigned char, "%hhu", delim, "hhu", check_uchar); in numbers_list_hh()
430 numbers_list_8(signed char, "%hhd", delim, "hhd", check_char); in numbers_list_hh()
431 numbers_list_8(signed char, "%hhd", delim, "hhi", check_char); in numbers_list_hh()
432 numbers_list_8(unsigned char, "%hhx", delim, "hhx", check_uchar); in numbers_list_hh()
433 numbers_list_8(unsigned char, "0x%hhx", delim, "hhx", check_uchar); in numbers_list_hh()
434 numbers_list_8(signed char, "0x%hhx", delim, "hhi", check_char); in numbers_list_hh()
440 const char *delim = *param; in numbers_list() local
442 numbers_list_ll(test, delim); in numbers_list()
443 numbers_list_l(test, delim); in numbers_list()
444 numbers_list_d(test, delim); in numbers_list()
445 numbers_list_h(test, delim); in numbers_list()
446 numbers_list_hh(test, delim); in numbers_list()
449 static void numbers_list_field_width_ll(struct kunit *test, const char *delim) in numbers_list_field_width_ll() argument
451 numbers_list_fix_width(unsigned long long, "%llu", delim, 20, "llu", check_ull); in numbers_list_field_width_ll()
452 numbers_list_fix_width(long long, "%lld", delim, 20, "lld", check_ll); in numbers_list_field_width_ll()
453 numbers_list_fix_width(long long, "%lld", delim, 20, "lli", check_ll); in numbers_list_field_width_ll()
454 numbers_list_fix_width(unsigned long long, "%llx", delim, 16, "llx", check_ull); in numbers_list_field_width_ll()
455 numbers_list_fix_width(unsigned long long, "0x%llx", delim, 18, "llx", check_ull); in numbers_list_field_width_ll()
456 numbers_list_fix_width(long long, "0x%llx", delim, 18, "lli", check_ll); in numbers_list_field_width_ll()
459 static void numbers_list_field_width_l(struct kunit *test, const char *delim) in numbers_list_field_width_l() argument
462 numbers_list_fix_width(unsigned long, "%lu", delim, 20, "lu", check_ulong); in numbers_list_field_width_l()
463 numbers_list_fix_width(long, "%ld", delim, 20, "ld", check_long); in numbers_list_field_width_l()
464 numbers_list_fix_width(long, "%ld", delim, 20, "li", check_long); in numbers_list_field_width_l()
465 numbers_list_fix_width(unsigned long, "%lx", delim, 16, "lx", check_ulong); in numbers_list_field_width_l()
466 numbers_list_fix_width(unsigned long, "0x%lx", delim, 18, "lx", check_ulong); in numbers_list_field_width_l()
467 numbers_list_fix_width(long, "0x%lx", delim, 18, "li", check_long); in numbers_list_field_width_l()
469 numbers_list_fix_width(unsigned long, "%lu", delim, 10, "lu", check_ulong); in numbers_list_field_width_l()
470 numbers_list_fix_width(long, "%ld", delim, 11, "ld", check_long); in numbers_list_field_width_l()
471 numbers_list_fix_width(long, "%ld", delim, 11, "li", check_long); in numbers_list_field_width_l()
472 numbers_list_fix_width(unsigned long, "%lx", delim, 8, "lx", check_ulong); in numbers_list_field_width_l()
473 numbers_list_fix_width(unsigned long, "0x%lx", delim, 10, "lx", check_ulong); in numbers_list_field_width_l()
474 numbers_list_fix_width(long, "0x%lx", delim, 10, "li", check_long); in numbers_list_field_width_l()
478 static void numbers_list_field_width_d(struct kunit *test, const char *delim) in numbers_list_field_width_d() argument
480 numbers_list_fix_width(unsigned int, "%u", delim, 10, "u", check_uint); in numbers_list_field_width_d()
481 numbers_list_fix_width(int, "%d", delim, 11, "d", check_int); in numbers_list_field_width_d()
482 numbers_list_fix_width(int, "%d", delim, 11, "i", check_int); in numbers_list_field_width_d()
483 numbers_list_fix_width(unsigned int, "%x", delim, 8, "x", check_uint); in numbers_list_field_width_d()
484 numbers_list_fix_width(unsigned int, "0x%x", delim, 10, "x", check_uint); in numbers_list_field_width_d()
485 numbers_list_fix_width(int, "0x%x", delim, 10, "i", check_int); in numbers_list_field_width_d()
488 static void numbers_list_field_width_h(struct kunit *test, const char *delim) in numbers_list_field_width_h() argument
490 numbers_list_fix_width(unsigned short, "%hu", delim, 5, "hu", check_ushort); in numbers_list_field_width_h()
491 numbers_list_fix_width(short, "%hd", delim, 6, "hd", check_short); in numbers_list_field_width_h()
492 numbers_list_fix_width(short, "%hd", delim, 6, "hi", check_short); in numbers_list_field_width_h()
493 numbers_list_fix_width(unsigned short, "%hx", delim, 4, "hx", check_ushort); in numbers_list_field_width_h()
494 numbers_list_fix_width(unsigned short, "0x%hx", delim, 6, "hx", check_ushort); in numbers_list_field_width_h()
495 numbers_list_fix_width(short, "0x%hx", delim, 6, "hi", check_short); in numbers_list_field_width_h()
498 static void numbers_list_field_width_hh(struct kunit *test, const char *delim) in numbers_list_field_width_hh() argument
500 numbers_list_fix_width(unsigned char, "%hhu", delim, 3, "hhu", check_uchar); in numbers_list_field_width_hh()
501 numbers_list_fix_width(signed char, "%hhd", delim, 4, "hhd", check_char); in numbers_list_field_width_hh()
502 numbers_list_fix_width(signed char, "%hhd", delim, 4, "hhi", check_char); in numbers_list_field_width_hh()
503 numbers_list_fix_width(unsigned char, "%hhx", delim, 2, "hhx", check_uchar); in numbers_list_field_width_hh()
504 numbers_list_fix_width(unsigned char, "0x%hhx", delim, 4, "hhx", check_uchar); in numbers_list_field_width_hh()
505 numbers_list_fix_width(signed char, "0x%hhx", delim, 4, "hhi", check_char); in numbers_list_field_width_hh()
515 const char *delim = *param; in numbers_list_field_width_typemax() local
517 numbers_list_field_width_ll(test, delim); in numbers_list_field_width_typemax()
518 numbers_list_field_width_l(test, delim); in numbers_list_field_width_typemax()
519 numbers_list_field_width_d(test, delim); in numbers_list_field_width_typemax()
520 numbers_list_field_width_h(test, delim); in numbers_list_field_width_typemax()
521 numbers_list_field_width_hh(test, delim); in numbers_list_field_width_typemax()
524 static void numbers_list_field_width_val_ll(struct kunit *test, const char *delim) in numbers_list_field_width_val_ll() argument
526 numbers_list_val_width(unsigned long long, "%llu", delim, "llu", check_ull); in numbers_list_field_width_val_ll()
527 numbers_list_val_width(long long, "%lld", delim, "lld", check_ll); in numbers_list_field_width_val_ll()
528 numbers_list_val_width(long long, "%lld", delim, "lli", check_ll); in numbers_list_field_width_val_ll()
529 numbers_list_val_width(unsigned long long, "%llx", delim, "llx", check_ull); in numbers_list_field_width_val_ll()
530 numbers_list_val_width(unsigned long long, "0x%llx", delim, "llx", check_ull); in numbers_list_field_width_val_ll()
531 numbers_list_val_width(long long, "0x%llx", delim, "lli", check_ll); in numbers_list_field_width_val_ll()
534 static void numbers_list_field_width_val_l(struct kunit *test, const char *delim) in numbers_list_field_width_val_l() argument
536 numbers_list_val_width(unsigned long, "%lu", delim, "lu", check_ulong); in numbers_list_field_width_val_l()
537 numbers_list_val_width(long, "%ld", delim, "ld", check_long); in numbers_list_field_width_val_l()
538 numbers_list_val_width(long, "%ld", delim, "li", check_long); in numbers_list_field_width_val_l()
539 numbers_list_val_width(unsigned long, "%lx", delim, "lx", check_ulong); in numbers_list_field_width_val_l()
540 numbers_list_val_width(unsigned long, "0x%lx", delim, "lx", check_ulong); in numbers_list_field_width_val_l()
541 numbers_list_val_width(long, "0x%lx", delim, "li", check_long); in numbers_list_field_width_val_l()
544 static void numbers_list_field_width_val_d(struct kunit *test, const char *delim) in numbers_list_field_width_val_d() argument
546 numbers_list_val_width(unsigned int, "%u", delim, "u", check_uint); in numbers_list_field_width_val_d()
547 numbers_list_val_width(int, "%d", delim, "d", check_int); in numbers_list_field_width_val_d()
548 numbers_list_val_width(int, "%d", delim, "i", check_int); in numbers_list_field_width_val_d()
549 numbers_list_val_width(unsigned int, "%x", delim, "x", check_uint); in numbers_list_field_width_val_d()
550 numbers_list_val_width(unsigned int, "0x%x", delim, "x", check_uint); in numbers_list_field_width_val_d()
551 numbers_list_val_width(int, "0x%x", delim, "i", check_int); in numbers_list_field_width_val_d()
554 static void numbers_list_field_width_val_h(struct kunit *test, const char *delim) in numbers_list_field_width_val_h() argument
556 numbers_list_val_width(unsigned short, "%hu", delim, "hu", check_ushort); in numbers_list_field_width_val_h()
557 numbers_list_val_width(short, "%hd", delim, "hd", check_short); in numbers_list_field_width_val_h()
558 numbers_list_val_width(short, "%hd", delim, "hi", check_short); in numbers_list_field_width_val_h()
559 numbers_list_val_width(unsigned short, "%hx", delim, "hx", check_ushort); in numbers_list_field_width_val_h()
560 numbers_list_val_width(unsigned short, "0x%hx", delim, "hx", check_ushort); in numbers_list_field_width_val_h()
561 numbers_list_val_width(short, "0x%hx", delim, "hi", check_short); in numbers_list_field_width_val_h()
564 static void numbers_list_field_width_val_hh(struct kunit *test, const char *delim) in numbers_list_field_width_val_hh() argument
566 numbers_list_val_width(unsigned char, "%hhu", delim, "hhu", check_uchar); in numbers_list_field_width_val_hh()
567 numbers_list_val_width(signed char, "%hhd", delim, "hhd", check_char); in numbers_list_field_width_val_hh()
568 numbers_list_val_width(signed char, "%hhd", delim, "hhi", check_char); in numbers_list_field_width_val_hh()
569 numbers_list_val_width(unsigned char, "%hhx", delim, "hhx", check_uchar); in numbers_list_field_width_val_hh()
570 numbers_list_val_width(unsigned char, "0x%hhx", delim, "hhx", check_uchar); in numbers_list_field_width_val_hh()
571 numbers_list_val_width(signed char, "0x%hhx", delim, "hhi", check_char); in numbers_list_field_width_val_hh()
581 const char *delim = *param; in numbers_list_field_width_val_width() local
583 numbers_list_field_width_val_ll(test, delim); in numbers_list_field_width_val_width()
584 numbers_list_field_width_val_l(test, delim); in numbers_list_field_width_val_width()
585 numbers_list_field_width_val_d(test, delim); in numbers_list_field_width_val_width()
586 numbers_list_field_width_val_h(test, delim); in numbers_list_field_width_val_width()
587 numbers_list_field_width_val_hh(test, delim); in numbers_list_field_width_val_width()
598 const char *delim = ""; in numbers_slice() local
601 test->param_value = &delim; in numbers_slice()