HomeSort by: relevance | last modified time | path
    Searched defs:maxlen (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/bin/ps/
fmt.c 20 static int maxlen = 0; local in function:fmt_puts
27 if (len > maxlen) {
28 if (maxlen == 0)
31 nlen = maxlen;
38 maxlen = nlen;
  /src/bin/dd/
conv.c 121 uint64_t cnt, maxlen; local in function:block
150 maxlen = MIN(cbsz, in.dbcnt);
153 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
157 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
  /src/sbin/gpt/
label.c 82 size_t maxlen = 1024; local in function:name_from_file
99 if ((*name = malloc(maxlen)) == NULL) {
103 len = fread(*name, 1, maxlen - 1, f);
  /src/games/boggle/boggle/
prtable.c 71 int a, b, cols, loc, maxlen, nrows, z; local in function:prtable
76 maxlen = get_maxlen(base, num, length) + 1;
80 cols = width / maxlen;
102 while (loc < z * maxlen) {
  /src/tests/lib/libcurses/slave/
slave.c 130 int len, maxlen, argslen, i, type; local in function:process_commands
133 len = maxlen = 30;
134 if ((cmdbuf = malloc(maxlen)) == NULL)
143 if ((len + 1) > maxlen) {
144 maxlen = len + 1;
145 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL)
147 "bytes failed", maxlen);
  /src/sys/compat/common/
if_43.c 257 enum { maxlen = sizeof(oifr->ifr_ifru) }; enumerator in enum:compat_ifioctl::__anon0ae85e8c0103
258 CTASSERT(maxlen == 16);
266 if (sa->sa_family == 0 && sa->sa_len < maxlen) {
268 sa->sa_len = maxlen;
272 sa->sa_len = maxlen;
  /src/common/include/rpc/
types.h 92 unsigned int maxlen; member in struct:netbuf
  /src/lib/libedit/
hist.c 177 size_t maxlen = 0; local in function:hist_command
189 if (len >= maxlen) {
190 maxlen = len + 1024;
191 char *nbuf = el_realloc(buf, maxlen);
filecomplete.c 721 size_t matches_num, maxlen, match_len, match_display=1; local in function:fn_complete2
766 for(i = 1, maxlen = 0; matches[i]; i++) {
768 if (match_len > maxlen)
769 maxlen = match_len;
800 matches_num+1, maxlen, app_func);
  /src/sys/fs/cd9660/
iso_rrip.h 70 u_short maxlen; /* maximum length of above */ member in struct:__anon02f4174b0108
  /src/bin/ls/
ls.h 65 unsigned int maxlen; member in struct:__anon33ec9f980108
ls.c 505 unsigned int maxlen; local in function:display
526 maxuser = maxgroup = maxflags = maxlen = 0;
555 if (cur->fts_namelen > maxlen)
556 maxlen = cur->fts_namelen;
628 d.maxlen = maxlen;
  /src/games/hack/
hack.pager.c 269 static int maxlen; local in function:cornline
275 maxlen = 0;
290 if (len > maxlen)
291 maxlen = len;
313 lth = CO - maxlen - 2; /* Use full screen width */
  /src/libexec/getNAME/
getNAME.c 67 static size_t maxlen = 0; variable in typeref:typename:size_t
240 if (maxlen + extlen < curlen + len + SLOP) {
245 maxlen = newmaxlen;
344 if (maxlen + extlen < curlen + len + SLOP) {
349 maxlen = newmaxlen;
  /src/games/rogue/
inventory.c 223 size_t maxlen = 0, n; local in function:inventory
247 if (n > maxlen) {
248 maxlen = n;
255 if (maxlen < 27) maxlen = 27;
256 if (maxlen > DCOLS-2) maxlen = DCOLS-2;
257 col = DCOLS - (maxlen + 2);
447 size_t maxlen = sizeof(id_scrolls[0].title); local in function:make_scroll_titles
451 (void)strlcpy(id_scrolls[i].title, "'", maxlen);
468 size_t maxlen; member in struct:sbuf
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_libc_test.cc 234 // Test with shorter maxlen.
235 uptr maxlen = 2; local in function:test_internal_strlcpy
236 if (internal_strlen(sbuf) > maxlen) {
237 retval = internal_strlcpy(dbuf, sbuf, maxlen);
238 EXPECT_EQ(internal_strncmp(dbuf, sbuf, maxlen - 1), 0);
239 EXPECT_EQ(internal_strlen(dbuf), maxlen - 1);
  /src/usr.bin/finger/
lprint.c 147 print_idle(time_t t, int maxlen, size_t hostlen, size_t ttylen) {
158 cpr = printf("%-*s idle ", (int)(maxlen - ttylen + 1), ",");
175 int cpr, len, maxlen; local in function:lprint
241 for (w = pn->whead, maxlen = -1; w != NULL; w = w->next) {
243 if ((len = strlen(ttybuf)) > maxlen)
244 maxlen = len;
255 cpr += print_idle(w->idletime, maxlen, hostlen,
294 int lenthis, maxlen; local in function:demi_print
307 maxlen = 5 * TAB_LEN;
308 if (maxlen < lenlast
    [all...]
  /src/usr.bin/patch/
inp.c 390 size_t i = 0, j, maxlen = 1; local in function:plan_b
403 if ((i = strlen(buf)) > maxlen)
404 maxlen = i; /* find longest line */
407 if (last_line_missing_eol && maxlen == i)
408 maxlen++;
433 lines_per_buf = BUFFERSIZE / maxlen;
434 tireclen = maxlen;
442 p = tibuf[0] + maxlen * (i % lines_per_buf);
446 if (fgets(p, maxlen + 1, ifp) == NULL) {
  /src/sys/kern/
subr_log.c 463 size_t len, maxlen; local in function:sysctl_msgbuf
502 maxlen = MIN(msgbufp->msg_bufs, *oldlenp);
507 while (maxlen > 0) {
508 len = MIN(end - beg, maxlen);
517 maxlen -= len;
  /src/lib/libc/gen/
fts.c 650 size_t len, maxlen; local in function:fts_build
733 * We really wouldn't have to do the maxlen calculations here, we
746 maxlen = sp->fts_pathlen - len;
774 if (dnamlen >= maxlen) { /* include space for NUL */
798 maxlen = sp->fts_pathlen - len;
  /src/usr.bin/rs/
rs.c 90 static int maxlen; variable in typeref:typename:int
161 if (maxlen < curlen)
162 maxlen = curlen;
176 if (maxlen < p - *ep) /* update maxlen */
177 maxlen = p - *ep;
263 gutter += maxlen * propgutter / 100.0;
264 colw = maxlen + gutter;
  /src/bin/sh/
miscbltin.c 193 #define maxlen 0 macro
221 int n_flag, maxlen; local in function:readcmd
226 maxlen = READ_BUFFER_SIZE - 1;
247 maxlen = number(optionarg);
248 if (maxlen > (INT_MAX >> 8) + 1) /* sanity */
302 for ( ; !n_flag || --maxlen >= 0 ; ) {
304 if ((c = next_read_char(0, maxlen + 1)) < 0) {
310 if (n_flag && --maxlen < 0)
313 if ((c = next_read_char(0, maxlen + 1)) < 0) {
  /src/sbin/ifconfig/
parse.c 231 static const size_t maxlen = local in function:parse_linkaddr
248 for (i = 0, p = addr; i < maxlen; p++) {
  /src/sys/arch/i386/pnpbios/
pnpbios.c 162 int minlen, maxlen; member in struct:__anon296903f70108
912 pnp_scan(const uint8_t **bufp, size_t maxlen,
931 if (p >= *bufp + maxlen) {
1043 len > smallrescs[type - 1].maxlen) {
1088 rv = pnp_scan(&p, maxlen - (p - *bufp),
  /src/sys/external/bsd/gnu-efi/dist/inc/
efilib.h 571 UINTN maxlen; member in struct:__anonbe1f1cbc0108

Completed in 31 milliseconds

1 2