/freebsd/contrib/tnftp/src/ |
H A D | domacro.c | 58 char *cp1, *cp2, line2[FTPBUFLEN]; in domacro() local 79 cp1 = macros[i].mac_start; in domacro() 80 while (cp1 != macros[i].mac_end) { in domacro() 81 while (isspace((unsigned char)*cp1)) in domacro() 82 cp1++; in domacro() 84 while (*cp1 != '\0') { in domacro() 85 switch(*cp1) { in domacro() 87 *cp2++ = *++cp1; in domacro() 90 if (isdigit((unsigned char)*(cp1+1))) { in domacro() 92 while (isdigit((unsigned char)*++cp1)) in domacro() [all …]
|
H A D | cmds.c | 1967 const char *cp1; in dotrans() local 1973 for (cp1 = src; *cp1; cp1++) { in dotrans() 1976 if (*cp1 == *(ntin + i)) { in dotrans() 1987 *cp2++ = *cp1; in dotrans() 2031 const char *cp1 = src; in domap() local 2039 while (match && *cp1 && *cp2) { in domap() 2042 if (*++cp2 != *cp1) { in domap() 2048 if (*cp1 != *(++cp2+1)) { in domap() 2050 tp[toknum] = cp1; in domap() 2051 while (*++cp1 && *(cp2+1) in domap() [all …]
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | domacro.c | 41 char *cp1, *cp2, line2[200]; in domacro() local 61 cp1 = macros[i].mac_start; in domacro() 62 while (cp1 != macros[i].mac_end) { in domacro() 63 while (isspace((unsigned char)*cp1)) { in domacro() 64 cp1++; in domacro() 67 while (*cp1 != '\0') { in domacro() 69 switch(*cp1) { in domacro() 73 *cp2++ = *++cp1; in domacro() 76 if (isdigit((unsigned char)*(cp1+1))) { in domacro() 78 while (isdigit((unsigned char)*++cp1)) { in domacro() [all …]
|
H A D | cmds.c | 1719 char *cp1, *cp2 = new; in dotrans() local 1724 for (cp1 = name; *cp1; cp1++) { in dotrans() 1727 if (*cp1 == *(ntin + i)) { in dotrans() 1736 *cp2++ = *cp1; in dotrans() 1784 char *cp1 = name, *cp2 = mapin; in domap() local 1791 while (match && *cp1 && *cp2) { in domap() 1794 if (*++cp2 != *cp1) { in domap() 1800 if (*cp1 != *(++cp2+1)) { in domap() 1802 tp[toknum] = cp1; in domap() 1803 while (*++cp1 && *(cp2+1) in domap() [all …]
|
/freebsd/lib/libc/resolv/ |
H A D | res_query.c | 447 char *file, *cp1, *cp2; in res_hostalias() local 459 for (cp1 = buf; *cp1 && !isspace((unsigned char)*cp1); ++cp1) in res_hostalias() 461 if (!*cp1) in res_hostalias() 463 *cp1 = '\0'; in res_hostalias() 465 while (isspace((unsigned char)*++cp1)) in res_hostalias() 467 if (!*cp1) in res_hostalias() 469 for (cp2 = cp1 + 1; *cp2 && in res_hostalias() 473 strncpy(dst, cp1, siz - 1); in res_hostalias()
|
/freebsd/lib/libfigpar/ |
H A D | string_m.c | 266 char *cp1; in strexpandnl() local 270 cp1 = cp2 = source; in strexpandnl() 272 *cp1 = *cp2; in strexpandnl() 278 *(--cp1) = (backslash & 1) == 1 ? '\n' : 'n'; in strexpandnl() 281 cp1++; in strexpandnl() 284 *cp1 = *cp2; in strexpandnl()
|
/freebsd/usr.bin/systat/ |
H A D | vmstat.c | 194 char *cp, *cp1, *cp2, *intrnamebuf, *nextcp; in initkre() local 227 for (cp1 = nextcp - 1; cp1 > cp && *(cp1 - 1) == ' '; ) in initkre() 228 *--cp1 = '\0'; in initkre() 232 cp1 = cp + 3; in initkre() 233 while (isdigit((u_char)*cp1)) in initkre() 234 cp1++; in initkre() 235 if (cp1 != cp && *cp1 == ':' && in initkre() 236 *(cp1 + 1) == ' ') { in initkre() 238 *cp1 = '\0'; in initkre() 239 cp1 = cp1 + 2; in initkre() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | dir_rd_update.c | 50 const char *cp1 = ""; in main() local 65 cp1 = argv[1]; in main() 66 if (strlen(cp1) >= (sizeof (dirpath) - strlen("/TMP_DIR"))) { in main() 71 (void) snprintf(dirpath, sizeof (dirpath), "%s/TMP_DIR", cp1); in main()
|
/freebsd/sys/contrib/device-tree/src/arm64/marvell/ |
H A D | armada-8040-db.dts | 57 cp1_reg_usb3_0_vbus: cp1-usb3-0-vbus { 59 regulator-name = "cp1-usb3h0-vbus"; 66 cp1_usb3_0_phy: cp1-usb3-0-phy { 215 phy-names = "cp1-pcie0-x1-phy"; 222 phy-names = "cp1-pcie1-x1-phy"; 229 phy-names = "cp1-pcie2-x1-phy"; 309 phy-names = "cp1-sata0-0-phy"; 313 phy-names = "cp1-sata0-1-phy";
|
H A D | cn9131-db.dtsi | 25 regulator-name = "cp1-xhci0-vbus"; 59 #define CP11X_NAME cp1 169 cp1_i2c0_pins: cp1-i2c-pins-0 { 173 cp1_spi0_pins: cp1-spi-pins-0 { 177 cp1_xhci0_vbus_pins: cp1-xhci0-vbus-pins { 185 cp1_pcie_reset_pins: cp1-pcie-reset-pins {
|
H A D | cn9132-sr-cex7.dtsi | 13 #define CP11X_NAME cp1 456 com_10g_int1_pins: cp1-10g-int-pins { 461 cp1_10g_phy_rst_01_pins: cp1-10g-phy-rst-01-pins { 466 cp1_10g_phy_rst_23_pins: cp1-10g-phy-rst-23-pins { 471 cp1_batlow_pins: cp1-batlow-pins { 476 cp1_rsvd16_pins: cp1-rsvd16-pins { 481 cp1_sata_act_pins: cp1-sata-act-pins { 486 cp1_spi1_pins: cp1-spi1-pins { 491 cp1_thrm_irq_pins: cp1-thrm-irq-pins { 496 cp1_thrm_trip_pins: cp1-thrm-trip-pins { [all …]
|
H A D | cn9131-cf-solidwan.dts | 21 #define CP11X_NAME cp1 584 cp1_led_pins: cp1-led-pins { 589 cp1_m2_1_shutdown_pins: cp1-m2-1-shutdown-pins { 594 cp1_m2_2_shutdown_pins: cp1-m2-2-shutdown-pins { 599 cp1_mdio_pins: cp1-mdio-pins { 604 cp1_rtc_pins: cp1-rtc-pins { 609 cp1_sfp1_pins: cp1-sfp1-pins {
|
H A D | armada-8040-puzzle-m801.dts | 77 sfp_cp1_eth0: sfp-cp1-eth0 { 500 phy-names = "cp1-usb3h0-comphy"; 521 phy-names = "cp1-pcie0-x2-lane0-phy", "cp1-pcie0-x2-lane1-phy";
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | dir_rd_update.c | 51 char *cp1 = ""; in main() local 66 cp1 = argv[1]; in main() 67 (void) strcpy(&dirpath[0], (const char *)cp1); in main()
|
/freebsd/contrib/mandoc/ |
H A D | dba.c | 315 const char *cp1, *cp2; in compare_names() local 318 cp1 = *(const char * const *)vp1; in compare_names() 320 return (diff = *cp2 - *cp1) ? diff : in compare_names() 321 strcasecmp(cp1 + 1, cp2 + 1); in compare_names() 327 const char *cp1, *cp2; in compare_strings() local 329 cp1 = *(const char * const *)vp1; in compare_strings() 331 return strcmp(cp1, cp2); in compare_strings()
|
H A D | mansearch.c | 408 const char *cp1, *cp2; in manpage_compare() local 427 cp1 = strchr(mp1->names + sz1, '/'); in manpage_compare() 429 return cp1 != NULL && cp2 != NULL ? strcasecmp(cp1, cp2) : in manpage_compare() 430 cp1 != NULL ? -1 : cp2 != NULL ? 1 : 0; in manpage_compare()
|
/freebsd/usr.sbin/lpr/lpc/ |
H A D | cmds.c | 250 char *cp1, *cend; in args2line() local 257 cp1 = buf; in args2line() 261 while ((cp1 < cend) && (*cp1++ = *cp2++)) in args2line() 263 cp1[-1] = ' '; in args2line() 265 cp1[-1] = '\n'; in args2line() 266 *cp1 = '\0'; in args2line() 648 char *cp, *cp1, *lp; in clean_q() local 719 cp1 = queue[i + 1]->d_name; in clean_q() 720 if (*cp1 != 'd' || strcmp(cp + 3, cp1 + 3)) in clean_q()
|
/freebsd/sys/geom/shsec/ |
H A D | g_shsec.c | 194 struct g_consumer *cp1, *cp2, *tmp; in g_shsec_access() local 210 LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) { in g_shsec_access() 211 error = g_access(cp1, dr, dw, de); in g_shsec_access() 214 if (cp1->acr == 0 && cp1->acw == 0 && cp1->ace == 0 && in g_shsec_access() 215 cp1->flags & G_CF_ORPHAN) { in g_shsec_access() 216 g_detach(cp1); in g_shsec_access() 217 g_destroy_consumer(cp1); in g_shsec_access() 230 if (cp1 == cp2) in g_shsec_access()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_string_composition.h | 43 uint32_t cp1; 1351 uint32_t cp1; 45 uint32_t cp1; global() member 1353 uint32_t cp1; global() member
|
/freebsd/sys/geom/stripe/ |
H A D | g_stripe.c | 202 struct g_consumer *cp1, *cp2, *tmp; in g_stripe_access() local 219 LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) { in g_stripe_access() 220 error = g_access(cp1, dr, dw, de); in g_stripe_access() 223 if (cp1->acr == 0 && cp1->acw == 0 && cp1->ace == 0 && in g_stripe_access() 224 cp1->private != NULL) { in g_stripe_access() 225 g_stripe_remove_disk(cp1); /* May destroy geom. */ in g_stripe_access() 232 if (cp1 == cp2) in g_stripe_access() 899 struct g_consumer *cp, *cp1; in g_stripe_destroy() 880 struct g_consumer *cp, *cp1; g_stripe_destroy() local [all...] |
/freebsd/sys/geom/concat/ |
H A D | g_concat.c | 173 struct g_consumer *cp1, *cp2, *tmp; in g_concat_access() local 191 LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) { in g_concat_access() 192 error = g_access(cp1, dr, dw, de); in g_concat_access() 195 disk = cp1->private; in g_concat_access() 196 if (cp1->acr == 0 && cp1->acw == 0 && cp1->ace == 0 && in g_concat_access() 207 if (cp1 == cp2) in g_concat_access() 680 struct g_consumer *cp, *cp1; in g_concat_destroy() local 703 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) { in g_concat_destroy() 705 if (cp1 == NULL) in g_concat_destroy()
|
/freebsd/sys/net/ |
H A D | route.c | 589 const u_char *cp1 = (const u_char *)src; in rt_maskedcopy() local 593 u_char *cplim2 = cp2 + *cp1; in rt_maskedcopy() 595 *cp2++ = *cp1++; *cp2++ = *cp1++; /* copies sa_len & sa_family */ in rt_maskedcopy() 600 *cp2++ = *cp1++ & *cp3++; in rt_maskedcopy()
|
/freebsd/stand/ficl/ |
H A D | vm.c | 772 int strincmp(char *cp1, char *cp2, FICL_UNS count) in strincmp() argument 776 for (; 0 < count; ++cp1, ++cp2, --count) in strincmp() 778 i = tolower(*cp1) - tolower(*cp2); in strincmp() 781 else if (*cp1 == '\0') in strincmp()
|
/freebsd/usr.sbin/syslogd/ |
H A D | syslogd.c | 3446 char *cp1, *cp2; in allowaddr() local 3464 if (*s != '[' || (cp1 = strchr(s + 1, ']')) == NULL) in allowaddr() 3466 cp1 = s; in allowaddr() 3467 if ((cp1 = strrchr(cp1, ':'))) { in allowaddr() 3469 *cp1++ = '\0'; in allowaddr() 3470 if (strlen(cp1) == 1 && *cp1 == '*') in allowaddr() 3473 else if ((se = getservbyname(cp1, "udp"))) { in allowaddr() 3476 ap->port = strtol(cp1, &cp2, 0); in allowaddr() 3489 if ((cp1 = strchr(s, '/')) != NULL && in allowaddr() 3490 strspn(cp1 + 1, "0123456789") == strlen(cp1 + 1)) { in allowaddr() [all …]
|
/freebsd/sys/geom/multipath/ |
H A D | g_multipath.c | 269 struct g_consumer *cp1; in g_multipath_resize() local 290 LIST_FOREACH(cp1, &gp->consumer, consumer) { in g_multipath_resize() 291 pp = cp1->provider; in g_multipath_resize() 668 struct g_consumer *cp, *cp1; in g_multipath_destroy() local 683 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) { in g_multipath_destroy() 689 if (cp1 == NULL) in g_multipath_destroy() 1275 struct g_consumer *cp, *cp1; in g_multipath_ctl_remove() local 1300 LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) { in g_multipath_ctl_remove() 1316 if (cp1 == NULL) in g_multipath_ctl_remove()
|