/src/games/pig/ |
pig.c | 95 int olen, allupper, firstupper; local in function:pigout 118 for (start = 0, olen = len; 119 !strchr("aeiouyAEIOUY", buf[start]) && start < olen;) { 121 if ((ch == 'q' || ch == 'Q') && start < olen && 127 (void)printf("%.*s%s", olen, buf + start, allupper ? "AY" : "ay");
|
/src/sys/external/isc/libsodium/dist/test/default/ |
pwhash_scrypt_ll.c | 28 size_t olen = (sizeof data / sizeof data[0]); local in function:tv 35 salt_len, N, r, p, data, olen) != 0) { 43 (unsigned long) olen); 45 for (i = 0; i < olen; i++) {
|
/src/sys/external/bsd/libnv/dist/ |
nv_kern_netbsd.c | 257 unsigned int *olen = (void *)((char *)buf - sizeof(unsigned int)); local in function:nv_free 258 dealloc(buf, *olen); 267 unsigned int *olen = (void *)((char *)buf - sizeof(unsigned int)); local in function:nv_realloc 268 if (*olen < len) 272 memcpy(nbuf, buf, *olen); 273 dealloc(buf, *olen);
|
/src/sys/dev/pci/cxgb/ |
cxgb_lro.c | 133 int olen = (th->th_off << 2) - sizeof (*th); local in function:can_lro_tcpsegment 139 if (olen) { 141 if (__predict_false(olen != TCPOLEN_TSTAMP_APPA || 252 int plen, tcpiphlen, olen = (nth->th_off << 2) - sizeof (*nth); local in function:lro_update_session 267 if (olen) {
|
/src/sys/rump/net/lib/libvirtif/ |
if_virt.c | 343 int off, olen; local in function:VIF_DELIVERPKT 357 olen = m->m_pkthdr.len; 360 if (olen + off != m->m_pkthdr.len) {
|
/src/usr.sbin/ypserv/revnetgroup/ |
parse_netgroup.c | 294 int len, olen; local in function:read_for_group 323 olen = 0; 336 linep = (char *)malloc(olen + len + 1); 337 if (olen > 0) { 338 memmove(linep, olinep, olen); 341 memmove(linep + olen, pos, len); 342 olen += len; 343 *(linep + olen) = '\0';
|
/src/lib/libc/gen/ |
sysctlgetmibinfo.c | 131 size_t nlen, olen, ni, oi; local in function:relearnhead 171 olen = sysctl_mibroot.sysctl_clen; 172 rc = (nlen == olen) ? 0 : 1; 191 while (ni < nlen && oi < olen) { 251 while (oi < olen) {
|
vis.c | 403 size_t len, olen; local in function:istrsenvisx 587 olen = 0; 598 if (maxolen - olen > MB_CUR_MAX) 609 if (olen + clen >= maxolen) { 632 if (olen + clen + 1 >= maxolen) { 650 assert(olen + clen < maxolen); 657 olen += clen; 661 assert(olen < maxolen); 674 return (int)olen;
|
/src/usr.sbin/makefs/ffs/ |
ffs_alloc.c | 543 int ostart, olen; local in function:ffs_mapsearch 556 olen = len; 570 "len %d offset %d %ld", __func__, ostart, olen,
|
/src/lib/libterminfo/ |
tparm.c | 194 size_t l, max, width, precision, olen; local in function:_ti_tiparm 325 olen = 0; 331 olen = MAX(width, precision); 348 if (l < (size_t)olen) 349 l = olen; 376 if (onum(term, fmt, (int)val, olen) == 0)
|
/src/sys/dev/usb/ |
uthum.c | 254 size_t olen, flen; local in function:uthum_read_data 260 olen = uimin(sc->sc_olen, sizeof(cmdbuf)); 266 cmdbuf, olen)) 272 cmdbuf, olen)) 278 cmdbuf, olen)) 283 cmdbuf, olen))
|
/src/sys/external/bsd/ipf/netinet/ |
ip_irc_pxy.c | 257 size_t nlen = 0, olen; local in function:ipf_p_irc_send 308 olen = irc->irc_len; 315 inc = nlen - olen; 333 m1->b_wptr -= olen;
|
/src/usr.sbin/autofs/ |
automountd.c | 97 size_t olen = strlen(option); local in function:pick_option 102 if (strncmp(pair, option, olen) == 0) { 103 picked = checked_strdup(pair + olen);
|
/src/sys/net/ |
ppp-deflate.c | 235 int proto, olen, wspace, r, flush; local in function:z_compress 290 olen = 0; 310 olen += wspace; 315 if (maxolen - olen > MLEN) 328 olen += (m->m_len = wspace - state->strm.avail_out); 333 if (m != NULL && olen < orig_len) { 334 state->stats.comp_bytes += olen; 341 olen = orig_len; 346 return olen; 467 int rlen, olen, ospace local in function:z_decompress [all...] |
bsd-comp.c | 469 int olen; local in function:bsd_compress 473 ++olen; \ 482 if (maxolen - olen > MLEN) \ 546 olen = 0; 615 db->bytes_out += olen; 644 if (olen + PPP_HDRLEN + BSD_OVHD > maxolen) { 652 db->comp_bytes += olen + BSD_OVHD; 655 return olen + PPP_HDRLEN + BSD_OVHD;
|
/src/sbin/route/ |
rtutil.c | 767 size_t olen; local in function:mpls_ntoa 780 olen = strlen(obuf); 781 snprintf(obuf + olen, sizeof(obuf) - olen, ",%u",
|
/src/sys/external/bsd/libfdt/dist/ |
fdt_ro.c | 18 int olen; local in function:fdt_nodename_eq_ 19 const char *p = fdt_get_name(fdt, offset, &olen); 21 if (!p || olen < len)
|
/src/sys/ufs/ffs/ |
ffs_extattr.c | 724 int olen, eapad1, eapad2, error, i, easize; local in function:ffs_setextattr 776 olen = ffs_findextattr(eae, easize, ap->a_attrnamespace, ap->a_name, 778 if (olen == -1) { 913 int olen, error, i, easize; local in function:ffs_deleteextattr 949 olen = ffs_findextattr(eae, easize, ap->a_attrnamespace, ap->a_name, 951 if (olen == -1) {
|
ffs_alloc.c | 2165 int ostart, olen; local in function:ffs_mapsearch 2182 olen = len; 2197 ostart, olen, fs->fs_fsmnt,
|
/src/bin/ksh/ |
c_ksh.c | 74 int ilen, olen, nlen, elen; local in function:c_cd 91 olen = strlen(wp[0]); 93 elen = strlen(current_wd + ilen + olen) + 1; 97 memcpy(dir + ilen + nlen, current_wd + ilen + olen, elen);
|
var.c | 528 int olen, nlen; local in function:formatstr 531 olen = strlen(s); 535 vp->u2.field = olen; 538 nlen = olen; 545 const char *r = s + olen; 569 memcpy(p, s, olen + 1);
|
/src/usr.bin/netstat/ |
if.c | 201 static size_t olen; local in function:intpr_sysctl 217 if (len > olen) { 221 olen = len; 1132 static size_t olen; local in function:fetchifs 1140 if (len > olen) { 1144 olen = len;
|
/src/sys/kern/ |
kern_resource.c | 771 size_t olen; local in function:lim_setcorename 778 olen = lim->pl_cnlen; 784 kmem_free(oname, olen);
|
/src/sys/netinet6/ |
nd6.c | 223 int olen; local in function:nd6_option 241 olen = nd_opt->nd_opt_len << 3; 242 if (olen == 0) { 251 ndopts->nd_opts_search = (struct nd_opt_hdr *)((char *)nd_opt + olen);
|
/src/sys/netinet/ |
ip_output.c | 1610 * [optval] [olen] [(olen - 2) data bytes] 1617 uint8_t optval, olen, offset; local in function:ip_pcbopts 1622 olen = 1; 1627 olen = cp[IPOPT_OLEN]; 1628 if (olen < IPOPT_OLEN + 1 || olen > cnt) 1641 if (olen < IPOPT_OFFSET + 1 + sizeof(struct in_addr)) 1650 olen -= sizeof(struct in_addr); 1652 if (m->m_len + olen > MAX_IPOPTLEN + sizeof(struct in_addr) [all...] |