Home
last modified time | relevance | path

Searched refs:npriorities (Results 1 – 25 of 50) sorted by relevance

12

/dports/devel/log4c/log4c-1.2.4/src/log4c/
H A Dpriority.c29 static const size_t npriorities = sizeof(priorities) / sizeof(priorities[0]); variable
47 for (i = 0; i < npriorities; i++) { in log4c_priority_to_int()
/dports/security/nextcloud-twofactor_webauthn/twofactor_webauthn/vendor/thecodingmachine/safe/deprecated/
H A Dlibevent.php98 * @param int $npriorities The number of event priority levels.
102 function event_base_priority_init($event_base, int $npriorities): void argument
105 $result = \event_base_priority_init($event_base, $npriorities);
/dports/www/nextcloud/nextcloud/3rdparty/thecodingmachine/safe/deprecated/
H A Dlibevent.php98 * @param int $npriorities The number of event priority levels.
102 function event_base_priority_init($event_base, int $npriorities): void argument
105 $result = \event_base_priority_init($event_base, $npriorities);
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/third_party/libevent/
H A Devent.c302 event_priority_init(int npriorities) in event_priority_init() argument
304 return event_base_priority_init(current_base, npriorities); in event_priority_init()
308 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
315 if (npriorities == base->nactivequeues) in event_base_priority_init()
326 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/third_party/libevent/
H A Devent.c300 event_priority_init(int npriorities) in event_priority_init() argument
302 return event_base_priority_init(current_base, npriorities); in event_priority_init()
306 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
313 if (npriorities == base->nactivequeues) in event_base_priority_init()
324 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/www/obhttpd/libevent-6.6.20191030/src/lib/libevent/
H A Devent.c252 event_priority_init(int npriorities) in event_priority_init() argument
254 return event_base_priority_init(current_base, npriorities); in event_priority_init()
258 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
265 if (npriorities == base->nactivequeues) in event_base_priority_init()
276 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/third_party/libevent/test/
H A Dregress.c1424 test_priorities(int npriorities) in test_priorities() argument
1430 evutil_snprintf(buf, sizeof(buf), "Testing Priorities %d: ", npriorities); in test_priorities()
1433 event_base_priority_init(global_base, npriorities); in test_priorities()
1445 if (event_priority_set(&two.ev, npriorities - 1) == -1) { in test_priorities()
1462 if (npriorities == 1) { in test_priorities()
1465 } else if (npriorities == 2) { in test_priorities()
/dports/net/netatalk3/netatalk-3.1.12/libevent/
H A Devent.c997 event_priority_init(int npriorities) in event_priority_init() argument
999 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1003 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1007 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1008 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1011 if (npriorities == base->nactivequeues) in event_base_priority_init()
1021 mm_calloc(npriorities, sizeof(struct event_list)); in event_base_priority_init()
1026 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/net/openmpi/openmpi-4.1.1/opal/mca/event/libevent2022/libevent/
H A Devent.c1003 event_priority_init(int npriorities) in event_priority_init() argument
1005 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1009 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1013 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1014 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1017 if (npriorities == base->nactivequeues) in event_base_priority_init()
1027 mm_calloc(npriorities, sizeof(struct event_list)); in event_base_priority_init()
1032 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/event/libevent2022/libevent/
H A Devent.c1003 event_priority_init(int npriorities) in event_priority_init() argument
1005 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1009 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1013 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1014 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1017 if (npriorities == base->nactivequeues) in event_base_priority_init()
1027 mm_calloc(npriorities, sizeof(struct event_list)); in event_base_priority_init()
1032 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/third_party/libevent/
H A Devent.c1001 event_priority_init(int npriorities) in event_priority_init() argument
1003 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1007 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1011 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1012 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1015 if (npriorities == base->nactivequeues) in event_base_priority_init()
1025 mm_calloc(npriorities, sizeof(struct event_list)); in event_base_priority_init()
1030 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/net/netatalk3/netatalk-3.1.12/libevent/test/
H A Dregress.c1523 test_priorities_impl(int npriorities) in test_priorities_impl() argument
1528 TT_BLATHER(("Testing Priorities %d: ", npriorities)); in test_priorities_impl()
1530 event_base_priority_init(global_base, npriorities); in test_priorities_impl()
1542 if (event_priority_set(&two.ev, npriorities - 1) == -1) { in test_priorities_impl()
1559 if (npriorities == 1) { in test_priorities_impl()
1562 } else if (npriorities == 2) { in test_priorities_impl()
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/third_party/libevent/test/
H A Dregress.c1548 test_priorities_impl(int npriorities) in test_priorities_impl() argument
1553 TT_BLATHER(("Testing Priorities %d: ", npriorities)); in test_priorities_impl()
1555 event_base_priority_init(global_base, npriorities); in test_priorities_impl()
1567 if (event_priority_set(&two.ev, npriorities - 1) == -1) { in test_priorities_impl()
1584 if (npriorities == 1) { in test_priorities_impl()
1587 } else if (npriorities == 2) { in test_priorities_impl()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/extra/libevent/
H A Devent.c1191 event_priority_init(int npriorities) in event_priority_init() argument
1193 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1197 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1204 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1205 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1208 if (npriorities == base->nactivequeues) in event_base_priority_init()
1218 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1223 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/net-mgmt/lldpd/lldpd-1.0.8/libevent/
H A Devent.c1234 event_priority_init(int npriorities) in event_priority_init() argument
1236 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1240 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1247 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1248 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1251 if (npriorities == base->nactivequeues) in event_base_priority_init()
1261 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1266 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/net/ntp/ntp-4.2.8p15/sntp/libevent/
H A Devent.c1144 event_priority_init(int npriorities) in event_priority_init() argument
1146 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1150 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1157 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1158 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1161 if (npriorities == base->nactivequeues) in event_base_priority_init()
1171 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1176 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/extra/libevent/
H A Devent.c1191 event_priority_init(int npriorities) in event_priority_init() argument
1193 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1197 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1204 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1205 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1208 if (npriorities == base->nactivequeues) in event_base_priority_init()
1218 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1223 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/databases/percona57-server/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/
H A Devent.c1240 event_priority_init(int npriorities) in event_priority_init() argument
1242 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1246 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1253 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1254 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1257 if (npriorities == base->nactivequeues) in event_base_priority_init()
1267 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1272 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/extra/libevent/
H A Devent.c1191 event_priority_init(int npriorities) in event_priority_init() argument
1193 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1197 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1204 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1205 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1208 if (npriorities == base->nactivequeues) in event_base_priority_init()
1218 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1223 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/
H A Devent.c1240 event_priority_init(int npriorities) in event_priority_init() argument
1242 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1246 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1253 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1254 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1257 if (npriorities == base->nactivequeues) in event_base_priority_init()
1267 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1272 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/third_party/libevent/
H A Devent.c1191 event_priority_init(int npriorities) in event_priority_init() argument
1193 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1197 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1204 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1205 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1208 if (npriorities == base->nactivequeues) in event_base_priority_init()
1218 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1223 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/third_party/libevent/
H A Devent.c1191 event_priority_init(int npriorities) in event_priority_init() argument
1193 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1197 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1204 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1205 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1208 if (npriorities == base->nactivequeues) in event_base_priority_init()
1218 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1223 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/extra/libevent/libevent-2.1.11-stable/
H A Devent.c1240 event_priority_init(int npriorities) in event_priority_init() argument
1242 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1246 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1253 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1254 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1257 if (npriorities == base->nactivequeues) in event_base_priority_init()
1267 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1272 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/extra/libevent/libevent-2.1.11-stable/
H A Devent.c1240 event_priority_init(int npriorities) in event_priority_init() argument
1242 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1246 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1253 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1254 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1257 if (npriorities == base->nactivequeues) in event_base_priority_init()
1267 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1272 base->nactivequeues = npriorities; in event_base_priority_init()
/dports/databases/percona57-client/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/
H A Devent.c1240 event_priority_init(int npriorities) in event_priority_init() argument
1242 return event_base_priority_init(current_base, npriorities); in event_priority_init()
1246 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument
1253 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()
1254 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()
1257 if (npriorities == base->nactivequeues) in event_base_priority_init()
1267 mm_calloc(npriorities, sizeof(struct evcallback_list)); in event_base_priority_init()
1272 base->nactivequeues = npriorities; in event_base_priority_init()

12