/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | parse.c | 157 int linelen; local 160 linelen = 0; 161 while (linelen < buflen - 1) { /* "- 1" saves room for \n\0 */ 163 if (linelen == 0 || 164 buffer[linelen - 1] == '\\') { 167 buffer[linelen] = '\n'; 168 buffer[linelen + 1] = '\0'; 169 return (linelen); 175 if (linelen > 0 && 176 buffer[linelen [all...] |
/osnet-11/usr/src/lib/nsswitch/user/common/ |
H A D | user_common.c | 100 int linelen; /* 1st unused slot in buffer */ local 105 linelen = 0; 106 while (linelen < buflen - 1) { /* "- 1" saves room for \n\0 */ 109 if (linelen == 0 || 110 buffer[linelen - 1] == '\\') { 113 buffer[linelen ] = '\n'; 114 buffer[linelen + 1] = '\0'; 115 return (linelen); 118 if (linelen > 0 && 119 buffer[linelen 177 int linelen; local [all...] |
H A D | getprinter.c | 125 int linelen; local 133 * linelen counts the characters up to but excluding the '\n' 135 if ((linelen = _nss_user_read_line(be->f, instr, 199 int linelen; local 201 if ((linelen = _nss_user_read_line(be->f, instr,
|
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | getspent.c | 32 check_spnamp(nss_XbyY_args_t *argp, const char *line, int linelen) argument 38 if (linelen == 0 || *line == '+' || *line == '-') 40 while (*keyp && linelen-- && *keyp == *linep) { 44 return (linelen && *keyp == '\0' && *linep == ':');
|
H A D | bootparams_getbyname.c | 101 int linelen; local 108 * linelen counts the characters up to but excluding the '\n' 110 if ((linelen = _nss_files_read_line(be, instr, 122 limit = p + linelen; 149 linelen -= (p - instr); 150 if (args->buf.buflen <= linelen) { /* not enough buffer */ 154 (void) memcpy(args->buf.buffer, p, linelen); 155 args->buf.buffer[linelen] = '\0'; 157 args->returnlen = linelen;
|
H A D | gethostent6.c | 42 extern int convert_ip(int af, const char *line, int linelen, 45 const char *line, int linelen); 47 const char *line, int linelen); 54 int linelen) 67 if (convert_ip(AF_INET6, line, linelen, h_addrp, 96 check_name_hash(nss_XbyY_args_t *argp, const char *line, int linelen) argument 103 return (check_name_host(argp, line, linelen, AF_INET6, &namep, &namelen, 131 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 133 return (__nss_files_check_addr(AF_INET6, argp, line, linelen)); 53 hash_ip(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument
|
H A D | getgrent.c | 44 check_grname(nss_XbyY_args_t *argp, const char *line, int linelen) argument 50 limit = line + linelen; 53 if (linelen == 0 || *line == '+' || *line == '-') 71 check_grgid(nss_XbyY_args_t *argp, const char *line, int linelen) argument 77 limit = line + linelen; 80 if (linelen == 0 || *line == '+' || *line == '-') 123 int linelen = *linelenp, newlinelen; local 134 if (linelen == 0 || *line == '+' || *line == '-') 138 limit = line + linelen; 157 newlinelen = linelen [all...] |
H A D | gethostent.c | 61 hash_field_tolower(const char *line, int linelen, uint_t field, argument 67 while (field > 0 && linelen > 0) { 69 while (linelen > 0 && isspace(*line)) { 70 linelen--; 79 while (linelen > 0 && !isspace(*line)) { 80 linelen--; 93 while (linelen > 0 && isspace(*line)) { 94 linelen--; 97 *has_next = (linelen > 0); 104 int linelen) 103 hash_hostname(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 114 hash_arr_hostname(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 148 convert_ip(int af, const char *line, int linelen, char *h_addrp, int *h_length) argument 168 hash_ipv4(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 209 check_name_host(nss_XbyY_args_t *argp, const char *line, int linelen, int type, const char **namep, int *namelen, void *addrp, int *addrsize) argument 276 check_name_hash(nss_XbyY_args_t *argp, const char *line, int linelen) argument 288 find_canonical(const char *line, int linelen, char **namep, int *namelen) argument 328 int linelen; local 486 __nss_files_check_addr(int af, nss_XbyY_args_t *argp, const char *line, int linelen) argument 514 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 695 int linelen; local [all...] |
H A D | getpwnam.c | 45 check_pwname(nss_XbyY_args_t *argp, const char *line, int linelen) argument 51 limit = line + linelen; 54 if (linelen == 0 || *line == '+' || *line == '-') 72 check_pwuid(nss_XbyY_args_t *argp, const char *line, int linelen) argument 78 limit = line + linelen; 81 if (linelen == 0 || *line == '+' || *line == '-') 125 int linelen = *linelenp, newlinelen; local 132 if (linelen == 0 || *line == '+' || *line == '-') 136 limit = line + linelen; 164 newlinelen = linelen [all...] |
H A D | getexecattr.c | 60 int linelen) 67 return (hash_field(line, linelen, 1)); 73 int linelen) 80 return (hash_field(line, linelen, 6)); 86 int linelen) 95 return (hash_field(line, linelen, 1) + 96 hash_field(line, linelen, 6)); 115 check_match_i(nss_XbyY_args_t *argp, const char *line, int linelen, int hashop) argument 139 limit = line + linelen; 163 check_match_name(nss_XbyY_args_t *argp, const char *line, int linelen) argument 59 hash_xname(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 72 hash_id(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 85 hash_nameid(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 169 check_match_id(nss_XbyY_args_t *argp, const char *line, int linelen) argument 175 check_match_nameid(nss_XbyY_args_t *argp, const char *line, int linelen) argument [all...] |
H A D | getprinter.c | 38 check_name(nss_XbyY_args_t *argp, const char *line, int linelen) argument 46 limit = line + linelen; 97 int linelen; local 99 if ((linelen = _nss_files_read_line(be, instr, 110 linelen--; 133 if (check != NULL && (*check)(args, instr, linelen) == 0) 137 parsestat = (*func)(instr, linelen, args->buf.result, 143 args->returnlen = linelen;
|
H A D | tsol_gettpent.c | 34 check_name(nss_XbyY_args_t *args, const char *line, int linelen) argument 39 limit = line + linelen;
|
H A D | getprojent.c | 33 int linelen) { 39 limit = line + linelen; 72 check_projid(nss_XbyY_args_t *argp, const char *line, int linelen) { argument 77 limit = line + linelen; 32 hash_projid(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument
|
H A D | ether_addr.c | 50 check_host(nss_XbyY_args_t *argp, const char *line, int linelen) argument 54 limit = line + linelen; 106 check_ether(nss_XbyY_args_t *argp, const char *line, int linelen) argument 115 limit = line + linelen;
|
H A D | getprotoent.c | 45 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 51 limit = line + linelen;
|
H A D | getrpcent.c | 45 check_rpcnum(nss_XbyY_args_t *argp, const char *line, int linelen) argument 51 limit = line + linelen;
|
H A D | files_common.c | 264 hash_field(const char *line, int linelen, int field) argument 268 while (field > 0 && linelen > 0) { 271 while (linelen-- > 0 && *line++ != ':') 274 if (linelen < 0) 285 hash_name(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 296 while (linelen-- && *line++ != ':') 309 hash_ugid(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 315 limit = line + linelen; 426 int linelen; /* 1st unused slot in buffer */ local 437 linelen 508 int linelen; local 574 int linelen; local 1374 _nss_files_check_name_colon(nss_XbyY_args_t *argp, const char *line, int linelen) argument 1397 _nss_files_check_name_aliases(nss_XbyY_args_t *argp, const char *line, int linelen) argument [all...] |
H A D | getservent.c | 37 check_name(nss_XbyY_args_t *argp, const char *line, int linelen) argument 43 limit = line + linelen; 126 check_port(nss_XbyY_args_t *argp, const char *line, int linelen) argument 133 limit = line + linelen;
|
H A D | getnetent.c | 48 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 57 limit = line + linelen;
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getpwnam.c | 67 int linelen = *linelenp, newlinelen; local 70 limit = linep + linelen; 73 if (linelen == 0 || *linep == '+' || *linep == '-') 102 newlinelen = linelen + idlen - olduidlen - oldgidlen - 1; 103 if (newlinelen > linelen) {
|
/osnet-11/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...] |
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.c | 252 do_merge(be, args, instr, linelen) 256 int linelen; 262 const char *end = instr + linelen; 437 int linelen; local 443 linelen = strlen(buffer); 444 /* linelen >= 1 (since fgets didn't return 0) */ 446 if (buffer[linelen - 1] == '\n') { 453 buffer[--linelen] = '\0'; 454 return (linelen); 458 return (linelen); 546 int linelen; local 748 int linelen; local 991 int linelen; local [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | bootparams_getbyname.c | 49 int linelen /* max # of bytes to put into linebuf */ 55 NSS_XbyY_INIT(&arg, linebuf, linebuf, linelen, str2bootent);
|
/osnet-11/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...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/MIME/Base64/ |
H A D | Base64.xs | 272 STRLEN linelen; 296 linelen = 0; 321 while (p_len + linelen > max_last_line) { 322 STRLEN len = MAX_LINE - 1 - linelen; 330 linelen = 0; 335 linelen += p_len; 345 linelen = 0; 350 if (eol_len && linelen > MAX_LINE - 4) { 353 linelen = 0; 357 linelen [all...] |