Home
last modified time | relevance | path

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

12345678

/foundation/communication/nfc/services/src/ipc/tags/
H A Dtag_session.cpp59 if (nfcService_.expired() || nciTagProxy_.expired()) { in Connect()
60 ErrorLog("Connect, expired"); in Connect()
88 if (nfcService_.expired() || nciTagProxy_.expired()) { in IsConnected()
89 ErrorLog("Connect, expired"); in IsConnected()
108 if (nfcService_.expired() || nciTagProxy_.expired()) { in Reconnect()
109 ErrorLog("Reconnect, expired"); in Reconnect()
131 if (nfcService_.expired() || nciTagProxy in Disconnect()
[all...]
/foundation/communication/nfc/interfaces/inner_api/controller/
H A Dnfc_controller.cpp61 __func__, initialized_, nfcControllerService_.expired()); in InitNfcRemoteSA()
63 if (!initialized_ || nfcControllerService_.expired() || remoteDied_) { in InitNfcRemoteSA()
115 if (nfcControllerService_.expired()) { in TurnOn()
125 if (nfcControllerService_.expired()) { in TurnOff()
140 if (nfcControllerService_.expired()) { in GetNfcState()
141 ErrorLog("Nfc controller service expired."); in GetNfcState()
172 if (nfcControllerService_.expired()) { in RegListener()
173 ErrorLog("nfcControllerService_ expired."); in RegListener()
188 if (nfcControllerService_.expired()) { in UnregListener()
189 ErrorLog("nfcControllerService_ expired in UnregListener()
[all...]
/foundation/communication/nfc/services/src/ipc/controller/
H A Dnfc_controller_impl.cpp37 if (nfcService_.expired()) { in GetState()
45 if (nfcService_.expired()) { in TurnOn()
53 if (nfcService_.expired()) { in TurnOff()
61 if (nfcService_.expired()) { in IsNfcOpen()
71 if (nfcService_.expired()) { in RegisterCallBack()
83 if (nfcService_.expired()) { in UnRegisterCallBack()
94 if (nfcService_.expired()) { in UnRegisterAllCallBack()
105 if (nfcService_.expired()) { in GetTagServiceIface()
113 if (nfcService_.expired()) { in RegNdefMsgCallback()
114 ErrorLog("NfcControllerImpl::RegNdefMsgCallback nfcService_ expired"); in RegNdefMsgCallback()
[all...]
/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 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()
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()
/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...]
/kernel/linux/linux-5.10/fs/autofs/
H A Dexpire.c10 /* Check if a dentry can be expired */
394 struct dentry *expired; in should_expire() local
404 expired = autofs_check_leaves(mnt, dentry, timeout, how); in should_expire()
405 if (expired) { in should_expire()
406 if (expired == dentry) in should_expire()
408 return expired; in should_expire()
428 struct dentry *expired; in autofs_expire_indirect() local
447 expired = should_expire(dentry, mnt, timeout, how); in autofs_expire_indirect()
448 if (!expired) in autofs_expire_indirect()
452 ino = autofs_dentry_ino(expired); in autofs_expire_indirect()
[all...]
/kernel/linux/linux-6.6/fs/autofs/
H A Dexpire.c10 /* Check if a dentry can be expired */
394 struct dentry *expired; in should_expire() local
404 expired = autofs_check_leaves(mnt, dentry, timeout, how); in should_expire()
405 if (expired) { in should_expire()
406 if (expired == dentry) in should_expire()
408 return expired; in should_expire()
428 struct dentry *expired; in autofs_expire_indirect() local
447 expired = should_expire(dentry, mnt, timeout, how); in autofs_expire_indirect()
448 if (!expired) in autofs_expire_indirect()
452 ino = autofs_dentry_ino(expired); in autofs_expire_indirect()
[all...]
/foundation/communication/nfc/services/src/ipc/card_emulation/
H A Dhce_session.cpp44 if (ceService_.expired()) { in RegHceCmdCallbackByToken()
57 if (ceService_.expired()) { in UnRegHceCmdCallback()
69 if (ceService_.expired()) { in UnRegAllCallback()
81 if (ceService_.expired()) { in HandleWhenRemoteDie()
94 if (ceService_.expired()) { in SendRawFrameByToken()
108 if (ceService_.expired()) { in IsDefaultService()
118 if (ceService_.expired()) { in StartHce()
130 if (ceService_.expired()) { in StopHce()
/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...]
/foundation/communication/nfc/services/src/
H A Dnfc_polling_manager.cpp82 if (nfcService_.expired()) { in StartPollingLoop()
122 if (nciTagProxy_.expired() || nciNfccProxy_.expired()) { in HandleScreenChanged()
152 if (nfcService_.expired() || nciTagProxy_.expired()) { in EnableForegroundDispatch()
185 if (nciNfccProxy_.expired()) { in DisableForegroundDispatch()
216 if (nfcService_.expired() || nciTagProxy_.expired()) { in EnableReaderMode()
/foundation/communication/nfc/interfaces/inner_api/tags/
H A Dbasic_tag_session.cpp127 if (tagInfo_.expired()) { in GetTagUid()
146 if (tagInfo_.expired() || (tagTechnology_ == KITS::TagTechnology::NFC_INVALID_TECH)) { in GetMaxSendCommandLength()
160 if (tagInfo_.expired()) { in GetTagRfDiscId()
169 if (tagInfo_.expired()) { in SetConnectedTagTech()
178 if (tagInfo_.expired()) { in GetConnectedTagTech()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h312 /*! Get Egress SA expired. */
313 int aq_mss_get_egress_sa_expired(struct aq_hw_s *hw, u32 *expired);
314 /*! Get Egress SA threshold expired. */
316 u32 *expired);
317 /*! Set Egress SA expired. */
318 int aq_mss_set_egress_sa_expired(struct aq_hw_s *hw, u32 expired);
319 /*! Set Egress SA threshold expired. */
321 u32 expired);
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h312 /*! Get Egress SA expired. */
313 int aq_mss_get_egress_sa_expired(struct aq_hw_s *hw, u32 *expired);
314 /*! Get Egress SA threshold expired. */
316 u32 *expired);
317 /*! Set Egress SA expired. */
318 int aq_mss_set_egress_sa_expired(struct aq_hw_s *hw, u32 expired);
319 /*! Set Egress SA threshold expired. */
321 u32 expired);
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dtimerdev.c30 struct list_head expired; member
55 INIT_LIST_HEAD(&dev->expired); in mISDN_open()
79 /* it might have been moved to ->expired */ in mISDN_close()
85 list_for_each_entry_safe(timer, next, &dev->expired, list) { in mISDN_close()
96 struct list_head *list = &dev->expired; in mISDN_read()
146 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll()
150 dev->work, list_empty(&dev->expired)); in mISDN_poll()
163 list_move_tail(&timer->list, &timer->dev->expired); in dev_expire_timer()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Dtimerdev.c30 struct list_head expired; member
55 INIT_LIST_HEAD(&dev->expired); in mISDN_open()
79 /* it might have been moved to ->expired */ in mISDN_close()
85 list_for_each_entry_safe(timer, next, &dev->expired, list) { in mISDN_close()
96 struct list_head *list = &dev->expired; in mISDN_read()
146 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll()
150 dev->work, list_empty(&dev->expired)); in mISDN_poll()
163 list_move_tail(&timer->list, &timer->dev->expired); in dev_expire_timer()
/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_notification_publisher.cpp65 if (!isInitialized_ || nfcService_.expired()) { in RegNotificationCallback()
112 if (nfcService_.expired()) { in OnNotificationButtonClicked()
113 ErrorLog("nfc service expired, fail to callback."); in OnNotificationButtonClicked()
117 if (tagDispatcher.expired()) { in OnNotificationButtonClicked()
118 ErrorLog("tagDispatcher expired, fail to inform button clicking"); in OnNotificationButtonClicked()
/kernel/linux/linux-5.10/fs/
H A Dtimerfd.c41 short unsigned expired; member
59 * This gets called when the timer event triggers. We set the "expired"
68 ctx->expired = 1; in timerfd_triggered()
184 ctx->expired = 0; in timerfd_setup()
271 ctx->expired = 0; in timerfd_read()
278 if (ctx->expired && ctx->tintv) { in timerfd_read()
295 ctx->expired = 0; in timerfd_read()
485 * If the timer is expired and it's periodic, we need to advance it in do_timerfd_settime()
487 * We do not update "ticks" and "expired" since the timer will be in do_timerfd_settime()
490 if (ctx->expired in do_timerfd_settime()
[all...]
/kernel/linux/linux-6.6/fs/
H A Dtimerfd.c41 short unsigned expired; member
59 * This gets called when the timer event triggers. We set the "expired"
68 ctx->expired = 1; in timerfd_triggered()
200 ctx->expired = 0; in timerfd_setup()
287 ctx->expired = 0; in timerfd_read()
294 if (ctx->expired && ctx->tintv) { in timerfd_read()
311 ctx->expired = 0; in timerfd_read()
501 * If the timer is expired and it's periodic, we need to advance it in do_timerfd_settime()
503 * We do not update "ticks" and "expired" since the timer will be in do_timerfd_settime()
506 if (ctx->expired in do_timerfd_settime()
[all...]

Completed in 11 milliseconds

12345678