Home
last modified time | relevance | path

Searched refs:llen (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/nvi/common/
H A Dmem.h20 #define BINC_GOTO(sp, type, lp, llen, nlen) do { \ argument
23 if ((nlen) > llen) { \
24 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
33 #define BINC_GOTOC(sp, lp, llen, nlen) \ argument
34 BINC_GOTO(sp, char, lp, llen, nlen)
35 #define BINC_GOTOW(sp, lp, llen, nlen) \ argument
36 BINC_GOTO(sp, CHAR_T, lp, llen, (nlen) * sizeof(CHAR_T))
37 #define BINC_RET(sp, type, lp, llen, nlen) do { \ argument
40 if ((nlen) > llen) { \
41 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
[all …]
/freebsd/contrib/bmake/
H A Dmkdeps.sh164 llen=$1
196 if [ "`expr $llen + $len`" -gt ${width:-76} ]; then
199 llen=8
202 llen=`expr $llen + $len`
208 [ "$ilist" ] && llen=`gen_deps $llen $ilist`
212 echo $llen
281 llen=`gen_deps $llen $ilist`
/freebsd/usr.bin/tail/
H A Dreverse.c190 size_t llen; in r_buf() local
247 for (p = tl->l + tl->len - 1, llen = 0; p >= tl->l; in r_buf()
248 --p, ++llen) { in r_buf()
254 if (llen && start && *p != '\n') in r_buf()
255 WR(p, llen + 1); in r_buf()
256 else if (llen) { in r_buf()
257 WR(p + 1, llen); in r_buf()
262 llen = 0; in r_buf()
275 tl->len = llen; in r_buf()
/freebsd/contrib/nvi/vi/
H A Dvs_relative.c223 size_t chlen, curoff, len, llen, off, scno; in vs_colpos() local
228 (void)db_get(sp, lno, 0, &lp, &llen); in vs_colpos()
231 if (lp == NULL || llen == 0) in vs_colpos()
241 for (scno = 0, p = lp, len = llen; off--;) { in vs_colpos()
250 return (llen - 1); in vs_colpos()
283 (off < llen - 1 ? off : llen - 1) : off - 1); in vs_colpos()
290 return (llen - 1); in vs_colpos()
H A Dvs_msg.c392 vs_output(SCR *sp, mtype_t mtype, const char *line, int llen) in vs_output() argument
403 for (p = line, rlen = llen; llen > 0;) { in vs_output()
405 if ((p = memchr(line, '\n', llen)) == NULL) in vs_output()
406 len = llen; in vs_output()
489 llen -= len; in vs_output()
492 --llen; in vs_output()
/freebsd/contrib/wpa/src/utils/
H A Dwpa_debug.c400 size_t i, llen; in _wpa_hexdump_ascii() local
450 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
452 for (i = 0; i < llen; i++) in _wpa_hexdump_ascii()
454 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
457 for (i = 0; i < llen; i++) { in _wpa_hexdump_ascii()
463 for (i = llen; i < line_len; i++) in _wpa_hexdump_ascii()
466 pos += llen; in _wpa_hexdump_ascii()
467 len -= llen; in _wpa_hexdump_ascii()
486 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
488 for (i = 0; i < llen; i++) in _wpa_hexdump_ascii()
[all …]
/freebsd/contrib/diff/src/
H A Dsdiff.c900 edit (struct line_filter *left, char const *lname, lin lline, lin llen, in edit() argument
974 lf_copy (left, llen, outfile); in edit()
979 lf_skip (left, llen); in edit()
1008 if (llen) in edit()
1010 if (llen == 1) in edit()
1015 (long int) (lline + llen - 1)); in edit()
1019 lf_copy (left, llen, tmp); in edit()
1023 lf_skip (left, llen); in edit()
1146 lin llen, rlen, lenmax; in interact() local
1148 llen = val = strtoumax (diff_help + 1, &numend, 10); in interact()
[all …]
/freebsd/sys/dev/mlx5/mlx5_fpga_tools/
H A Dmlx5fpga_tools_char.c111 size_t llen; in tools_char_llseek() local
113 llen = uio->uio_resid; in tools_char_llseek()
114 if (llen < 1) { in tools_char_llseek()
118 if (llen > CHUNK_SIZE) in tools_char_llseek()
119 llen = CHUNK_SIZE; in tools_char_llseek()
127 *len = llen; in tools_char_llseek()
/freebsd/contrib/nvi/ex/
H A Dex_subst.c346 size_t blen, cnt, last, lbclen, lblen, len, llen; in s() local
495 if (db_get(sp, lno, DBG_FATAL, &s, &llen)) in s()
504 GET_SPACE_RETW(sp, bp, blen, llen); in s()
506 ADD_SPACE_RETW(sp, bp, blen, llen); in s()
507 MEMCPY(bp, s, llen); in s()
513 len = llen; in s()
608 if (llen == 0) in s()
619 if (to.cno >= llen) in s()
620 to.cno = llen - 1; in s()
621 if (from.cno >= llen) in s()
[all …]
H A Dex_script.c200 size_t llen, len; in sscr_getprompt() local
273 llen = endp - buf; in sscr_getprompt()
277 if (CHAR2INT5(sp, exp->ibcw, buf, llen, wp, wlen)) in sscr_getprompt()
286 return (sscr_setprompt(sp, buf, llen)); in sscr_getprompt()
/freebsd/lib/libsecureboot/openpgp/
H A Ddearmor.c79 long llen = (long)nbytes; in dearmor() local
81 if (!PEM_read_bio(bp, &name, &header, &data, &llen)) in dearmor()
84 *len = (size_t)llen; in dearmor()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_udp.c530 int llen; local
545 llen = os_strlen(levelstr);
546 sbuf = os_malloc(llen + len);
550 os_memcpy(sbuf, levelstr, llen);
551 os_memcpy(sbuf + llen, buf, len);
567 if (sendto(sock, sbuf, llen + len, 0,
H A Dctrl_iface_named_pipe.c486 int llen; in wpa_supplicant_ctrl_iface_send() local
495 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
496 sbuf = os_malloc(llen + len); in wpa_supplicant_ctrl_iface_send()
500 os_memcpy(sbuf, levelstr, llen); in wpa_supplicant_ctrl_iface_send()
501 os_memcpy(sbuf + llen, buf, len); in wpa_supplicant_ctrl_iface_send()
509 if (!WriteFile(dst->pipe, sbuf, llen + len, &written, in wpa_supplicant_ctrl_iface_send()
/freebsd/usr.sbin/efibootmgr/
H A Defibootmgr.c665 size_t lopt_size, llen, klen; in make_boot_var() local
693 llen = efidp_size(loaderdp); in make_boot_var()
694 if (llen > MAX_DP_LEN) in make_boot_var()
699 dp = malloc(llen + klen); in make_boot_var()
702 memcpy(dp, loaderdp, llen); in make_boot_var()
704 memcpy((char *)dp + llen, kerneldp, klen); in make_boot_var()
715 dp, llen + klen, label, env, env ? strlen(env) + 1 : 0); in make_boot_var()
/freebsd/tests/sys/kern/
H A Dunix_dgram.c78 size_t llen = sizeof(unsigned long); in fill() local
82 &llen, NULL, 0) == 0); in fill()
95 size_t llen = sizeof(unsigned long); in ATF_TC_BODY() local
104 &llen, NULL, 0) == 0); in ATF_TC_BODY()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_export_keying_material.pod14 const char *label, size_t llen,
19 const char *label, size_t llen,
58 B<label> and should be B<llen> bytes long. Typically this will be a value from
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_uu.c468 ssize_t len, llen, nl, namelen; in uudecode_filter_read() local
508 for (;used < avail_in; d += llen, used += llen) { in uudecode_filter_read()
526 llen = len; in uudecode_filter_read()
/freebsd/contrib/file/src/
H A Dfile.c515 size_t llen = 0; in unwrap() local
530 while ((len = getline(&line, &llen, f)) > 0) { in unwrap()
538 llen = 0; in unwrap()
555 llen = 0; in unwrap()
/freebsd/usr.sbin/makefs/
H A Dffs.c1046 uint16_t llen, reclen; in ffs_make_dirbuf()
1062 llen = 0; in ffs_make_dirbuf()
1064 llen = DIRSIZ_SWAP(0, dp, needswap); in ffs_make_dirbuf()
1070 dbuf->size, dbuf->cur, llen, in ffs_make_dirbuf()
1074 if (reclen + dbuf->cur + llen > roundup(dbuf->size, DIRBLKSIZ)) { in ffs_make_dirbuf()
1084 dp->d_reclen = ufs_rw16(llen,needswap); in ffs_make_dirbuf()
1085 dbuf->cur += llen; in ffs_make_dirbuf()
1043 uint16_t llen, reclen; ffs_make_dirbuf() local
H A Dffs.c1046 uint16_t llen, reclen; in ffs_make_dirbuf() local
1062 llen = 0; in ffs_make_dirbuf()
1064 llen = DIRSIZ_SWAP(0, dp, needswap); in ffs_make_dirbuf()
1070 dbuf->size, dbuf->cur, llen, in ffs_make_dirbuf()
1074 if (reclen + dbuf->cur + llen > roundup(dbuf->size, DIRBLKSIZ)) { in ffs_make_dirbuf()
1084 dp->d_reclen = ufs_rw16(llen,needswap); in ffs_make_dirbuf()
1085 dbuf->cur += llen; in ffs_make_dirbuf()
H A Dwalk.c198 int llen; in walk_dir() local
200 llen = readlink(path, slink, sizeof(slink) - 1); in walk_dir()
201 if (llen == -1) in walk_dir()
203 slink[llen] = '\0'; in walk_dir()
/freebsd/crypto/openssl/ssl/
H A Dt1_enc.c646 const char *label, size_t llen, in tls1_export_keying_material() argument
659 vallen = llen + SSL3_RANDOM_SIZE * 2; in tls1_export_keying_material()
668 memcpy(val + currentvalpos, (unsigned char *)label, llen); in tls1_export_keying_material()
669 currentvalpos += llen; in tls1_export_keying_material()
H A Dtls13_enc.c831 const char *label, size_t llen, in tls13_export_keying_material() argument
859 (const unsigned char *)label, llen, in tls13_export_keying_material()
873 const char *label, size_t llen, in tls13_export_keying_material_early() argument
923 (const unsigned char *)label, llen, in tls13_export_keying_material_early()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c1041 U32 const llen = opt[storePos].litlen; in ZSTD_compressBlock_opt_generic() local
1044 U32 const advance = llen + mlen; in ZSTD_compressBlock_opt_generic()
1046 anchor - istart, (unsigned)llen, (unsigned)mlen); in ZSTD_compressBlock_opt_generic()
1050 … ip = anchor + llen; /* last "sequence" is a bunch of literals => don't progress anchor */ in ZSTD_compressBlock_opt_generic()
1054 assert(anchor + llen <= iend); in ZSTD_compressBlock_opt_generic()
1055 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen); in ZSTD_compressBlock_opt_generic()
1056 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c1297 U32 const llen = opt[storePos].litlen; in ZSTD_compressBlock_opt_generic() local
1300 U32 const advance = llen + mlen; in ZSTD_compressBlock_opt_generic()
1302 anchor - istart, (unsigned)llen, (unsigned)mlen); in ZSTD_compressBlock_opt_generic()
1306 … ip = anchor + llen; /* last "sequence" is a bunch of literals => don't progress anchor */ in ZSTD_compressBlock_opt_generic()
1310 assert(anchor + llen <= iend); in ZSTD_compressBlock_opt_generic()
1311 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen); in ZSTD_compressBlock_opt_generic()
1312 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen); in ZSTD_compressBlock_opt_generic()

12