Lines Matching refs:DATA_LENGTH
41 #define DATA_LENGTH (1 << 12)
52 { double d [DATA_LENGTH] ;
53 float f [DATA_LENGTH] ;
54 int i [DATA_LENGTH] ;
55 short s [DATA_LENGTH] ;
56 char c [DATA_LENGTH] ;
458 gen_windowed_sine_double (orig_data.d, DATA_LENGTH, [+ (get "max_val") +]) ;
463 CONVERT_DATA (k, DATA_LENGTH, orig, orig_data.d) ;
529 items = DATA_LENGTH ;
699 gen_windowed_sine_double (orig_data.d, DATA_LENGTH, [+ (get "max_val") +]) ;
705 CONVERT_DATA (k, DATA_LENGTH, orig, orig_data.d) ;
707 items = DATA_LENGTH ;
843 sfinfo.frames = DATA_LENGTH ;
875 sfinfo.frames = DATA_LENGTH ;
888 test_write_[+ (get "data_type") +]_or_die (file, pass, orig, DATA_LENGTH, __LINE__) ;
890 …t_read_write_position_or_die (file, __LINE__, pass, (pass - 1) * DATA_LENGTH, pass * DATA_LENGTH) ;
893 test_read_[+ (get "data_type") +]_or_die (file, 0, test, DATA_LENGTH, __LINE__) ;
896 for (k = 0 ; k < DATA_LENGTH ; k++)
899 oct_save_[+ (get "data_type") +] (orig, test, DATA_LENGTH) ;
903 test_read_write_position_or_die (file, __LINE__, pass, pass * DATA_LENGTH, pass * DATA_LENGTH) ;
916 if (sfinfo.frames < 3 * DATA_LENGTH)
917 … %d : Not enough frames in file. (%" PRId64 " < %d)\n", __LINE__, sfinfo.frames, 3 * DATA_LENGTH) ;
921 if (! long_file_ok && sfinfo.frames != 3 * DATA_LENGTH)
922 …umber of frames in file. (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, 3 * DATA_LENGTH) ;
932 test_read_write_position_or_die (file, __LINE__, 0, 0, 3 * DATA_LENGTH) ;
934 …test_seek_or_die (file, 3 * DATA_LENGTH, SFM_WRITE | SEEK_SET, 3 * DATA_LENGTH, sfinfo.channels, _…
939 …test_read_write_position_or_die (file, __LINE__, pass, (pass - 1) * DATA_LENGTH, 3 * DATA_LENGTH) ;
942 test_read_[+ (get "data_type") +]_or_die (file, pass, test, DATA_LENGTH, __LINE__) ;
945 for (k = 0 ; k < DATA_LENGTH ; k++)
948 oct_save_[+ (get "data_type") +] (orig, test, DATA_LENGTH) ;
972 items = DATA_LENGTH ;