OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:absolutetime
(Results
1 - 13
of
13
) sorted by null
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
CondVar.cpp
104
struct timespec
absoluteTime
;
106
if (clock_gettime (CLOCK_MONOTONIC, &
absoluteTime
) == -1)
112
absoluteTime
.tv_sec += millisec / 1000;
113
long ns =
absoluteTime
.tv_nsec + ((millisec % 1000) * 1000000);
116
absoluteTime
.tv_sec++;
117
absoluteTime
.tv_nsec = ns - 1000000000;
120
absoluteTime
.tv_nsec = ns;
123
int waitResult = pthread_cond_timedwait (&mCondition, mutex.nativeHandle(), &
absoluteTime
);
/packages/apps/Nfc/nci/jni/
CondVar.cpp
102
struct timespec
absoluteTime
;
104
if (clock_gettime (CLOCK_MONOTONIC, &
absoluteTime
) == -1)
110
absoluteTime
.tv_sec += millisec / 1000;
111
long ns =
absoluteTime
.tv_nsec + ((millisec % 1000) * 1000000);
114
absoluteTime
.tv_sec++;
115
absoluteTime
.tv_nsec = ns - 1000000000;
118
absoluteTime
.tv_nsec = ns;
121
int waitResult = pthread_cond_timedwait (&mCondition, mutex.nativeHandle(), &
absoluteTime
);
/external/chromium_org/third_party/WebKit/Source/wtf/
ThreadingPrimitives.h
116
// Returns true if the condition was signaled before
absoluteTime
, false if the
absoluteTime
was reached or is in the past.
117
// The
absoluteTime
is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
118
bool timedWait(Mutex&, double
absoluteTime
);
127
// The
absoluteTime
is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
129
DWORD absoluteTimeToWaitTimeoutInterval(double
absoluteTime
);
MessageQueue.h
67
PassOwnPtr<DataType> waitForMessageWithTimeout(MessageQueueWaitResult&, double
absoluteTime
);
131
inline PassOwnPtr<DataType> MessageQueue<DataType>::waitForMessageWithTimeout(MessageQueueWaitResult& result, double
absoluteTime
)
137
timedOut = !m_condition.timedWait(m_mutex,
absoluteTime
);
139
ASSERT(!timedOut ||
absoluteTime
!= infiniteTime());
ThreadingPthreads.cpp
353
bool ThreadCondition::timedWait(Mutex& mutex, double
absoluteTime
)
355
if (
absoluteTime
< currentTime())
358
if (
absoluteTime
> INT_MAX) {
363
int timeSeconds = static_cast<int>(
absoluteTime
);
364
int timeNanoseconds = static_cast<int>((
absoluteTime
- timeSeconds) * 1E9);
ThreadingWin.cpp
452
bool ThreadCondition::timedWait(Mutex& mutex, double
absoluteTime
)
454
DWORD interval = absoluteTimeToWaitTimeoutInterval(
absoluteTime
);
475
DWORD absoluteTimeToWaitTimeoutInterval(double
absoluteTime
)
480
if (
absoluteTime
< currentTime)
484
if (
absoluteTime
- currentTime > static_cast<double>(INT_MAX) / 1000.0)
487
return static_cast<DWORD>((
absoluteTime
- currentTime) * 1000.0);
/external/chromium_org/third_party/WebKit/Source/core/workers/
WorkerRunLoop.cpp
187
double
absoluteTime
= 0.0;
190
absoluteTime
= !isDebuggerQueue && m_sharedTimer->isActive() ? m_sharedTimer->fireTime() : MessageQueue<blink::WebThread::Task>::infiniteTime();
194
if (queue.isEmpty() &&
absoluteTime
> currentTime() + kMinIdleTimespan) {
201
if (
absoluteTime
> nextWatchdogTime) {
202
absoluteTime
= nextWatchdogTime;
211
task = queue.waitForMessageWithTimeout(result,
absoluteTime
);
/external/qemu/distrib/sdl-1.2.15/src/timer/macos/
FastTimes.c
93
typedef
AbsoluteTime
(*UpTimeProcPtr)(void);
94
typedef Nanoseconds (*A2NSProcPtr)(
AbsoluteTime
);
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
_macos.h
109
AbsoluteTime
lastThreadSwitch;
110
AbsoluteTime
lastWakeUpProcess;
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
SDL_QuartzVideo.m
[
all
...]
/external/libusb/libusb/os/
darwin_usb.c
[
all
...]
/external/chromium_org/third_party/libusb/src/libusb/os/
darwin_usb.c
[
all
...]
/device/samsung/manta/gps/
gpsd
Completed in 210 milliseconds