/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | srchcfile.c | 137 int linelen; /* includes NUL */ local 232 curbuf = pkggetentry_named(server, path, &linelen, &cpath_len); 234 curbuf = pkggetentry(server, &linelen, &cpath_len);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | manpath.c | 217 ssize_t linelen; local 225 while ((linelen = getline(&line, &linesz, stream)) != -1) { 227 ep = cp + linelen - 1;
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.c | 276 do_merge(be, args, instr, linelen) 280 int linelen; 286 const char *end = instr + linelen; 462 int linelen; local 468 linelen = strlen(buffer); 469 /* linelen >= 1 (since fgets didn't return 0) */ 471 if (buffer[linelen - 1] == '\n') { 478 buffer[--linelen] = '\0'; 479 return (linelen); 483 return (linelen); 572 int linelen; local 775 int linelen; local 1018 int linelen; local [all...] |
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getexecattr.c | 57 check_match(nss_XbyY_args_t *argp, const char *line, int linelen) argument 73 limit = line + linelen; 190 int linelen = 0; local 193 linelen = _readbufline(f_buf, f_size, instr, be->minbuf, 195 if (linelen < 0) { 232 last = instr + linelen; 250 linelen = last - first + 1; 257 if (check_match(argp, instr, linelen) == 0) 261 parse_stat = (*argp->str2ent)(instr, linelen, argp->buf.result, 266 argp->returnlen = linelen; [all...] |
H A D | gethostent.c | 48 check_name(nss_XbyY_args_t *argp, const char *line, int linelen, argument 56 limit = line + linelen; 169 int linelen) 187 limit = line + linelen; 206 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 208 return (__nss_files_check_addr(AF_INET, argp, line, linelen)); 389 int linelen; local 391 if ((linelen = _nss_files_read_line(be->f, 407 last = instr + linelen; 417 linelen 168 __nss_files_check_addr(int af, nss_XbyY_args_t *argp, const char *line, int linelen) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | nis_common.c | 644 int linelen) 649 limit = line + linelen; 643 _nss_nis_check_name_aliases(nss_XbyY_args_t *argp, const char *line, int linelen) argument
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp.c | 412 u_int linelen; local 425 linelen = strlen(line); 427 if (line[linelen - 1] != '\n') 431 if (linelen > 2 && line[linelen - 2] == '\r') { 432 line[linelen - 2] = '\n'; 433 line[linelen - 1] = '\0'; 434 linelen--; 437 if (linelen == 2 && line[0] == '.') { 444 if (linelen > (le [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ntp.c | 64 unsigned int linelen = OCTETS_PER_LINE; local 303 show_string(datap, linelen, datalen)); 304 sofar += linelen; 305 datap += linelen; 306 if ((sofar + linelen) > datalen) { 307 linelen = datalen - sofar;
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | mime.c | 111 int linelen; local 499 linelen = 0; 562 if (linelen > 71) 567 linelen = 0; 570 linelen += 4; 651 linelen = fromstate = 0; 656 if (c2 == ' ' && linelen == 4 && fromstate == 4 && 662 linelen += 3; 667 linelen++; 669 if (linelen > 7 [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 61 int linelen; local 66 for (linelen = 0; linelen < buflen; ) { 72 if (linelen > 0 && buffer[linelen - 1] == '\\') { 74 --linelen; 77 buffer[linelen] = '\0'; 78 return (linelen); 82 buffer[linelen++] = c; 86 if (linelen > 111 int linelen; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/ |
H A D | ufs.c | 477 pbits(const uchar_t *cp, const int max, const int linelen) argument 496 linecnt = linelen - len; 504 linecnt = linelen - len;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/ |
H A D | mpt_sas.c | 732 size_t linecnt, linelen; local 745 if (mdb_readsym(&linelen, sizeof (size_t), "mptsas_dbglog_linelen") 747 mdb_warn("No debug linelen present"); 750 logbuf = mdb_alloc(linelen * linecnt, UM_SLEEP); 752 if (mdb_readsym(logbuf, linelen * linecnt, "mptsas_dbglog_bufs") 760 mdb_printf("%s\n", &logbuf[idx * linelen]); 764 mdb_free(logbuf, linelen * linecnt);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | crypt.c | 492 int linelen = 0; local 562 linelen = strlen(line); 563 line[--linelen] = '\0'; /* chop the trailing \n */
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util.c | 543 unsigned int linelen; local 546 for (linelen = 0; p[linelen] != '\n' && p[linelen] != '\0'; linelen++) 549 if (linelen < sizeof (line)) { 551 strncpy (line, p, linelen); 552 line[linelen] = '\0'; 560 p += linelen + 1;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_util.c | 634 int linelen; local 644 linelen = 0; 645 while (linelen < buflen) { 654 if (linelen == 0) 661 linelen)) { 664 linelen); 665 linelen = 0; 677 if (linelen == 0) 684 if (linelen == 0) 687 } else if (linelen > [all...] |
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 1131 size_t linelen; local 1165 linelen = strlen(line); 1166 q = line + linelen; 1169 len = copynl_frwd(q, MAXLINE + 1 - linelen, p, msglen);
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | getline.c | 393 size_t linelen; /* The max number of characters per line */ member in struct:GetLine 395 /* linelen+2. The extra 2 characters are */ 1718 * linelen size_t The maximum line length to allow for. 1724 GetLine *new_GetLine(size_t linelen, size_t histlen) argument 1731 if(linelen < 10) { 1774 gl->linelen = linelen; 1921 gl->line = (char *) malloc(linelen + 2); 1933 gl->cutbuf = (char *) malloc(linelen + 2); 1950 gl->vi.undo.line = (char *) malloc(linelen [all...] |