Searched refs:expired (Results 1 - 25 of 54) sorted by relevance

123

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dexpired.pass.cpp14 // 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/
H A D2-1.c47 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");
H A D5-1.c39 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 o
[all...]
H A D6-2.c21 * 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/
H A D2-1.c38 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");
H A D5-1.c36 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 o
[all...]
H A D6-2.c21 * 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) {
H A D1-1.c43 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\
[all...]
H A D3-1.c45 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\
[all...]
/external/llvm/bindings/python/llvm/
H A Dobject.py58 # 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/
H A Denable_shared_from_this.pass.cpp86 // Test LWG issue 2529. Only reset '__weak_ptr_' when it's already expired.
89 // * Using 'weak_from_this().expired()' in C++17.
97 // because it already references a non-expired shared_ptr.
103 assert(!ptr->weak_from_this().expired());
120 // Test LWG issue 2529 again. This time check that an expired pointer
130 assert(!weak.expired());
132 assert(weak.expired());
159 assert(my_weak.expired());
162 assert(my_const_weak.expired());
167 assert(!my_weak.expired());
[all...]
/external/syslinux/gpxe/src/include/gpxe/
H A Dretry.h42 /** Timer expired callback
51 void ( * expired ) ( struct retry_timer *timer, int over ); member in struct:retry_timer
/external/autotest/venv/lucifer/
H A Dleasing_unittest.py67 assert leases[123].expired()
68 assert not leases[124].expired()
76 assert not leases[123].expired()
115 expired = list(leasing.leases_iter(str(tmpdir)))
116 assert len(expired) > 0
117 for job in expired:
130 expired = list(leasing.leases_iter(str(tmpdir)))
131 assert len(expired) > 0
132 for job in expired:
H A Dleasing.py81 def expired(self): member in class:Lease
82 """Return True if the lease is expired.
84 A lease is considered expired if there is no fcntl lock on it
86 has passed. The lease is not considered expired if the owning
87 process removed the lock file normally, as an expired lease
/external/curl/docs/cmdline-opts/
H A Dcert-status.d9 If this option is enabled and the server sends an invalid (e.g. expired)
/external/dhcpcd-6.8.2/
H A Dipv6nd.c330 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, vali local
1523 uint8_t expired = 0; local
[all...]
H A Dipv6nd.h59 uint8_t expired; member in struct:ra
/external/libdrm/tests/amdgpu/
H A Dbasic_tests.c299 uint32_t expired; local
359 0, &expired);
388 uint32_t expired; local
441 0, &expired);
495 uint32_t expired; local
554 500000000, 0, &expired);
556 CU_ASSERT_EQUAL(expired, true);
595 500000000, 0, &expired);
597 CU_ASSERT_EQUAL(expired, true);
624 uint32_t expired; local
726 uint32_t expired; local
[all...]
/external/autotest/venv/lucifer/cmd/
H A Djob_aborter.py76 if not lease.expired()
88 """Mark expired jobs failed.
98 logger.debug('Looking for expired jobs')
138 """Clean up files for expired leases.
141 for expired leases.
144 if lease.expired():
/external/protobuf/src/google/protobuf/stubs/
H A Dshared_ptr.h158 // 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";
/external/robolectric-shadows/shadows/framework/src/main/java/android/webkit/
H A DRoboCookieManager.java140 List<Cookie> expired = new ArrayList<>();
145 expired.add(cookie);
149 store.removeAll(expired);
/external/syslinux/gpxe/src/net/infiniband/
H A Dib_mi.c240 * @v expired Failure indicator
242 static void ib_mi_timer_expired ( struct retry_timer *timer, int expired ) {
250 if ( expired ) {
285 madx->timer.expired = ib_mi_timer_expired;
/external/fio/engines/
H A Dwindowsaio.c244 BOOL expired = FALSE; local
250 expired = TRUE;
252 expired = TRUE;
254 return expired;
/external/syslinux/gpxe/src/net/
H A Dretry.c142 * Handle expired timer
167 timer->expired ( timer, fail );
/external/syslinux/gpxe/src/net/udp/
H A Ddhcp.c197 void ( * expired ) ( struct dhcp_session *dhcp ); member in struct:dhcp_session_state
544 .expired = dhcp_discovery_expired,
690 .expired = dhcp_request_expired,
822 .expired = dhcp_proxy_expired,
969 .expired = dhcp_pxebs_expired,
1339 dhcp->state->expired ( dhcp );
1422 dhcp->timer.expired = dhcp_timer_expired;
1528 dhcp->timer.expired = dhcp_timer_expired;

Completed in 1203 milliseconds

123