Lines Matching refs:format_info
461 { SF_FORMAT_INFO format_info ; in format_tests() local
481 format_info.format = 0 ; in format_tests()
482 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
484 last_name = format_info.name ; in format_tests()
486 { format_info.format = k ; in format_tests()
487 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
488 if (strcmp (last_name, format_info.name) >= 0) in format_tests()
489 …\n\nLine %d: format names out of sequence `%s' < `%s'.\n", __LINE__, last_name, format_info.name) ; in format_tests()
492 sfinfo.format = format_info.format ; in format_tests()
496 printf (" Name : %s\n", format_info.name) ; in format_tests()
502 last_name = format_info.name ; in format_tests()
504 format_info.format = 666 ; in format_tests()
505 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
515 format_info.format = 0 ; in format_tests()
516 sf_command (NULL, SFC_GET_FORMAT_MAJOR, &format_info, sizeof (format_info)) ; in format_tests()
518 last_name = format_info.name ; in format_tests()
520 { format_info.format = k ; in format_tests()
521 sf_command (NULL, SFC_GET_FORMAT_MAJOR, &format_info, sizeof (format_info)) ; in format_tests()
522 if (strcmp (last_name, format_info.name) >= 0) in format_tests()
523 … %d: format names out of sequence (%d) `%s' < `%s'.\n", __LINE__, k, last_name, format_info.name) ; in format_tests()
527 last_name = format_info.name ; in format_tests()
529 format_info.format = 666 ; in format_tests()
530 sf_command (NULL, SFC_GET_FORMAT_MAJOR, &format_info, sizeof (format_info)) ; in format_tests()
540 format_info.format = 0 ; in format_tests()
541 sf_command (NULL, SFC_GET_FORMAT_SUBTYPE, &format_info, sizeof (format_info)) ; in format_tests()
543 last_name = format_info.name ; in format_tests()
545 { format_info.format = k ; in format_tests()
546 sf_command (NULL, SFC_GET_FORMAT_SUBTYPE, &format_info, sizeof (format_info)) ; in format_tests()
548 format_info.format = 666 ; in format_tests()
549 sf_command (NULL, SFC_GET_FORMAT_SUBTYPE, &format_info, sizeof (format_info)) ; in format_tests()