| /openbsd-src/usr.sbin/npppd/npppd/ |
| H A D | npppd_config.c | 166 if (n >= countof(_this->pool)) { in npppd_pool_load() 168 "limit=%d",(int)countof(_this->pool)); in npppd_pool_load() 180 for (; n < countof(pool0); n++) in npppd_pool_load() 187 for (i = 0; i < countof(_this->pool); i++) { in npppd_pool_load() 337 for (i = 0; i < countof(_this->iface); i++) { in npppd_ifaces_load_config() 352 for (i = 0; i < countof(_this->iface); i++) { in npppd_ifaces_load_config() 366 (int)countof(_this->iface)); in npppd_ifaces_load_config()
|
| H A D | npppd_defs.h | 86 #ifndef countof 87 #define countof(x) (sizeof(x) / sizeof((x)[0])) macro
|
| H A D | npppd_auth.c | 551 for (i = 0; i < countof(rad->server); i++) in npppd_auth_radius_reload() 555 if (i >= countof(rad->server)) in npppd_auth_radius_reload() 572 for (i = 0; i < countof(rad->server); i++) in npppd_auth_radius_reload() 576 if (i >= countof(rad->server)) in npppd_auth_radius_reload() 591 for (i = 0; i < countof(_this->rad_auth_setting->server); i++) { in npppd_auth_radius_reload()
|
| H A D | npppd.c | 368 for (i = 0; i < countof(_this->iface); i++) { in npppd_init() 439 for (i = countof(_this->iface) - 1; i >= 0; i--) { in npppd_stop() 475 for (i = countof(_this->iface) - 1; i >= 0; i--) { in npppd_stop_really() 502 for (i = countof(_this->iface) - 1; i >= 0; i--) { in npppd_fini() 507 for (i = countof(_this->pool) - 1; i >= 0; i--) { in npppd_fini() 1892 for (i = 0; i < countof(_this->iface); i++) { in npppd_reload0() 1904 for (i = 0; i < countof(_this->iface_pool); i++) { in npppd_update_pool_reference() 1911 for (j = 0; j < countof(_this->pool); j++) { in npppd_update_pool_reference() 2167 for (i = 0; i < countof(_this->iface); i++) { in npppd_ppp_bind_iface()
|
| H A D | ppp.h | 696 #ifndef countof 697 #define countof(x) (sizeof(x) / sizeof((x)[0])) macro
|
| H A D | npppd_pool.c | 346 for (i = 0; i < countof(_this->iface); i++) { in npppd_is_ifcace_ip4addr()
|
| H A D | lcp.c | 316 i < countof(_this->auth_order); i++) { in lcp_add_auth()
|
| /openbsd-src/usr.sbin/npppd/common/ |
| H A D | debugutil.c | 47 #ifndef countof 48 #define countof(x) (sizeof((x)) / sizeof((x)[0])) macro 83 for (i = 0; i < (int)countof(prio_name); i++) { in set_prio_idx_init() 84 ASSERT(prio_name[i].prio < countof(prio_name_idx)); in set_prio_idx_init() 85 if (prio_name[i].prio >= (int)countof(prio_name_idx)) in set_prio_idx_init() 205 && LOG_PRI(prio) < countof(prio_name_idx) in vlog_printf()
|
| /openbsd-src/usr.sbin/npppd/l2tp/ |
| H A D | l2tp_subr.c | 229 for (i = 0; i < countof(l2tp_avp_attribute_names); i++) { in avp_attr_type_string() 241 for (i = 0; i < countof(l2tp_stopccn_rcode_names); i++) { in l2tp_stopccn_rcode_string() 253 for (i = 0; i < countof(l2tp_cdn_rcode_names); i++) { in l2tp_cdn_rcode_string() 267 for (i = 0; i < countof(l2tp_ecode_names); i++) { in l2tp_ecode_string() 338 for (i = 0; i < countof(l2tp_mes_type_names); i++) { in avp_mes_type_string()
|
| H A D | l2tp_local.h | 67 #ifndef countof 68 #define countof(x) (sizeof((x)) / sizeof((x)[0])) macro
|
| /openbsd-src/usr.sbin/npppd/pppoe/ |
| H A D | pppoe_local.h | 68 #ifndef countof 69 #define countof(x) (sizeof((x)) / sizeof((x)[0])) macro
|
| H A D | pppoed.c | 238 .bf_len = countof(insns), in pppoed_listener_start() 1060 for (i = 0; i < countof(label_names); i++) { \
|
| /openbsd-src/lib/libradius/ |
| H A D | radius_local.h | 32 #ifndef countof 33 #define countof(x) (sizeof(x)/sizeof((x)[0])) macro
|
| /openbsd-src/usr.sbin/npppd/pptp/ |
| H A D | pptp_local.h | 31 #ifndef countof 32 #define countof(x) (sizeof(x) / sizeof((x)[0])) macro
|
| H A D | pptp_subr.c | 138 for (i = 0; i < countof(label_names); i++) { \
|
| H A D | pptpd.c | 121 for (i = 0; i < countof(call) ; i++) in pptpd_init() 123 for (i = countof(call); i > 1; i--) { in pptpd_init() 130 for (i = 0; i < MINIMUM(PPTP_MAX_CALL, countof(call)); i++) in pptpd_init()
|
| /openbsd-src/gnu/llvm/libcxx/src/ |
| H A D | locale.cpp | 105 countof(const T (&)[N]) in countof() function 114 countof(const T * const begin, const T * const end) in countof() function 5233 size_t n = strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze() 5380 strftime_l(buf, countof(buf), f, &t, __loc_); in __analyze() 5385 size_t j = __libcpp_mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_); in __analyze() 5523 strftime_l(buf, countof(buf), "%A", &t, __loc_); in init() 5525 strftime_l(buf, countof(buf), "%a", &t, __loc_); in init() 5532 strftime_l(buf, countof(buf), "%B", &t, __loc_); in init() 5534 strftime_l(buf, countof(buf), "%b", &t, __loc_); in init() 5539 strftime_l(buf, countof(buf), "%p", &t, __loc_); in init() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Win32/ |
| H A D | Win32.xs | 19 #ifndef countof 20 # define countof(array) (sizeof (array) / sizeof (*(array))) macro 330 ExpandEnvironmentStringsW(source, value, countof(value)-1); in XS() 1026 DWORD size = countof(name); 1240 len = GetShortPathNameW(wlong, wshort, countof(wshort)); 1274 DWORD len = GetFullPathNameW(filename, countof(full), full, NULL); 1276 if (len == 0 || len >= countof(full)) 1357 if (wcslen(wstr) < (size_t)countof(wide_path)) {
|