Searched refs:cp2 (Results 1 - 25 of 68) sorted by relevance

123

/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c52 char *cur, *last, *cp1, *cp2, *ep, *t; local
74 cp2 = scanpastnum(cp1);
76 cp2 = cp1;
78 if (*cp2 == 't' || *cp2 == 'n' ||
79 *cp2 == ' ') {
81 cp1 = cp2 + 1;
92 cp2 = scanpastnum(cp1);
93 if (*cp2 == '+' || *cp2
128 char *cp2; local
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dutil.c63 register char *cp, *cp2, *top; local
70 for (cp = str, cp2 = top; *cp; cp++)
71 *cp2++ = *cp;
72 *cp2 = 0;
176 register char *cp, *cp2; local
207 cp2 = line2;
208 for (cp2 = line2; *cp2 != 0 && isspace(*cp2); cp2
295 register char *cp, *cp2; local
431 register char *cp, *cp2; local
597 register char *cp, *cp2; local
667 char *cp, *cp2; local
778 char *cp, *cp2; local
797 char *cp, *cp2; local
[all...]
H A Dtty.c179 register char *cp2; local
196 cp2 = src==NOSTR ? "" : src;
197 for (cp=canonb; *cp2; cp++, cp2++)
198 *cp = *cp2;
567 register char *cp, *cp2; local
595 cp2 = cp;
596 while (cp2 < canonb + LINESIZE)
597 *cp2++ = 0;
598 cp2
[all...]
H A Dlist.c440 char **ap, *cp, *cp2; local
450 cp2 = linebuf;
458 *cp2++ = *cp++;
462 *cp2++ = *++cp;
475 *cp2++ = *cp++;
478 *cp2 = '\0';
479 if (cp2 == linebuf)
517 char *cp, *cp2; local
528 cp2 = lexstring;
558 *cp2
695 char *cp, *cp2, *backup; local
[all...]
H A Doptim.c232 register char *cp, *cp2; local
238 for (cp = machine, cp2 = nbuf;
239 *cp && cp2 < &nbuf[BUFSIZ-1];
240 *cp2++ = tolower(*cp++))
242 *cp2 = 0;
552 register char *cp, *cp2; local
562 cp2 = netcomp;
564 *cp2++ = *cp++;
565 *cp2 = 0;
603 if ((cp2
628 register char *cp, *cp2; local
770 register char *cp, *cp2; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Ddomacro.c54 register char *cp1, *cp2; local
92 cp2 = line;
99 memcpy(cp2, cp1, len);
100 cp2 += len;
110 (void) strcpy(cp2, argv[j+1]);
111 cp2 += strlen(argv[j+1]);
119 (void) strcpy(cp2, argv[count]);
120 cp2 += strlen(argv[count]);
128 memcpy(cp2, cp1, len);
129 cp2
[all...]
H A Dcmds.c1809 char *cp1, *cp2 = new; local
1820 *cp2++ = *(ntout + i);
1826 *cp2++ = *cp1;
1829 *cp2 = '\0';
1878 char *cp1 = name, *cp2 = mapin; local
1887 while (match && *cp1 && *cp2) {
1893 if ((len2 = mbtowc(&wc2, cp2, MB_CUR_MAX)) <= 0) {
1894 wc2 = (unsigned char)*cp2;
1897 cp2 += len2;
1901 if ((len2 = mbtowc(&wc2, cp2, MB_CUR_MA
[all...]
/illumos-gate/usr/src/cmd/newtask/
H A Dutils.c144 char *cp2, *strip_ptr = NULL; local
148 cp2 = tmp_cp = cp + varlen;
153 while ((*cp2 != '\0') &&
154 (*cp2 != ' ') && (*cp2 != '\t') &&
155 !((*cp2 == ';') && (inquotes == 0))) {
156 if (*cp2 == '\"' || *cp2 == '\'') {
157 if (*cp2 == '\"') {
162 strip_ptr = cp2;
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Durl.c577 char *cp2; local
619 cp2 = url2;
623 *cp2++ = *cp++;
629 *cp2++ = *cp++; /* copy first '?' */
636 *cp2++ = *attrs++;
646 *cp2++ = *cp++;
651 *cp2++ = ',';
653 *cp2++ = *attrs++;
661 *cp2++ = '?';
663 *cp2
[all...]
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c168 wchar_t *cp, *cp2; local
209 cp2 = canonb;
213 if (cp2-canonb < BUFSIZ-1)
214 *cp2++ = c;
218 if (cp2-canonb < BUFSIZ-1)
219 *cp2++ = L' ';
228 for (cp2--; cp2 >= canonb && *cp2 == L' '; cp2
389 wchar_t *cp, *cp2; local
428 wchar_t *cp, *cp2, prev; local
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcomm.c68 register char *cp1, *cp2; local
72 if(cp2 = sfgetr(in2,'\n',0))
74 while(cp1 && cp2)
77 if((comp=memcmp(cp1,cp2,n-1))==0 && (comp=n1-n2)==0)
92 if(cp2 = sfgetr(in2,'\n',0))
101 if(sfwrite(out,cp2,n2) < 0)
104 if(cp2 = sfgetr(in2,'\n',0))
116 if(cp2)
118 cp1 = cp2;
H A Djoin.c636 #define outrec(p,n) (sfprintf(sfstdout, "[R#%d,%d,%lld,%lld:%-.*s{%d}:%-.*s{%d}]", __LINE__, i1=n, lo, hi, jp->file[0].fieldlen, cp1, jp->file[0].hit, jp->file[1].fieldlen, cp2, jp->file[1].hit), outrec(p, i1))
643 register unsigned char* cp2; local
653 if ((cp1 = getrec(jp, 0, 0)) && (cp2 = getrec(jp, 1, 0)) || (cp2 = 0))
662 if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)))
664 sfprintf(sfstdout, "[C#%d:%d(%c-%c),%d,%lld,%lld%s]", __LINE__, cmp, *cp1, *cp2, same, lo, hi, (jp->outmode & C_COMMON) ? ",COMMON" : "");
667 if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2,
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_sign.c153 u_char buf[NS_MAXCDNAME], *cp2; local
177 cp2 = buf;
178 PUTSHORT(ns_c_any, cp2);
179 PUTLONG(0, cp2);
180 dst_sign_data(SIG_MODE_UPDATE, key, &ctx, buf, cp2-buf,
189 cp2 = buf;
190 PUTSHORT(0, cp2); /*%< Top 16 bits of time */
192 PUTLONG(timesigned, cp2);
194 PUTLONG(in_timesigned, cp2);
195 PUTSHORT(NS_TSIG_FUDGE, cp2);
277 u_char buf[MAXDNAME], *cp2; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dscandir.c43 char *cp1, *cp2; local
75 for (cp1 = p->d_name, cp2 = d->d_name; *cp1++ = *cp2++; );
/illumos-gate/usr/src/cmd/backup/dump/
H A Dunctime.c77 char *cp, *cp2; local
79 for (cp = months, cp2 = str; *cp != 0; cp += 3)
80 if (strncmp(cp, cp2, 3) == 0)
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c78 char *cp1, *cp2; local
111 for (cp1 = p->d_name, cp2 = d->d_name; *cp1++ = *cp2++; )
145 char *cp1, *cp2; local
181 for (cp1 = p->d_name, cp2 = d->d_name; *cp1++ = *cp2++; )
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dlogger.c553 char *cp, *cp2;
610 for (cp2 = &logging_specs[i][strlen(logging_specs[i])-1];
611 isspace((int) *cp2); cp2--);
612 cp2++;
613 *cp2 = '\0';
702 cp2 = strchr(&cp[7], ':');
703 if (cp2) {
704 savec = *cp2;
705 *cp2
550 char *cp, *cp2; local
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dlogger.c554 char *cp, *cp2;
611 for (cp2 = &logging_specs[i][strlen(logging_specs[i])-1];
612 isspace((int) *cp2); cp2--);
613 cp2++;
614 *cp2 = '\0';
703 cp2 = strchr(&cp[7], ':');
704 if (cp2) {
705 savec = *cp2;
706 *cp2
551 char *cp, *cp2; local
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dstatfs.c118 char *cp, *cp2; local
141 cp2 = sfs.f_fname;
145 *cp2++ = *cp++;
147 *cp2++ = '\0';
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dparse.cc147 char *cp2; local
173 if (cp2 = strchr(cp, '=')) {
174 *cp2++ = '\0';
176 val = cp2;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dexpand.c101 register char *sp, *cp, *cp2; local
166 cp2 = strtok(cp, ":");
167 if(!cp2)
168 cp2=cp;
172 stakputs(cp2);
173 if(cp2 = strtok(NULL, ":"))
175 *(cp2-1)=':';
178 } while(cp2);
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c64 char *tokp, *cp1, *cp2; local
132 for (cp2 = cp1; cp2 < &tokp[length]; cp2++)
133 *cp2 = *(cp2 + 1);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_query.c399 char *file, *cp1, *cp2; local
421 for (cp2 = cp1 + 1; *cp2 &&
422 !isspace((unsigned char)*cp2); ++cp2)
424 *cp2 = '\0';
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c152 char *cp, *cp2; local
168 if ((cp2 = strchr(cp, ' ')) == NULL)
169 cp2 = cp + strlen(cp);
171 *cp2++ = '\0';
175 if (altroot != NULL && strlcpy(altroot, cp2, altlen) >= altlen)
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c1639 char *cp, *cp2, *end; local
1670 end = cp2 = cp + strlen(cp) - 1;
1671 for (; cp2 > cp && (*cp2 == SPACETOK || *cp2 == QUOTETOK); cp2--)
1674 if (cp2 != end) {
1675 tcp = (char *)calloc((int)(cp2 - cp + 2), sizeof (char));
1678 end = cp2;
1679 cp2
[all...]

Completed in 292 milliseconds

123