Home
last modified time | relevance | path

Searched +refs:event +refs:hook (Results 1 – 25 of 10152) sorted by relevance

12345678910>>...407

/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/
H A Dcron.php144 if ( isset( $cron[ $event->hook ][ $key ] ) ) {
176 $event = apply_filters( 'schedule_event', $event );
179 if ( ! $event ) {
190 $crons[ $event->timestamp ][ $event->hook ][ $key ] = array(
288 $event = apply_filters( 'schedule_event', $event );
291 if ( ! $event ) {
305 $crons[ $event->timestamp ][ $event->hook ][ $key ] = array(
790 $event->interval = $crons[ $timestamp ][ $hook ][ $key ]['interval'];
793 return $event;
1082 $event = wp_get_scheduled_event( $hook, $args );
[all …]
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/
H A Dcron.php144 if ( isset( $cron[ $event->hook ][ $key ] ) ) {
176 $event = apply_filters( 'schedule_event', $event );
179 if ( ! $event ) {
190 $crons[ $event->timestamp ][ $event->hook ][ $key ] = array(
288 $event = apply_filters( 'schedule_event', $event );
291 if ( ! $event ) {
305 $crons[ $event->timestamp ][ $event->hook ][ $key ] = array(
790 $event->interval = $crons[ $timestamp ][ $hook ][ $key ]['interval'];
793 return $event;
1082 $event = wp_get_scheduled_event( $hook, $args );
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Daudit-tests.py40 def __call__(self, event, args): argument
278 def hook(event, args): function
297 def hook(event, args): function
311 def hook(event, args): function
314 print(event, *args)
334 def hook(event, args): function
336 print(event, *args)
356 def hook(event, args): function
358 print(event, *args)
374 def hook(event, args): function
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Daudit-tests.py40 def __call__(self, event, args): argument
278 def hook(event, args): function
297 def hook(event, args): function
311 def hook(event, args): function
314 print(event, *args)
334 def hook(event, args): function
336 print(event, *args)
356 def hook(event, args): function
358 print(event, *args)
374 def hook(event, args): function
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Daudit-tests.py39 def __call__(self, event, args): argument
42 self.seen.append((event, args))
210 traced.append(event)
251 def hook(event, args): function
270 def hook(event, args): function
284 def hook(event, args): function
287 print(event, *args)
307 def hook(event, args): function
309 print(event, *args)
329 def hook(event, args): function
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Daudit-tests.py39 def __call__(self, event, args): argument
42 self.seen.append((event, args))
210 traced.append(event)
251 def hook(event, args): function
270 def hook(event, args): function
284 def hook(event, args): function
287 print(event, *args)
307 def hook(event, args): function
309 print(event, *args)
329 def hook(event, args): function
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Daudit-tests.py39 def __call__(self, event, args): argument
42 self.seen.append((event, args))
210 traced.append(event)
251 def hook(event, args): function
270 def hook(event, args): function
284 def hook(event, args): function
287 print(event, *args)
307 def hook(event, args): function
309 print(event, *args)
329 def hook(event, args): function
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Daudit-tests.py39 def __call__(self, event, args): argument
42 self.seen.append((event, args))
210 traced.append(event)
251 def hook(event, args): function
270 def hook(event, args): function
284 def hook(event, args): function
287 print(event, *args)
307 def hook(event, args): function
309 print(event, *args)
329 def hook(event, args): function
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Daudit-tests.py39 def __call__(self, event, args): argument
42 self.seen.append((event, args))
210 traced.append(event)
251 def hook(event, args): function
270 def hook(event, args): function
284 def hook(event, args): function
287 print(event, *args)
307 def hook(event, args): function
309 print(event, *args)
329 def hook(event, args): function
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Daudit-tests.py40 def __call__(self, event, args): argument
43 self.seen.append((event, args))
237 traced.append(event)
278 def hook(event, args): function
297 def hook(event, args): function
311 def hook(event, args): function
314 print(event, *args)
334 def hook(event, args): function
336 print(event, *args)
356 def hook(event, args): function
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-smtp/
H A Dsmtp-server-recipient.c14 struct event *event = prcpt->rcpt.event; in smtp_server_recipient_update_event() local
29 if (rcpt->event != NULL) in smtp_server_recipient_create_event()
42 rcpt->event = event_create(conn->state.trans->event); in smtp_server_recipient_create_event()
119 event_unref(&rcpt->event); in smtp_server_recipient_unref()
143 i_assert(rcpt->event != NULL); in smtp_server_recipient_approved()
158 i_assert(rcpt->event != NULL); in smtp_server_recipient_denied()
258 e_debug(e->event(), "Reset"); in smtp_server_recipient_reset()
289 i_assert(hook->type != type || hook->func != func); in smtp_server_recipient_add_hook()
291 hook = hook->next; in smtp_server_recipient_add_hook()
317 if (hook->type == type && hook->func == func) { in smtp_server_recipient_remove_hook()
[all …]
H A Dsmtp-server-command.c127 struct event *event = cmd->context.event; in smtp_server_command_update_event() local
137 event_set_append_log_prefix(event, in smtp_server_command_update_event()
151 cmd->context.event = event_create(conn->event); in smtp_server_command_alloc()
295 e_debug(e->event(), "Destroy"); in smtp_server_command_unref()
330 e_debug(e->event(), "Abort"); in smtp_server_command_abort()
355 i_assert(hook->type != type || hook->func != func); in smtp_server_command_add_hook()
357 hook = hook->next; in smtp_server_command_add_hook()
380 if (hook->type == type && hook->func == func) { in smtp_server_command_remove_hook()
382 hook); in smtp_server_command_remove_hook()
414 hook->func(&cmd->context, hook->context); in smtp_server_command_call_hooks()
[all …]
/dports/net-im/prosody/prosody-0.11.13/plugins/
H A Dmod_blocklist.lua99 module:hook("iq-get/self/urn:xmpp:blocking:blocklist", function (event)
241 module:hook("iq-error/self/blocklist-push", function (event)
321 module:hook("presence/bare", drop_stanza, prio_in);
322 module:hook("presence/full", drop_stanza, prio_in);
324 module:hook("message/bare", bounce_message, prio_in);
325 module:hook("message/full", bounce_message, prio_in);
327 module:hook("iq/bare", bounce_iq, prio_in);
328 module:hook("iq/full", bounce_iq, prio_in);
334 module:hook("pre-presence/bare", bounce_outgoing, -1);
335 module:hook("pre-presence/host", bounce_outgoing, -1);
[all …]
/dports/devel/py-nose2/nose2-0.10.0/docs/dev/
H A Dhook_reference.rst24 inject their own hook methods using
28 Since ``pluginsLoaded`` is a pre-registration hook, it is called
31 themselves should limit their actions in this hook to
43 execute in a hook is not guaranteed.
48 themselves should limit their actions in this hook to
89 Plugins can use this hook to load tests from files that are not
98 Plugins can use this hook to prevent python modules from being
108 Plugins can use this hook to load tests from test modules. To
122 Plugins can use this hook to load tests from a
326 Plugins can use this hook to take action before the start of
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/@types/mocha/
H A Dindex.d.ts1621 on(event: "hook", listener: (hook: Hook) => void): this;
1622 once(event: "hook", listener: (hook: Hook) => void): this;
1632 on(event: "hook end", listener: (hook: Hook) => void): this;
1633 once(event: "hook end", listener: (hook: Hook) => void): this;
1989 on(event: "beforeAll", listener: (hook: Hook) => void): this;
1990 once(event: "beforeAll", listener: (hook: Hook) => void): this;
2000 on(event: "afterAll", listener: (hook: Hook) => void): this;
2001 once(event: "afterAll", listener: (hook: Hook) => void): this;
2011 on(event: "beforeEach", listener: (hook: Hook) => void): this;
2022 on(event: "afterEach", listener: (hook: Hook) => void): this;
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/devtools-frontend/src/node_modules/@types/mocha/
H A Dindex.d.ts1621 on(event: "hook", listener: (hook: Hook) => void): this;
1622 once(event: "hook", listener: (hook: Hook) => void): this;
1632 on(event: "hook end", listener: (hook: Hook) => void): this;
1633 once(event: "hook end", listener: (hook: Hook) => void): this;
1989 on(event: "beforeAll", listener: (hook: Hook) => void): this;
1990 once(event: "beforeAll", listener: (hook: Hook) => void): this;
2000 on(event: "afterAll", listener: (hook: Hook) => void): this;
2001 once(event: "afterAll", listener: (hook: Hook) => void): this;
2011 on(event: "beforeEach", listener: (hook: Hook) => void): this;
2022 on(event: "afterEach", listener: (hook: Hook) => void): this;
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/phpunit/unit/Elgg/Notifications/
H A DNotificationsServiceUnitTestCase.php444 $this->assertEquals(unserialize(serialize($event)), $hook->getParam('event'));
452 $this->assertEquals(unserialize(serialize($event)), $hook->getParam('event'));
509 $this->assertEquals($event->toObject(), $hook->getParam('event')->toObject());
607 $this->assertEquals($event, $hook->getParam('event'));
658 …hooks->registerHandler('prepare', "notification:{$event->getDescription()}", function (\Elgg\Hook …
787 …hooks->registerHandler('prepare', "notification:{$event->getDescription()}", function (\Elgg\Hook …
810 $this->assertEquals($event->toObject(), $hook->getParam('event')->toObject());
877 …hooks->registerHandler('prepare', "notification:{$event->getDescription()}", function (\Elgg\Hook …
899 $this->assertEquals($event->toObject(), $hook->getParam('event')->toObject());
959 $this->assertEquals($event->toObject(), $hook->getParam('event')->toObject());
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/mod/discussions/
H A Dstart.php51 $entity = $hook->getEntityParam();
64 $return = $hook->getValue();
107 $event = $hook->getParam('event');
108 if (!$event instanceof Elgg\Notifications\NotificationEvent) {
112 $comment = $event->getObject();
149 $event = $hook->getParam('event');
150 if (!$event instanceof \Elgg\Notifications\SubscriptionNotificationEvent) {
154 if ($event->getAction() !== 'create') {
158 $comment = $event->getObject();
247 $return = $hook->getValue();
[all …]
/dports/www/elgg/elgg-3.3.23/mod/discussions/
H A Dstart.php51 $entity = $hook->getEntityParam();
64 $return = $hook->getValue();
107 $event = $hook->getParam('event');
108 if (!$event instanceof Elgg\Notifications\NotificationEvent) {
112 $comment = $event->getObject();
149 $event = $hook->getParam('event');
150 if (!$event instanceof \Elgg\Notifications\SubscriptionNotificationEvent) {
154 if ($event->getAction() !== 'create') {
158 $comment = $event->getObject();
247 $return = $hook->getValue();
[all …]
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/Tmain/nested-subparsers.d/
H A Drun.sh13 --options=./hook.ctags \
42 --options=./hook.ctags \
49 --options=./hook.ctags \
57 --options=./hook.ctags \
66 --options=./hook.ctags \
76 --options=./hook.ctags \
86 --options=./hook.ctags \
96 --options=./hook.ctags \
105 --options=./hook.ctags \
113 --options=./hook.ctags \
[all …]
/dports/www/elgg/elgg-3.3.23/mod/system_log/
H A Dstart.php56 function system_log_default_logger(\Elgg\Event $event) { argument
57 $object = $event->getObject();
72 function system_log_listener(\Elgg\Event $event) { argument
73 if (($event->getType() != 'systemlog') && ($event->getName() != 'log')) {
74 …elgg_trigger_event('log', 'systemlog', ['object' => $event->getObject(), 'event' => $event->getNam…
89 $user = $hook->getEntityParam();
94 $return = $hook->getValue();
117 if ($period !== $hook->getType()) {
126 return $hook->getValue() . $resulttext;
144 if ($period !== $hook->getType()) {
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/mod/system_log/
H A Dstart.php56 function system_log_default_logger(\Elgg\Event $event) { argument
57 $object = $event->getObject();
72 function system_log_listener(\Elgg\Event $event) { argument
73 if (($event->getType() != 'systemlog') && ($event->getName() != 'log')) {
74 …elgg_trigger_event('log', 'systemlog', ['object' => $event->getObject(), 'event' => $event->getNam…
89 $user = $hook->getEntityParam();
94 $return = $hook->getValue();
117 if ($period !== $hook->getType()) {
126 return $hook->getValue() . $resulttext;
144 if ($period !== $hook->getType()) {
[all …]
/dports/sysutils/py-salt/salt-3004.1/salt/runners/
H A Dmattermost.py49 if not hook:
52 return hook
112 if not hook:
133 api_url=api_url, hook=hook, data="payload={}".format(data)
142 def post_event(event, channel=None, username=None, api_url=None, hook=None): argument
155 if not hook:
164 if not event:
167 log.debug("Event: %s", event)
168 log.debug("Event data: %s", event["data"])
169 message = "tag: {}\r\n".format(event["tag"])
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/lib/
H A Dadmin.php105 function _elgg_create_notice_of_pending_upgrade(\Elgg\Event $event) { argument
106 if (!$event->getObject() instanceof \ElggUpgrade) {
771 function _elgg_add_admin_widgets(\Elgg\Event $event) { argument
772 $user = $event->getObject();
812 $event = $hook->getParam('event');
817 if (!in_array($event->getAction(), ['make_admin', 'remove_admin'])) {
821 $user = $event->getObject();
950 $event = $hook->getParam('event');
959 $user = $event->getObject();
1149 $user = $event->getObject();
[all …]
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_statsd/
H A Dmod_statsd.lua32 module:hook("resource-bind", function(event)
36 module:hook("resource-unbind", function(event)
42 module:hook("muc-occupant-joined", function(event)
44 local room_node = jid.split(event.room.jid)
47 module:hook("muc-occupant-left", function(event)
49 local room_node = jid.split(event.room.jid)
54 module:hook("muc-broadcast-message", function(event)
56 local room_node = jid.split(event.room.jid)
59 module:hook("muc-invite", function(event)
62 local room_node = jid.split(event.room.jid)
[all …]

12345678910>>...407