/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | getservent.c | 39 const char *limit, *linep, *keyp; local 42 linep = line; 47 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { 49 linep++; 51 if (*keyp == '\0' && linep < limit && isspace(*linep)) { 59 while (linep < limit && !isspace(*linep)) 128 const char *limit, *linep, *keyp, *numstart; local [all...] |
H A D | ether_addr.c | 52 const char *limit, *linep, *keyp; local 53 linep = line; 57 while (linep < limit && isspace(*linep)) 58 linep++; 60 while (linep < limit && !isspace(*linep)) 61 linep++; 63 while (linep < limit && isspace(*linep)) 109 const char *limit, *linep; local [all...] |
H A D | getpwnam.c | 47 const char *linep, *limit; local 50 linep = line; 56 while (*keyp && linep < limit && *keyp == *linep) { 58 linep++; 60 return (linep < limit && *keyp == '\0' && *linep == ':'); 74 const char *linep, *limit, *end; local 77 linep = line; 84 while (linep < limi 120 char *linep, *limit, *uidp, *gidp; local [all...] |
H A D | getprojent.c | 36 const char *linep, *limit, *end; local 38 linep = line; 45 while (linep < limit && *linep++ != ':'); 46 if (linep == limit) 50 end = linep; 51 id = (uint_t)strtol(linep, (char **)&end, 10); 52 if (linep == end) 74 const char *linep, *limit, *end; local 76 linep [all...] |
H A D | tsol_gettpent.c | 36 const char *limit, *linep, *keyp; local 38 linep = line; 43 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) { 45 linep++; 47 if (*keyp == '\0' && linep < limit && *linep == ':')
|
H A D | getgrent.c | 46 const char *linep, *limit; local 49 linep = line; 55 while (*keyp && linep < limit && *keyp == *linep) { 57 linep++; 59 return (linep < limit && *keyp == '\0' && *linep == ':'); 73 const char *linep, *limit, *end; local 76 linep = line; 83 while (linep < limi 120 char *linep, *limit, *gidp; local [all...] |
H A D | getnetent.c | 51 const char *limit, *linep, *addrstart; local 56 linep = line; 60 while (linep < limit && !isspace(*linep)) 61 linep++; 63 while (linep < limit && isspace(*linep)) 64 linep++; 65 if (linep == limit) 68 addrstart = linep; [all...] |
H A D | getprotoent.c | 48 const char *limit, *linep; local 50 linep = line; 54 while (linep < limit && !isspace(*linep)) 55 linep++; 57 while (linep < limit && isspace(*linep)) 58 linep++; 59 if (linep == limit) 61 proto = (int)strtol(linep, NUL [all...] |
H A D | getrpcent.c | 48 const char *limit, *linep; local 50 linep = line; 54 while (linep < limit && !isspace(*linep)) 55 linep++; 57 while (linep < limit && isspace(*linep)) 58 linep++; 59 if (linep == limit) 61 r_number = (int)strtol(linep, NUL [all...] |
H A D | tsol_getrhent.c | 37 const char *limit, *linep, *keyp; local 41 linep = line; 46 if (strstr(linep, "\\:") != NULL) 60 while (*keyp && linep < limit && *keyp == *linep) { 61 if ((ipv6 == 0 && *linep == ':') || 62 (ipv6 == 1 && prev != '\\' && *linep == ':')) 65 prev = *linep; 67 linep++; 69 if (*keyp == '\0' && linep < limi [all...] |
H A D | getprinter.c | 41 const char *limit, *linep; local 45 linep = line; 51 while (linep+klen < limit && *linep != '|' && *linep != ':') { 52 if ((strncmp(linep, keyp, klen) == 0) && 53 ((*(linep + klen) == '|') || (*(linep + klen) == ':'))) { 56 while (linep < limit && *linep ! [all...] |
H A D | getspent.c | 34 const char *linep = line; local 40 while (*keyp && linelen-- && *keyp == *linep) { 42 linep++; 44 return (linelen && *keyp == '\0' && *linep == ':');
|
H A D | netmasks.c | 51 const char *limit, *linep, *addrstart; local 56 linep = line; 60 while (linep < limit && isspace(*linep)) 61 linep++; 63 addrstart = linep; 64 while (linep < limit && !isspace(*linep)) 65 linep++; 66 if (linep [all...] |
H A D | gethostent.c | 150 const char *limit, *linep, *addrstart; local 153 linep = line; 155 addrstart = linep; 156 while (linep < limit && !isspace(*linep)) { 157 if (*linep == ':') 159 linep++; 161 addrlen = linep - addrstart; 212 const char *limit, *linep, *keyp, *addrstart; local 215 linep [all...] |
H A D | getexecattr.c | 117 const char *limit, *linep, *keyp; local 138 linep = line; 145 while (*keyp && linep < limit && 146 *linep != ':' && *keyp == *linep) { 148 linep++; 150 if (*keyp || linep == limit || *linep != ':') 154 while (linep < limit && *linep ! [all...] |
H A D | files_common.c | 312 const char *linep, *limit, *end; local 314 linep = line; 320 while (linep < limit && *linep++ != ':') /* skip username */ 322 while (linep < limit && *linep++ != ':') /* skip password */ 324 if (linep == limit) 328 end = linep; 329 id = (uint_t)strtoul(linep, (char **)&end, 10); 332 if (linep 1222 files_linetab_t *linep; local 1377 const char *linep, *limit; local 1400 const char *limit, *linep, *keyp; local [all...] |
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getservent.c | 73 const char *limit, *linep, *keyp; local 76 linep = (const char *)argp->buf.buffer; 77 limit = linep + strlen(argp->buf.buffer); 81 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { 83 linep++; 85 if (*keyp == '\0' && linep < limit && isspace(*linep)) { 93 while (linep < limi 227 const char *limit, *linep, *keyp, *numstart; local [all...] |
H A D | getpwnam.c | 62 char *linep, *limit, *uidp, *gidp, *newline; local 69 linep = *linepp; 70 limit = linep + linelen; 73 if (linelen == 0 || *linep == '+' || *linep == '-') 76 while (linep < limit && *linep++ != ':') /* skip username */ 78 while (linep < limit && *linep++ != ':') /* skip password */ 80 if (linep [all...] |
H A D | getgrent.c | 71 char *linep, *limit, *gidp, *newline; local 76 linep = *linepp; 77 limit = linep + linelen; 80 if (linelen == 0 || *linep == '+' || *linep == '-') 83 while (linep < limit && *linep++ != ':') /* skip groupname */ 85 while (linep < limit && *linep++ != ':') /* skip password */ 87 if (linep [all...] |
/osnet-11/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_util.c | 59 char *linep; local 69 linep = linebuf; 74 (void) snprintf(linep, bufleft, "0x%08x ", byte_count); 75 len = strlen(linep); 77 linep += len; 84 (void) snprintf(linep, bufleft, "%02X", (unsigned int) 87 len = strlen(linep); 89 linep += len; 93 *linep = '-'; 95 *linep [all...] |
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_tab.c | 55 md_tab_line_t *linep = &tabp->lines[line]; local 57 if (linep->context != NULL) 58 Free(linep->context); 59 if (linep->cname != NULL) 60 Free(linep->cname); 61 if (linep->argv != NULL) { 62 assert(linep->alloc > 0); 63 Free(linep->argv); 76 md_tab_line_t *linep, 82 if (argc < linep 75 realloc_argv( md_tab_line_t *linep, size_t argc ) argument 163 md_tab_line_t *linep; local 341 md_tab_line_t *linep = &tabp->lines[line]; local [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | nsparse.c | 131 _nsw_getoneconfig_v1(const char *name, char *linep, enum __nsw_parse_err *errp) argument 132 /* linep Nota Bene: not const char * */ 151 /* linep points to a naming service name */ 156 if (*linep == '\0' || *linep == '\n') { 178 if (tokenp = skip(&linep, '[')) { /* got criteria */ 181 if (!islabel(*linep)) 190 /* linep points to a switch_err */ 195 if ((tokenp = skip(&linep, '=')) == NULL) { 200 if (!islabel(*linep)) 325 _nsw_getoneconfig(const char *name, char *linep, enum __nsw_parse_err *errp) argument 516 char *linep; local 614 char *linep; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | menu_entry.c | 88 init_line (struct line *linep) argument 90 linep->len = 0; 91 linep->max_len = 80; /* XXX */ 92 linep->buf = grub_malloc (linep->max_len + 1); 93 if (! linep->buf) 101 ensure_space (struct line *linep, int extra) argument 103 if (linep->max_len < linep->len + extra) 105 linep 116 get_logical_num_lines(struct line *linep, struct per_term_screen *term_screen) argument 123 print_line(struct line *linep, int offset, int start, int y, struct per_term_screen *term_screen) argument 211 struct line *linep; local 478 struct line *linep = screen->lines + i; local 535 struct line *linep; local 592 struct line *linep; local 620 struct line *linep; local 675 struct line *linep; local 707 struct line *linep; local 753 struct line *linep; local 778 struct line *linep; local 866 struct line *linep; local 1007 struct line *linep; local [all...] |
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | getpwent.c | 74 char *linep, *limit, *uidp, *gidp; local 84 linep = line; 87 while (linep < limit && *linep++ != ':') /* skip username */ 89 while (linep < limit && *linep++ != ':') /* skip password */ 91 if (linep == limit) 94 uidp = linep; 95 uidl = strtoul(uidp, (char **)&linep, 10); /* grab uid */ 96 olduidlen = linep [all...] |
H A D | getgrent.c | 69 char *linep, *limit, *gidp; local 77 linep = line; 80 while (linep < limit && *linep++ != ':') /* skip groupname */ 82 while (linep < limit && *linep++ != ':') /* skip password */ 84 if (linep == limit) 87 gidp = linep; 88 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */ 89 oldgidlen = linep [all...] |