Searched refs:time (Results 126 - 150 of 504) sorted by relevance

1234567891011>>

/haiku/src/kits/support/
H A DDateTime.cpp13 #include <time.h>
14 #include <sys/time.h>
38 Constructs a new BTime object. Asked for its time representation, it will
64 specified time is invalid, the time is not set and IsValid() returns false.
112 Returns true if the time is valid, otherwise false. A valid time can be
126 BTime::IsValid(const BTime& time) argument
128 return time.IsValid();
143 Returns the current time a
186 SetTime(const BTime& time) argument
336 Difference(const BTime& time, diff_type type) const argument
492 BDate(time_t time, time_type type) argument
1258 BDateTime(const BDate& date, const BTime& time) argument
1325 SetDateTime(const BDate& date, const BTime& time) argument
1386 SetTime(const BTime& time) argument
1435 BTime time; local
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dbfs.h192 inline uint32 unique_from_nsec(uint32 time);
239 static int64 ToInode(bigtime_t time) argument
240 { return ((time / 1000000) << INODE_TIME_SHIFT)
241 + unique_from_nsec((time % 1000000) * 1000); }
246 static time_t ToSecs(int64 time) argument
247 { return time >> INODE_TIME_SHIFT; }
248 static uint32 ToNsecs(int64 time) argument
249 { return (time & INODE_TIME_MASK) << 14; }
288 BFS uses. If \a time is zero, 12 bits will get a monotonically increasing
291 This is done to decrease the number of duplicate time value
295 unique_from_nsec(uint32 time) argument
[all...]
/haiku/src/apps/debuganalyzer/model/
H A DModel.h71 // time >= eventTime; may return
80 void SetBaseTime(nanotime_t time);
83 void SetLastEventTime(nanotime_t time);
96 nanotime_t time);
103 nanotime_t time);
132 // must be added in order (of time)
147 const nanotime_t* time,
171 nanotime_t time; member in struct:Model::creation_time_id
187 void SetIdleTime(nanotime_t time);
402 nanotime_t time);
1222 SetDeletionTime(nanotime_t time) argument
1421 SetDeletionTime(nanotime_t time) argument
1508 SetLastEventTime(nanotime_t time) argument
[all...]
H A DModel.cpp75 Model::CPU::SetIdleTime(nanotime_t time) argument
77 fIdleTime = time;
268 Model::Team::Team(const system_profiler_team_added* event, nanotime_t time) argument
271 fCreationTime(time),
294 nanotime_t time)
302 fCreationTime(time),
491 Model::Thread::SetIOs(int64 count, nanotime_t time) argument
494 fIOTime = time;
663 // The events themselves are unmodified and use an absolute time.
694 if (event->time < eventTim
293 Thread(Team* team, const system_profiler_thread_added* event, nanotime_t time) argument
733 SetBaseTime(nanotime_t time) argument
740 SetLastEventTime(nanotime_t time) argument
787 AddTeam(const system_profiler_team_added* event, nanotime_t time) argument
831 AddThread(const system_profiler_thread_added* event, nanotime_t time) argument
1027 _CompareEventTimeSchedulingState(const nanotime_t* time, const CompactSchedulingState* state) argument
[all...]
/haiku/src/apps/mediaplayer/supplier/
H A DProxyAudioSupplier.h45 int64 _AudioFrameForTime(bigtime_t time) const;
46 int64 _VideoFrameForTime(bigtime_t time) const;
H A DSubTitlesSRT.cpp87 fprintf(stderr, "Error: Failed to parse start time on "
100 fprintf(stderr, "Error: Failed to parse end time on "
168 SubTitlesSRT::SubTitleAt(bigtime_t time) const
170 int32 index = _IndexFor(time);
173 if (subTitle != NULL && subTitle->startTime > time)
175 if (subTitle != NULL && subTitle->startTime <= time
176 && subTitle->startTime + subTitle->duration > time) {
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DNFS4Server.h81 fClientIdLastUse = time(NULL);
89 fClientIdLastUse = time(NULL);
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatReader.h40 bigtime_t* time);
42 int64* frame, bigtime_t* time);
/haiku/src/add-ons/media/plugins/ape_reader/
H A DAPEReader.h37 int64 *frame, bigtime_t *time);
40 int64* frame, bigtime_t* time);
H A DAPEReader.cpp165 bigtime_t* time)
168 *time = *frame * 1000 / mDecomp->GetInfo(APE_DECOMPRESS_TOTAL_BLOCKS)
170 printf("FindKeyFrame for frame %lld: %lld\n", *frame, *time);
172 *frame = (*time) / 1000 * mDecomp->GetInfo(APE_DECOMPRESS_TOTAL_BLOCKS)
174 printf("FindKeyFrame for time %lld: %lld\n", *time, *frame);
183 TAPEReader::Seek(void *cookie, uint32 flags, int64 *frame, bigtime_t *time) argument
191 printf("Seek for time %lld\n", *time);
192 aNewBlock = (*time) / 100
164 FindKeyFrame(void* cookie, uint32 flags, int64* frame, bigtime_t* time) argument
[all...]
/haiku/src/system/boot/platform/amiga_m68k/
H A Dcpu.cpp91 bigtime_t time = system_time(); local
92 while ((system_time() - time) < microseconds)
/haiku/src/system/boot/platform/next_m68k/
H A Dcpu.cpp72 bigtime_t time = system_time(); local
73 while ((system_time() - time) < microseconds)
/haiku/src/servers/registrar/
H A DEventQueue.cpp27 add or remove an event or to modify an event's time. It is derived from
38 The event list (\a fEvents) is ordered ascendingly by time. The thread
39 uses a semaphore (\a fLooperControl) to wait (time out) for the next
44 \brief List of events (Event*) in ascending order (by time).
55 thread for timing out at the time when the next event has to be executed.
56 If the event list is changed by another thread and that changed the time
61 \brief Time at which the queue's thread will wake up next time.
154 The event's time must be set, before adding it. Afterwards ModifyEvent()
155 must be used to change an event's time.
157 If the event's time i
272 bigtime_t time = event->Time(); local
[all...]
/haiku/src/kits/locale/
H A DTimeFormat.cpp66 BTimeFormat::Format(char* string, size_t maxSize, time_t time, argument
74 timeFormatter->format((UDate)time * 1000, icuString);
87 BTimeFormat::Format(BString& string, const time_t time, argument
103 timeFormatter->format((UDate)time * 1000, icuString);
115 time_t time, BTimeFormatStyle style) const
125 timeFormatter->format((UDate)time * 1000, icuString, &positionIterator,
166 timeFormatter->format((UDate)time(&now) * 1000, icuString,
216 // If no timezone is specified in the time string, assume GMT
114 Format(BString& string, int*& fieldPositions, int& fieldCount, time_t time, BTimeFormatStyle style) const argument
/haiku/src/apps/mediaplayer/media_node_framework/
H A DPlaybackManager.cpp84 bigtime_t activation_time; // performance time
212 message->FindInt64("time", &eventTime);
598 PlaybackManager::StartFrameAtTime(bigtime_t time) argument
600 return _StateAtTime(time)->start_frame;
612 PlaybackManager::EndFrameAtTime(bigtime_t time) argument
614 return _StateAtTime(time)->end_frame;
626 PlaybackManager::FrameCountAtTime(bigtime_t time) argument
628 return _StateAtTime(time)->frame_count;
640 PlaybackManager::PlayModeAtTime(bigtime_t time) argument
642 return _StateAtTime(time)
654 LoopModeAtTime(bigtime_t time) argument
946 SetCurrentAudioTime(bigtime_t time) argument
973 SetCurrentVideoTime(bigtime_t time) argument
1001 SetPerformanceTime(bigtime_t time) argument
[all...]
H A DNodeManager.h63 virtual bigtime_t RealTimeForTime(bigtime_t time) const;
64 virtual bigtime_t TimeForRealTime(bigtime_t time) const;
66 virtual void SetCurrentAudioTime(bigtime_t time);
/haiku/src/tests/kits/locale/
H A DRelativeDateTimeFormatTest.cpp11 #include <time.h>
45 status_t result = format.Format(buffer, time(NULL));
107 result = format.Format(output, time(NULL) + values[i].timeDelta);
/haiku/headers/private/notification/
H A DNotificationReceived.h36 void SetTimeStamp(time_t time);
/haiku/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioReader.h27 int64 FrameForTime(bigtime_t time) const;
/haiku/src/apps/tv/
H A DMainApp.cpp30 #include <time.h>
/haiku/src/libs/mapm/
H A Dmapm_rnd.c68 #include <time.h>
71 #include <sys/time.h>
77 #include <time.h>
119 On the first call, the system time is used to initialize X.
190 if (M_firsttime2) /* use the system time as the initial seed value */
261 timestamp = timebuffer.time;
322 struct timeval time_now; /* current time for elapsed time check */
323 struct timezone time_zone; /* time zone for gettimeofday call */
325 gettimeofday(&time_now, &time_zone); /* get current time */
[all...]
/haiku/src/tests/system/benchmarks/
H A Dsyscallbench.c9 #include <sys/time.h>
59 printf("overhead time: %ld nanoseconds\n",
62 printf("libcall time: %ld nanoseconds\n",
65 printf("syscall time: %ld nanoseconds\n",
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DNode.h74 void SetAccessedTime(uint64 time);
75 void SetCreationTime(uint64 time);
76 void SetModificationTime(uint64 time);
77 void SetChangeTime(uint64 time);
/haiku/src/tests/system/libroot/posix/
H A Dtst-mktime.c4 #include <time.h>
/haiku/src/preferences/time/
H A DTimeZoneListView.cpp49 time_t now = time(NULL);

Completed in 228 milliseconds

1234567891011>>