Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 12 of 12) sorted by relevance

/system/extras/tests/bionic/libc/bionic/
Dtest_cond.c37 static pthread_cond_t wait = PTHREAD_COND_INITIALIZER; variable
44 pthread_cond_wait(&wait, &lock); in _thread1()
58 pthread_cond_signal(&wait); in _thread2()
/system/core/libsync/tests/
Dsync_test.cpp171 int wait(int timeout = -1) { in wait() function in __anon528880210111::SyncFence
253 ASSERT_EQ(fence.wait(0), -1); in TEST()
260 ASSERT_EQ(fence.wait(0), -1); in TEST()
267 ASSERT_EQ(fence.wait(0), 0); in TEST()
271 ASSERT_EQ(fence.wait(0), 0); in TEST()
363 ASSERT_EQ(fenceKill.wait(-1), -1); in TEST()
369 fenceSig.wait(); in TEST()
400 fenceSig.wait(); in TEST()
422 ASSERT_EQ(mergedFence.wait(0), -1); in TEST()
438 ASSERT_EQ(mergedFence.wait(100), 0); in TEST()
[all …]
/system/core/toolbox/
Dalarm.c23 int wait = 0; in alarm_main() local
51 wait = 1; in alarm_main()
150 if(wait) { in alarm_main()
/system/core/include/utils/
DCondition.h60 status_t wait(Mutex& mutex);
105 inline status_t Condition::wait(Mutex& mutex) { in wait() function
/system/extras/tests/bionic/libc/common/
Dtest_executable_destructor.c91 if (wait(&status) < 0) { in main()
/system/core/libutils/
DThreads.cpp481 status_t wait(WinCondition* condState, HANDLE hMutex, nsecs_t* abstime)
576 status_t Condition::wait(Mutex& mutex)
581 return ((WinCondition*)mState)->wait(condState, hMutex, NULL);
590 return ((WinCondition*)mState)->wait(condState, hMutex, &absTime);
826 mThreadExitedCondition.wait(mLock); in requestExitAndWait()
848 mThreadExitedCondition.wait(mLock); in join()
/system/core/init/
Dbuiltins.c384 int wait = 0; in do_mount() local
396 wait = 1; in do_mount()
415 if (wait) in do_mount()
463 if (wait) in do_mount()
Dkeywords.h98 KEYWORD(wait, COMMAND, 1, do_wait)
Dreadme.txt255 wait <path> [ <timeout> ]
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp204 rv = wait(&stat); in main()
/system/extras/tests/sdcard/
Dsysutil.cpp367 pid_t pid = wait(&status); in waitForChildrenOrExit()
/system/core/rootdir/
Dinit.rc573 service defaultcrypto /system/bin/vdc --wait cryptfs mountdefaultencrypted
580 service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default