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

12

/freebsd-10.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;
1784 char *cp1 = name, *cp2 = mapin; local
1791 while (match && *cp1 && *cp2) {
1794 if (*++cp2 != *cp1) {
1800 if (*cp1 !
[all...]
/freebsd-10.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-10.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-10.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-10.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-10.3-release/lib/libfigpar/
H A Dstring_m.c271 char *cp1; local
275 cp1 = cp2 = source;
277 *cp1 = *cp2;
283 *(--cp1) = (backslash & 1) == 1 ? '\n' : 'n';
286 cp1++;
289 *cp1 = *cp2;
/freebsd-10.3-release/usr.bin/xlint/lint1/
H A Derr.c403 const char *cp, *cp1, *cp2; local
408 cp = cp1 = cp2 = path;
411 cp2 = cp1;
412 cp1 = cp;
415 return (*cp1 == '\0' ? cp2 : cp1);
/freebsd-10.3-release/lib/libc/resolv/
H A Dres_query.c453 char *file, *cp1, *cp2; local
467 for (cp1 = buf; *cp1 && !isspace((unsigned char)*cp1); ++cp1)
469 if (!*cp1)
471 *cp1 = '\0';
473 while (isspace((unsigned char)*++cp1))
475 if (!*cp1)
477 for (cp2 = cp1
[all...]
/freebsd-10.3-release/sbin/fsck_msdosfs/
H A Dfat.c336 clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, u_int fatnum) argument
338 if (*cp1 == CLUST_FREE || *cp1 >= CLUST_RSRVD) {
340 if ((*cp1 != CLUST_FREE && *cp1 < CLUST_BAD
342 || (*cp1 > CLUST_BAD && *cp2 > CLUST_BAD)) {
344 cl, rsrvdcltype(*cp1));
346 *cp2 = *cp1;
352 cl, rsrvdcltype(*cp1), rsrvdcltype(*cp2), fatnum);
354 *cp2 = *cp1;
[all...]
/freebsd-10.3-release/usr.bin/systat/
H A Dvmstat.c199 char *cp, *cp1, *cp2, *intrnamebuf, *nextcp; local
241 for (cp1 = nextcp - 1; cp1 > cp && *(cp1 - 1) == ' '; )
242 *--cp1 = '\0';
246 cp1 = cp + 3;
247 while (isdigit((u_char)*cp1))
248 cp1++;
249 if (cp1 != cp && *cp1
[all...]
/freebsd-10.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)
609 struct g_consumer *cp, *cp1; local
631 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
[all...]
/freebsd-10.3-release/usr.sbin/lpr/lpc/
H A Dcmds.c262 char *cp1, *cend; local
269 cp1 = buf;
273 while ((cp1 < cend) && (*cp1++ = *cp2++))
275 cp1[-1] = ' ';
277 cp1[-1] = '\n';
278 *cp1 = '\0';
664 char *cp, *cp1, *lp; local
735 cp1 = queue[i + 1]->d_name;
736 if (*cp1 !
[all...]
/freebsd-10.3-release/contrib/bmake/
H A Dcond.c892 char *cp1;
931 for (cp1 = cp; isspace(*(unsigned char *)cp1); cp1++)
933 if (*cp1 == '=' || *cp1 == '!')
884 char *cp1; local
/freebsd-10.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-10.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)
887 struct g_consumer *cp, *cp1; local
[all...]
/freebsd-10.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-10.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-10.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-10.3-release/usr.sbin/syslogd/
H A Dsyslogd.c2217 char *cp1, *cp2; local
2230 if (*s != '[' || (cp1 = strchr(s + 1, ']')) == NULL)
2232 cp1 = s;
2233 if ((cp1 = strrchr(cp1, ':'))) {
2235 *cp1++ = '\0';
2236 if (strlen(cp1) == 1 && *cp1 == '*')
2239 else if ((se = getservbyname(cp1, "udp"))) {
2242 ap.port = strtol(cp1,
[all...]
/freebsd-10.3-release/sys/compat/linprocfs/
H A Dlinprocfs.c528 char *cp1, *cp2;
532 cp1 = strstr(osbuild, "\n");
534 if (cp1 && cp2) {
535 *cp1 = *cp2 = '\0';
536 cp1 = strstr(osbuild, "#");
538 cp1 = NULL;
539 if (cp1)
540 sbuf_printf(sb, "%s%s", cp1, cp2 + 1);
/freebsd-10.3-release/sys/geom/multipath/
H A Dg_multipath.c253 struct g_consumer *cp1; local
274 LIST_FOREACH(cp1, &gp->consumer, consumer) {
275 pp = cp1->provider;
645 struct g_consumer *cp, *cp1; local
660 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
666 if (cp1 == NULL)
1246 struct g_consumer *cp, *cp1; local
1271 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
1285 if (cp1 == NULL)
/freebsd-10.3-release/sys/geom/shsec/
H A Dg_shsec.c193 struct g_consumer *cp1, *cp2; local
224 LIST_FOREACH(cp1, &gp->consumer, consumer) {
225 error = g_access(cp1, dr, dw, de);
232 if (cp1 == cp2)

Completed in 250 milliseconds

12