Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/nvi/common/
HDmem.h22 #define BINC_GOTO(sp, type, lp, llen, nlen) { \ argument
25 if ((nlen) > llen) { \
26 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
35 #define BINC_GOTOC(sp, lp, llen, nlen) \ argument
36 BINC_GOTO(sp, char, lp, llen, nlen)
37 #define BINC_GOTOW(sp, lp, llen, nlen) \ argument
38 BINC_GOTO(sp, CHAR_T, lp, llen, (nlen) * sizeof(CHAR_T))
39 #define BINC_RET(sp, type, lp, llen, nlen) { \ argument
42 if ((nlen) > llen) { \
43 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
[all …]
/freebsd-11-stable/contrib/bmake/
HDmkdeps.sh157 llen=$1
189 if [ "`expr $llen + $len`" -gt ${width:-76} ]; then
192 llen=8
195 llen=`expr $llen + $len`
201 [ "$ilist" ] && llen=`gen_deps $llen $ilist`
205 echo $llen
274 llen=`gen_deps $llen $ilist`
/freebsd-11-stable/usr.bin/tail/
HDreverse.c194 size_t llen; in r_buf() local
251 for (p = tl->l + tl->len - 1, llen = 0; p >= tl->l; in r_buf()
252 --p, ++llen) { in r_buf()
258 if (llen && start && *p != '\n') in r_buf()
259 WR(p, llen + 1); in r_buf()
260 else if (llen) { in r_buf()
261 WR(p + 1, llen); in r_buf()
266 llen = 0; in r_buf()
279 tl->len = llen; in r_buf()
/freebsd-11-stable/contrib/opie/
HDpermsfile.c85 int applies, llen; variable
100 llen = getalist(&ptr, listbuf);
101 for (applies = i = 0; (i < llen) && !applies; i++)
110 llen = getalist(&ptr, listbuf);
111 for (applies = i = 0; (i < llen) && !applies; i++)
132 llen = getalist(&ptr, listbuf);
133 for (i = 0; i < llen; i++) {
/freebsd-11-stable/contrib/nvi/vi/
HDvs_relative.c226 size_t chlen, curoff, len, llen, off, scno; in vs_colpos() local
231 (void)db_get(sp, lno, 0, &lp, &llen); in vs_colpos()
234 if (lp == NULL || llen == 0) in vs_colpos()
244 for (scno = 0, p = lp, len = llen; off--;) { in vs_colpos()
253 return (llen - 1); in vs_colpos()
286 (off < llen - 1 ? off : llen - 1) : off - 1); in vs_colpos()
293 return (llen - 1); in vs_colpos()
HDvs_msg.c393 vs_output(SCR *sp, mtype_t mtype, const char *line, int llen) in vs_output() argument
404 for (p = line, rlen = llen; llen > 0;) { in vs_output()
406 if ((p = memchr(line, '\n', llen)) == NULL) in vs_output()
407 len = llen; in vs_output()
490 llen -= len; in vs_output()
493 --llen; in vs_output()
/freebsd-11-stable/contrib/wpa/src/utils/
HDwpa_debug.c398 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()
483 llen = len > line_len ? line_len : len; in _wpa_hexdump_ascii()
485 for (i = 0; i < llen; i++) in _wpa_hexdump_ascii()
[all …]
/freebsd-11-stable/contrib/diff/src/
HDsdiff.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-11-stable/contrib/nvi/ex/
HDex_subst.c351 size_t blen, cnt, last, lbclen, lblen, len, llen; in s() local
500 if (db_get(sp, lno, DBG_FATAL, &s, &llen)) in s()
509 GET_SPACE_RETW(sp, bp, blen, llen); in s()
511 ADD_SPACE_RETW(sp, bp, blen, llen); in s()
512 MEMCPY(bp, s, llen); in s()
518 len = llen; in s()
613 if (llen == 0) in s()
624 if (to.cno >= llen) in s()
625 to.cno = llen - 1; in s()
626 if (from.cno >= llen) in s()
[all …]
HDex_script.c202 size_t llen, len; in sscr_getprompt() local
275 llen = endp - buf; in sscr_getprompt()
279 if (CHAR2INT5(sp, exp->ibcw, buf, llen, wp, wlen)) in sscr_getprompt()
288 return (sscr_setprompt(sp, buf, llen)); in sscr_getprompt()
/freebsd-11-stable/sys/dev/mlx5/mlx5_fpga_tools/
HDmlx5fpga_tools_char.c113 size_t llen; in tools_char_llseek() local
115 llen = uio->uio_resid; in tools_char_llseek()
116 if (llen < 1) { in tools_char_llseek()
120 if (llen > CHUNK_SIZE) in tools_char_llseek()
121 llen = CHUNK_SIZE; in tools_char_llseek()
129 *len = llen; in tools_char_llseek()
/freebsd-11-stable/usr.sbin/efibootmgr/
HDefibootmgr.c635 size_t lopt_size, llen, klen; in make_boot_var() local
655 llen = efidp_size(loaderdp); in make_boot_var()
656 if (llen > MAX_DP_LEN) in make_boot_var()
661 dp = malloc(llen + klen); in make_boot_var()
664 memcpy(dp, loaderdp, llen); in make_boot_var()
666 memcpy((char *)dp + llen, kerneldp, klen); in make_boot_var()
675 dp, llen + klen, label, env, env ? strlen(env) + 1 : 0); in make_boot_var()
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
HDctrl_iface_udp.c509 int llen; local
524 llen = os_strlen(levelstr);
525 sbuf = os_malloc(llen + len);
529 os_memcpy(sbuf, levelstr, llen);
530 os_memcpy(sbuf + llen, buf, len);
546 if (sendto(sock, sbuf, llen + len, 0,
HDctrl_iface_named_pipe.c483 int llen; in wpa_supplicant_ctrl_iface_send() local
492 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
493 sbuf = os_malloc(llen + len); in wpa_supplicant_ctrl_iface_send()
497 os_memcpy(sbuf, levelstr, llen); in wpa_supplicant_ctrl_iface_send()
498 os_memcpy(sbuf + llen, buf, len); in wpa_supplicant_ctrl_iface_send()
506 if (!WriteFile(dst->pipe, sbuf, llen + len, &written, in wpa_supplicant_ctrl_iface_send()
/freebsd-11-stable/contrib/libarchive/libarchive/
HDarchive_read_support_filter_uu.c442 ssize_t len, llen, nl; in uudecode_filter_read() local
476 for (;used < avail_in; d += llen, used += llen) { in uudecode_filter_read()
494 llen = len; in uudecode_filter_read()
/freebsd-11-stable/crypto/openssl/ssl/
HDs3_clnt.c1180 unsigned long n, nc, llen, l; in ssl3_get_server_certificate() local
1217 n2l3(p, llen); in ssl3_get_server_certificate()
1218 if (llen + 3 != n) { in ssl3_get_server_certificate()
1223 for (nc = 0; nc < llen;) { in ssl3_get_server_certificate()
1224 if (nc + 3 > llen) { in ssl3_get_server_certificate()
1231 if ((l + nc + 3) > llen) { in ssl3_get_server_certificate()
2087 unsigned int llen, ctype_num, i; in ssl3_get_certificate_request() local
2160 n2s(p, llen); in ssl3_get_certificate_request()
2165 if ((unsigned long)(p - d + llen + 2) > n) { in ssl3_get_certificate_request()
2176 if ((llen & 1) || !tls1_save_sigalgs(s, p, llen)) { in ssl3_get_certificate_request()
[all …]
HDt1_enc.c1205 const char *label, size_t llen, in tls1_export_keying_material() argument
1216 s, out, olen, label, llen, context, contextlen); in tls1_export_keying_material()
1228 vallen = llen + SSL3_RANDOM_SIZE * 2; in tls1_export_keying_material()
1237 memcpy(val + currentvalpos, (unsigned char *)label, llen); in tls1_export_keying_material()
1238 currentvalpos += llen; in tls1_export_keying_material()
/freebsd-11-stable/crypto/openssl/doc/ssl/
HDSSL_export_keying_material.pod12 const char *label, size_t llen,
39 B<label> and should be B<llen> bytes long. Typically this will be a value from
/freebsd-11-stable/usr.sbin/makefs/
HDffs.c1016 uint16_t llen, reclen; in ffs_make_dirbuf() local
1032 llen = 0; in ffs_make_dirbuf()
1034 llen = DIRSIZ_SWAP(0, dp, needswap); in ffs_make_dirbuf()
1040 dbuf->size, dbuf->cur, llen, in ffs_make_dirbuf()
1044 if (reclen + dbuf->cur + llen > roundup(dbuf->size, DIRBLKSIZ)) { in ffs_make_dirbuf()
1054 dp->d_reclen = ufs_rw16(llen,needswap); in ffs_make_dirbuf()
1055 dbuf->cur += llen; in ffs_make_dirbuf()
HDwalk.c201 int llen; in walk_dir() local
203 llen = readlink(path, slink, sizeof(slink) - 1); in walk_dir()
204 if (llen == -1) in walk_dir()
206 slink[llen] = '\0'; in walk_dir()
/freebsd-11-stable/contrib/file/src/
HDfile.c498 size_t llen = 0; in unwrap() local
511 while ((len = getline(&line, &llen, f)) > 0) { in unwrap()
522 while ((len = getline(&line, &llen, f)) > 0) { in unwrap()
/freebsd-11-stable/contrib/libucl/lua/
HDlua_ucl.c603 size_t llen; in lua_ucl_parser_parse_string() local
608 string = luaL_checklstring (L, 2, &llen); in lua_ucl_parser_parse_string()
616 llen, 0, UCL_DUPLICATE_APPEND, type)) { in lua_ucl_parser_parse_string()
/freebsd-11-stable/usr.sbin/cxgbetool/
HDcxgbetool.c3080 isempty_line(char *line, size_t llen) in isempty_line() argument
3086 llen--; in isempty_line()
3088 if (llen == 0 || *line == '#' || *line == '\n') in isempty_line()
3124 parse_offload_policy_line(size_t lno, char *line, size_t llen, pcap_t *pd, in parse_offload_policy_line() argument
3135 s = &line[llen - 1]; in parse_offload_policy_line()
3138 llen--; in parse_offload_policy_line()
3238 size_t lcap, llen; in parse_offload_policy() local
3262 while ((llen = getline(&line, &lcap, fp)) != -1) { in parse_offload_policy()
3266 if (isempty_line(line, llen)) in parse_offload_policy()
3283 rc = parse_offload_policy_line(lno, line, llen, pd, r); in parse_offload_policy()
/freebsd-11-stable/crypto/openssl/crypto/rsa/
HDrsa.h282 # define EVP_PKEY_CTX_set0_rsa_oaep_label(ctx, l, llen) \ argument
284 EVP_PKEY_CTRL_RSA_OAEP_LABEL, llen, (void *)l)
/freebsd-11-stable/lib/libedit/
HDhistory.c737 size_t llen; in history_load() local
751 llen = 0; in history_load()
752 if ((sz = getline(&line, &llen, fp)) == -1) in history_load()
761 for (i = 0; (sz = getline(&line, &llen, fp)) != -1; i++) { in history_load()

12