/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
expired.pass.cpp | 14 // bool expired() const; 35 assert(wp.expired() == (wp.use_count() == 0)); 41 assert(wp.expired() == (wp.use_count() == 0)); 44 assert(wp.expired() == (wp.use_count() == 0));
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
expired.pass.cpp | 14 // bool expired() const; 35 assert(wp.expired() == (wp.use_count() == 0)); 41 assert(wp.expired() == (wp.use_count() == 0)); 44 assert(wp.expired() == (wp.use_count() == 0));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
expired.pass.cpp | 14 // bool expired() const; 35 assert(wp.expired() == (wp.use_count() == 0)); 41 assert(wp.expired() == (wp.use_count() == 0)); 44 assert(wp.expired() == (wp.use_count() == 0));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
2-1.c | 47 static int expired; variable 64 printf("thread: timed read-lock correctly expired\n"); 65 expired = 1; 68 expired = 0; 93 expired = 0; 124 /* the child thread does not block, check the time expired or not */ 125 if (expired != 1) { 131 ("Test FAILED: thread blocked even when the timer expired\n");
|
5-1.c | 39 static int expired; variable 62 printf("thread1: timed read-lock expired\n"); 63 expired = 1; 66 expired = 0; 107 printf("thread2: timed read-lock expired\n"); 108 expired = 1; 111 expired = 0; 154 /* the child thread does not block, check the time expired or not */ 155 if (expired == 1) { 191 /* the child thread does not block, check the time expired or not * [all...] |
6-2.c | 21 * should have expired (timeout * 2) 55 static int expired; variable 88 expired = 0; 108 expired = 0; 110 printf("thread: timer expired, did not acquire read lock"); 111 expired = 1; 180 if (expired == 1) { 204 if (expired == 1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
2-1.c | 38 static int expired; variable 71 printf("thread: timer expired\n"); 72 expired = 1; 75 expired = 0; 128 /* the child thread does not block, check the time expired or not */ 129 if (expired != 1) { 133 printf("thread correctly expired and did not wait\n"); 137 ("Test FAILED: thread blocked even when the timer expired\n");
|
5-1.c | 36 static int expired; variable 69 printf("thread1: timer expired\n"); 70 expired = 1; 73 expired = 0; 113 printf("thread2: timer expired\n"); 114 expired = 1; 117 expired = 0; 159 /* the child thread does not block, check the time expired or not */ 160 if (expired == 1) { 195 /* the child thread does not block, check the time expired or not * [all...] |
6-2.c | 21 * should have expired (timeout * 2) 55 static int expired; variable 88 expired = 0; 108 expired = 0; 110 printf("thread: timer expired, did not acquire write lock"); 111 expired = 1; 180 if (expired == 1) { 204 if (expired == 1) {
|
1-1.c | 43 static int expired; variable 70 printf("thread: timer expired\n"); 71 expired = 1; 74 expired = 0; 112 expired = 0; 118 if (expired == 1) { 119 printf("Test FAILED: the timer expired\n"); 173 ("Test FAILED: the timer expired and blocking was terminated, but the timeout is not correct: expected to wait for %d, but waited for %ld.%06ld\n", 178 printf("thread1 correctly expired at timeout.\n"); 181 ("Test FAILED: wait is not terminated even when the timer expired\n") [all...] |
3-1.c | 45 static int expired; variable 80 printf("thread: timer expired\n"); 81 expired = 1; 84 expired = 0; 132 expired = 0; 138 if (expired == 1) { 139 printf("Test FAILED: the timer expired\n"); 192 printf("Test FAILED: the timer expired and blocking " 199 printf("thread1 correctly expired at timeout.\n"); 202 "when the timer expired\n") [all...] |
/external/llvm/bindings/python/llvm/ |
object.py | 58 # This is NOT OK. You perform a lookup after the object has expired. 61 print symbol.name # This raises because the object has expired. 191 self.expired = False 199 if self.expired: 200 raise Exception('Section instance has expired.') 207 if self.expired: 208 raise Exception('Section instance has expired.') 214 if self.expired: 215 raise Exception('Section instance has expired.') 227 if self.expired [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/ |
enable_shared_from_this.pass.cpp | 77 // Test LWG issue 2529. Only reset '__weak_ptr_' when it's already expired. 80 // * Using 'weak_from_this().expired()' in C++17. 88 // because it already references a non-expired shared_ptr. 94 assert(!ptr->weak_from_this().expired()); 111 // Test LWG issue 2529 again. This time check that an expired pointer 121 assert(!weak.expired()); 123 assert(weak.expired()); 150 assert(my_weak.expired()); 153 assert(my_const_weak.expired()); 158 assert(!my_weak.expired()); [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
retry.h | 42 /** Timer expired callback 51 void ( * expired ) ( struct retry_timer *timer, int over ); member in struct:retry_timer
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
ANQPData.java | 61 * Check if this entry is expired at the specified time. 64 * @return true if it is expired at the given time 66 public boolean expired(long at) { method in class:ANQPData 76 sb.append(expired(now) ? 'x' : '-');
|
AnqpCache.java | 72 * Go through the cache to remove any expired entries. 81 // Get all expired keys. 84 if (entry.getValue().expired(now)) { 89 // Remove all expired entries.
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
ANQPDataTest.java | 76 assertFalse(data.expired(ANQPData.DATA_LIFETIME_MILLISECONDS - 1)); 77 assertTrue(data.expired(ANQPData.DATA_LIFETIME_MILLISECONDS));
|
/external/openssh/openbsd-compat/ |
port-aix.c | 177 int authsuccess = 0, expired, reenter, result; local 200 * Check if the user's password is expired. 202 expired = passwdexpired(name, &msg); 207 debug3("AIX/passwdexpired returned %d msg %.100s", expired, msg); 209 switch (expired) { 210 case 0: /* password not expired */ 212 case 1: /* expired, password change required */
|
/external/protobuf/src/google/protobuf/stubs/ |
shared_ptr.h | 158 // a bad_weak_ptr exception when ptr is expired. Is it better to provide this 298 // Create an empty (i.e. already expired) weak_ptr. 365 // Note that this number can be 0 (if this pointer has expired). 370 bool expired() const { return use_count() == 0; } 373 // have expired, the shared_ptr will be empty. We have to be careful 431 GOOGLE_CHECK(!weak_this_.expired()) << "No shared_ptr owns this object"; 435 GOOGLE_CHECK(!weak_this_.expired()) << "No shared_ptr owns this object"; 459 GOOGLE_CHECK(ptr->weak_this_.expired()) << "Object already owned by a shared_ptr";
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
shared_ptr.h | 158 // a bad_weak_ptr exception when ptr is expired. Is it better to provide this 298 // Create an empty (i.e. already expired) weak_ptr. 365 // Note that this number can be 0 (if this pointer has expired). 370 bool expired() const { return use_count() == 0; } 373 // have expired, the shared_ptr will be empty. We have to be careful 431 CHECK(!weak_this_.expired()) << "No shared_ptr owns this object"; 435 CHECK(!weak_this_.expired()) << "No shared_ptr owns this object"; 459 CHECK(ptr->weak_this_.expired()) << "Object already owned by a shared_ptr";
|
/external/dhcpcd-6.8.2/ |
ipv6nd.c | 330 rap->expired = seconds ? 0 : 1; 360 if (rap->lifetime && rap->expired) { 364 rap->expired = 0; 370 if (rap->lifetime && !rap->expired) { 374 rap->expired = 1; 860 rap->expired = 0; 1241 !rap->expired && 1267 if (rap->iface == ifp && !rap->expired) 1281 !rap->expired && 1426 uint8_t expired, valid, validone; local 1523 uint8_t expired = 0; local [all...] |
ipv6nd.h | 59 uint8_t expired; member in struct:ra
|
/external/libdrm/amdgpu/ |
amdgpu_cs.c | 344 uint32_t *expired) 351 if (NULL == expired) 360 *expired = false; 367 *expired = true;
|
/prebuilts/go/darwin-x86/src/time/ |
sleep.go | 54 // expired or been stopped. 70 // has already expired and the function f has been started in its own goroutine; 99 // expired or been stopped. 104 // to have expired, and t.Reset can be used directly. 106 // the timer must be stopped and?if Stop reports that the timer expired 119 // Reset should always be invoked on stopped or expired channels, as described above.
|
/prebuilts/go/linux-x86/src/time/ |
sleep.go | 54 // expired or been stopped. 70 // has already expired and the function f has been started in its own goroutine; 99 // expired or been stopped. 104 // to have expired, and t.Reset can be used directly. 106 // the timer must be stopped and?if Stop reports that the timer expired 119 // Reset should always be invoked on stopped or expired channels, as described above.
|