| /f-stack/freebsd/crypto/aesni/ |
| H A D | aesni_ccm.c | 213 if (nlen < 7 || nlen > 13) in AES_CCM_encrypt() 214 panic("%s: bad nonce length %d", __FUNCTION__, nlen); in AES_CCM_encrypt() 223 L = sizeof(__m128i) - 1 - nlen; in AES_CCM_encrypt() 238 rolling_mac = cbc_mac_start(addt, abytes, nonce, nlen, in AES_CCM_encrypt() 244 bcopy(nonce, &byte_ptr[1], nlen); in AES_CCM_encrypt() 391 if (nlen < 0 || nlen > 15) in AES_CCM_decrypt() 392 panic("%s: bad nonce length %d", __FUNCTION__, nlen); in AES_CCM_decrypt() 400 L = sizeof(__m128i) - 1 - nlen; in AES_CCM_decrypt() 414 rolling_mac = cbc_mac_start(addt, abytes, nonce, nlen, in AES_CCM_decrypt() 419 bcopy(nonce, &byte_ptr[1], nlen); in AES_CCM_decrypt() [all …]
|
| /f-stack/tools/libutil/ |
| H A D | login_class.c | 141 substvar(const char * var, const struct passwd * pwd, int hlen, int pch, int nlen) in substvar() argument 158 np = malloc(strlen(var) + (dollas * nlen) in substvar() 184 memmove(p + nlen, p + 1, l); /* Subst username */ in substvar() 185 memmove(p, pwd->pw_name, nlen); in substvar() 186 p += nlen; in substvar() 202 int nlen = pwd ? strlen(pwd->pw_name) : 0; in setclassenvironment() local 212 char * np = substvar(var, pwd, hlen, pch, nlen); in setclassenvironment() 238 if ((np = substvar(p, pwd, hlen, pch, nlen)) != NULL) { in setclassenvironment()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_irc_pxy.c | 261 size_t nlen = 0, olen; local 319 nlen = strlen(newbuf); 320 inc = nlen - olen; 332 nm = allocb(nlen, BPRI_MED); 336 nm->b_wptr += nlen; 356 COPYBACK(m, off, nlen, newbuf);
|
| H A D | ip_ftp_pxy.c | 300 size_t nlen, olen; local 415 nlen = strlen(newbuf); 416 inc = nlen - olen; 437 COPYBACK(m, off, nlen, newbuf); 865 size_t nlen, olen; local 890 nlen = strlen(newmsg); 891 inc = nlen - olen; 1863 nlen = strlen(newbuf); 1864 inc = nlen - olen; 2152 nlen = strlen(newbuf); [all …]
|
| H A D | radix_ipf.c | 350 int nlen; local 360 for (nlen = 0; key < end; data++, key++, nlen += 32) 370 for (; bits != 0; nlen++) { 375 nlen += ADF_OFF_BITS; 376 nodes[1].index = nlen; 377 nodes[1].bitmask = htonl(0x80000000 >> (nlen & 0x1f)); 378 nodes[0].offset = nlen / 32; 379 nodes[1].offset = nlen / 32; 398 } while (nlen > (unsigned)cur->index);
|
| H A D | ip_proxy.c | 1166 int sel, ch = 0, out, nlen; local 1176 nlen = fin->fin_dlen; 1177 nlen -= (TCP_OFF(tcp) << 2); 1207 aps->aps_seqmin[sel] = seq1 + nlen - 1; 1259 aps->aps_ackmin[!sel] = seq1 + nlen - 1;
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/sodium/ |
| H A D | utils.c | 229 sodium_is_zero(const unsigned char *n, const size_t nlen) in sodium_is_zero() argument 234 for (i = 0U; i < nlen; i++) { in sodium_is_zero() 241 sodium_increment(unsigned char *n, const size_t nlen) in sodium_increment() argument 250 if (nlen == 12U) { in sodium_increment() 261 } else if (nlen == 24U) { in sodium_increment() 272 } else if (nlen == 8U) { in sodium_increment() 280 for (; i < nlen; i++) { in sodium_increment()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | utils.h | 49 int sodium_is_zero(const unsigned char *n, const size_t nlen); 52 void sodium_increment(unsigned char *n, const size_t nlen);
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | infback.c | 361 state->nlen = BITS(5) + 257; 368 if (state->nlen > 286 || state->ndist > 30) { 399 while (state->have < state->nlen + state->ndist) { 436 if (state->have + copy > state->nlen + state->ndist) { 462 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), 471 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
|
| H A D | inflate.h | 115 unsigned nlen; /* number of length code lengths */ member
|
| H A D | inflate.c | 922 state->nlen = BITS(5) + 257; 929 if (state->nlen > 286 || state->ndist > 30) { 960 while (state->have < state->nlen + state->ndist) { 997 if (state->have + copy > state->nlen + state->ndist) { 1023 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), 1032 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
|
| /f-stack/tools/sysctl/ |
| H A D | sysctl.c | 1131 show_var(int *oid, int nlen, bool honor_skip) argument 1155 memcpy(qoid + 2, oid, nlen * sizeof(int)); 1159 i = sysctl(qoid, nlen + 2, name, &j, 0, 0); 1163 oidfmt(oid, nlen, fmt, &kind); 1198 i = sysctl(qoid, nlen + 2, buf, &j, 0, 0); 1204 if ((skip_len == 0 || skip_len >= nlen * (int)sizeof(int)) && 1207 skip_len = nlen * sizeof(int); 1213 if (0 < skip_len && skip_len <= nlen * (int)sizeof(int) && 1254 i = sysctl(oid, nlen, 0, &j, 0, 0); 1264 i = sysctl(oid, nlen, val, &len, 0, 0);
|
| /f-stack/tools/libxo/libxo/ |
| H A D | libxo.c | 2663 cp[nlen] = '\0'; in xo_info_find() 4304 nbuf[nlen] = '\0'; in xo_format_value() 4323 nlen, name); in xo_format_value() 4328 nbuf[nlen] = '\0'; in xo_format_value() 4346 nbuf[nlen] = '\0'; in xo_format_value() 4408 if (nlen == 0) { in xo_format_value() 4499 if (nlen == 0) { in xo_format_value() 4558 if (nlen == 0) { in xo_format_value() 4603 if (nlen == 0) { in xo_format_value() 6769 xbp->xb_curp += nlen; in xo_attr_hv() [all …]
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_log.c | 321 size_t nlen, plen; local 333 nlen = ngx_strlen(name); 335 if (nlen == 0) { 361 name = malloc(plen + nlen + 2); 372 ngx_cpystrn(p, (u_char *) NGX_ERROR_LOG_PATH, nlen + 1);
|
| H A D | ngx_resolver.c | 797 rn->nlen = (u_short) name->len; in ngx_resolve_name_locked() 978 ctx->name.len = rn->nlen; in ngx_resolve_addr() 1088 rn->nlen = 0; in ngx_resolve_addr() 3305 if (name.len != (size_t) rn->nlen in ngx_resolver_process_ptr() 3308 if (rn->nlen) { in ngx_resolver_process_ptr() 3312 rn->nlen = (u_short) name.len; in ngx_resolver_process_ptr() 3548 p = (ngx_memn2cmp(rn->name, rn_temp->name, rn->nlen, rn_temp->nlen) in ngx_resolver_rbtree_insert_value() 3617 size_t len, nlen; in ngx_resolver_create_name_query() local 3663 p += sizeof(ngx_resolver_hdr_t) + nlen; in ngx_resolver_create_name_query() 3725 p += sizeof(ngx_resolver_hdr_t) + nlen; in ngx_resolver_create_name_query() [all …]
|
| H A D | ngx_resolver.h | 104 u_short nlen; member
|
| /f-stack/freebsd/kern/ |
| H A D | kern_sysctl.c | 2722 db_show_oid_name(int *oid, size_t nlen) in db_show_oid_name() argument 2729 memcpy(qoid + 2, oid, nlen * sizeof(int)); in db_show_oid_name() 2732 error = sysctl_find_oid(qoid, nlen + 2, &oidp, NULL, NULL); in db_show_oid_name() 2775 db_show_oid_name(oid, nlen); in db_show_oid() 2781 db_show_oid_name(oid, nlen); in db_show_oid() 2793 error = db_sysctl(oidp, oid, nlen, in db_show_oid() 2800 error = db_sysctl(oidp, oid, nlen, in db_show_oid() 2874 int error, nlen; in db_sysctlbyname() local 2876 error = name2oid(name, oid, &nlen, &oidp); in db_sysctlbyname() 2882 db_show_sysctl_all(oid, nlen, flags); in db_sysctlbyname() [all …]
|
| H A D | tty_ttydisc.c | 474 unsigned int nlen; in ttydisc_write() local 486 nlen = MIN(uio->uio_resid, sizeof ob); in ttydisc_write() 488 error = uiomove(ob, nlen, uio); in ttydisc_write() 492 oblen = nlen; in ttydisc_write()
|
| /f-stack/freebsd/netinet6/ |
| H A D | ip6_input.c | 1595 int len, nlen, nxt; in ip6_get_prevhdr() local 1605 nlen = 0; in ip6_get_prevhdr() 1610 nlen = sizeof(struct ip6_frag); in ip6_get_prevhdr() 1613 nlen = (ip6e.ip6e_len + 2) << 2; in ip6_get_prevhdr() 1616 nlen = (ip6e.ip6e_len + 1) << 3; in ip6_get_prevhdr() 1618 len += nlen; in ip6_get_prevhdr() 1621 return (len - nlen); in ip6_get_prevhdr()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | if_pfsync.c | 1938 size_t nlen = sizeof(struct pfsync_upd_req); in pfsync_request_update() local 1960 nlen += sizeof(struct pfsync_subheader); in pfsync_request_update() 1962 if (b->b_len + nlen > sc->sc_ifp->if_mtu) { in pfsync_request_update() 1965 nlen = sizeof(struct pfsync_subheader) + in pfsync_request_update() 1970 b->b_len += nlen; in pfsync_request_update() 2088 size_t nlen = pfsync_qs[q].len; in pfsync_q_ins() local 2099 nlen += sizeof(struct pfsync_subheader); in pfsync_q_ins() 2101 if (b->b_len + nlen > sc->sc_ifp->if_mtu) { in pfsync_q_ins() 2104 nlen = sizeof(struct pfsync_subheader) + pfsync_qs[q].len; in pfsync_q_ins() 2107 b->b_len += nlen; in pfsync_q_ins()
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux.h | 87 l_int nlen; member
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_icmp.c | 209 unsigned icmplen, icmpelen, nlen, oiphlen; in icmp_error() local 253 nlen = m_length(n, NULL); in icmp_error() 317 icmplen = min(oiphlen + icmpelen, nlen); in icmp_error()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux.h | 96 l_int nlen; member
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_options.c | 403 int nlen = strnlen(dent->d_name, sizeof(dent->d_name)); in eal_plugindir_init() local 406 if (strcmp(&dent->d_name[nlen - 3], ".so") != 0 && in eal_plugindir_init() 407 strcmp(&dent->d_name[nlen - 4 - strlen(ABI_VERSION)], in eal_plugindir_init()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux.h | 101 l_int nlen; member
|