/illumos-gate/usr/src/cmd/autopush/ |
H A D | autopush.c | 513 parse_line(char *linep, int lineno, char *namep, struct strapush *pushp) in parse_line() argument 527 for (wp = linep; isspace(*wp); wp++) in parse_line()
|
/illumos-gate/usr/src/cmd/bdiff/ |
H A D | bdiff.c | 325 saverest(char **linep, size_t *bufsizp, FILE *iptr) in saverest() argument 332 lp = *linep; in saverest() 335 (void) fputs(*linep, temptr); in saverest() 337 lp = readline(linep, bufsizp, iptr); in saverest() 344 putsave(char **linep, size_t *bufsizp, char type) in putsave() argument 353 while (readline(linep, bufsizp, temptr)) in putsave() 354 (void) printf("%c %s", type, *linep); in putsave()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 264 update_line(line_t *linep) in update_line() argument 269 BAM_DPRINTF(("%s: line before update: %s\n", fcn, linep->line)); in update_line() 270 free(linep->line); in update_line() 271 size = strlen(linep->cmd) + strlen(linep->sep) + strlen(linep->arg) + 1; in update_line() 272 linep->line = s_calloc(1, size); in update_line() 273 (void) snprintf(linep->line, size, "%s%s%s", linep->cmd, linep->sep, in update_line() 274 linep->arg); in update_line() 275 BAM_DPRINTF(("%s: line after update: %s\n", fcn, linep->line)); in update_line()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 501 static char *linep; variable 511 linep = line + strlen(line); 513 if (linep != line) 580 if (linep + n + 1 > line + sizeof(line)) { in pr_log() 582 linep = line; in pr_log() 584 (void) strlcpy(linep, buf, line + sizeof(line) - linep); in pr_log() 585 linep += n; in pr_log()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 157 parse_quote(char **linep, /* look here */ in parse_quote() argument 167 pc = *linep; in parse_quote() 217 *linep = pc-1; /* say where we ended */ in parse_quote()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | common.c | 781 char *linep = NULL; local 786 if ((linep = (char *)malloc(BUFSIZ)) == NULL) { 798 if ((linep = (char *) 799 realloc(linep, (increment + 1) * BUFSIZ)) == NULL) { 805 linep[index++] = c; 807 linep[index] = '\0'; 808 passwd = linep;
|
H A D | ldapsearch.c | 302 char *linep = NULL; in main() local 307 if ((linep = (char *)malloc(BUFSIZ)) == NULL) { in main() 319 if ((linep = (char *) in main() 320 realloc(linep, (increment + 1) * BUFSIZ)) == NULL) { in main() 326 linep[index++] = c; in main() 334 linep[index] = '\0'; in main() 342 linep ); in main() 343 free (linep); in main()
|
/illumos-gate/usr/src/cmd/line/ |
H A D | line.c | 52 char *linep, *linend; in main() local 55 linep = line; in main() 59 if (linep == linend) { in main() 61 linep = line; in main() 63 *linep++ = c; in main() 67 (void) write(1, line, linep-line); in main()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_nswparse.c | 206 if (*linep == '\0' || *linep == '\n') { in _nsw_getoneconfig_v1() 231 if (!islabel(*linep)) in _nsw_getoneconfig_v1() 250 if (!islabel(*linep)) in _nsw_getoneconfig_v1() 254 p = labelskip(linep); in _nsw_getoneconfig_v1() 273 else if (strcasecmp(linep, in _nsw_getoneconfig_v1() 294 ntimes = atoi(linep); in _nsw_getoneconfig_v1() 334 linep = spaceskip(p); in _nsw_getoneconfig_v1() 335 if (*linep == '\0' || *linep == '\n') in _nsw_getoneconfig_v1() 339 linep = p; in _nsw_getoneconfig_v1() 347 p = labelskip(linep); in _nsw_getoneconfig_v1() [all …]
|
H A D | nscd_switch.h | 405 char *linep,
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n7.c | 114 *linep = dip->nls = 0; in tbreak() 428 if (linep >= line + lnsize - 1) { in storeline() 444 *linep++ = c; in storeline() 722 if (*--linep != IMP) 732 if ((i = cbits(*(linep - 1))) != '-' && i != EMDASH) { 733 *linep = (*(linep - 1) & SFMASK) | HYPHEN; 734 w = width(*linep); 737 linep++; 746 w = width(*linep); 772 linep = line;
|
H A D | tdef.h | 488 #define linep env._linep macro
|
/illumos-gate/usr/src/cmd/ypcmd/mknetid/ |
H A D | getname.c | 85 getname(name, namelen, ignore, sep, linep, com) in getname() argument 90 char **linep; 97 lp = *linep; 102 *linep = lp - 1; 119 *linep = lp; 122 *linep = lp;
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_util.c | 57 char *linep; in ddump() local 67 linep = linebuf; in ddump() 75 linep += len; in ddump() 87 linep += len; in ddump() 91 *linep = '-'; in ddump() 96 ++linep; in ddump() 111 linep++; in ddump() 117 *linep = ' '; in ddump() 119 ++linep; in ddump() 128 *linep = ch; in ddump() [all …]
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | libc.h | 185 char *linep, enum __nsw_parse_err *); 187 char *linep, enum __nsw_parse_err *);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nsparse.c | 158 if (*linep == '\0' || *linep == '\n') { in _nsw_getoneconfig_v1() 184 if (!islabel(*linep)) in _nsw_getoneconfig_v1() 287 if (*linep == '\0' || *linep == '\n') in _nsw_getoneconfig_v1() 291 linep = p; in _nsw_getoneconfig_v1() 353 if (*linep == '\0' || *linep == '\n') { in _nsw_getoneconfig() 448 if (*linep == '\0' || *linep == '\n') in _nsw_getoneconfig() 452 linep = p; in _nsw_getoneconfig() 520 char *linep; in __nsw_getconfig_v1() local 564 if ((*linep == '\0') || isspace(*linep)) { in __nsw_getconfig_v1() 621 char *linep; in __nsw_getconfig() local [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 41 static int next_line( char **bufp, long *blenp, char **linep ); 95 next_line( char **bufp, long *blenp, char **linep ) in next_line() argument 132 *linep = NULL; in next_line() 137 *linep = NULL; in next_line() 143 *linep = line; in next_line()
|
/illumos-gate/usr/src/lib/libnsl/netselect/ |
H A D | netselect.c | 324 char linep[BUFSIZ]; /* pointer to a line in the file */ in fgetnetconfig() local 331 while (retvalp = fgets(linep, BUFSIZ, fp)) { in fgetnetconfig() 333 if (!(blank(linep) || comment(linep))) { in fgetnetconfig() 343 if ((entnetid = gettoken(linep, FALSE)) == NULL) { in fgetnetconfig()
|
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 303 parse_line(char *linep, int minflds, int maxflds, int bufsiz) in parse_line() argument 305 char **fpp = calloc(maxflds, sizeof (linep)); in parse_line() 320 if (!nextfield(&linep, cp, bufsiz)) { in parse_line()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 355 char *pos, *spos, *linep = NULL, *olinep; in read_for_group() local 402 if (!(linep = malloc(olen + len + 1))){ in read_for_group() 412 memcpy(linep, olinep, olen); in read_for_group() 415 memcpy(linep + olen, pos, len); in read_for_group() 417 *(linep + olen) = '\0'; in read_for_group() 418 olinep = linep; in read_for_group() 428 lp->l_line = linep; in read_for_group()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 264 char *linep, *retp = NULL; in __ns_nsw_getconfig() local 273 while (linep = fgets(lineq, BUFSIZ, fp)) { in __ns_nsw_getconfig() 279 if ((comment = strchr(linep, '#')) != NULL) { in __ns_nsw_getconfig() 282 if ((*linep == '\0') || isspace(*linep)) { in __ns_nsw_getconfig() 286 if ((tokenp = strstr(linep, db_colon)) == NULL) { in __ns_nsw_getconfig()
|
H A D | ns_standalone.c | 299 while (isspace(*linep)) { in get_db() 300 ++linep; in get_db() 302 if (*linep == '#') { in get_db() 308 if ((linep = strchr(linep, ':')) != NULL) { in get_db() 309 if (linep[strlen(linep) - 1] == '\n') { in get_db() 310 linep[strlen(linep) - 1] = '\0'; in get_db() 313 while (isspace(*++linep)) in get_db() 322 if (strlen(linep) == 0) { in get_db() 331 if (linep == NULL) { in get_db() 360 strlen(linep) + 1); in get_db() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getgrent.c | 69 char *linep, *limit, *gidp; in validate_group_ids() local 77 linep = line; in validate_group_ids() 80 while (linep < limit && *linep++ != ':') /* skip groupname */ in validate_group_ids() 82 while (linep < limit && *linep++ != ':') /* skip password */ in validate_group_ids() 84 if (linep == limit) in validate_group_ids() 87 gidp = linep; in validate_group_ids() 88 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */ in validate_group_ids() 89 oldgidlen = linep - gidp; in validate_group_ids() 90 if (linep >= limit || oldgidlen == 0) in validate_group_ids() 101 (void) bcopy(linep, gidp + idlen, limit - linep + extra_chars); in validate_group_ids()
|
H A D | getpwent.c | 75 char *linep, *limit, *uidp, *gidp; in validate_passwd_ids() local 85 linep = line; in validate_passwd_ids() 88 while (linep < limit && *linep++ != ':') /* skip username */ in validate_passwd_ids() 90 while (linep < limit && *linep++ != ':') /* skip password */ in validate_passwd_ids() 92 if (linep == limit) in validate_passwd_ids() 95 uidp = linep; in validate_passwd_ids() 97 olduidlen = linep - uidp; in validate_passwd_ids() 101 gidp = linep; in validate_passwd_ids() 103 oldgidlen = linep - gidp; in validate_passwd_ids() 104 if (linep >= limit || oldgidlen == 0) in validate_passwd_ids() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | ether_addr.c | 58 while (linep < limit && isspace(*linep)) in check_host() 59 linep++; in check_host() 61 while (linep < limit && !isspace(*linep)) in check_host() 62 linep++; in check_host() 64 while (linep < limit && isspace(*linep)) in check_host() 65 linep++; in check_host() 73 linep++; in check_host() 119 while (linep < limit && isspace(*linep)) in check_ether() 120 linep++; in check_ether() 124 while (linep < limit && isxdigit(*linep)) { in check_ether() [all …]
|