Searched refs:cp1 (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Ddomacro.c41 char *cp1, *cp2, line2[200]; local
61 cp1 = macros[i].mac_start;
62 while (cp1 != macros[i].mac_end) {
63 while (isspace((unsigned char)*cp1)) {
64 cp1++;
67 while (*cp1 != '\0') {
69 switch(*cp1) {
73 *cp2++ = *++cp1;
76 if (isdigit((unsigned char)*(cp1+1))) {
78 while (isdigit((unsigned char)*++cp1)) {
[all...]
H A Dcmds.c1719 char *cp1, *cp2 = new; local
1724 for (cp1 = name; *cp1; cp1++) {
1727 if (*cp1 == *(ntin + i)) {
1736 *cp2++ = *cp1;
1779 char *cp1 = name, *cp2 = mapin; local
1786 while (match && *cp1 && *cp2) {
1789 if (*++cp2 != *cp1) {
1795 if (*cp1 !
[all...]
/freebsd-9.3-release/contrib/tnftp/src/
H A Ddomacro.c58 char *cp1, *cp2, line2[FTPBUFLEN]; local
79 cp1 = macros[i].mac_start;
80 while (cp1 != macros[i].mac_end) {
81 while (isspace((unsigned char)*cp1))
82 cp1++;
84 while (*cp1 != '\0') {
85 switch(*cp1) {
87 *cp2++ = *++cp1;
90 if (isdigit((unsigned char)*(cp1+1))) {
92 while (isdigit((unsigned char)*++cp1))
[all...]
H A Dcmds.c1968 const char *cp1; local
1974 for (cp1 = src; *cp1; cp1++) {
1977 if (*cp1 == *(ntin + i)) {
1988 *cp2++ = *cp1;
2032 const char *cp1 = src; local
2040 while (match && *cp1 && *cp2) {
2043 if (*++cp2 != *cp1) {
2049 if (*cp1 !
[all...]
/freebsd-9.3-release/usr.bin/xlint/lint2/
H A Dmsg.c89 const char *cp, *cp1, *cp2; local
94 cp = cp1 = cp2 = path;
97 cp2 = cp1;
98 cp1 = cp;
101 return (*cp1 == '\0' ? cp2 : cp1);
/freebsd-9.3-release/usr.sbin/pkg_install/add/
H A Dfutil.c36 char *cp1, *cp2; local
39 cp1 = cp2 = dir + 1;
41 cp1 = cp2 = dir;
43 if ((cp2 = strchr(cp1, '/')) !=NULL )
64 cp1 = cp2 + 1;
/freebsd-9.3-release/usr.bin/xlint/lint1/
H A Derr.c393 const char *cp, *cp1, *cp2; local
398 cp = cp1 = cp2 = path;
401 cp2 = cp1;
402 cp1 = cp;
405 return (*cp1 == '\0' ? cp2 : cp1);
/freebsd-9.3-release/usr.sbin/sade/
H A Ddmenu.c95 char *cp1, *cp2; local
98 for (cp1 = copy; cp1 != NULL;) {
99 cp2 = index(cp1, ',');
101 variable_set(cp1, *cp1 != '_');
102 cp1 = cp2;
197 char *w, *cp1, *cp2; local
209 for (cp1 = copy; cp1 !
[all...]
/freebsd-9.3-release/sys/geom/
H A Dgeom_fox.c78 struct g_consumer *cp1; local
95 cp1 = LIST_NEXT(sc->opath, consumer);
130 cp1 = LIST_FIRST(&gp->consumer);
132 if (cp1 == NULL)
133 cp1 = LIST_FIRST(&gp->consumer);
135 cp1->provider->name, gp->name);
136 error = g_access(cp1, sc->cr, sc->cw, sc->ce);
142 cp1->provider->name, gp->name);
143 sc->opath = cp1;
147 cp1
290 struct g_consumer *cp1; local
[all...]
H A Dgeom_ccd.c166 struct g_consumer *cp1, *cp2; local
174 LIST_FOREACH(cp1, &gp->consumer, consumer) {
175 error = g_access(cp1, dr, dw, de);
178 if (cp1 == cp2)
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Ddmenu.c101 char *cp1, *cp2; local
104 for (cp1 = copy; cp1 != NULL;) {
105 cp2 = index(cp1, ',');
107 variable_set(cp1, *cp1 != '_');
108 cp1 = cp2;
241 char *w, *cp1, *cp2; local
253 for (cp1 = copy; cp1 !
[all...]
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_query.c451 char *file, *cp1, *cp2; local
465 for (cp1 = buf; *cp1 && !isspace((unsigned char)*cp1); ++cp1)
467 if (!*cp1)
469 *cp1 = '\0';
471 while (isspace((unsigned char)*++cp1))
473 if (!*cp1)
475 for (cp2 = cp1
[all...]
/freebsd-9.3-release/sbin/fsck_msdosfs/
H A Dfat.c334 clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, u_int fatnum) argument
336 if (*cp1 == CLUST_FREE || *cp1 >= CLUST_RSRVD) {
338 if ((*cp1 != CLUST_FREE && *cp1 < CLUST_BAD
340 || (*cp1 > CLUST_BAD && *cp2 > CLUST_BAD)) {
342 cl, rsrvdcltype(*cp1));
344 *cp2 = *cp1;
350 cl, rsrvdcltype(*cp1), rsrvdcltype(*cp2), fatnum);
352 *cp2 = *cp1;
[all...]
/freebsd-9.3-release/usr.bin/systat/
H A Dvmstat.c198 char *cp, *cp1, *cp2, *intrnamebuf, *nextcp; local
243 for (cp1 = nextcp - 1; cp1 > cp && *(cp1 - 1) == ' '; )
244 *--cp1 = '\0';
248 cp1 = cp + 3;
249 while (isdigit((u_char)*cp1))
250 cp1++;
251 if (cp1 != cp && *cp1
[all...]
/freebsd-9.3-release/sys/geom/concat/
H A Dg_concat.c172 struct g_consumer *cp1, *cp2, *tmp; local
187 LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
188 error = g_access(cp1, dr, dw, de);
191 disk = cp1->private;
192 if (cp1->acr == 0 && cp1->acw == 0 && cp1->ace == 0 &&
201 if (cp1 == cp2)
574 struct g_consumer *cp, *cp1; local
596 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
[all...]
/freebsd-9.3-release/usr.sbin/lpr/lpc/
H A Dcmds.c253 char *cp1, *cend; local
260 cp1 = buf;
264 while ((cp1 < cend) && (*cp1++ = *cp2++))
266 cp1[-1] = ' ';
268 cp1[-1] = '\n';
269 *cp1 = '\0';
655 char *cp, *cp1, *lp; local
726 cp1 = queue[i + 1]->d_name;
727 if (*cp1 !
[all...]
/freebsd-9.3-release/contrib/bmake/
H A Dcond.c869 char *cp1;
908 for (cp1 = cp; isspace(*(unsigned char *)cp1); cp1++)
910 if (*cp1 == '=' || *cp1 == '!')
861 char *cp1; local
/freebsd-9.3-release/usr.bin/xlint/xlint/
H A Dxlint.c264 const char *cp, *cp1, *cp2; local
266 cp = cp1 = cp2 = strg;
269 cp2 = cp1;
270 cp1 = cp;
273 return (*cp1 == '\0' ? cp2 : cp1);
/freebsd-9.3-release/sys/geom/stripe/
H A Dg_stripe.c213 struct g_consumer *cp1, *cp2, *tmp; local
230 LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
231 error = g_access(cp1, dr, dw, de);
234 if (cp1->acr == 0 && cp1->acw == 0 && cp1->ace == 0 &&
235 cp1->private != NULL) {
236 g_stripe_remove_disk(cp1); /* May destroy geom. */
243 if (cp1 == cp2)
854 struct g_consumer *cp, *cp1; local
[all...]
/freebsd-9.3-release/sys/boot/ficl/
H A Dvm.c773 int strincmp(char *cp1, char *cp2, FICL_UNS count) argument
777 for (; 0 < count; ++cp1, ++cp2, --count)
779 i = tolower(*cp1) - tolower(*cp2);
782 else if (*cp1 == '\0')
/freebsd-9.3-release/usr.sbin/pkg_install/lib/
H A Dplist.c555 char *cp1, *cp2; local
557 cp1 = cp2 = strdup(dir);
580 if ((cp2 = strrchr(cp1, '/')) != NULL)
592 cp1 = strdup(dir);
/freebsd-9.3-release/sys/dev/sound/pci/
H A Dmaestro.c1149 int cp1, cp2, diff /*, halfsize*/ ; local
1152 cp1 = wp_rdapu(ch->parent, (ch->num << 1) | 32, APUREG_CURPTR);
1154 if (cp1 != cp2) {
1155 diff = (cp1 > cp2 ? cp1 - cp2 : cp2 - cp1);
1157 AGG_WR(ch->parent, PORT_DSP_DATA, cp1, 2);
1165 int cp1, cp2, diff /*, halfsize*/ ; local
1168 cp1 = (ch->stereo? ch->parent->bufsz >> 2 : ch->parent->bufsz >> 1)
1171 if (cp1 !
[all...]
/freebsd-9.3-release/contrib/cvs/src/
H A Dpatch.c407 char *cp1, *cp2; local
652 (cp1 = strchr (line1, '\t')) == NULL ||
666 (cp1 = strchr (line1, '\t')) == NULL ||
719 cvs_output (cp1, 0);
732 cvs_output (cp1, 0);
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_script.c752 register char *cp1, *cp2; local
761 for (cp1 = "pqrs"; *cp1; cp1++) {
762 line[8] = *cp1;
/freebsd-9.3-release/usr.sbin/syslogd/
H A Dsyslogd.c2199 char *cp1, *cp2; local
2212 if (*s != '[' || (cp1 = strchr(s + 1, ']')) == NULL)
2214 cp1 = s;
2215 if ((cp1 = strrchr(cp1, ':'))) {
2217 *cp1++ = '\0';
2218 if (strlen(cp1) == 1 && *cp1 == '*')
2221 else if ((se = getservbyname(cp1, "udp"))) {
2224 ap.port = strtol(cp1,
[all...]

Completed in 264 milliseconds

12