Home
last modified time | relevance | path

Searched refs:Dim (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.h60 #ifndef Dim
61 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
H A Dlogging.c160 assert(loglev >= 0 && loglev < Dim(xlate_loglev)); in vlogat()
/illumos-gate/usr/src/uts/common/io/ppp/common/
H A Ds_common.h22 #ifndef Dim
23 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.c109 if (clientstate < 0 || clientstate >= Dim(cstate)) {
123 if (serverstate < 0 || serverstate >= Dim(sstate)) {
677 if (code >= 1 && code <= Dim(upap_codenames))
H A Dcbcp.c233 if (code >= 1 && code <= Dim(cbcp_codenames))
270 if (cichar >= 1 && cichar <= Dim(cbcp_optionnames))
H A Dpppd.h894 #ifndef Dim
895 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
H A Dchap.c121 if (clientstate < 0 || clientstate >= Dim(cstate)) { in chap_cstate()
134 if (serverstate < 0 || serverstate >= Dim(sstate)) { in chap_sstate()
H A Dfsm.c58 if (statenum < 0 || statenum >= Dim(fsm_states)) { in fsm_state()
H A Dsys-solaris.c2391 for (i = 0; i < Dim(npi_list); i++)
2394 if (i >= Dim(npi_list))
H A Dmain.c1377 if (pval < 0 || pval >= Dim(phase_names)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c348 handle_motm_hurl(argv + 4, Dim(argv) - 4, tagp, pktlen); in handle_pppoe_input()
352 handle_ip_route_add(argv + 4, Dim(argv) - 4, tagp, in handle_pppoe_input()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c1099 cpp < kstats_names + Dim(kstats_names); cpp++) { in spppcomp_mctl()
1105 cpp < kstats64_names + Dim(kstats64_names); cpp++) { in spppcomp_mctl()
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c159 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
776 inst_kstats_list, Dim(inst_kstats_list), bip->bi_name); in bridge_create()
2918 link_kstats_list, Dim(link_kstats_list), kstatname); in bridge_add_link()
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c288 for (cpp = kstats_names; cpp < kstats_names + Dim(kstats_names); in sppp_create_ppa()
293 for (cpp = kstats64_names; cpp < kstats64_names + Dim(kstats64_names); in sppp_create_ppa()
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c469 tll_kstats_list, Dim(tll_kstats_list), "tll", in sppptun_open()
524 tcl_kstats_list, Dim(tcl_kstats_list), "tcl", in sppptun_open()
/illumos-gate/usr/src/data/terminfo/
H A Dtermcap.src7719 # The Wyse 50 can support one attribute (e.g. Dim, Inverse,
8149 # The Wyse 75 can support one attribute (e.g. Dim, Inverse,
14077 # P5 <==> Dim attribute parameter
H A Dterminfo.src8621 # The Wyse 50 can support one attribute (e.g. Dim, Inverse,
9123 # The Wyse 75 can support one attribute (e.g. Dim, Inverse,
15901 # P5 <==> Dim attribute parameter