/external/protobuf/src/google/protobuf/ |
D | arenastring_unittest.cc | 72 ::std::string* mut = field2.Mutable(&default_value, NULL); in TEST() 73 EXPECT_EQ(mut, field2.Mutable(&default_value, NULL)); in TEST() 74 EXPECT_EQ(mut, &field2.Get(&default_value)); in TEST() 75 EXPECT_NE(&default_value, mut); in TEST() 76 EXPECT_EQ(string("default"), *mut); in TEST() 77 *mut = "Test long long long long value"; // ensure string allocates storage in TEST() 98 ::std::string* mut = field2.Mutable(&default_value, &arena); in TEST() 99 EXPECT_EQ(mut, field2.Mutable(&default_value, &arena)); in TEST() 100 EXPECT_EQ(mut, &field2.Get(&default_value)); in TEST() 101 EXPECT_NE(&default_value, mut); in TEST() [all …]
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | wait_terminates.sh.cpp | 101 ThrowingMutex mut; variable 105 while (mut.isLocked()) {} // wait until T1 releases mut inside the cv.wait call. in signal_me() 120 mut.lock(); in main() 124 case 1: cv.wait(mut); break; in main() 125 case 2: cv.wait(mut, pred_function); break; in main() 126 case 3: cv.wait_for(mut, wait); break; in main() 127 case 4: cv.wait_for(mut, wait, pred_function); break; in main() 128 case 5: cv.wait_until(mut, Clock::now() + wait); break; in main() 129 case 6: cv.wait_until(mut, Clock::now() + wait, pred_function); break; in main()
|
/external/python/cpython2/Python/ |
D | thread_pth.h | 28 pth_mutex_t mut; member 101 status = pth_mutex_init(&lock->mut); in PyThread_allocate_lock() 131 status = pth_mutex_acquire(&thelock->mut, !waitflag, NULL); in PyThread_acquire_lock() 135 status = pth_mutex_release( &thelock->mut ); in PyThread_acquire_lock() 143 status = pth_mutex_acquire( &thelock->mut, !waitflag, NULL ); in PyThread_acquire_lock() 147 &thelock->mut, NULL); in PyThread_acquire_lock() 151 status = pth_mutex_release( &thelock->mut ); in PyThread_acquire_lock() 167 status = pth_mutex_acquire( &thelock->mut, 0, NULL ); in PyThread_release_lock() 172 status = pth_mutex_release( &thelock->mut ); in PyThread_release_lock()
|
D | thread_pthread.h | 117 pthread_mutex_t mut; member 374 status = pthread_mutex_init(&lock->mut, in PyThread_allocate_lock() 401 status = pthread_mutex_destroy( &thelock->mut ); in PyThread_free_lock() 419 status = pthread_mutex_lock( &thelock->mut ); in PyThread_acquire_lock() 430 &thelock->mut); in PyThread_acquire_lock() 436 status = pthread_mutex_unlock( &thelock->mut ); in PyThread_acquire_lock() 453 status = pthread_mutex_lock( &thelock->mut ); in PyThread_release_lock() 458 status = pthread_mutex_unlock( &thelock->mut ); in PyThread_release_lock()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | SetOperationsTest.java | 49 HashSet<String> mut in testUnion() local 55 assertEquals(5, mut.size()); in testUnion() 67 HashSet<String> mut in testIntersection() local 73 assertEquals(1, mut.size()); in testIntersection() 85 HashSet<String> mut in testDifference() local 91 assertEquals(2, mut.size()); in testDifference() 111 HashSet<String> mut = Sets.symmetricDifference(friends, enemies) in testSymmetricDifference() local 117 assertEquals(4, mut.size()); in testSymmetricDifference() 120 mut = Sets.symmetricDifference(enemies, friends). in testSymmetricDifference() 125 assertEquals(3, mut.size()); in testSymmetricDifference()
|
/external/libcxx/src/ |
D | mutex.cpp | 197 _LIBCPP_SAFE_STATIC static __libcpp_mutex_t mut = _LIBCPP_MUTEX_INITIALIZER; variable 224 __libcpp_mutex_lock(&mut); in __call_once() 226 __libcpp_condvar_wait(&cv, &mut); in __call_once() 234 __libcpp_mutex_unlock(&mut); in __call_once() 236 __libcpp_mutex_lock(&mut); in __call_once() 238 __libcpp_mutex_unlock(&mut); in __call_once() 244 __libcpp_mutex_lock(&mut); in __call_once() 246 __libcpp_mutex_unlock(&mut); in __call_once() 253 __libcpp_mutex_unlock(&mut); in __call_once()
|
D | debug.cpp | 107 mut() in mut() function 177 RLock _(mut()); in __find_c_from_i() 188 WLock _(mut()); in __insert_ic() 211 WLock _(mut()); in __insert_c() 253 WLock _(mut()); in __erase_i() 286 WLock _(mut()); in __invalidate_all() 312 mut().lock(); in __find_c_and_lock() 317 mut().unlock(); in __find_c_and_lock() 326 mut().unlock(); in __find_c_and_lock() 336 mut().unlock(); in __find_c_and_lock() [all …]
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 26 std::mutex mut; variable 33 std::unique_lock<std::mutex> lk(mut); in f1() 43 std::unique_lock<std::mutex> lk(mut); in f2() 57 std::unique_lock<std::mutex>lk(mut); in main() 64 std::unique_lock<std::mutex>lk(mut); in main() 83 std::unique_lock<std::mutex>lk(mut); in main()
|
D | notify_all.pass.cpp | 24 std::mutex mut; variable 32 std::unique_lock<std::mutex> lk(mut); in f1() 42 std::unique_lock<std::mutex> lk(mut); in f2() 56 std::unique_lock<std::mutex>lk(mut); in main() 63 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_for_pred.pass.cpp | 38 std::mutex mut; variable 49 std::unique_lock<std::mutex> lk(mut); in f() 73 std::unique_lock<std::mutex>lk(mut); in main() 87 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_for.pass.cpp | 28 std::mutex mut; variable 39 std::unique_lock<std::mutex> lk(mut); in f() 64 std::unique_lock<std::mutex>lk(mut); in main() 78 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_until.pass.cpp | 45 std::mutex mut; variable 54 std::unique_lock<std::mutex> lk(mut); in f() 79 std::unique_lock<std::mutex>lk(mut); in main() 93 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_until_pred.pass.cpp | 55 std::mutex mut; variable 64 std::unique_lock<std::mutex> lk(mut); in f() 90 std::unique_lock<std::mutex>lk(mut); in main() 104 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait.pass.cpp | 24 std::mutex mut; variable 31 std::unique_lock<std::mutex> lk(mut); in f() 42 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_pred.pass.cpp | 26 std::mutex mut; variable 42 std::unique_lock<std::mutex> lk(mut); in f() 52 std::unique_lock<std::mutex>lk(mut); in main()
|
/external/libcxx/test/std/thread/thread.condition/ |
D | PR30202_notify_from_pthread_created_thread.pass.cpp | 34 std::mutex mut; variable 42 std::unique_lock<std::mutex> lk(mut); in func() 52 std::unique_lock<std::mutex> lk(mut); in main() 66 std::unique_lock<std::mutex> lk(mut); in main()
|
D | notify_all_at_thread_exit.pass.cpp | 28 std::mutex mut; variable 35 std::unique_lock<std::mutex> lk(mut); in func() 42 std::unique_lock<std::mutex> lk(mut); in main()
|
/external/clang/test/Analysis/ |
D | const-method-call.cpp | 12 mutable int mut; member 61 t.mut = 4; in checkThatConstMethodDoesInvalidateMutableFields() 63 clang_analyzer_eval(t.mut); // expected-warning{{UNKNOWN}} in checkThatConstMethodDoesInvalidateMutableFields() 122 mutable int mut; member 148 t.mut = 1; in checkThatInheritedConstMethodDoesInvalidateMutableFields() 150 clang_analyzer_eval(t.mut); // expected-warning{{UNKNOWN}} in checkThatInheritedConstMethodDoesInvalidateMutableFields()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | SetOperationsTest.java | 273 HashSet<String> mut in testUnion() local 279 assertEquals(5, mut.size()); in testUnion() 291 HashSet<String> mut in testIntersection() local 297 assertEquals(1, mut.size()); in testIntersection() 309 HashSet<String> mut in testDifference() local 315 assertEquals(2, mut.size()); in testDifference() 335 HashSet<String> mut = Sets.symmetricDifference(friends, enemies) in testSymmetricDifference() local 341 assertEquals(4, mut.size()); in testSymmetricDifference() 344 mut = Sets.symmetricDifference(enemies, friends). in testSymmetricDifference() 349 assertEquals(3, mut.size()); in testSymmetricDifference()
|
/external/python/cpython2/Lib/test/ |
D | test_thread.py | 106 mut = thread.allocate_lock() 107 mut.acquire() 111 mut.acquire() 112 mut.release() 118 mut.release()
|
D | test_deque.py | 475 mut = [10] 476 d = deque([mut]) 479 mut[0] = 11 484 mut = [10] 485 d = deque([mut]) 488 mut[0] = 11
|
/external/clang/test/CodeGenCXX/ |
D | blocks.cpp | 37 struct mut { mutable int x; }; struct 39 const mut obj = { 5 }; in test3()
|
/external/skia/tests/ |
D | PictureTest.cpp | 1015 SkBitmap mut, immut; in DEF_TEST() local 1016 mut.allocN32Pixels(300, 200); in DEF_TEST() 1019 SkASSERT(!mut.isImmutable()); in DEF_TEST() 1023 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 1032 canvas->drawBitmap(mut, 0, 0); in DEF_TEST() 1038 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 1043 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST()
|
/external/icu/icu4c/source/data/locales/ |
D | rw.txt | 333 "mut.", 377 "mut.",
|
/external/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 870 Mutex* mut; 873 MutexLocker(Mutex *mu) ACQUIRE(mu) : mut(mu) { 877 mut->Unlock();
|