/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
1-2.c | 112 /* Post the semaphore to unlock the main thread in case of a detached thread */ 140 if (scenarii[sc].detached != 0) { /* only joinable threads can be detached */ 150 /* for detached scenarii, we will call pthread_detach from inside the thread. 155 (scenarii[sc].detached != 0) ? &ret : NULL); 195 if (scenarii[sc].detached == 0) { 207 ("We were able to join a detached thread.");
|
2-2.c | 157 if (scenarii[sc].detached != 0) { /* only joinable threads can be detached */ 167 /* for detached scenarii, we will call pthread_detach from inside the thread. 172 (scenarii[sc].detached != 0) ? &ret : NULL); 202 if (scenarii[sc].detached == 0) {
|
/external/libusb/libusb/os/ |
linux_netlink.c | 198 static int linux_netlink_parse(const char *buffer, size_t len, int *detached, 206 *detached = 0; 214 *detached = 1; 297 int detached, r; local 340 r = linux_netlink_parse(msg_buffer, (size_t)len, &detached, &sys_name, &busnum, &devaddr); 345 busnum, devaddr, sys_name, detached ? "yes" : "no"); 348 if (detached)
|
linux_udev.c | 198 static int udev_device_info(struct libusb_context *ctx, int detached, 213 return linux_get_device_address(ctx, detached, busnum, devaddr, 222 int detached; local 231 detached = !strncmp(udev_action, "remove", 6); 233 r = udev_device_info(NULL, detached, udev_dev, &busnum, &devaddr, &sys_name); 242 } else if (detached) {
|
linux_usbfs.h | 187 int linux_get_device_address (struct libusb_context *ctx, int detached,
|
/external/compiler-rt/lib/lsan/ |
lsan_thread.h | 50 u32 ThreadCreate(u32 tid, uptr uid, bool detached);
|
lsan_thread.cc | 85 u32 ThreadCreate(u32 parent_tid, uptr user_id, bool detached) { 86 return thread_registry->CreateThread(user_id, detached, parent_tid,
|
lsan_interceptors.cc | 239 int detached = 0; local 240 pthread_attr_getdetachstate(attr, &detached); 255 int tid = ThreadCreate(GetCurrentThread(), *(uptr *)th, detached);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_thread_registry.cc | 22 detached(false), parent_tid(0), next(0) { 49 CHECK_EQ(false, detached); 57 if (!detached) 73 detached = _detached; 121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, 152 tctx->SetCreated(user_id, total_threads_++, detached, 235 tctx->detached = true; 263 if (tctx->detached) {
|
sanitizer_thread_registry.h | 47 bool detached; member in class:__sanitizer::ThreadContextBase 96 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
|
/external/skia/tests/ |
LayerRasterizerTest.cpp | 102 sk_sp<SkLayerRasterizer> detached(builder.detach()); 107 REPORTER_ASSERT(reporter, largerCount == LayerRasterizerTester::CountLayers(*detached.get())); 116 const SkDeque& layersDetached = LayerRasterizerTester::GetLayers(*detached.get());
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
1-2.c | 21 * the argument (if the thread is not detached). 123 if (scenarii[i].detached == 0) {
|
4-1.c | 145 if (scenarii[i].detached == 0) {
|
2-2.c | 141 if (scenarii[i].detached == 0) {
|
5-1.c | 171 if (scenarii[i].detached == 0) {
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_test_util_posix.cc | 283 bool detached; 407 ScopedThread::ScopedThread(bool detached, bool main) { 410 impl_->detached = detached; 416 &attr, detached ? PTHREAD_CREATE_DETACHED : PTHREAD_CREATE_JOINABLE); 427 if (!impl_->detached) 435 CHECK(!impl_->detached); 436 impl_->detached = true;
|
tsan_test_util.h | 70 explicit ScopedThread(bool detached = false, bool main = false);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
4-1.c | 94 if (scenarii[sc].detached == 1)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/ |
threads_scenarii.c | 33 /* 0 => joinable; 1 => detached */ 34 int detached; member in struct:__scenario 85 * the detached threads execution 91 .detached = det, \ 114 * -> Do not have a detached thread use an alternative stack; 121 CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached"), 135 CASE_POS(1, 0, 0, 0, 0, 1, 0, 0, "Detached, Alternative stack"), 137 "Detached, Min stack size, no guard"), CASE_UNK(1, 0, 0, 0, 139 "Detached, Min stack size, 1p guard"), 161 "Detached, explicit FIFO max param") [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
threads_scenarii.c | 30 int detached; /* 0 => joinable; 1 => detached */ member in struct:__scenario 44 sem_t sem; /* This semaphore is used to signal the end of the detached threads execution */ 48 .detached=det, \ 66 * -> Do not have a detached thread use an alternative stack; 75 , CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached") 100 , CASE_POS(1, 0, 0, 0, 0, 1, 0, 0, "Detached, Alternative stack") 102 "Detached, Min stack size, no guard") 104 "Detached, Min stack size, 1p guard") 120 "Detached, explicit FIFO max param" [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/ |
threads_scenarii.c | 30 int detached; /* 0 => joinable; 1 => detached */ member in struct:__scenario 44 sem_t sem; /* This semaphore is used to signal the end of the detached threads execution */ 48 .detached=det, \ 66 * -> Do not have a detached thread use an alternative stack; 75 , CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached") 100 , CASE_POS(1, 0, 0, 0, 0, 1, 0, 0, "Detached, Alternative stack") 102 "Detached, Min stack size, no guard") 104 "Detached, Min stack size, 1p guard") 120 "Detached, explicit FIFO max param" [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
threads_scenarii.c | 30 int detached; /* 0 => joinable; 1 => detached */ member in struct:__scenario 44 sem_t sem; /* This semaphore is used to signal the end of the detached threads execution */ 48 .detached=det, \ 66 * -> Do not have a detached thread use an alternative stack; 76 , CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached") 101 , CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached") 123 , CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached") 145 , CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached") 168 /*,CASE_POS(1, 0, 0, 0, 0, 1, 0, 0, "Detached, Alternative stack") * [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationPagerAdapter.java | 67 * Similar to singleton mode, but once enabled, detached mode is permanent for this adapter. 171 * Returns true if singleton mode or detached mode have been enabled, or if the current cursor 182 // In detached mode, the pager is decoupled from the cursor. Nothing should rely on the 303 final boolean detached = b.getBoolean(BUNDLE_DETACHED_MODE); 304 setDetachedMode(detached); 345 private void setDetachedMode(boolean detached) { 346 if (mDetachedMode == detached) { 349 mDetachedMode = detached; 386 // If we are in detached mode, changes to the cursor are of no interest to us, but they may 401 // enable detached mode and do no more here. the fragment itself will figure ou [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_thread.cc | 128 if (!detached) { 154 if (tctx->detached || tctx->status != ThreadStatusFinished) 221 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { 226 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-5.c | 121 /* Post the semaphore to unlock the main thread in case of a detached thread */ 248 if (scenarii[sc].detached == 0) { 271 /* Post the semaphore to unlock the main thread in case of a detached thread */
|