Home
last modified time | relevance | path

Searched refs:state_count (Results 1 – 5 of 5) sorted by relevance

/dragonfly/contrib/awk/
HDb.c151 if (++state < f->state_count) in resize_state()
171 for (i = f->state_count; i < new_count; ++i) { in resize_state()
180 f->state_count = new_count; in resize_state()
707 assert (s < f->state_count); in match()
736 assert(s < f->state_count); in pmatch()
752 assert(s < f->state_count); in pmatch()
792 assert(s < f->state_count); in nematch()
1547 for (i = 0; i < f->state_count; i++) in freefa()
HDawk.h265 int state_count; member
/dragonfly/usr.bin/netstat/
HDinet.c395 u_long state_count[TCP_NSTATES]; in tcp_stats() local
551 len = sizeof(state_count); in tcp_stats()
552 if (sysctlbyname("net.inet.tcp.state_count", state_count, &len, NULL, 0) == 0) { in tcp_stats()
556 printf("\t%lu connection%s in %s state\n", state_count[s], in tcp_stats()
557 state_count[s] == 1 ? "" : "s", tcpstates[s]); in tcp_stats()
/dragonfly/contrib/byacc/
HDoutput.c24 static Value_t *state_count; variable
642 state_count[i] = 0; in default_goto()
645 state_count[to_state[i]]++; in default_goto()
651 if (state_count[i] > max) in default_goto()
653 max = state_count[i]; in default_goto()
708 state_count = NEW2(nstates, Value_t); in goto_actions()
731 FREE(state_count); in goto_actions()
/dragonfly/sys/netinet/
HDtcp_subr.c2486 u_long state_count[TCP_NSTATES]; in sysctl_tcps_count() local
2489 memset(state_count, 0, sizeof(state_count)); in sysctl_tcps_count()
2494 state_count[i] += tcpstate_count[cpu].tcps_count[i]; in sysctl_tcps_count()
2497 return sysctl_handle_opaque(oidp, state_count, sizeof(state_count), req); in sysctl_tcps_count()
2499 SYSCTL_PROC(_net_inet_tcp, OID_AUTO, state_count,