/dragonfly/usr.bin/localedef/ |
H A D | collate.c | 562 collchar_t *cc; in get_collchar() local 568 if ((cc = calloc(sizeof (*cc), 1)) == NULL) { in get_collchar() 575 cc->wc = wc; in get_collchar() 578 return (cc); in get_collchar() 716 collchar_t *cc; in start_order_char() local 878 collchar_t *cc; in add_order_char() local 988 collchar_t *cc; in add_subst_char() local 992 (cc->wc != wc)) { in add_subst_char() 1117 collchar_t *cc; in dump_collate() local 1143 add_weights(cc->ref); in dump_collate() [all …]
|
/dragonfly/sys/kern/ |
H A D | tty_pty.c | 819 if (cc <= 0) in ptcread() 1002 int cc = 0; in ptcwrite() local 1018 if (cc == 0) { in ptcwrite() 1020 cc = imin(cc, TTYHOG - 1 - tp->t_canq.c_cc); in ptcwrite() 1037 if (cc > 0) { in ptcwrite() 1038 cc = clist_btoq((char *)cp, cc, &tp->t_canq); in ptcwrite() 1047 if (cc > 0) in ptcwrite() 1062 if (cc == 0) { in ptcwrite() 1080 while (cc > 0) { in ptcwrite() 1088 cc--; in ptcwrite() [all …]
|
H A D | kern_cputimer.c | 638 const struct cpucounter *cc, *ret; in cpucounter_find_pcpu() local 641 SLIST_FOREACH(cc, &cpucounterhead, link) { in cpucounter_find_pcpu() 642 if (cc->prio > ret->prio) in cpucounter_find_pcpu() 643 ret = cc; in cpucounter_find_pcpu() 651 const struct cpucounter *cc, *ret; in cpucounter_find() local 654 SLIST_FOREACH(cc, &cpucounterhead, link) { in cpucounter_find() 655 if ((cc->flags & CPUCOUNTER_FLAG_MPSYNC) && in cpucounter_find() 656 cc->prio > ret->prio) in cpucounter_find() 657 ret = cc; in cpucounter_find() 665 cpucounter_register(struct cpucounter *cc) in cpucounter_register() argument [all …]
|
/dragonfly/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 748 int cc; in main() local 760 print(&rcvmhdr, cc); in main() 791 if (cc == 0) in main() 810 int cc = 0; in wait_for_reply() local 819 return(cc); in wait_for_reply() 823 int cc = 0, fdsn; in wait_for_reply() 836 return(cc); in wait_for_reply() 996 cc -= hlen; in packet_ok() 1089 for (i = 0; i < cc; i++) { in packet_ok() 1098 if (cc % WIDTH != 0) in packet_ok() [all …]
|
/dragonfly/usr.sbin/traceroute/ |
H A D | traceroute.c | 608 int cc; in main() local 617 cc = 0; in main() 628 print(packet, cc, &from); in main() 716 if (cc == 0) { in main() 722 decode_extensions(packet, cc); in main() 739 int cc = 0, fdsn; in wait_for_reply() local 762 return (cc); in wait_for_reply() 1018 if (cc < hlen + ICMP_MINLEN) { in packet_ok() 1024 cc -= hlen; in packet_ok() 1080 for (i = 4; i < cc ; i += sizeof(in_addr_t)) in packet_ok() [all …]
|
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_radar.c | 138 HAL_CHANNEL_INTERNAL *base, *cc; 145 cc = AH_PRIVATE(ah)->ah_curchan; 146 if (cc != AH_NULL && cc->channel == c->channel && 147 (cc->channel_flags & CHAN_FLAGS) == flags) { 148 return cc; 157 cc = &base[lim >> 1]; 158 d = c->channel - cc->channel; 161 return cc; 163 d = flags - (cc->channel_flags & CHAN_FLAGS); 166 cc->channel, cc->channel_flags, d); [all …]
|
/dragonfly/usr.bin/talk/ |
H A D | ctl_transact.c | 49 int nready = 0, cc; in ctl_transact() local 67 cc = sendto(ctl_sockt, (char *)&lmsg, sizeof (lmsg), 0, in ctl_transact() 70 if (cc != sizeof (lmsg)) { in ctl_transact() 89 cc = recv(ctl_sockt, (char *)rp, sizeof (*rp), 0); in ctl_transact() 90 if (cc < 0) { in ctl_transact()
|
/dragonfly/contrib/mpfr/src/ |
H A D | mulders.c | 357 mp_limb_t qh = 0, cy, cc; in mpfr_divhigh_n() local 373 for (r = n, cc = 0UL; r > 0;) in mpfr_divhigh_n() 376 MPFR_ASSERTD(cc <= 1); in mpfr_divhigh_n() 379 while (cc > 0) in mpfr_divhigh_n() 384 cc -= mpn_sub_n (np + n, np + n, dp + n - r, r); in mpfr_divhigh_n() 433 cc = mpn_add_n (tp + k, tp + k, up + k, k); in mpfr_divhigh_n() 434 mpn_add_1 (tp + 2 * k, tp + 2 * k, r - k, cc); in mpfr_divhigh_n() 441 cc = mpn_add_n (tp + k, tp + k, up + k, k); in mpfr_divhigh_n() 471 cc += mpn_sub_n (np + n, np + n, dp + n - r, r); in mpfr_divhigh_n() 480 while (cc > 0) /* quotient was too large */ in mpfr_divhigh_n() [all …]
|
/dragonfly/crypto/libressl/crypto/bf/ |
H A D | bf_cfb64.c | 74 unsigned char *iv,c,cc; in BF_cfb64_encrypt() local 111 cc= *(in++); in BF_cfb64_encrypt() 113 iv[n]=cc; in BF_cfb64_encrypt() 114 *(out++)=c^cc; in BF_cfb64_encrypt() 118 v0=v1=ti[0]=ti[1]=t=c=cc=0; in BF_cfb64_encrypt()
|
/dragonfly/crypto/libressl/crypto/cast/ |
H A D | c_cfb64.c | 75 unsigned char *iv,c,cc; in CAST_cfb64_encrypt() local 112 cc= *(in++); in CAST_cfb64_encrypt() 114 iv[n]=cc; in CAST_cfb64_encrypt() 115 *(out++)=c^cc; in CAST_cfb64_encrypt() 119 v0=v1=ti[0]=ti[1]=t=c=cc=0; in CAST_cfb64_encrypt()
|
/dragonfly/crypto/libressl/crypto/idea/ |
H A D | i_cfb64.c | 75 unsigned char *iv,c,cc; in idea_cfb64_encrypt() local 112 cc= *(in++); in idea_cfb64_encrypt() 114 iv[n]=cc; in idea_cfb64_encrypt() 115 *(out++)=c^cc; in idea_cfb64_encrypt() 119 v0=v1=ti[0]=ti[1]=t=c=cc=0; in idea_cfb64_encrypt()
|
/dragonfly/crypto/libressl/crypto/rc2/ |
H A D | rc2cfb64.c | 75 unsigned char *iv,c,cc; in RC2_cfb64_encrypt() local 112 cc= *(in++); in RC2_cfb64_encrypt() 114 iv[n]=cc; in RC2_cfb64_encrypt() 115 *(out++)=c^cc; in RC2_cfb64_encrypt() 119 v0=v1=ti[0]=ti[1]=t=c=cc=0; in RC2_cfb64_encrypt()
|
/dragonfly/crypto/libressl/crypto/des/ |
H A D | cfb64enc.c | 74 unsigned char *iv,c,cc; in DES_cfb64_encrypt() local 111 cc= *(in++); in DES_cfb64_encrypt() 113 iv[n]=cc; in DES_cfb64_encrypt() 114 *(out++)=c^cc; in DES_cfb64_encrypt() 118 v0=v1=ti[0]=ti[1]=c=cc=0; in DES_cfb64_encrypt()
|
/dragonfly/contrib/gmp/mpq/ |
H A D | cmp_ui.c | 34 int cc; in _mpq_cmp_ui() local 44 cc = mpq_cmp (op1, op2); in _mpq_cmp_ui() 46 return cc; in _mpq_cmp_ui() 86 cc = tmp1_size - tmp2_size != 0 in _mpq_cmp_ui() 89 return cc; in _mpq_cmp_ui()
|
/dragonfly/lib/libc/gen/ |
H A D | vis.c | 629 char cc[2]; in svis() local 632 cc[0] = c; in svis() 633 cc[1] = nextc; in svis() 644 char cc[2]; in snvis() local 647 cc[0] = c; in snvis() 648 cc[1] = nextc; in snvis() 696 char cc[2]; in vis() local 699 cc[0] = c; in vis() 700 cc[1] = nextc; in vis() 711 char cc[2]; in nvis() local [all …]
|
/dragonfly/usr.bin/seq/ |
H A D | seq.c | 409 char cc = '\0'; in generate_format() local 423 cc = 'e'; in generate_format() 428 cc = 'e'; in generate_format() 436 cc = 'e'; in generate_format() 443 precision, precision, (cc) ? cc : 'f'); in generate_format() 446 MAX(width1, width2), (cc) ? cc : 'g'); in generate_format()
|
/dragonfly/sbin/routed/ |
H A D | input.c | 50 int cc; in read_rip() local 69 if (cc <= 0) { in read_rip() 70 if (cc < 0 && errno != EWOULDBLOCK) in read_rip() 86 if ((cc -= sizeof(inbuf.ifname)) < 0) in read_rip() 88 cc+sizeof(inbuf.ifname)); in read_rip() 131 int cc) in input() argument 163 if (cc > (int)OVER_MAXPACKETSIZE) { in input() 171 lim = (struct netinfo *)((char*)rip + cc); in input() 248 cc, naddr_ntoa(FROM_NADDR)); in input() 461 rip->rip_tracefile[cc-4] = '\0'; in input() [all …]
|
/dragonfly/sys/netgraph7/mppc/ |
H A D | ng_mppc.c | 329 d->cc = 0; in ng_mppc_rcvmsg() 474 header = d->cc; in ng_mppc_compress() 581 MPPC_CCOUNT_INC(d->cc); in ng_mppc_compress() 601 u_int16_t header, cc; in ng_mppc_decompress() local 612 cc = (header & MPPC_CCOUNT_MASK); in ng_mppc_decompress() 616 numLost = ((cc - d->cc) & MPPC_CCOUNT_MASK); in ng_mppc_decompress() 640 while (d->cc != cc) { in ng_mppc_decompress() 642 || (d->cc & MPPE_UPDATE_MASK) in ng_mppc_decompress() 647 MPPC_CCOUNT_INC(d->cc); in ng_mppc_decompress() 655 d->cc = cc; /* skip over lost seq numbers */ in ng_mppc_decompress() [all …]
|
/dragonfly/sys/netgraph/mppc/ |
H A D | ng_mppc.c | 322 d->cc = 0; in ng_mppc_rcvmsg() 472 header = d->cc; in ng_mppc_compress() 562 d->cc++; in ng_mppc_compress() 582 u_int16_t header, cc; in ng_mppc_decompress() local 592 cc = (header & MPPC_CCOUNT_MASK); in ng_mppc_decompress() 602 numLost = ((cc - d->cc) & MPPC_CCOUNT_MASK); in ng_mppc_decompress() 626 while (d->cc != cc) { in ng_mppc_decompress() 628 || (d->cc & MPPE_UPDATE_MASK) in ng_mppc_decompress() 633 d->cc++; in ng_mppc_decompress() 641 d->cc = cc; /* skip over lost seq numbers */ in ng_mppc_decompress() [all …]
|
/dragonfly/stand/lib/ |
H A D | rpc.c | 120 ssize_t cc; in rpc_call() local 186 cc = sendrecv(d, in rpc_call() 192 printf("callrpc: cc=%ld rlen=%lu\n", (long)cc, (u_long)rlen); in rpc_call() 194 if (cc == -1) in rpc_call() 197 if (cc <= sizeof(*reply)) { in rpc_call() 202 recv_tail = recv_head + cc; in rpc_call() 405 ssize_t cc; in rpc_getport() local 429 cc = rpc_call(d, PMAPPROG, PMAPVERS, PMAPPROC_GETPORT, in rpc_getport() 431 if (cc < sizeof(*res)) { in rpc_getport()
|
/dragonfly/gnu/usr.bin/cc47/cc/ |
H A D | Makefile | 4 PROG= cc 5 LINKS= ${BINDIR}/cc ${BINDIR}/gcc 20 MLINKS+= ${MFILE} cc${MANPAGEVER}.1 26 MLINKS+= ${MFILE} cc.1
|
/dragonfly/gnu/usr.bin/cc80/drivers/cc/ |
H A D | Makefile | 5 PROG_CXX= cc 6 LINKS= ${BINDIR}/cc ${BINDIR}/gcc 21 MLINKS+= ${MFILE} cc${MANPAGEVER}.1 27 MLINKS+= ${MFILE} cc.1
|
/dragonfly/usr.bin/locate/locate/ |
H A D | fastfind.c | 133 int c, cc; local 173 cc = *patend; 245 if (c == cc) 255 if (bigram1[c] == cc || 256 bigram2[c] == cc) 281 if (*s == cc 283 || TOLOWER(*s) == cc
|
/dragonfly/usr.bin/mail/ |
H A D | main.c | 53 struct name *to, *cc, *bcc, *smopts; in main() local 78 cc = NULL; in main() 181 cc = cat(cc, nalloc(optarg, GCC)); in main() 215 if (to == NULL && (subject != NULL || cc != NULL || bcc != NULL)) in main() 245 mail(to, cc, bcc, smopts, subject, replyto); in main()
|
/dragonfly/sbin/ping/ |
H A D | ping.c | 741 int cc, n; in main() local 869 int cc, i; in pinger() local 902 cc += sizeof(struct ip); in pinger() 904 ip->ip_len = htons(cc); in pinger() 911 if (i < 0 || i != cc) { in pinger() 920 hostname, i, cc); in pinger() 952 recv_len = cc; in pr_pack() 953 if (cc < hlen + ICMP_MINLEN) { in pr_pack() 961 cc -= hlen; in pr_pack() 1051 cc -= TIMEVAL_LEN; in pr_pack() [all …]
|