Searched refs:hours (Results 1 - 23 of 23) sorted by relevance

/haiku/src/apps/mediaplayer/support/
H A DDurationToString.cpp19 int32 hours = seconds / 3600;
20 seconds -= hours * 3600;
24 if (hours > 0) {
26 B_PRId32, negative ? "-" : "", hours, minutes, seconds);
/haiku/src/apps/debuganalyzer/util/
H A DTimeUtils.h13 nanotime_t hours; member in struct:decomposed_bigtime
21 nanotime_t hours; member in struct:decomposed_nanotime
40 // hours
41 decomposed.hours = time;
57 // hours
58 decomposed.hours = time;
69 decomposed.hours, decomposed.minutes, decomposed.seconds,
91 decomposed.hours, decomposed.minutes, decomposed.seconds,
/haiku/headers/os/media/
H A DTimeCode.h40 status_t us_to_timecode(bigtime_t micros, int* hours, int* minutes,
43 status_t timecode_to_us(int hours, int minutes, int seconds, int frames,
46 status_t frames_to_timecode(int32 l_frames, int* hours, int* minutes,
49 status_t timecode_to_frames(int hours, int minutes, int seconds, int frames,
64 BTimeCode(int hours, int minutes, int seconds,
69 void SetData(int hours, int minutes, int seconds,
H A DMediaDefs.h666 int8 hours; member in struct:media_header_time_code
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_ttl.c62 int secs, mins, hours, days, weeks, x; local
67 hours = (int)(src % 24); src /= 24;
80 if (hours) {
81 T(fmt1(hours, 'H', &dst, &dstlen));
88 if (secs || !(weeks || days || hours || mins)) {
/haiku/src/kits/media/
H A DTimeCode.cpp10 status_t us_to_timecode(bigtime_t micros, int * hours, int * minutes, int * seconds, int * frames, const timecode_info * code) argument
35 return frames_to_timecode(l_frames, hours, minutes, seconds, frames, code);
38 status_t timecode_to_us(int hours, int minutes, int seconds, int frames, bigtime_t * micros, const timecode_info * code) argument
44 if (timecode_to_frames(hours, minutes, seconds, frames, &l_frames, code) == B_OK) {
70 status_t frames_to_timecode(int32 l_frames, int * hours, int * minutes, int * seconds, int * frames, const timecode_info * code) argument
136 *hours = *minutes / 60;
142 status_t timecode_to_frames(int hours, int minutes, int seconds, int frames, int32 * l_frames, const timecode_info * code) argument
154 total_mins = (hours * 60) + minutes;
166 total_mins = (hours * 60) + minutes;
275 BTimeCode::BTimeCode(int hours, argument
295 SetData(int hours, int minutes, int seconds, int frames) argument
[all...]
/haiku/src/apps/mediaplayer/supplier/
H A DSubTitlesSRT.cpp81 int hours; local
85 if (sscanf(timeCode.String(), "%d:%d:%d,%d", &hours, &minutes,
91 subTitle.startTime = (bigtime_t)hours * 60 * 60 * 1000000LL
98 if (sscanf(timeCode.String(), "%d:%d:%d,%d", &hours, &minutes,
104 bigtime_t endTime = (bigtime_t)hours * 60 * 60 * 1000000LL
/haiku/src/apps/cortex/InfoView/
H A DFileNodeInfoView.cpp141 int hours, minutes, seconds, frames; local
142 us_to_timecode(duration, &hours, &minutes, &seconds, &frames);
144 sprintf(buffer, "%02d:%02d:%02d:%02d", hours, minutes, seconds, frames);
/haiku/src/apps/clock/
H A Dcl_view.cpp129 int32 hours = fHours; local
130 if (hours >= 12)
131 hours -= 12;
132 hours *= 5;
133 hours += (fMinutes / 12);
135 StrokeLine(BPoint(fOffset, fOffset), fHourPoints[hours]);
258 short hours = loctime->tm_hour; local
264 fOffscreenView->fHours = hours;
/haiku/src/system/libroot/add-ons/icu/
H A DICUTimeConversion.cpp80 int hours = 0; local
83 sscanf(tzNameEnd + 1, "%2d:%2d:%2d", &hours, &minutes,
85 hours = min_c(24, max_c(0, hours));
90 * (hours * 3600 + minutes * 60 + seconds);
/haiku/src/apps/debuganalyzer/gui/chart/
H A DBigtimeChartAxisLegendSource.cpp63 decomposed.hours, decomposed.minutes, decomposed.seconds,
H A DNanotimeChartAxisLegendSource.cpp64 decomposed.hours, decomposed.minutes, decomposed.seconds,
/haiku/src/bin/unzip/
H A Dtimezone.c743 int years, months, days, hours, minutes, seconds; local
748 hours = tm->tm_hour; /* 0..23 */
753 ADJUST_TM(minutes, hours, 60)
754 ADJUST_TM(hours, days, 24)
777 tm->tm_hour = hours;
800 (hours > TM_HOUR_MAX ||
801 (hours == TM_HOUR_MAX &&
809 SECSPERHOUR * (unsigned long)hours +
/haiku/src/bin/network/ppp_up/
H A DPPPStatusView.cpp152 int32 hours = time / 60; local
154 if(hours) {
156 text << hours << minsec;
/haiku/src/preferences/time/
H A DAnalogClock.cpp291 // hours
440 float hours = fHours + float(fMinutes) / 60.0; local
441 offsetX = (radius * 0.7) * sinf((hours * M_PI) / 6.0);
442 offsetY = (radius * 0.7) * cosf((hours * M_PI) / 6.0);
/haiku/src/apps/soundrecorder/
H A DTrackSlider.cpp405 uint32 hours = timestamp / 3600000000LL; local
406 timestamp -= hours * 3600000000LL;
413 B_PRId32, hours, minutes, seconds, centiseconds);
/haiku/src/apps/mediaplayer/
H A DInfoWin.cpp534 bool hours = v > 0; local
535 if (hours)
544 if (hours)
/haiku/headers/os/support/
H A DDateTime.h55 BTime& AddHours(int32 hours);
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp128 uint32 hours = usecs / kHour; local
136 snprintf(buffer, sizeof(buffer), "%luh %02lum %02lus", hours, minutes,
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp1804 int32 hours = seconds / 3600;
1805 seconds -= hours * 3600;
1810 if (hours > 0) {
1812 B_PRId32, negative ? "-" : "", hours, minutes, seconds);
/haiku/headers/private/audio/
H A Dhmulti_audio.h601 int32 hours;
H A Dsoundcard.h922 unsigned char hours, minutes, seconds, frames, qframes; member in struct:__anon332
/haiku/src/kits/support/
H A DDateTime.cpp209 Adds \c hours to the current time. If the passed value is negative it
213 BTime::AddHours(int32 hours) argument
215 return _AddMicroseconds(bigtime_t(hours % kHoursPerDay)
331 The return value then can be hours, minutes, seconds, milliseconds or

Completed in 199 milliseconds