/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | asctime.c | 26 char *cp, *ncp; local 29 cp = cbuf; 30 for (ncp = "Day Mon 00 00:00:00 1900\n"; *cp++ = *ncp++;); 32 cp = cbuf; 33 *cp++ = *ncp++; 34 *cp++ = *ncp++; 35 *cp++ = *ncp++; 36 cp++; 39 *cp++ = *ncp++; 40 *cp 53 ct_numb(char *cp, int n) argument [all...] |
H A D | atof.c | 34 atof(cp) 35 char *cp; 37 return strtod(cp, (char **) NULL);
|
H A D | strptime.c | 40 static char *strmatch(/*char *cp, char *string*/); 41 static char *yearmatch(/*char *cp, char *format, struct tm *tm, 43 static char *cvtnum(/*char *cp, int *nump*/); 55 register char *cp, *p; local 64 cp = buf; 70 if (*cp++ != '%') 77 if ((p = strmatch(cp, 80 || (p = strmatch(cp, 89 cp = p; 96 if ((p = strmatch(cp, [all...] |
H A D | mntent.c | 51 unsigned char *cp = (unsigned char *) *p; local 54 while (*cp && isspace(*cp)) 55 cp++; 56 retstr = cp; 57 while (*cp && !isspace(*cp)) 58 cp++; 59 if (*cp) { 60 *cp 71 unsigned char *cp = (unsigned char *) *p; local 93 char *cp; local 185 unsigned char *cp = (unsigned char *) *p; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | free_krbhs.c | 39 register char * const *cp; local 41 for (cp = hostlist; *cp; cp++) 42 free(*cp);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/ |
H A D | tst.Abort.ksh | 39 java -cp test.jar TestAbort
|
H A D | tst.Close.ksh | 38 java -cp test.jar TestClose
|
H A D | tst.Drop.ksh | 38 java -cp test.jar TestDrop 3
|
H A D | tst.Enable.ksh | 40 java -cp test.jar TestEnable
|
H A D | tst.GetAggregate.ksh | 36 java -cp test.jar TestGetAggregate
|
H A D | tst.StateMachine.ksh | 40 java -cp test.jar TestStateMachine
|
H A D | tst.StopLock.ksh | 39 java -cp test.jar TestStopLock
|
/illumos-gate/usr/src/ucbcmd/printenv/ |
H A D | printenv.c | 51 static int prefix(char *cp, char *dp); 64 char *cp = *ep; local 68 while (*cp && *cp != '=') 69 cp++; 70 if (*cp == '=') 71 cp++; 73 (void) printf("%s\n", cp); 79 prefix(char *cp, char *dp) argument 82 while (*cp [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tputs.c | 41 * Put the character string cp out, with padding. 51 _tpad(char *cp, int affcnt, int (*outc)(char x)) argument 54 char *icp = cp; 74 cp += 2; 77 if (isdigit(*cp)) { 79 delay = delay * 10 + *cp++ - '0'; 80 while (isdigit(*cp)); 83 if (*cp == '.') { 84 cp++; 85 if (isdigit(*cp)) 145 tputs(char *cp, int affcnt, int (*outc)(char)) argument [all...] |
H A D | longname.c | 53 char *cp = strrchr(ttytype, '|'); local 55 if (cp) 56 return (++cp);
|
H A D | tgoto.c | 54 char *cp; local 56 cp = tparm_p2(cap, row, col); 57 return (cp);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_socks.c | 35 static void put_method(char *cp, int method); 36 static void put_socks5_addr(char *cp, const unsigned char *buf, int fraglen); 37 static void put_socks4_res(char *cp, int code); 38 static void put_socks5_res(char *cp, int code); 47 char *cp; local 52 cp = get_sum_line(); 63 (void) sprintf(cp, 68 cp += strlen(cp); 70 (void) sprintf(cp, " Use 259 char *cp; local 344 put_method(char *cp, int method) argument 365 put_socks5_addr(char *cp, const unsigned char *buf, int fraglen) argument 418 put_socks4_res(char *cp, int code) argument 439 put_socks5_res(char *cp, int code) argument [all...] |
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | fullname.c | 32 char *cp; local 37 cp = def; /* start of answer */ 39 *cp++ = *bp++; /* copy name over */ 41 *cp = 0; /* zero end of name */
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atof.c | 40 atof(const char *cp) argument 42 return (strtod(cp, (char **)NULL));
|
H A D | ctime.c | 93 ct_numb(char *cp, int n, char pad) argument 95 cp++; 97 *cp++ = (n / 10) % 10 + '0'; 99 *cp++ = pad; 100 *cp++ = n % 10 + '0'; 101 return (cp); 111 char *cp; local 119 cp = cbuf; 120 for (ncp = Date; *cp++ = *ncp++; /* */) 123 cp [all...] |
/illumos-gate/usr/src/ucblib/libtermcap/ |
H A D | tputs.c | 59 * Put the character string cp out, with padding. 69 tputs(char *cp, int affcnt, int (*outc)(char)) argument 74 if (cp == 0) 80 if (isdigit(*cp)) { 82 i = i * 10 + *cp++ - '0'; 83 while (isdigit(*cp)); 86 if (*cp == '.') { 87 cp++; 88 if (isdigit(*cp)) 89 i += *cp [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | mntent.c | 54 char *cp = *p; local 57 while (*cp && isspace(*cp)) 58 cp++; 59 retstr = cp; 60 while (*cp && !isspace(*cp)) 61 cp++; 62 if (*cp) 64 *cp 76 char *cp = *p; local 100 char *cp; local [all...] |
/illumos-gate/usr/src/common/util/ |
H A D | getoptstr.h | 50 #define SKIP_WORD(cp) while (*cp != '\0' && !ISSPACE(*cp)) ++cp; 51 #define SKIP_SPC(cp) while (ISSPACE(*cp)) ++cp;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | callb.h | 119 * cp - ptr to the callb_cpr_t structure for this kernel thread 131 * Note: lockp is the lock to protect the callb_cpr_t (cp) structure 134 #define CALLB_CPR_INIT(cp, lockp, func, name) { \ 135 bzero((caddr_t)(cp), sizeof (callb_cpr_t)); \ 136 (cp)->cc_lockp = lockp; \ 137 (cp)->cc_id = callb_add(func, (void *)(cp), \ 142 #define CALLB_CPR_ASSERT(cp) ASSERT(MUTEX_HELD((cp)->cc_lockp)); 144 #define CALLB_CPR_ASSERT(cp) [all...] |
/illumos-gate/usr/src/tools/stabs/ |
H A D | stabs.c | 42 static void parseline(char *cp); 43 static char *soudef(char *cp, enum type type, struct tdesc **rtdp); 44 static void enumdef(char *cp, struct tdesc **rtdp); 48 static char *number(char *cp, int *n); 49 static char *name(char *cp, char **w); 50 static char *id(char *cp, int *h); 51 static char *offsize(char *cp, struct mlist *mlp); 52 static char *whitesp(char *cp); 55 static void tagdecl(char *cp, struct tdesc **rtdp, int h, char *w); 56 static char *tdefdecl(char *cp, in 67 debug(int level, char *cp, char *fmt, ...) argument 113 char *cp = fgets(linebuf, MAXLINE, stdin); local 129 char *cp = get_line(); local 145 char *cp; local 165 parseline(char *cp) argument 265 whitesp(char *cp) argument 277 name(char *cp, char **w) argument 304 number(char *cp, int *n) argument 315 id(char *cp, int *h) argument 357 tagdecl(char *cp, struct tdesc **rtdp, int h, char *w) argument 402 tdefdecl(char *cp, int h, struct tdesc **rtdp) argument 542 intrinsic(char *cp, struct tdesc **rtdp) argument 558 soudef(char *cp, enum type type, struct tdesc **rtdp) argument 625 offsize(char *cp, struct mlist *mlp) argument 643 arraydef(char *cp, struct tdesc **rtdp) argument 684 enumdef(char *cp, struct tdesc **rtdp) argument [all...] |