/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 | getnetent.c | 48 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 57 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 | tsol_gettpent.c | 34 check_name(nss_XbyY_args_t *args, const char *line, int linelen) argument 39 limit = line + linelen;
|
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 | 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 | 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 | 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 | netmasks.c | 49 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 57 limit = line + linelen;
|
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 | 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 | tsol_getrhent.c | 35 check_addr(nss_XbyY_args_t *args, const char *line, int linelen) argument 42 limit = line + linelen;
|
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...] |
/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/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/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) {
|
H A D | getgrent.c | 74 int linelen = *linelenp, newlinelen; local 77 limit = linep + linelen; 80 if (linelen == 0 || *linep == '+' || *linep == '-') 100 newlinelen = linelen + idlen - oldgidlen; 101 if (newlinelen > linelen) {
|
/osnet-11/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);
|
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.h | 69 int linelen; /* <== Explain use, lifetime */ member in struct:compat_backend
|
H A D | getgrent.c | 72 int linelen = *linelenp, newlinelen; local 74 if (linelen == 0 || *line == '+' || *line == '-') 78 limit = line + linelen; 97 newlinelen = linelen + idlen - oldgidlen;
|
H A D | getpwent.c | 79 int linelen = *linelenp, newlinelen; local 81 if (linelen == 0 || *line == '+' || *line == '-') 85 limit = line + linelen; 113 newlinelen = linelen + idlen - olduidlen - oldgidlen - 1;
|
/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...] |