Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
H A D5-1.c38 static int expired; variable
61 printf("thread1: timed read-lock expired\n"); in fn_rd_1()
62 expired = 1; in fn_rd_1()
65 expired = 0; in fn_rd_1()
106 printf("thread2: timed read-lock expired\n"); in fn_rd_2()
107 expired = 1; in fn_rd_2()
110 expired = 0; in fn_rd_2()
153 /* the child thread does not block, check the time expired or not */ in main()
154 if (expired == 1) { in main()
190 /* the child thread does not block, check the time expired o in main()
[all...]
H A D6-2.c21 * should have expired (timeout * 2)
54 static int expired; variable
87 expired = 0; in th_fn()
107 expired = 0; in th_fn()
109 printf("thread: timer expired, did not acquire read lock\n"); in th_fn()
110 expired = 1; in th_fn()
179 if (expired == 1) { in main()
203 if (expired == 1) { in main()
H A D2-1.c46 static int expired; variable
63 printf("thread: timed read-lock correctly expired\n"); in fn_rd()
64 expired = 1; in fn_rd()
67 expired = 0; in fn_rd()
92 expired = 0; in main()
123 /* the child thread does not block, check the time expired or not */ in main()
124 if (expired != 1) { in main()
130 ("Test FAILED: thread blocked even when the timer expired\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
H A D5-1.c35 static int expired; variable
68 printf("thread1: timer expired\n"); in fn_wr_1()
69 expired = 1; in fn_wr_1()
72 expired = 0; in fn_wr_1()
112 printf("thread2: timer expired\n"); in fn_wr_2()
113 expired = 1; in fn_wr_2()
116 expired = 0; in fn_wr_2()
158 /* the child thread does not block, check the time expired or not */ in main()
159 if (expired == 1) { in main()
194 /* the child thread does not block, check the time expired o in main()
[all...]
H A D6-2.c21 * should have expired (timeout * 2)
54 static int expired; variable
87 expired = 0; in th_fn()
107 expired = 0; in th_fn()
109 printf("thread: timer expired, did not acquire write lock\n"); in th_fn()
110 expired = 1; in th_fn()
179 if (expired == 1) { in main()
203 if (expired == 1) { in main()
H A D2-1.c37 static int expired; variable
70 printf("thread: timer expired\n"); in fn()
71 expired = 1; in fn()
74 expired = 0; in fn()
127 /* the child thread does not block, check the time expired or not */ in main()
128 if (expired != 1) { in main()
132 printf("thread correctly expired and did not wait\n"); in main()
136 ("Test FAILED: thread blocked even when the timer expired\n"); in main()
H A D3-1.c44 static int expired; variable
79 printf("thread: timer expired\n"); in fn_wr()
80 expired = 1; in fn_wr()
83 expired = 0; in fn_wr()
131 expired = 0; in main()
137 if (expired == 1) { in main()
138 printf("Test FAILED: the timer expired\n"); in main()
191 printf("Test FAILED: the timer expired and blocking " in main()
198 printf("thread1 correctly expired at timeout.\n"); in main()
201 "when the timer expired\ in main()
[all...]
H A D1-1.c42 static int expired; variable
69 printf("thread: timer expired\n"); in fn_wr()
70 expired = 1; in fn_wr()
73 expired = 0; in fn_wr()
111 expired = 0; in main()
117 if (expired == 1) { in main()
118 printf("Test FAILED: the timer expired\n"); in main()
172 ("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", in main()
177 printf("thread1 correctly expired at timeout.\n"); in main()
180 ("Test FAILED: wait is not terminated even when the timer expired\ in main()
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_timeouts.py20 self.assertTrue(cm.expired())
29 self.assertTrue(cm.expired())
46 self.assertTrue(cm1.expired())
47 self.assertTrue(cm2.expired())
68 self.assertFalse(cm.expired())
80 self.assertFalse(cm.expired())
92 self.assertFalse(cm.expired())
104 self.assertTrue(cm.expired())
116 self.assertTrue(cm.expired())
128 self.assertTrue(cm.expired())
[all...]
/third_party/node/test/cctest/
H A Dtest_sockaddr.cc64 bool expired; in TEST() member
71 return type.expired; in TEST()
75 type->expired = false; in TEST()
97 CHECK_EQ(foo->expired, false); in TEST()
100 foo->expired = true; in TEST()
106 CHECK_EQ(lru.Peek(addr1)->expired, false); in TEST()
111 foo->expired = true; in TEST()
116 foo->expired = true; in TEST()
120 foo->expired = false; in TEST()
126 // addr2 was removed because it was expired in TEST()
[all...]
/third_party/libdrm/tests/amdgpu/
H A Ddeadlock_tests.c246 uint32_t expired; in amdgpu_deadlock_helper() local
312 AMDGPU_TIMEOUT_INFINITE,0, &expired); in amdgpu_deadlock_helper()
337 uint32_t expired; in amdgpu_deadlock_sdma() local
409 AMDGPU_TIMEOUT_INFINITE,0, &expired); in amdgpu_deadlock_sdma()
434 uint32_t expired; in bad_access_helper() local
488 AMDGPU_TIMEOUT_INFINITE,0, &expired); in bad_access_helper()
H A Dbasic_tests.c856 uint32_t expired; in amdgpu_command_submission_gfx_separate_ibs() local
918 0, &expired); in amdgpu_command_submission_gfx_separate_ibs()
947 uint32_t expired; in amdgpu_command_submission_gfx_shared_ib() local
1002 0, &expired); in amdgpu_command_submission_gfx_shared_ib()
1206 uint32_t expired; in amdgpu_semaphore_test() local
1282 500000000, 0, &expired); in amdgpu_semaphore_test()
1284 CU_ASSERT_EQUAL(expired, true); in amdgpu_semaphore_test()
1323 500000000, 0, &expired); in amdgpu_semaphore_test()
1325 CU_ASSERT_EQUAL(expired, true); in amdgpu_semaphore_test()
1353 uint32_t expired; in amdgpu_command_submission_compute_nop() local
1462 uint32_t expired; amdgpu_test_exec_cs_helper_raw() local
2068 uint32_t expired; amdgpu_command_submission_multi_fence_wait_all() local
2263 uint32_t expired; amdgpu_sync_dependency_test() local
2655 uint32_t expired; amdgpu_memset_dispatch_test() local
2801 uint32_t expired, hang_state, hangs; amdgpu_memcpy_dispatch_test() local
3038 uint32_t hang_state, hangs, expired; amdgpu_memcpy_dispatch_hang_slow_test() local
3738 uint32_t expired; amdgpu_memset_draw() local
3895 uint32_t expired; amdgpu_memcpy_draw() local
4117 uint32_t hang_state, hangs, expired; amdgpu_memcpy_draw_hang_slow_test() local
[all...]
H A Dvm_tests.c105 uint32_t expired, flags; in amdgpu_vmid_reserve_test() local
170 AMDGPU_TIMEOUT_INFINITE,0, &expired); in amdgpu_vmid_reserve_test()
H A Damdgpu_stress.c193 uint32_t expired; in submit_ib() local
265 0, &expired); in submit_ib()
H A Dhotunplug_tests.c178 uint32_t expired; in amdgpu_cs_sync() local
182 0, &expired); in amdgpu_cs_sync()
H A Dsyncobj_tests.c103 uint32_t expired; in syncobj_command_submission_helper() local
177 AMDGPU_TIMEOUT_INFINITE,0, &expired); in syncobj_command_submission_helper()
H A Dcp_dma_tests.c211 uint32_t expired; in submit_and_sync() local
251 0, &expired); in submit_and_sync()
/third_party/openssl/test/
H A Dcmp_vfy_test.c215 static int test_validate_msg_signature_partial_chain(int expired) in test_validate_msg_signature_partial_chain() argument
222 fixture->expected = !expired; in test_validate_msg_signature_partial_chain()
231 if (expired) in test_validate_msg_signature_partial_chain()
384 static void setup_path(CMP_VFY_TEST_FIXTURE **fixture, X509 *wrong, int expired) in setup_path() argument
387 (*fixture)->expected = wrong == NULL && !expired; in setup_path()
388 if (expired) { in setup_path()
/third_party/libdrm/amdgpu/
H A Damdgpu_cs.c470 uint32_t *expired) in amdgpu_cs_query_fence_status()
475 if (!fence || !expired || !fence->context) in amdgpu_cs_query_fence_status()
482 *expired = true; in amdgpu_cs_query_fence_status()
486 *expired = false; in amdgpu_cs_query_fence_status()
493 *expired = true; in amdgpu_cs_query_fence_status()
467 amdgpu_cs_query_fence_status(struct amdgpu_cs_fence *fence, uint64_t timeout_ns, uint64_t flags, uint32_t *expired) amdgpu_cs_query_fence_status() argument
/third_party/node/deps/npm/node_modules/pacote/lib/
H A Dregistry.js198 `but the corresponding public key has expired ${publicKey.expires}`
286 `but the corresponding public key has expired ${publicKey.expires}`
/third_party/node/lib/
H A D_http_server.js622 const expired = this[kConnections].expired(this.headersTimeout, this.requestTimeout);
624 for (let i = 0; i < expired.length; i++) {
625 const socket = expired[i].socket;
/third_party/mbedtls/tests/data_files/
H A DMakefile225 test-ca2_cat-present-past.crt: test-ca2.crt test-ca2-expired.crt
227 test-ca2_cat-past-invalid.crt: test-ca2-expired.crt server6.crt
229 test-ca2_cat-past-present.crt: test-ca2-expired.crt test-ca2.crt
368 server7-expired.crt: server7.csr $(test_ca_int_rsa1)
370 all_final += server7-expired.crt
449 server5-ss-expired.crt: server5.key
451 all_final += server5-ss-expired.crt
1893 pkcs7-rsa-expired.crt:
1894 $(FAKETIME) -f -3650d $(OPENSSL) req -x509 -subj="/C=NL/O=PKCS7/CN=PKCS7 Cert Expired" -sha256 -nodes -days 365 -newkey rsa:2048 -keyout pkcs7-rsa-expired.key -out pkcs7-rsa-expired
[all...]
/third_party/python/Lib/asyncio/
H A Dtimeouts.py22 EXPIRED = "expired"
72 def expired(self) -> bool: member in Timeout
73 """Is timeout expired during execution?"""
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/
H A DWeakMap.hpp183 if(it->second.expired()) in reap()
/third_party/mesa3d/src/freedreno/drm/
H A Dfreedreno_bo.c314 * Cleanup fences, dropping pipe references. If 'expired' is true, only
315 * cleanup expired fences.
321 cleanup_fences(struct fd_bo *bo, bool expired) in cleanup_fences() argument
328 if (expired && fd_fence_before(f->pipe->control->fence, f->fence)) in cleanup_fences()

Completed in 18 milliseconds

12