Searched refs:cp (Results 1 - 25 of 1789) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dasctime.c26 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 Datof.c34 atof(cp)
35 char *cp;
37 return strtod(cp, (char **) NULL);
H A Dstrptime.c40 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 Dmntent.c51 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 Dfree_krbhs.c39 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 Dtst.Abort.ksh39 java -cp test.jar TestAbort
H A Dtst.Close.ksh38 java -cp test.jar TestClose
H A Dtst.Drop.ksh38 java -cp test.jar TestDrop 3
H A Dtst.Enable.ksh40 java -cp test.jar TestEnable
H A Dtst.GetAggregate.ksh36 java -cp test.jar TestGetAggregate
H A Dtst.StateMachine.ksh40 java -cp test.jar TestStateMachine
H A Dtst.StopLock.ksh39 java -cp test.jar TestStopLock
/illumos-gate/usr/src/ucbcmd/printenv/
H A Dprintenv.c51 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 Dtputs.c42 * Put the character string cp out, with padding.
52 _tpad(char *cp, int affcnt, int (*outc)(char x)) argument
55 char *icp = cp;
75 cp += 2;
78 if (isdigit(*cp)) {
80 delay = delay * 10 + *cp++ - '0';
81 while (isdigit(*cp));
84 if (*cp == '.') {
85 cp++;
86 if (isdigit(*cp))
146 tputs(char *cp, int affcnt, int (*outc)(char)) argument
[all...]
H A Dlongname.c53 char *cp = strrchr(ttytype, '|'); local
55 if (cp)
56 return (++cp);
H A Dtgoto.c54 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 Dsnoop_socks.c35 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 Dfullname.c32 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/uts/common/fs/zfs/lua/
H A Dlcompat.c26 const char *cp; local
31 cp = str;
32 while (*cp == ' ' || *cp == '\t' || *cp == '\n') {
33 cp++;
35 is_negative = (*cp == '-');
37 cp++;
41 if (*cp == '0') {
43 cp
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Datof.c40 atof(const char *cp) argument
42 return (strtod(cp, (char **)NULL));
H A Dctime.c93 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 Dtputs.c59 * 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/common/util/
H A Dgetoptstr.h50 #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 Dcallb.h119 * 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 Dstabs.c40 static void parseline(char *cp);
41 static char *soudef(char *cp, enum type type, struct tdesc **rtdp);
42 static void enumdef(char *cp, struct tdesc **rtdp);
46 static char *number(char *cp, int *n);
47 static char *name(char *cp, char **w);
48 static char *id(char *cp, int *h);
49 static char *offsize(char *cp, struct mlist *mlp);
50 static char *whitesp(char *cp);
53 static void tagdecl(char *cp, struct tdesc **rtdp, int h, char *w);
54 static char *tdefdecl(char *cp, in
65 debug(int level, char *cp, char *fmt, ...) argument
110 char *cp = fgets(linebuf, MAXLINE, stdin); local
126 char *cp = get_line(); local
142 char *cp; local
162 parseline(char *cp) argument
262 whitesp(char *cp) argument
274 name(char *cp, char **w) argument
301 number(char *cp, int *n) argument
312 id(char *cp, int *h) argument
354 tagdecl(char *cp, struct tdesc **rtdp, int h, char *w) argument
399 tdefdecl(char *cp, int h, struct tdesc **rtdp) argument
539 intrinsic(char *cp, struct tdesc **rtdp) argument
555 soudef(char *cp, enum type type, struct tdesc **rtdp) argument
622 offsize(char *cp, struct mlist *mlp) argument
640 arraydef(char *cp, struct tdesc **rtdp) argument
681 enumdef(char *cp, struct tdesc **rtdp) argument
[all...]

Completed in 91 milliseconds

1234567891011>>