/src/usr.bin/ftp/ |
domacro.c | 51 char *cp1, *cp2, line2[FTPBUFLEN]; local in function:domacro 76 cp2 = line; 80 *cp2++ = *++cp1; 89 (void)strlcpy(cp2, argv[j+1], 90 sizeof(line) - (cp2 - line)); 91 cp2 += strlen(argv[j+1]); 99 (void)strlcpy(cp2, argv[count], 100 sizeof(line) - (cp2 - line)); 101 cp2 += strlen(argv[count]); 107 *cp2++ = *cp1 [all...] |
/src/lib/libc/compat/net/ |
compat_ns_ntoa.c | 56 char *cp2; local in function:ns_ntoa 63 cp2 = cp + 1; 77 cp = spectHex(cp2);
|
/src/lib/libutil/ |
pty.c | 67 const char *cp1, *cp2, *cp, *linep; local in function:openpty 103 for (cp = cp2 = TTY_OLD_SUFFIX TTY_NEW_SUFFIX; *cp2; cp2++) { 105 line[9] = *cp2; 109 if ((size_t)(cp2 - cp + 1) < sizeof(TTY_OLD_SUFFIX))
|
/src/lib/libresolv/ |
ns_sign.c | 164 u_char buf[NS_MAXCDNAME], *cp2; local in function:ns_sign2 188 cp2 = buf; 189 PUTSHORT(ns_c_any, cp2); 190 PUTLONG(0, cp2); 191 dst_sign_data(SIG_MODE_UPDATE, key, &ctx, buf, (int)(cp2 - buf), 200 cp2 = buf; 201 PUTSHORT(0, cp2); /*%< Top 16 bits of time */ 203 PUTLONG(timesigned, cp2); 205 PUTLONG(in_timesigned, cp2); 206 PUTSHORT(NS_TSIG_FUDGE, cp2); 288 u_char buf[MAXDNAME], *cp2; local in function:ns_sign_tcp2 [all...] |
ns_verify.c | 348 u_char *cp, *eom, *cp2; local in function:ns_verify_tcp 454 cp2 = buf; 455 PUTSHORT(0, cp2); /*%< Top 16 bits of time. */ 456 PUTLONG(timesigned, cp2); 457 PUTSHORT(NS_TSIG_FUDGE, cp2); 460 buf, (int)(cp2 - buf), NULL, 0);
|
/src/share/examples/puffs/icfs/ |
icfs.c | 83 char *cp1, *cp2; local in function:icpathcmp 92 cp2 = c2->po_path; 94 if (strncasecmp(cp1 + rplen, cp2 + rplen, clen - rplen) != 0)
|
/src/games/hunt/huntd/ |
answer.c | 70 char *cp1, *cp2; local in function:answer 142 for (cp1 = cp2 = name; *cp1 != '\0'; cp1++) 144 *cp2++ = *cp1; 145 *cp2 = '\0';
|
/src/usr.bin/mail/ |
tty.c | 93 char *cp, *cp2; local in function:readtty 128 cp2 = cp; 129 while (cp2 < canonb + sizeof(canonb) - 1) { 139 *cp2++ = c; 141 *cp2 = '\0'; 157 cp2 = cp; 161 if (cp2 == canonb) 163 if (cp2[-1] == '\\') { 164 cp2[-1] = c; 167 cp2-- [all...] |
names.c | 91 char *cp, *cp2; local in function:yankword 118 for (cp2 = wbuf; *cp && (*cp2++ = *cp++) != '>'; /*EMPTY*/) 121 for (cp2 = wbuf; *cp && !strchr(" \t,(", *cp); *cp2++ = *cp++) 123 *cp2 = '\0';
|
fio.c | 184 const char *cp2; local in function:setptr 257 for (cp = linebuf, cp2 = "status";; cp++) { 258 if ((c = *cp2++) == 0) {
|
support.c | 208 char *cp, *cp2; local in function:gethfield 240 cp2 = skip_WSP(line2); 241 c -= (int)(cp2 - line2); 245 (void)memmove(cp, cp2, (size_t)c); 456 char *cp, *cp2; local in function:skin 471 for (cp = name, cp2 = bufend; (c = *cp++) != '\0'; /*EMPTY*/) { 488 *cp2++ = c; 490 *cp2++ = c; 499 cp += 3, *cp2++ = '@'; 502 cp += 2, *cp2++ = '@' 569 char *cp, *cp2; local in function:name1 648 char *cp, *cp2; local in function:nameof [all...] |
/src/usr.bin/rump_dhcpclient/ |
configure.c | 291 const char *cp, *cp2, *cp3, *cplim; local in function:add_router_host_route 303 cp2 = (const char *)&rtn->dest.s_addr; 307 if ((*cp++ ^ *cp2++) & *cp3++)
|
/src/sys/nfs/ |
nfs_clntsubs.c | 136 char *cp2; local in function:nfsm_loadattrcache 143 error = nfsm_disct(mdp, dposp, NFSX_FATTR(v3), t1, &cp2); 146 return nfs_loadattrcache(vpp, (struct nfs_fattr *)cp2, vaper, flags);
|
nfs_iod.c | 411 char *dpos = *dposp, *cp2; local in function:nfs_savenickauth
|
nfs_clntsocket.c | 327 char *dpos, *cp2; local in function:nfs_reply 511 char *dpos, *cp2; local in function:nfs_request
|
/src/lib/libc/resolv/ |
res_query.c | 432 char *file, *cp1, *cp2; local in function:res_hostalias 459 for (cp2 = cp1 + 1; *cp2 && 460 !isspace((unsigned char)*cp2); ++cp2) 462 *cp2 = '\0';
|
/src/sys/arch/amiga/dev/ |
gayle_pcmcia.c | 479 volatile u_int8_t *cp2; local in function:pcmio_bsrr1 484 cp2 = (volatile u_int8_t *) h + o; 487 cp2 = (volatile u_int8_t *) h + o + 0x10000 + 2; 497 cp1 = cp2; 498 cp2 = temp; 507 volatile u_int8_t *cp2; local in function:pcmio_bswr1 512 cp2 = (volatile u_int8_t *) h + o; 515 cp2 = (volatile u_int8_t *) h + o + 0x10000 + 2; 525 cp1 = cp2; 526 cp2 = temp [all...] |
/src/usr.bin/fmt/ |
fmt.c | 214 wchar_t *cp, *cp2; local in function:fmt 306 for (cp2 = cbuf.ptr - 1; cp2 >= cbuf.bptr && *cp2 == ' '; cp2--) 308 cbuf.ptr = cp2 + 1;
|
/src/usr.sbin/eeprom/ |
eehandlers.c | 153 char *cp, *cp2; local in function:ee_hwupdate 179 if (cp != NULL && (cp2 = strrchr(cp, '\n')) != NULL) 180 *cp2 = '\0';
|
/src/usr.sbin/lpr/lpc/ |
cmds.c | 93 char *cp1, *cp2; local in function:doabort 104 cp2 = bp; 105 while ((c = *cp2++) && c != '|' && c != ':' && 216 char *cp1, *cp2; local in function:clean 227 cp2 = bp; 228 while ((c = *cp2++) && c != '|' && c != ':' && 353 char *cp1, *cp2; local in function:enable 364 cp2 = bp; 365 while ((c = *cp2++) && c != '|' && c != ':' && 424 char *cp1, *cp2; local in function:disable 489 char *cp1, *cp2; local in function:down 529 char *cp1, *cp2; local in function:putmsg 603 char *cp1, *cp2; local in function:restart 640 char *cp1, *cp2; local in function:startcmd 700 char *cp1, *cp2; local in function:status 792 char *cp1, *cp2; local in function:stop 1015 char *cp1, *cp2; local in function:up [all...] |
/src/usr.sbin/lpr/pac/ |
pac.c | 213 char *cp, *cp2; local in function:account 225 if (mflag && (cp2 = strchr(who, ':'))) 226 cp = cp2 + 1;
|
/src/sys/arch/powerpc/oea/ |
ofw_autoconf.c | 114 char *cp1, *cp2, *cp; local in function:canonicalize_bootpath 117 cp2 = strchr(bootpath, ','); 119 if (cp1 == NULL || (cp2 != NULL && cp2 < cp1)) 120 cp = cp2;
|
/src/sbin/ccdconfig/ |
ccdconfig.c | 166 char *ccd, *cp, *cp2, **disks; local in function:do_single 221 ileave = (int)strtol(cp, &cp2, 10); 222 if ((errno == ERANGE) || (ileave < 0) || (*cp2 != '\0')) { 273 if ((cp2 = strrchr(disks[ui], '/')) != NULL) 274 ++cp2; 276 cp2 = disks[ui]; 278 ui == 0 ? '(' : ' ', cp2,
|
/src/sbin/routed/ |
radix.c | 189 char *cp = trial, *cp2 = leaf->rn_key, *cp3 = leaf->rn_mask; local in function:rn_satisfies_leaf 191 int length = min(*(u_char *)cp, *(u_char *)cp2); 197 cplim = cp + length; cp3 += skip; cp2 += skip; 198 for (cp += skip; cp < cplim; cp++, cp2++, cp3++) 199 if ((*cp ^ *cp2) & *cp3) 210 caddr_t cp = v, cp2; local in function:rn_match 239 cp += off; cp2 = t->rn_key + off; cplim = v + vlen; 240 for (; cp < cplim; cp++, cp2++) 241 if (*cp != *cp2) 266 test = (*cp ^ *cp2) & 0xff; /* find first bit that differs * 361 caddr_t cp2 = t->rn_key + head_off; local in function:rn_insert [all...] |
/src/usr.sbin/rpc.pcnfsd/ |
pcnfsd_print.c | 950 char *cp2; local in function:get_pr_status 997 cp2 = buff2; 999 *cp2++ = tolower((unsigned char)*cp1); 1003 *cp2 = '\0';
|