/netbsd/usr.bin/mail/ |
H A D | support.c | 208 char *cp, *cp2; in gethfield() local 456 char *cp, *cp2; in skin() local 486 *cp2++ = c; in skin() 488 *cp2++ = c; in skin() 537 *cp2++ = c; in skin() 547 *cp2 = 0; in skin() 584 *cp2 = '\0'; in name1() 609 *cp2 = '\0'; in name1() 649 cp2--; in nameof() 650 while (cp2 > cp && *cp2 != '!') in nameof() [all …]
|
H A D | tty.c | 93 char *cp, *cp2; in readtty() local 128 cp2 = cp; in readtty() 139 *cp2++ = c; in readtty() 141 *cp2 = '\0'; in readtty() 157 cp2 = cp; in readtty() 164 cp2[-1] = c; in readtty() 167 cp2--; in readtty() 174 cp2[-1] = c; in readtty() 177 cp2 = canonb; in readtty() 180 *cp2++ = c; in readtty() [all …]
|
H A D | list.c | 113 cp2 = linebuf; in getrawlist() 133 *cp2++ = c; in getrawlist() 154 *cp2++ = c; in getrawlist() 169 *cp2++ = c; in getrawlist() 175 *cp2++ = c; in getrawlist() 177 *cp2 = '\0'; in getrawlist() 321 char *cp, *cp2; in scan() local 358 *cp2++ = c; in scan() 361 *cp2 = '\0'; in scan() 411 *cp2++ = c; in scan() [all …]
|
H A D | mime_decode.c | 149 char *cp2; in get_param() local 152 cp2 = dst; in get_param() 183 while (cp2 > lastq && is_WSP(cp2[-1])) in get_param() 184 cp2--; in get_param() 185 *cp2 = '\0'; in get_param() 216 char *cp2; in cparam() local 219 istrcpy(cp2, cp2); in cparam() 220 return cp2; in cparam() 1094 !is_WSP(*cp2) && *cp2 != ':'; in get_folded_hfield() 1095 cp2++) in get_folded_hfield() [all …]
|
/netbsd/external/gpl2/xcvs/dist/src/ |
H A D | modules.c | 331 char *cp2; in my_module() local 340 *cp2 = '\0'; in my_module() 345 while (cp2 > value && isspace ((unsigned char) *--cp2)) in my_module() 346 *cp2 = '\0'; in my_module() 850 *cp2 = '\0'; in save_d() 859 if (*(cp2 + 1) == 's' && *(cp2 + 2) == ' ') in save_d() 863 cp2 += 3; in save_d() 865 while (*cp2 != ' ' && *cp2 != '\0') in save_d() 866 cp2++; in save_d() 870 cp = cp2; in save_d() [all …]
|
/netbsd/usr.sbin/lpr/lpc/ |
H A D | cmds.c | 93 char *cp1, *cp2; in doabort() local 104 cp2 = bp; in doabort() 227 cp2 = bp; in clean() 364 cp2 = bp; in enable() 435 cp2 = bp; in disable() 500 cp2 = bp; in down() 614 cp2 = bp; in restart() 651 cp2 = bp; in startcmd() 707 cp2 = bp; in status() 803 cp2 = bp; in stop() [all …]
|
/netbsd/usr.bin/ftp/ |
H A D | domacro.c | 51 char *cp1, *cp2, line2[FTPBUFLEN]; in domacro() local 76 cp2 = line; in domacro() 80 *cp2++ = *++cp1; in domacro() 89 (void)strlcpy(cp2, argv[j+1], in domacro() 90 sizeof(line) - (cp2 - line)); in domacro() 91 cp2 += strlen(argv[j+1]); in domacro() 99 (void)strlcpy(cp2, argv[count], in domacro() 100 sizeof(line) - (cp2 - line)); in domacro() 101 cp2 += strlen(argv[count]); in domacro() 107 *cp2++ = *cp1; in domacro() [all …]
|
H A D | cmds.c | 1980 char *cp2 = dst; in dotrans() local 1999 *cp2++ = *cp1; in dotrans() 2003 *cp2 = '\0'; in dotrans() 2052 switch (*cp2) { in domap() 2059 if (*(cp2+1) >= '1' && (*cp2+1) <= '9') { in domap() 2067 cp2++; in domap() 2081 cp2++; in domap() 2088 cp2 = dst; in domap() 2089 *cp2 = '\0'; in domap() 2202 *cp2++ = *cp1; in domap() [all …]
|
/netbsd/external/bsd/libbind/dist/nameser/ |
H A D | ns_sign.c | 185 cp2 = buf; in ns_sign2() 186 PUTSHORT(ns_c_any, cp2); in ns_sign2() 187 PUTLONG(0, cp2); in ns_sign2() 197 cp2 = buf; in ns_sign2() 200 PUTLONG(timesigned, cp2); in ns_sign2() 202 PUTLONG(in_timesigned, cp2); in ns_sign2() 210 PUTLONG(timesigned, cp2); in ns_sign2() 285 u_char buf[MAXDNAME], *cp2; in ns_sign_tcp2() local 352 cp2 = buf; in ns_sign_tcp2() 354 PUTLONG(timesigned, cp2); in ns_sign_tcp2() [all …]
|
/netbsd/lib/libresolv/ |
H A D | ns_sign.c | 188 cp2 = buf; in ns_sign2() 189 PUTSHORT(ns_c_any, cp2); in ns_sign2() 190 PUTLONG(0, cp2); in ns_sign2() 200 cp2 = buf; in ns_sign2() 203 PUTLONG(timesigned, cp2); in ns_sign2() 205 PUTLONG(in_timesigned, cp2); in ns_sign2() 213 PUTLONG(timesigned, cp2); in ns_sign2() 288 u_char buf[MAXDNAME], *cp2; in ns_sign_tcp2() local 356 cp2 = buf; in ns_sign_tcp2() 358 PUTLONG(timesigned, cp2); in ns_sign_tcp2() [all …]
|
/netbsd/external/bsd/am-utils/dist/amd/ |
H A D | clock.c | 125 callout *cp, *cp2; in timeout() local 143 for (cp = &callouts; (cp2 = cp->c_next); cp = cp2) in timeout() 144 if (cp2->c_time >= t) in timeout() 151 cpnew->c_next = cp2; in timeout() 166 callout *cp, *cp2; in untimeout() local 167 for (cp = &callouts; (cp2 = cp->c_next); cp = cp2) { in untimeout() 168 if (cp2->c_id == id) { in untimeout() 169 cp->c_next = cp2->c_next; in untimeout() 170 free_callout(cp2); in untimeout()
|
/netbsd/sbin/fsck_msdos/ |
H A D | fat.c | 258 if (*cp2 == CLUST_FREE || *cp2 >= CLUST_RSRVD) { in clustdiffer() 260 && *cp2 != CLUST_FREE && *cp2 < CLUST_BAD) in clustdiffer() 273 *cp2 = *cp1; in clustdiffer() 277 *cp1 = *cp2; in clustdiffer() 285 *cp1 = *cp2; in clustdiffer() 289 *cp2 = *cp1; in clustdiffer() 294 if (*cp2 == CLUST_FREE || *cp2 >= CLUST_RSRVD) { in clustdiffer() 298 *cp2 = *cp1; in clustdiffer() 302 *cp1 = *cp2; in clustdiffer() 310 *cp2 = *cp1; in clustdiffer() [all …]
|
/netbsd/lib/libutil/ |
H A D | pty.c | 67 const char *cp1, *cp2, *cp, *linep; in openpty() local 103 for (cp = cp2 = TTY_OLD_SUFFIX TTY_NEW_SUFFIX; *cp2; cp2++) { in openpty() 105 line[9] = *cp2; in openpty() 109 if ((size_t)(cp2 - cp + 1) < sizeof(TTY_OLD_SUFFIX)) in openpty()
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | hostfile.c | 761 char *cp, *cp2; in hostkeys_foreach_file() local 807 for (cp2 = cp; *cp2 && *cp2 != ' ' && *cp2 != '\t'; cp2++) in hostkeys_foreach_file() 810 *cp2++ = '\0'; in hostkeys_foreach_file() 850 for (; *cp2 == ' ' || *cp2 == '\t'; cp2++) in hostkeys_foreach_file() 852 if (*cp2 == '\0' || *cp2 == '#') { in hostkeys_foreach_file() 857 lineinfo.rawkey = cp = cp2; in hostkeys_foreach_file() 898 cp2 += l; /* Skip past key type */ in hostkeys_foreach_file() 899 for (; *cp2 == ' ' || *cp2 == '\t'; cp2++) in hostkeys_foreach_file() 901 if (*cp2 == '\0' || *cp2 == '#') { in hostkeys_foreach_file()
|
H A D | compat.c | 145 char *cp = NULL, *cp2 = NULL; in compat_kex_proposal() local 155 if ((cp2 = match_filter_denylist(cp ? cp : p, in compat_kex_proposal() 160 cp = cp2; in compat_kex_proposal()
|
/netbsd/external/bsd/am-utils/dist/libamu/ |
H A D | strcasecmp.c | 55 const unsigned char *cp2 = (const unsigned char *)s2; in strcasecmp() local 57 while (tolower(*cp1) == tolower(*cp2++)) in strcasecmp() 60 return (tolower(*cp1) - tolower(*--cp2)); in strcasecmp()
|
/netbsd/sys/arch/amiga/dev/ |
H A D | gayle_pcmcia.c | 479 volatile u_int8_t *cp2; in pcmio_bsrr1() local 484 cp2 = (volatile u_int8_t *) h + o; in pcmio_bsrr1() 487 cp2 = (volatile u_int8_t *) h + o + 0x10000 + 2; in pcmio_bsrr1() 497 cp1 = cp2; in pcmio_bsrr1() 498 cp2 = temp; in pcmio_bsrr1() 507 volatile u_int8_t *cp2; in pcmio_bswr1() local 512 cp2 = (volatile u_int8_t *) h + o; in pcmio_bswr1() 515 cp2 = (volatile u_int8_t *) h + o + 0x10000 + 2; in pcmio_bswr1() 525 cp1 = cp2; in pcmio_bswr1() 526 cp2 = temp; in pcmio_bswr1()
|
/netbsd/external/bsd/libbind/dist/resolv/ |
H A D | res_query.c | 406 char *file, *cp1, *cp2; in res_hostalias() local 428 for (cp2 = cp1 + 1; *cp2 && in res_hostalias() 429 !isspace((unsigned char)*cp2); ++cp2) in res_hostalias() 431 *cp2 = '\0'; in res_hostalias()
|
/netbsd/lib/libc/resolv/ |
H A D | res_query.c | 437 char *file, *cp1, *cp2; in res_hostalias() local 464 for (cp2 = cp1 + 1; *cp2 && in res_hostalias() 465 !isspace((unsigned char)*cp2); ++cp2) in res_hostalias() 467 *cp2 = '\0'; in res_hostalias()
|
/netbsd/lib/libc/compat/net/ |
H A D | compat_ns_ntoa.c | 56 char *cp2; in ns_ntoa() local 63 cp2 = cp + 1; in ns_ntoa() 77 cp = spectHex(cp2); in ns_ntoa()
|
/netbsd/sbin/routed/ |
H A D | radix.c | 191 int length = min(*(u_char *)cp, *(u_char *)cp2); in rn_satisfies_leaf() 197 cplim = cp + length; cp3 += skip; cp2 += skip; in rn_satisfies_leaf() 198 for (cp += skip; cp < cplim; cp++, cp2++, cp3++) in rn_satisfies_leaf() 199 if ((*cp ^ *cp2) & *cp3) in rn_satisfies_leaf() 210 caddr_t cp = v, cp2; in rn_match() local 240 for (; cp < cplim; cp++, cp2++) in rn_match() 241 if (*cp != *cp2) in rn_match() 361 caddr_t cp2 = t->rn_key + head_off; in rn_insert() local 366 if (*cp2++ != *cp++) in rn_insert() 369 if (!(t->rn_flags & RNF_ROOT) || *(cp2-1) == 0) { in rn_insert() [all …]
|
/netbsd/usr.bin/fmt/ |
H A D | fmt.c | 214 wchar_t *cp, *cp2; in fmt() local 306 for (cp2 = cbuf.ptr - 1; cp2 >= cbuf.bptr && *cp2 == ' '; cp2--) in fmt() 308 cbuf.ptr = cp2 + 1; in fmt()
|
/netbsd/external/bsd/mdocml/dist/ |
H A D | dba.c | 315 const char *cp1, *cp2; in compare_names() local 319 cp2 = *(const char * const *)vp2; 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 330 cp2 = *(const char * const *)vp2; in compare_strings() 331 return strcmp(cp1, cp2); in compare_strings()
|
/netbsd/sbin/ccdconfig/ |
H A D | ccdconfig.c | 166 char *ccd, *cp, *cp2, **disks; in do_single() local 221 ileave = (int)strtol(cp, &cp2, 10); in do_single() 222 if ((errno == ERANGE) || (ileave < 0) || (*cp2 != '\0')) { in do_single() 273 if ((cp2 = strrchr(disks[ui], '/')) != NULL) in do_single() 274 ++cp2; in do_single() 276 cp2 = disks[ui]; in do_single() 278 ui == 0 ? '(' : ' ', cp2, in do_single()
|
/netbsd/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/marvell/ |
H A D | cn9132-db.dtsi | 22 regulator-name = "cp2-xhci0-vbus"; 36 regulator-name = "cp2-xhci1-vbus"; 77 #define CP11X_NAME cp2 195 cp2_i2c0_pins: cp2-i2c-pins-0 { 199 cp2_sdhci_pins: cp2-sdhi-pins-0 {
|