Searched refs:time (Results 1 - 25 of 504) sorted by relevance

1234567891011>>

/haiku/src/apps/haiku3d/
H A DMathUtils.cpp18 MathUtils::EaseInOutCubic(float time, float start, float distance, argument
21 time /= duration / 2.0;
22 if (time < 1.0)
23 return distance / 2.0 * time * time * time + start;
24 time -= 2.0;
25 return distance / 2.0 * (time * time * time
30 EaseInOutQuart(float time, float start, float distance, float duration) argument
45 EaseInOutQuint(float time, float start, float distance, float duration) argument
57 EaseInOutSine(float time, float start, float distance, float duration) argument
[all...]
H A DMathUtils.h15 static float EaseInOutCubic(float time, float begin, float distance,
17 static float EaseInOutQuart(float time, float begin, float distance,
19 static float EaseInOutQuint(float time, float begin, float distance,
21 static float EaseInOutSine(float time, float begin, float distance,
/haiku/src/apps/debuganalyzer/util/
H A DTimeUtils.h29 decompose_time(bigtime_t time, decomposed_bigtime& decomposed) argument
32 decomposed.micros = time % 1000000;
33 time /= 1000000;
35 decomposed.seconds = time % 60;
36 time /= 60;
38 decomposed.minutes = time % 60;
39 time /= 60;
41 decomposed.hours = time;
46 decompose_time(nanotime_t time, decomposed_nanotime& decomposed) argument
49 decomposed.nanos = time
63 format_bigtime(bigtime_t time, char* buffer, size_t bufferSize) argument
76 format_bigtime(bigtime_t time) argument
85 format_nanotime(nanotime_t time, char* buffer, size_t bufferSize) argument
98 format_nanotime(nanotime_t time) argument
[all...]
/haiku/src/system/libroot/posix/time/
H A Dnanosleep.c7 #include <time.h>
16 nanosleep(const struct timespec* time, struct timespec* remainingTime) argument
19 clock_nanosleep(CLOCK_MONOTONIC, 0, time, remainingTime));
H A Dtimespec_get.cpp7 #include <time.h>
14 timespec_get(struct timespec* time, int base) argument
21 time->tv_sec = microSeconds / 1000000;
22 time->tv_nsec = (microSeconds % 1000000) * 1000;
H A Dtime.c7 #include <time.h>
12 time(time_t* timer) function
H A Dclock_support.cpp7 #include <time.h>
36 // For clock IDs we can't otherwise verify, try to get the time.
55 clock_gettime(clockid_t clockID, struct timespec* time) argument
57 // get the time in microseconds
78 time->tv_sec = microSeconds / 1000000;
79 time->tv_nsec = (microSeconds % 1000000) * 1000;
86 clock_settime(clockid_t clockID, const struct timespec* time) argument
93 if (time->tv_sec < 0 || time->tv_nsec < 0 || time
105 clock_nanosleep(clockid_t clockID, int flags, const struct timespec* time, struct timespec* remainingTime) argument
[all...]
/haiku/headers/posix/sys/
H A Dtimeb.h9 #include <time.h>
13 time_t time; /* seconds of current time */ member in struct:timeb
14 unsigned short millitm; /* milliseconds of current time */
/haiku/src/apps/mediaplayer/support/
H A DMessageEvent.cpp11 MessageEvent::MessageEvent(bigtime_t time, BHandler* handler, uint32 command) argument
12 : Event(time),
19 MessageEvent::MessageEvent(bigtime_t time, BHandler* handler, argument
21 : Event(time),
28 MessageEvent::MessageEvent(bigtime_t time, const BMessenger& messenger) argument
29 : Event(time),
44 msg.AddInt64("time", Time());
H A DEvent.cpp18 Event::Event(bigtime_t time, bool autoDelete) argument
19 : fTime(time),
31 Event::SetTime(bigtime_t time) argument
33 fTime = time;
H A DMessageEvent.h23 MessageEvent(bigtime_t time,
26 MessageEvent(bigtime_t time,
29 MessageEvent(bigtime_t time,
/haiku/src/libs/posix_error_mapper/
H A Dtime.cpp7 #include <time.h>
13 (clockid_t clockID, int flags, const struct timespec* time,
15 return B_TO_POSITIVE_ERROR(sReal_clock_nanosleep(clockID, flags, time,
/haiku/src/kits/midi/
H A DMidiText.cpp35 uchar channel, uchar note, uchar velocity, uint32 time)
37 _WaitAndPrint(time);
46 uchar channel, uchar note, uchar velocity, uint32 time)
48 _WaitAndPrint(time);
57 uchar channel, uchar note, uchar pressure, uint32 time)
59 _WaitAndPrint(time);
68 uchar channel, uchar controlNumber, uchar controlValue, uint32 time)
70 _WaitAndPrint(time);
79 uchar channel, uchar programNumber, uint32 time)
81 _WaitAndPrint(time);
34 NoteOff( uchar channel, uchar note, uchar velocity, uint32 time) argument
45 NoteOn( uchar channel, uchar note, uchar velocity, uint32 time) argument
56 KeyPressure( uchar channel, uchar note, uchar pressure, uint32 time) argument
67 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, uint32 time) argument
78 ProgramChange( uchar channel, uchar programNumber, uint32 time) argument
89 ChannelPressure(uchar channel, uchar pressure, uint32 time) argument
99 PitchBend(uchar channel, uchar lsb, uchar msb, uint32 time) argument
109 SystemExclusive(void* data, size_t length, uint32 time) argument
121 SystemCommon( uchar status, uchar data1, uchar data2, uint32 time) argument
132 SystemRealTime(uchar status, uint32 time) argument
160 _WaitAndPrint(uint32 time) argument
[all...]
H A DMidiGlue.cpp29 uchar channel, uchar note, uchar velocity, bigtime_t time)
31 fMidiObject->NoteOff(channel + 1, note, velocity, MAKE_TIME(time));
37 uchar channel, uchar note, uchar velocity, bigtime_t time)
39 fMidiObject->NoteOn(channel + 1, note, velocity, MAKE_TIME(time));
45 uchar channel, uchar note, uchar pressure, bigtime_t time)
47 fMidiObject->KeyPressure(channel + 1, note, pressure, MAKE_TIME(time));
53 uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time)
56 channel + 1, controlNumber, controlValue, MAKE_TIME(time));
62 uchar channel, uchar programNumber, bigtime_t time)
64 fMidiObject->ProgramChange(channel + 1, programNumber, MAKE_TIME(time));
28 NoteOff( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
36 NoteOn( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
44 KeyPressure( uchar channel, uchar note, uchar pressure, bigtime_t time) argument
52 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time) argument
61 ProgramChange( uchar channel, uchar programNumber, bigtime_t time) argument
69 ChannelPressure( uchar channel, uchar pressure, bigtime_t time) argument
77 PitchBend( uchar channel, uchar lsb, uchar msb, bigtime_t time) argument
85 SystemExclusive( void* data, size_t length, bigtime_t time) argument
93 SystemCommon( uchar status, uchar data1, uchar data2, bigtime_t time) argument
101 SystemRealTime(uchar status, bigtime_t time) argument
108 TempoChange(int32 beatsPerMinute, bigtime_t time) argument
122 NoteOff( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
130 NoteOn( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
138 KeyPressure( uchar channel, uchar note, uchar pressure, bigtime_t time) argument
147 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time) argument
156 ProgramChange( uchar channel, uchar programNumber, bigtime_t time) argument
165 ChannelPressure( uchar channel, uchar pressure, bigtime_t time) argument
173 PitchBend( uchar channel, uchar lsb, uchar msb, bigtime_t time) argument
181 SystemExclusive( void* data, size_t length, bigtime_t time) argument
189 SystemCommon( uchar status, uchar data1, uchar data2, bigtime_t time) argument
197 SystemRealTime(uchar status, bigtime_t time) argument
204 TempoChange(int32 beatsPerMinute, bigtime_t time) argument
[all...]
H A DMidi.cpp63 BMidi::NoteOff(uchar channel, uchar note, uchar velocity, uint32 time) argument
70 BMidi::NoteOn(uchar channel, uchar note, uchar velocity, uint32 time) argument
78 uchar channel, uchar note, uchar pressure, uint32 time)
86 uchar channel, uchar controlNumber, uchar controlValue, uint32 time)
93 BMidi::ProgramChange(uchar channel, uchar programNumber, uint32 time) argument
100 BMidi::ChannelPressure(uchar channel, uchar pressure, uint32 time) argument
107 BMidi::PitchBend(uchar channel, uchar lsb, uchar msb, uint32 time) argument
114 BMidi::SystemExclusive(void* data, size_t length, uint32 time) argument
121 BMidi::SystemCommon(uchar status, uchar data1, uchar data2, uint32 time) argument
128 BMidi::SystemRealTime(uchar status, uint32 time) argument
77 KeyPressure( uchar channel, uchar note, uchar pressure, uint32 time) argument
85 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, uint32 time) argument
135 TempoChange(int32 beatsPerMinute, uint32 time) argument
142 AllNotesOff(bool justChannel, uint32 time) argument
[all...]
H A DMidiGlue.h30 uchar channel, uchar note, uchar velocity, bigtime_t time);
33 uchar channel, uchar note, uchar velocity, bigtime_t time);
36 uchar channel, uchar note, uchar pressure, bigtime_t time);
40 bigtime_t time);
43 uchar channel, uchar programNumber, bigtime_t time);
46 uchar channel, uchar pressure, bigtime_t time);
49 uchar channel, uchar lsb, uchar msb, bigtime_t time);
52 void* data, size_t length, bigtime_t time);
55 uchar status, uchar data1, uchar data2, bigtime_t time);
57 virtual void SystemRealTime(uchar status, bigtime_t time);
[all...]
/haiku/src/apps/midiplayer/
H A DSynthBridge.cpp58 SynthBridge::NoteOff(uchar channel, uchar note, uchar velocity, bigtime_t time) argument
60 fMidiSynth.NoteOff(channel + 1, note, velocity, time / 1000);
65 SynthBridge::NoteOn(uchar channel, uchar note, uchar velocity, bigtime_t time) argument
67 fMidiSynth.NoteOn(channel + 1, note, velocity, time / 1000);
73 bigtime_t time)
75 fMidiSynth.KeyPressure(channel + 1, note, pressure, time / 1000);
81 uchar controlValue, bigtime_t time)
84 time / 1000);
89 SynthBridge::ProgramChange(uchar channel, uchar programNumber, bigtime_t time) argument
91 fMidiSynth.ProgramChange(channel + 1, programNumber, time / 100
72 KeyPressure(uchar channel, uchar note, uchar pressure, bigtime_t time) argument
80 ControlChange(uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time) argument
96 ChannelPressure(uchar channel, uchar pressure, bigtime_t time) argument
103 PitchBend(uchar channel, uchar lsb, uchar msb, bigtime_t time) argument
110 AllNotesOff(bool justChannel, bigtime_t time) argument
[all...]
/haiku/src/servers/registrar/
H A DEvent.cpp33 Event features methods to set and get the event time and the "auto delete"
42 \brief The event time.
52 The event time is initialized to 0. That is, it should be set before
66 \param time Time when the event shall be executed.
70 Event::Event(bigtime_t time, bool autoDelete) argument
71 : fTime(time),
86 /*! \brief Sets a new event time.
91 \param time The new event time.
94 Event::SetTime(bigtime_t time) argument
[all...]
H A DMessageEvent.h40 MessageEvent(bigtime_t time, BHandler* handler, uint32 command);
41 MessageEvent(bigtime_t time, BHandler* handler, const BMessage *message);
42 MessageEvent(bigtime_t time, const BMessenger& messenger, uint32 command);
43 MessageEvent(bigtime_t time, const BMessenger& messenger,
/haiku/src/system/libroot/posix/musl/time/
H A Ddifftime.c1 #include <time.h>
H A Dasctime.c1 #include <time.h>
/haiku/src/tools/cppunit/
H A DTestListener.cpp48 BTestListener::printTime(bigtime_t time) { argument
49 // Print out the elapsed time all pretty and stuff:
50 // time >= 1 minute: HH:MM:SS
51 // 1 minute > time: XXX ms
57 if (time >= oneDay) {
59 cout << " that's 24 hours. That's a long time. Please write shorter" << endl;
60 cout << " tests. Clock time: " << time << " microseconds." << endl;
62 cout << " Clock time: ";
63 if (time >
[all...]
/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dcddb.cpp37 n = n + cddb_sum((toc.tracks[i].start.time.minute * 60)
38 + toc.tracks[i].start.time.second);
41 int32 t = ((toc.tracks[numTracks].start.time.minute * 60)
42 + toc.tracks[numTracks].start.time.second)
43 - ((toc.tracks[0].start.time.minute * 60)
44 + toc.tracks[0].start.time.second);
/haiku/headers/os/midi/
H A DMidi.h20 uchar channel, uchar note, uchar velocity, uint32 time = B_NOW);
23 uchar channel, uchar note, uchar velocity, uint32 time = B_NOW);
26 uchar channel, uchar note, uchar pressure, uint32 time = B_NOW);
30 uint32 time = B_NOW);
33 uchar channel, uchar programNumber, uint32 time = B_NOW);
36 uchar channel, uchar pressure, uint32 time = B_NOW);
39 uchar channel, uchar lsb, uchar msb, uint32 time = B_NOW);
42 void* data, size_t length, uint32 time = B_NOW);
45 uchar status, uchar data1, uchar data2, uint32 time = B_NOW);
47 virtual void SystemRealTime(uchar status, uint32 time
[all...]
/haiku/src/kits/bluetooth/
H A DKitSupport.h15 void SetInquiryTime(uint8 time);

Completed in 109 milliseconds

1234567891011>>