OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:absolutetime
(Results
1 - 22
of
22
) sorted by null
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
CondVar.cpp
101
struct timespec
absoluteTime
;
103
if (clock_gettime (CLOCK_MONOTONIC, &
absoluteTime
) == -1)
109
absoluteTime
.tv_sec += millisec / 1000;
110
long ns =
absoluteTime
.tv_nsec + ((millisec % 1000) * 1000000);
113
absoluteTime
.tv_sec++;
114
absoluteTime
.tv_nsec = ns - 1000000000;
117
absoluteTime
.tv_nsec = ns;
124
int waitResult = pthread_cond_timedwait_monotonic_np (&mCondition, mutex.nativeHandle(), &
absoluteTime
);
/packages/apps/Nfc/nci/jni/
CondVar.cpp
97
struct timespec
absoluteTime
;
99
if (clock_gettime (CLOCK_MONOTONIC, &
absoluteTime
) == -1)
105
absoluteTime
.tv_sec += millisec / 1000;
106
long ns =
absoluteTime
.tv_nsec + ((millisec % 1000) * 1000000);
109
absoluteTime
.tv_sec++;
110
absoluteTime
.tv_nsec = ns - 1000000000;
113
absoluteTime
.tv_nsec = ns;
120
int waitResult = pthread_cond_timedwait_monotonic_np (&mCondition, mutex.nativeHandle(), &
absoluteTime
);
/external/webkit/Source/JavaScriptCore/wtf/
ThreadingPrimitives.h
143
// Returns true if the condition was signaled before
absoluteTime
, false if the
absoluteTime
was reached or is in the past.
144
// The
absoluteTime
is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
145
bool timedWait(Mutex&, double
absoluteTime
);
154
// The
absoluteTime
is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
156
DWORD absoluteTimeToWaitTimeoutInterval(double
absoluteTime
);
MessageQueue.h
64
PassOwnPtr<DataType> waitForMessageFilteredWithTimeout(MessageQueueWaitResult&, Predicate&, double
absoluteTime
);
130
inline PassOwnPtr<DataType> MessageQueue<DataType>::waitForMessageFilteredWithTimeout(MessageQueueWaitResult& result, Predicate& predicate, double
absoluteTime
)
137
timedOut = !m_condition.timedWait(m_mutex,
absoluteTime
);
139
ASSERT(!timedOut ||
absoluteTime
!= infiniteTime());
ThreadingPthreads.cpp
364
bool ThreadCondition::timedWait(Mutex& mutex, double
absoluteTime
)
366
if (
absoluteTime
< currentTime())
369
if (
absoluteTime
> INT_MAX) {
374
int timeSeconds = static_cast<int>(
absoluteTime
);
375
int timeNanoseconds = static_cast<int>((
absoluteTime
- timeSeconds) * 1E9);
ThreadingWin.cpp
461
bool ThreadCondition::timedWait(Mutex& mutex, double
absoluteTime
)
463
DWORD interval = absoluteTimeToWaitTimeoutInterval(
absoluteTime
);
484
DWORD absoluteTimeToWaitTimeoutInterval(double
absoluteTime
)
489
if (
absoluteTime
< currentTime)
493
if (
absoluteTime
- currentTime > static_cast<double>(INT_MAX) / 1000.0)
496
return static_cast<DWORD>((
absoluteTime
- currentTime) * 1000.0);
/external/webkit/Source/WebKit2/Platform/CoreIPC/
BinarySemaphore.cpp
50
bool BinarySemaphore::wait(double
absoluteTime
)
56
timedOut = !m_condition.timedWait(m_mutex,
absoluteTime
);
Connection.cpp
50
bool wait(double
absoluteTime
)
52
return m_waitForSyncReplySemaphore.wait(
absoluteTime
);
56
bool waitWhileDispatchingSentWin32Messages(double
absoluteTime
, const Vector<HWND>& windowsToReceiveMessages)
58
return RunLoop::dispatchSentMessagesUntil(windowsToReceiveMessages, m_waitForSyncReplySemaphore,
absoluteTime
);
326
double
absoluteTime
= currentTime() + timeout;
353
if (!m_waitForMessageCondition.timedWait(m_waitForMessageMutex,
absoluteTime
)) {
415
double
absoluteTime
= currentTime() + timeout;
438
timedOut = !m_syncMessageState->waitWhileDispatchingSentWin32Messages(
absoluteTime
, m_client->windowsToReceiveSentMessagesWhileWaitingForSyncReply());
440
timedOut = !m_syncMessageState->wait(
absoluteTime
);
BinarySemaphore.h
42
bool wait(double
absoluteTime
);
/external/webkit/Source/JavaScriptCore/wtf/gtk/
ThreadingGtk.cpp
213
bool ThreadCondition::timedWait(Mutex& mutex, double
absoluteTime
)
216
if (
absoluteTime
< currentTime())
220
if (
absoluteTime
> INT_MAX) {
225
int timeSeconds = static_cast<int>(
absoluteTime
);
226
int timeMicroseconds = static_cast<int>((
absoluteTime
- timeSeconds) * 1000000.0);
/external/webkit/Source/WebKit2/Platform/
RunLoop.h
61
// The
absoluteTime
is in seconds, starting on January 1, 1970. The time is assumed to use the
63
// set of HWNDs until the semaphore is signaled or
absoluteTime
is reached. Returns true if the
65
static bool dispatchSentMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore&, double
absoluteTime
);
/external/webkit/Source/WebKit2/Platform/CoreIPC/win/
BinarySemaphoreWin.cpp
46
bool BinarySemaphore::wait(double
absoluteTime
)
48
DWORD interval = absoluteTimeToWaitTimeoutInterval(
absoluteTime
);
/external/webkit/Source/JavaScriptCore/wtf/qt/
ThreadingQt.cpp
256
bool ThreadCondition::timedWait(Mutex& mutex, double
absoluteTime
)
261
if (
absoluteTime
< currentTime)
265
if (
absoluteTime
- currentTime > static_cast<double>(INT_MAX) / 1000.0) {
270
double intervalMilliseconds = (
absoluteTime
- currentTime) * 1000.0;
/external/webkit/Source/WebKit2/Platform/win/
RunLoopWin.cpp
82
bool RunLoop::dispatchSentMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore& semaphore, double
absoluteTime
)
85
return semaphore.wait(
absoluteTime
);
91
DWORD interval = absoluteTimeToWaitTimeoutInterval(
absoluteTime
);
104
//
absoluteTime
was reached.
/external/webkit/Source/WebCore/workers/
WorkerRunLoop.cpp
152
double
absoluteTime
= (predicate.isDefaultMode() && m_sharedTimer->isActive()) ? m_sharedTimer->fireTime() : MessageQueue<Task>::infiniteTime();
154
OwnPtr<WorkerRunLoop::Task> task = m_messageQueue.waitForMessageFilteredWithTimeout(result, predicate,
absoluteTime
);
/external/qemu/distrib/sdl-1.2.15/src/timer/macos/
FastTimes.c
93
typedef
AbsoluteTime
(*UpTimeProcPtr)(void);
94
typedef Nanoseconds (*A2NSProcPtr)(
AbsoluteTime
);
/external/webkit/Source/WebKit/win/
MarshallingHelpers.cpp
149
DATE MarshallingHelpers::CFAbsoluteTimeToDATE(CFAbsoluteTime
absoluteTime
)
151
return (round(
absoluteTime
)/secondsPerDay - windowsEpochAbsoluteTime());
/dalvik/vm/
Sync.cpp
553
static void
absoluteTime
(s8 msec, s4 nsec, struct timespec *ts)
587
absoluteTime
(msec, nsec, &ts);
652
absoluteTime
(msec, nsec, &ts);
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
SDL_QuartzVideo.m
[
all
...]
/external/libusb/libusb/os/
darwin_usb.c
[
all
...]
/tools/motodev/src/plugins/videos/libs/gdata/java/lib/
gdata-client-1.0.jar
gdata-core-1.0.jar
Completed in 511 milliseconds