Lines Matching refs:sec
60 audio_secs_to_bytes(Audio_hdr *hp, double sec) in audio_secs_to_bytes() argument
64 offset = (unsigned)(0.5 + (sec * in audio_secs_to_bytes()
120 audio_secs_to_str(double sec, char *str, int precision) in audio_secs_to_str() argument
128 if (sec == HUGE_VAL) { in audio_secs_to_str()
139 if (sec < 0.) { in audio_secs_to_str()
140 sec = -sec; in audio_secs_to_str()
143 (void) sprintf(buf, "%.*f", precision, sec); in audio_secs_to_str()
144 (void) sscanf(buf, "%lf", &sec); in audio_secs_to_str()
145 if (sec > 0.) in audio_secs_to_str()
150 x = fmod(sec, 60.); in audio_secs_to_str()
151 sec -= x; in audio_secs_to_str()
154 sec += x; in audio_secs_to_str()
156 if (sec >= 60.) { in audio_secs_to_str()
158 ovflow = ((unsigned)sec) / 60; in audio_secs_to_str()
159 sec -= (double)(ovflow * 60); in audio_secs_to_str()
175 if (sec < 10.) in audio_secs_to_str()
177 (void) sprintf(p, "%.*f", precision, sec); in audio_secs_to_str()