Home
last modified time | relevance | path

Searched refs:blen (Results 1 – 24 of 24) sorted by relevance

/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_dns_pxy.c242 int blen; local
245 blen = idns->idns_namelen;
248 if (blen > qlen)
251 if (blen == qlen)
264 blen--;
268 return strncasecmp(base, query + qlen - blen, blen);
281 int slen, blen; local
286 blen = buflen - 1; /* Always make room for trailing \0 */
298 if ((clen + 1) > blen) {
308 blen -= (clen + 1);
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dep7211-edb7211.dts23 power-supply = <&blen>;
65 blen: blen { label
H A Dartpec6.dtsi316 snps,blen = <0 0 0 0 16 0 0>;
H A Dqcom-ipq8064.dtsi620 snps,blen = <16 0 0 0 0 0 0>;
H A Dsocfpga_arria10.dtsi419 snps,blen = <0 0 0 0 16 0 0>;
H A Dstm32mp151.dtsi1379 snps,blen = <0 0 0 0 16 8 4>;
/f-stack/tools/libutil/tests/
H A Dhumanize_number_test.c503 size_t blen, buflen, errcnt, i, skipped, tested; in main() local
527 blen = (buflen > 0) ? buflen : test_args[i].buflen; in main()
528 buf = realloc(buf, blen); in main()
541 r = humanize_number(buf, blen, test_args[i].num, "", in main()
552 i, blen, r, buf, test_args[i].retval, in main()
567 blen, scale_str, flag_str); in main()
578 blen, scale_str, flag_str); in main()
/f-stack/freebsd/netgraph/
H A Dng_parse.c1206 int align, len, blen, error = 0; in ng_parse_composite() local
1330 if (blen >= *buflen) { in ng_parse_composite()
1334 buf[blen++] = 0; in ng_parse_composite()
1338 vlen = *buflen - blen; in ng_parse_composite()
1341 start, buf + blen, &vlen, ctype); in ng_parse_composite()
1345 s, off, start, buf + blen, &vlen); in ng_parse_composite()
1349 blen += vlen; in ng_parse_composite()
1354 while (blen % align != 0) { in ng_parse_composite()
1355 if (blen >= *buflen) { in ng_parse_composite()
1359 buf[blen++] = 0; in ng_parse_composite()
[all …]
/f-stack/dpdk/drivers/bus/vmbus/
H A Dvmbus_bufring.c36 void vmbus_br_setup(struct vmbus_br *br, void *buf, unsigned int blen) in vmbus_br_setup() argument
40 br->dsize = blen - sizeof(struct vmbus_bufring); in vmbus_br_setup()
H A Dprivate.h114 void vmbus_br_setup(struct vmbus_br *br, void *buf, unsigned int blen);
/f-stack/freebsd/arm/allwinner/
H A Da10_hdmi.c421 int off, p, btag, blen; in a10hdmi_detect_hdmi_vsdb() local
435 blen = BLOCK_LEN(edid[p]); in a10hdmi_detect_hdmi_vsdb()
438 if (p + blen + 1 > off) in a10hdmi_detect_hdmi_vsdb()
442 if (btag == BLOCK_TAG_VSDB && blen >= HDMI_VSDB_MINLEN && in a10hdmi_detect_hdmi_vsdb()
447 p += (1 + blen); in a10hdmi_detect_hdmi_vsdb()
/f-stack/freebsd/netinet6/
H A Dicmp6.c1593 ni6_dnsmatch(const char *a, int alen, const char *b, int blen) in ni6_dnsmatch() argument
1599 if (alen == blen && bcmp(a, b, alen) == 0) in ni6_dnsmatch()
1606 if (alen < 2 || blen < 2) in ni6_dnsmatch()
1608 if (a0[alen - 1] != '\0' || b0[blen - 1] != '\0') in ni6_dnsmatch()
1611 blen--; in ni6_dnsmatch()
1613 while (a - a0 < alen && b - b0 < blen) { in ni6_dnsmatch()
1614 if (a - a0 + 1 > alen || b - b0 + 1 > blen) in ni6_dnsmatch()
1626 if (b[0] == 0 && b - b0 == blen - 1) in ni6_dnsmatch()
1634 if (a - a0 + 1 + l > alen || b - b0 + 1 + l > blen) in ni6_dnsmatch()
1643 if (a - a0 == alen && b - b0 == blen) in ni6_dnsmatch()
H A Din6.c1882 int dst_scope = in6_addrscope(dst), blen = -1, tlen; in in6_ifawithifp() local
1917 if (blen == -1) in in6_ifawithifp()
1918 blen = in6_matchlen(&besta->ia_addr.sin6_addr, dst); in in6_ifawithifp()
1920 if (tlen > blen) { in in6_ifawithifp()
1921 blen = tlen; in in6_ifawithifp()
/f-stack/app/redis-5.0.5/src/
H A Dobject.c539 size_t alen, blen, minlen; in compareStringObjectsWithFlags() local
551 blen = sdslen(bstr); in compareStringObjectsWithFlags()
553 blen = ll2string(bufb,sizeof(bufb),(long) b->ptr); in compareStringObjectsWithFlags()
561 minlen = (alen < blen) ? alen : blen; in compareStringObjectsWithFlags()
563 if (cmp == 0) return alen-blen; in compareStringObjectsWithFlags()
H A Dnetworking.c607 int blen = 0; in addReplyHelp() local
614 while (help[blen]) addReplyStatus(c,help[blen++]); in addReplyHelp()
616 blen++; /* Account for the header line(s). */ in addReplyHelp()
617 setDeferredMultiBulkLength(c,blenp,blen); in addReplyHelp()
H A Dserver.c2910 unsigned int blen = strlen(b); in time_independent_strcmp() local
2917 if (alen > sizeof(bufa) || blen > sizeof(bufb)) return 1; in time_independent_strcmp()
2924 memcpy(bufb,b,blen); in time_independent_strcmp()
2932 diff |= alen ^ blen; in time_independent_strcmp()
/f-stack/dpdk/drivers/baseband/acc100/
H A Drte_acc100_pmd.c858 desc->req.data_ptrs[0].blen = fcw_len; in acc100_queue_setup()
1453 desc->data_ptrs[next_triplet].blen = part_len; in acc100_dma_fill_blk_type_in()
1471 desc->data_ptrs[next_triplet].blen = part_len; in acc100_dma_fill_blk_type_in()
1506 desc->data_ptrs[next_triplet].blen = output_len; in acc100_dma_fill_blk_type_out()
1847 desc->data_ptrs[next_triplet].blen = h_p_size; in acc100_dma_desc_ld_fill()
1885 desc->data_ptrs[next_triplet].blen = h_p_size; in acc100_dma_desc_ld_fill()
2824 desc->req.data_ptrs[next_triplet].blen = 2; in harq_loopback()
2841 desc->req.data_ptrs[next_triplet].blen = in harq_loopback()
2866 desc->req.data_ptrs[next_triplet].blen = in harq_loopback()
4293 desc->req.data_ptrs[1].blen = 44; in poweron_cleanup()
[all …]
H A Drte_acc100_pmd.h166 uint32_t blen:20, member
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-dfa-defs.h3686 uint64_t blen : 1; /**< Device Burst Length (0=2-burst/1=4-burst) member
3767 uint64_t blen : 1;
3922 uint64_t blen : 1; /**< Device Burst Length (0=2-burst/1=4-burst) member
4056 uint64_t blen : 1;
4179 uint64_t blen : 1; /**< Device Burst Length (0=2-burst/1=4-burst) member
4313 uint64_t blen : 1;
/f-stack/freebsd/contrib/device-tree/Bindings/net/
H A Dsnps,dwmac.yaml138 * snps,blen, this is a vector of supported burst length.
364 snps,blen = <256 128 64 32 0 0 0>;
/f-stack/freebsd/kern/
H A Dkern_linker.c1842 int error, ival, bestver, *intp, found, flags, clen, blen; in linker_hints_lookup() local
1894 clen = blen = 0; in linker_hints_lookup()
1920 blen = clen; in linker_hints_lookup()
1934 result = linker_lookup_file(path, pathlen, best, blen, &mattr); in linker_hints_lookup()
/f-stack/tools/libxo/libxo/
H A Dlibxo.c5271 ssize_t blen = abswidth - xop->xo_anchor_columns; in xo_anchor_stop() local
5273 if (blen <= 0) /* Already over width */ in xo_anchor_stop()
5283 char *buf = alloca(blen); in xo_anchor_stop()
5284 memset(buf, ' ', blen); in xo_anchor_stop()
5285 xo_format_content(xop, "padding", NULL, buf, blen, NULL, 0, 0); in xo_anchor_stop()
5302 if (delta > blen) in xo_anchor_stop()
6206 ssize_t blen = fend[max_fend] - base; in xo_gettext_rebuild_content() local
6209 if (blen == 0) in xo_gettext_rebuild_content()
6212 buf = xo_realloc(NULL, blen); in xo_gettext_rebuild_content()
6216 memcpy(buf, xbp->xb_bufp + fstart[min_fstart], blen); /* Copy our data */ in xo_gettext_rebuild_content()
/f-stack/freebsd/contrib/device-tree/src/arm64/mediatek/
H A Dmt2712e.dtsi695 snps,blen = <0 0 0 0 16 8 4>;
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dt4fw_interface.h502 __u8 blen; member