/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent6.c | 62 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 64 return (__nss_files_check_addr(AF_INET6, argp, line, linelen));
|
H A D | getspent.c | 35 check_spnamp(nss_XbyY_args_t *argp, const char *line, int linelen) argument 41 if (linelen == 0 || *line == '+' || *line == '-') 43 while (*keyp && linelen-- && *keyp == *linep) { 47 return (linelen && *keyp == '\0' && *linep == ':');
|
H A D | bootparams_getbyname.c | 104 int linelen; local 111 * linelen counts the characters up to but excluding the '\n' 113 if ((linelen = _nss_files_read_line(be->f, instr, 125 limit = p + linelen; 152 linelen -= (p - instr); 153 if (args->buf.buflen <= linelen) { /* not enough buffer */ 157 (void) memcpy(args->buf.buffer, p, linelen); 158 args->buf.buffer[linelen] = '\0'; 160 args->returnlen = linelen;
|
H A D | getnetent.c | 52 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 61 limit = line + linelen;
|
H A D | getprotoent.c | 48 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 54 limit = line + linelen;
|
H A D | getrpcent.c | 48 check_rpcnum(nss_XbyY_args_t *argp, const char *line, int linelen) argument 54 limit = line + linelen;
|
H A D | tsol_gettpent.c | 37 check_name(nss_XbyY_args_t *args, const char *line, int linelen) argument 42 limit = line + linelen;
|
H A D | ether_addr.c | 53 check_host(nss_XbyY_args_t *argp, const char *line, int linelen) argument 57 limit = line + linelen; 109 check_ether(nss_XbyY_args_t *argp, const char *line, int linelen) argument 118 limit = line + linelen;
|
H A D | getprinter.c | 41 check_name(nss_XbyY_args_t *argp, const char *line, int linelen) argument 49 limit = line + linelen; 100 int linelen; local 102 if ((linelen = _nss_files_read_line(be->f, instr, 113 linelen--; 136 if (check != NULL && (*check)(args, instr, linelen) == 0) 140 parsestat = (*func)(instr, linelen, args->buf.result, 146 args->returnlen = linelen;
|
H A D | getservent.c | 40 check_name(nss_XbyY_args_t *argp, const char *line, int linelen) argument 46 limit = line + linelen; 129 check_port(nss_XbyY_args_t *argp, const char *line, int linelen) argument 136 limit = line + linelen;
|
H A D | netmasks.c | 52 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument 60 limit = line + linelen;
|
H A D | getprojent.c | 36 int linelen) { 48 while (linelen-- && *line++ != ':') 59 int linelen) { 65 limit = line + linelen; 98 check_projid(nss_XbyY_args_t *argp, const char *line, int linelen) { argument 103 limit = line + linelen; 35 hash_projname(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 58 hash_projid(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument
|
H A D | tsol_getrhent.c | 38 check_addr(nss_XbyY_args_t *args, const char *line, int linelen) argument 45 limit = line + linelen;
|
H A D | files_common.c | 103 int linelen; /* 1st unused slot in buffer */ local 108 linelen = 0; 109 while (linelen < buflen - 1) { /* "- 1" saves room for \n\0 */ 112 if (linelen == 0 || 113 buffer[linelen - 1] == '\\') { 116 buffer[linelen ] = '\n'; 117 buffer[linelen + 1] = '\0'; 118 return (linelen); 121 if (linelen > 0 && 122 buffer[linelen 177 int linelen; local 247 int linelen; local [all...] |
H A D | getgrent.c | 36 int linelen) 48 while (linelen-- && *line++ != ':') 59 int linelen) 65 limit = line + linelen; 98 check_grname(nss_XbyY_args_t *argp, const char *line, int linelen) argument 104 limit = line + linelen; 107 if (linelen == 0 || *line == '+' || *line == '-') 125 check_grgid(nss_XbyY_args_t *argp, const char *line, int linelen) argument 131 limit = line + linelen; 134 if (linelen 35 hash_grname(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 58 hash_grgid(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 177 int linelen = *linelenp, newlinelen; local [all...] |
H A D | getpwnam.c | 37 int linelen) 49 while (linelen-- && *line++ != ':') 60 int linelen) 66 limit = line + linelen; 100 check_pwname(nss_XbyY_args_t *argp, const char *line, int linelen) argument 106 limit = line + linelen; 109 if (linelen == 0 || *line == '+' || *line == '-') 127 check_pwuid(nss_XbyY_args_t *argp, const char *line, int linelen) argument 133 limit = line + linelen; 136 if (linelen 36 hash_pwname(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 59 hash_pwuid(nss_XbyY_args_t *argp, int keyhash, const char *line, int linelen) argument 180 int linelen = *linelenp, newlinelen; local [all...] |
/illumos-gate/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,
|
/illumos-gate/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) {
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_printer.c | 121 getprinterentry(char *linebuf, int linelen, char *ns) argument 127 NSS_XbyY_INIT(&arg, linebuf, linebuf, linelen, str2printer); 137 getprinterbyname(char *name, char *linebuf, int linelen, char *ns) argument 143 NSS_XbyY_INIT(&arg, linebuf, linebuf, linelen, str2printer);
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | parse.c | 160 int linelen; local 163 linelen = 0; 164 while (linelen < buflen - 1) { /* "- 1" saves room for \n\0 */ 166 if (linelen == 0 || 167 buffer[linelen - 1] == '\\') { 170 buffer[linelen] = '\n'; 171 buffer[linelen + 1] = '\0'; 172 return (linelen); 178 if (linelen > 0 && 179 buffer[linelen [all...] |
/illumos-gate/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 | 80 int linelen = *linelenp, newlinelen; local 82 if (linelen == 0 || *line == '+' || *line == '-') 86 limit = line + linelen; 114 newlinelen = linelen + idlen - olduidlen - oldgidlen - 1;
|