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

12

/haiku-fatelf/src/apps/mediaplayer/support/
H A DDurationToString.cpp19 int32 hours = seconds / 3600;
20 seconds -= hours * 3600;
24 if (hours > 0) {
26 negative ? "-" : "", hours, minutes, seconds);
/haiku-fatelf/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-fatelf/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,
/haiku-fatelf/src/bin/zip/
H A Dmktime.c187 int years, months, days, hours, minutes, seconds; local
192 hours = tm->tm_hour; /* 0..23 */
197 ADJUST_TM(minutes, hours, 60)
198 ADJUST_TM(hours, days, 24)
221 tm->tm_hour = hours;
246 (hours > TM_HOUR_MAX ||
247 (hours == TM_HOUR_MAX &&
255 3600L * (unsigned long)hours +
/haiku-fatelf/src/kits/network/libbind/nameser/
H A Dns_ttl.c54 int secs, mins, hours, days, weeks, x; local
59 hours = src % 24; src /= 24;
72 if (hours) {
73 T(fmt1(hours, 'H', &dst, &dstlen));
80 if (secs || !(weeks || days || hours || mins)) {
/haiku-fatelf/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-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfTimeCode.h49 // hours integer, range 0 - 23
93 // 24 - 27 hours units hours units hours units
94 // 28 - 29 hours tens hours tens hours tens
138 TimeCode (int hours,
170 int hours () const;
H A DImfTimeCode.cpp56 (int hours,
75 setHours (hours);
162 TimeCode::hours () const function in class:Imf::TimeCode
172 throw Iex::ArgExc ("Cannot set hours field in time code. "
55 TimeCode(int hours, int minutes, int seconds, int frame, bool dropFrame, bool colorFrame, bool fieldPhase, bool bgf0, bool bgf1, bool bgf2, int binaryGroup1, int binaryGroup2, int binaryGroup3, int binaryGroup4, int binaryGroup5, int binaryGroup6, int binaryGroup7, int binaryGroup8) argument
/haiku-fatelf/src/apps/mediaplayer/supplier/
H A DSubTitlesSRT.cpp77 int hours; local
81 if (sscanf(timeCode.String(), "%d:%d:%d,%d", &hours, &minutes,
87 subTitle.startTime = (bigtime_t)hours * 60 * 60 * 1000000LL
94 if (sscanf(timeCode.String(), "%d:%d:%d,%d", &hours, &minutes,
100 bigtime_t endTime = (bigtime_t)hours * 60 * 60 * 1000000LL
/haiku-fatelf/src/apps/cortex/InfoView/
H A DFileNodeInfoView.cpp130 int hours, minutes, seconds, frames; local
131 us_to_timecode(duration, &hours, &minutes, &seconds, &frames);
133 sprintf(buffer, "%02d:%02d:%02d:%02d", hours, minutes, seconds, frames);
/haiku-fatelf/src/bin/makeudfimage/
H A DStatistics.cpp107 // hours
108 uint32 hours = time % 24; local
109 sprintf(buffer, "%ld hour%s", hours, hours == 1 ? "" : "s");
/haiku-fatelf/src/apps/clock/
H A Dcl_view.cpp138 int32 hours = fHours; local
139 if (hours >= 12)
140 hours -= 12;
141 hours *= 5;
142 hours += (fMinutes / 12);
144 StrokeLine(BPoint(fOffset, fOffset), fHourPoints[hours]);
267 short hours = loctime->tm_hour; local
273 fOffscreenView->fHours = hours;
/haiku-fatelf/src/libs/ncurses/test/
H A Dtclock.c122 double sangle, sradius, hours; local
190 hours = (t->tm_hour + (t->tm_min / 60.0));
191 if (hours > 12.0)
192 hours -= 12.0;
198 hangle = ((hours) * (2.0 * PI) / 12.0);
/haiku-fatelf/src/system/libroot/add-ons/icu/
H A DICUTimeConversion.cpp71 int hours = 0; local
74 sscanf(tzNameEnd + 1, "%2d:%2d:%2d", &hours, &minutes,
76 hours = min_c(24, max_c(0, hours));
81 * (hours * 3600 + minutes * 60 + seconds);
/haiku-fatelf/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-fatelf/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-fatelf/src/bin/network/ppp_up/
H A DPPPStatusView.cpp152 int32 hours = time / 60; local
154 if(hours) {
156 text << hours << minsec;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dgetdate.y807 only valid TZ range, and consider first two digits as hours, if no
816 interpret it as a number of hours. */
825 /* If the absolute number of minutes is larger than 24 hours,
835 to_hour (long int hours, int meridian)
841 return 0 <= hours && hours < 24 ? hours : -1;
843 return 0 < hours && hours < 12 ? hours
[all...]
/haiku-fatelf/src/bin/patch/
H A Dmaketime.c391 int hours = tm.tm_hour + pt->tmr.tm_hour; local
395 int hours1 = hours + carried_hours;
414 | overflow_sum_sign (tm.tm_hour, pt->tmr.tm_hour, hours)
416 | overflow_sum_sign (hours, carried_hours, hours1)
/haiku-fatelf/src/apps/mediaplayer/
H A DInfoWin.cpp433 bool hours = v > 0; local
434 if (hours)
443 if (hours)
/haiku-fatelf/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-fatelf/src/add-ons/translators/exr/openexr/
H A Dexrheader.cpp212 setw (2) << tc.hours() << ":" <<
217 setw (2) << right << tc.hours() << ":" <<
/haiku-fatelf/src/bin/coreutils/src/
H A Dpinky.c46 /* If true, display the hours:minutes since each user has touched
166 int hours = seconds_idle / (60 * 60); local
168 sprintf (buf, "%02d:%02d", hours, minutes);
/haiku-fatelf/src/bin/network/wget/src/
H A Dmain.c708 int hours, mins, days;
711 hours = secs / 3600, secs %= 3600;
715 sprintf (buf, "%dd %dh %dm %ds", days, hours, mins, secs);
716 else if (hours)
717 sprintf (buf, "%dh %dm %ds", hours, mins, secs);
706 int hours, mins, days; local

Completed in 301 milliseconds

12