Home
last modified time | relevance | path

Searched refs:cp2 (Results 1 – 25 of 139) sorted by relevance

123456

/netbsd/usr.bin/mail/
H A Dsupport.c208 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 Dtty.c93 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 Dlist.c113 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 Dmime_decode.c149 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 Dmodules.c331 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 Dcmds.c93 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 Ddomacro.c51 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 Dcmds.c1980 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 Dns_sign.c185 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 Dns_sign.c188 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 Dclock.c125 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 Dfat.c258 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 Dpty.c67 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 Dhostfile.c761 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 Dcompat.c145 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 Dstrcasecmp.c55 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 Dgayle_pcmcia.c479 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 Dres_query.c406 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 Dres_query.c437 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 Dcompat_ns_ntoa.c56 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 Dradix.c191 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 Dfmt.c214 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 Ddba.c315 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 Dccdconfig.c166 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 Dcn9132-db.dtsi22 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 {

123456