/dports/games/egoboo/egoboo-2.8.1/src/game/Obsolete/ |
H A D | Timer.c | 28 typedef struct TimerNode struct 31 struct TimerNode *previous, *next; argument 32 } TimerNode; typedef 34 static TimerNode *timerList = NULL; 35 static TimerNode *timerListEnd = NULL; 38 static TimerNode *findTimer( Timer *t ) in findTimer() 40 TimerNode *node = timerList; in findTimer() 63 TimerNode *node, *next; in timer_shutdown() 80 TimerNode *node; in timer_update() 98 TimerNode *node; in timer_addTimer() [all …]
|
/dports/devel/pecl-swoole/swoole-4.8.5/include/ |
H A D | swoole_timer.h | 33 typedef std::function<void(TimerNode *)> TimerDestructor; 35 struct TimerNode { struct 58 std::unordered_map<long, TimerNode *> map; argument 103 TimerNode *add(long _msec, bool persistent, void *data, const TimerCallback &callback); 104 bool remove(TimerNode *tnode); 105 void update(TimerNode *tnode) { in update() 108 void delay(TimerNode *tnode, long delay_ms) { in delay() 116 inline TimerNode *get(long id) { in get() 125 inline TimerNode *get(long id, const enum TimerNode::Type type) { in get() 126 TimerNode *tnode = get(id); in get() [all …]
|
H A D | swoole_api.h | 30 SW_API swoole::TimerNode *swoole_timer_add(long ms, bool persistent, const swoole::TimerCallback &c… 32 SW_API bool swoole_timer_del(swoole::TimerNode *tnode); 34 SW_API void swoole_timer_delay(swoole::TimerNode *tnode, long delay_ms); 35 SW_API swoole::TimerNode *swoole_timer_get(long timer_id);
|
H A D | swoole_coroutine_socket.h | 416 TimerNode *read_timer = nullptr; 417 TimerNode *write_timer = nullptr; 445 static void timer_callback(Timer *timer, TimerNode *tnode); 495 TimerController(TimerNode **timer_pp, double timeout, Socket *sock, TimerCallback callback) in TimerController() 504 *timer_pp = (TimerNode *) -1; in start() 510 if (*timer_pp != (TimerNode *) -1) { in ~TimerController() 519 TimerNode **timer_pp;
|
H A D | swoole_coroutine_channel.h | 52 TimerNode *timer; 121 static void timer_callback(Timer *timer, TimerNode *tnode);
|
H A D | swoole_server.h | 105 TimerNode *timer; 852 TimerNode *master_timer = nullptr; 853 TimerNode *heartbeat_timer = nullptr; 1380 static void timer_callback(Timer *timer, TimerNode *tnode); 1492 TimerNode *enable_accept_timer = nullptr;
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/zvision/scripting/effects/ |
H A D | timer_effect.cpp | 34 TimerNode::TimerNode(ZVision *engine, uint32 key, uint timeInSeconds) in TimerNode() function in ZVision::TimerNode 47 TimerNode::~TimerNode() { in ~TimerNode() 55 bool TimerNode::process(uint32 deltaTimeInMillis) { in process() 64 bool TimerNode::stop() { in stop() 70 void TimerNode::serialize(Common::WriteStream *stream) { in serialize() 77 void TimerNode::deserialize(Common::SeekableReadStream *stream) { in deserialize()
|
H A D | timer_effect.h | 32 class TimerNode : public ScriptingEffect { 34 TimerNode(ZVision *engine, uint32 key, uint timeInSeconds); 35 ~TimerNode();
|
/dports/games/scummvm/scummvm-2.5.1/engines/zvision/scripting/effects/ |
H A D | timer_effect.cpp | 34 TimerNode::TimerNode(ZVision *engine, uint32 key, uint timeInSeconds) in TimerNode() function in ZVision::TimerNode 47 TimerNode::~TimerNode() { in ~TimerNode() 55 bool TimerNode::process(uint32 deltaTimeInMillis) { in process() 64 bool TimerNode::stop() { in stop() 70 void TimerNode::serialize(Common::WriteStream *stream) { in serialize() 77 void TimerNode::deserialize(Common::SeekableReadStream *stream) { in deserialize()
|
H A D | timer_effect.h | 32 class TimerNode : public ScriptingEffect { 34 TimerNode(ZVision *engine, uint32 key, uint timeInSeconds); 35 ~TimerNode() override;
|
/dports/devel/pecl-swoole/swoole-4.8.5/ext-src/ |
H A D | swoole_timer.cc | 26 using swoole::TimerNode; 121 static void timer_dtor(TimerNode *tnode) { in timer_dtor() 128 bool php_swoole_timer_clear(TimerNode *tnode) { in php_swoole_timer_clear() 138 TimerNode **list = (TimerNode **) emalloc(num * sizeof(TimerNode *)); in php_swoole_timer_clear_all() 140 TimerNode *tnode = kv.second; in php_swoole_timer_clear_all() 141 if (tnode->type == TimerNode::TYPE_PHP) { in php_swoole_timer_clear_all() 169 TimerNode *tnode; in timer_add() 194 tnode->type = TimerNode::TYPE_PHP; in timer_add() 244 TimerNode *tnode; in PHP_FUNCTION() 260 TimerNode *tnode; in PHP_FUNCTION() [all …]
|
H A D | php_swoole_curl.h | 54 TimerNode *timer = nullptr; 81 timer = swoole_timer_add(timeout_ms, false, [this](Timer *timer, TimerNode *tnode) { in add_timer()
|
/dports/devel/pecl-swoole/swoole-4.8.5/src/wrapper/ |
H A D | timer.cc | 32 TimerNode *swoole_timer_add(long ms, bool persistent, const TimerCallback &callback, void *private_… in swoole_timer_add() 44 bool swoole_timer_del(TimerNode *tnode) { in swoole_timer_del() 52 void swoole_timer_delay(TimerNode *tnode, long delay_ms) { in swoole_timer_delay() 65 TimerNode *tnode = swoole_timer_add(ms, false, callback, private_data); in swoole_timer_after() 78 TimerNode *tnode = swoole_timer_add(ms, true, callback, private_data); in swoole_timer_tick() 91 TimerNode *tnode = SwooleTG.timer->get(timer_id); in swoole_timer_exists() 103 TimerNode *swoole_timer_get(long timer_id) { in swoole_timer_get()
|
/dports/devel/pecl-swoole/swoole-4.8.5/core-tests/src/os/ |
H A D | timer.cpp | 24 using swoole::TimerNode; 35 20, false, [&](Timer *, TimerNode *) { timer1_count++; }, nullptr); in TEST() argument 40 [&](Timer *, TimerNode *tnode) { in TEST() 76 20, [&](Timer *, TimerNode *) { timer1_count++; }, nullptr); in TEST() argument 80 [&](Timer *, TimerNode *tnode) { in TEST()
|
H A D | async.cpp | 74 swoole_timer_tick(2, [&count, &event, N](Timer *, TimerNode *timer) { in TEST()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Requests/src/System/Net/ |
H A D | TimerThread.cs | 176 private readonly TimerNode _timers; 187 _timers = new TimerNode(); in TimerQueue() 197 TimerNode timer = new TimerNode(callback, context, Duration, _timers); in CreateTimer() 243 TimerNode timer = _timers.Next; in Fire() 288 private class TimerNode : Timer class in System.Net.TimerThread 294 private TimerNode _next; 295 private TimerNode _prev; 308 …internal TimerNode(Callback callback, object context, int durationMilliseconds, object queueLock) … in TimerNode() method in System.Net.TimerThread.TimerNode 321 internal TimerNode() : base(0) in TimerNode() method in System.Net.TimerThread.TimerNode 328 internal TimerNode Next [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/ |
H A D | _TimerThread.cs | 279 private readonly TimerNode m_Timers; 290 m_Timers = new TimerNode(); in TimerQueue() 302 TimerNode timer = new TimerNode(callback, context, Duration, m_Timers); in CreateTimer() 344 TimerNode timer = m_Timers.Next; in Fire() 414 private class TimerNode : Timer { class in System.Net.TimerThread 419 private TimerNode next; 420 private TimerNode prev; 432 …internal TimerNode(Callback callback, object context, int durationMilliseconds, object queueLock) … in TimerNode() method in System.Net.TimerThread.TimerNode 445 internal TimerNode() : base (0) in TimerNode() method in System.Net.TimerThread.TimerNode 467 internal TimerNode Next [all …]
|
/dports/devel/pecl-swoole/swoole-4.8.5/src/core/ |
H A D | timer.cc | 106 TimerNode *Timer::add(long _msec, bool persistent, void *data, const TimerCallback &callback) { in add() 117 TimerNode *tnode = new TimerNode(); in add() 119 tnode->type = TimerNode::TYPE_KERNEL; in add() 154 bool Timer::remove(TimerNode *tnode) { in remove() 193 TimerNode *tnode = nullptr; in select() 199 tnode = (TimerNode *) tmp->data; in select()
|
/dports/devel/pecl-swoole/swoole-4.8.5/src/coroutine/ |
H A D | system.cc | 56 TimerNode *tnode = nullptr; in sleep() 61 …auto fn = [canceled](Timer *timer, TimerNode *tnode) { sleep_callback((Coroutine *) tnode->data, c… in sleep() 281 TimerNode *timer = nullptr; in wait_signal() 286 [](Timer *timer, TimerNode *tnode) { in wait_signal() 321 TimerNode *timer = nullptr; 345 static void socket_poll_timeout(Timer *timer, TimerNode *tnode) { in socket_poll_timeout() 482 TimerNode *timer; 511 [](Timer *timer, TimerNode *tnode) { in EventWaiter()
|
H A D | base.cc | 73 TimerNode *timer = nullptr; in yield_ex() 74 TimerCallback timer_callback = [this](Timer *timer, TimerNode *tnode) { in yield_ex()
|
H A D | thread_context.cc | 35 swoole_timer_add(1, false, [](Timer *timer, TimerNode *tnode) { in thread_context_init()
|
H A D | channel.cc | 22 void Channel::timer_callback(Timer *timer, TimerNode *tnode) { in timer_callback()
|
/dports/devel/pecl-swoole/swoole-4.8.5/src/os/ |
H A D | wait.cc | 142 TimerNode *timer = nullptr; in waitpid() 147 [](Timer *timer, TimerNode *tnode) { in waitpid()
|
/dports/devel/pecl-swoole/swoole-4.8.5/src/server/ |
H A D | manager.cc | 47 static void timer_callback(Timer *timer, TimerNode *tnode); 48 static void kill_timeout_process(Timer *timer, TimerNode *tnode); 51 void Manager::timer_callback(Timer *timer, TimerNode *tnode) { in timer_callback() 58 void Manager::kill_timeout_process(Timer *timer, TimerNode *tnode) { in kill_timeout_process()
|
/dports/devel/pecl-swoole/swoole-4.8.5/examples/cpp/ |
H A D | repeat.cc | 28 [serv](Timer *, TimerNode *tnode) { in main()
|