HomeSort by: relevance | last modified time | path
    Searched refs:cp2 (Results 1 - 25 of 103) sorted by relevancy

1 2 3 4 5

  /src/external/bsd/am-utils/dist/libamu/
strcasecmp.c 55 const unsigned char *cp2 = (const unsigned char *)s2; local
57 while (tolower(*cp1) == tolower(*cp2++))
60 return (tolower(*cp1) - tolower(*--cp2));
  /src/usr.bin/ftp/
domacro.c 51 char *cp1, *cp2, line2[FTPBUFLEN]; local
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/external/bsd/am-utils/dist/amd/
clock.c 125 callout *cp, *cp2; local
143 for (cp = &callouts; (cp2 = cp->c_next); cp = cp2)
144 if (cp2->c_time >= t)
151 cpnew->c_next = cp2;
166 callout *cp, *cp2; local
167 for (cp = &callouts; (cp2 = cp->c_next); cp = cp2) {
168 if (cp2->c_id == id) {
169 cp->c_next = cp2->c_next
    [all...]
  /src/usr.bin/mail/
support.c 208 char *cp, *cp2; local
240 cp2 = skip_WSP(line2);
241 c -= (int)(cp2 - line2);
245 (void)memmove(cp, cp2, (size_t)c);
456 char *cp, *cp2; local
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
648 char *cp, *cp2; local
    [all...]
tty.c 93 char *cp, *cp2; local
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...]
list.c 97 char c, *cp2, quotec; local
113 cp2 = linebuf;
123 *cp2++ = '\\';
133 *cp2++ = c;
136 *cp2++ = '\b';
139 *cp2++ = '\f';
142 *cp2++ = '\n';
145 *cp2++ = '\r';
148 *cp2++ = '\t';
151 *cp2++ = '\v'
321 char *cp, *cp2; local
    [all...]
mime_decode.c 149 char *cp2; local
152 cp2 = dst;
162 *cp2++ = *cp;
164 lastq = cp2-1;
178 *cp2++ = *cp;
183 while (cp2 > lastq && is_WSP(cp2[-1]))
184 cp2--;
185 *cp2 = '\0';
216 char *cp2; local
1086 char *cp, *cp2; local
    [all...]
  /src/external/gpl2/xcvs/dist/src/
modules.c 333 char *cp2;
341 if ((cp2 = strchr (value, '#')) != NULL)
342 *cp2 = '\0';
344 cp2 = value + val.dsize;
347 while (cp2 > value && isspace ((unsigned char) *--cp2))
348 *cp2 = '\0';
818 char *cp, *cp2;
834 s_rec->rest = cp2 = xmalloc (ds + 1);
845 *cp2++ = ' '
331 char *cp2; local
816 char *cp, *cp2; local
904 char *cp, *cp2, **argv; local
    [all...]
  /src/lib/libutil/
pty.c 67 const char *cp1, *cp2, *cp, *linep; local
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/usr.sbin/lpr/lpc/
cmds.c 93 char *cp1, *cp2; local
104 cp2 = bp;
105 while ((c = *cp2++) && c != '|' && c != ':' &&
216 char *cp1, *cp2; local
227 cp2 = bp;
228 while ((c = *cp2++) && c != '|' && c != ':' &&
353 char *cp1, *cp2; local
364 cp2 = bp;
365 while ((c = *cp2++) && c != '|' && c != ':' &&
424 char *cp1, *cp2; local
489 char *cp1, *cp2; local
529 char *cp1, *cp2; local
603 char *cp1, *cp2; local
640 char *cp1, *cp2; local
700 char *cp1, *cp2; local
792 char *cp1, *cp2; local
1015 char *cp1, *cp2; local
    [all...]
  /src/lib/libresolv/
ns_sign.c 164 u_char buf[NS_MAXCDNAME], *cp2; local
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
    [all...]
ns_verify.c 348 u_char *cp, *eom, *cp2; local
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/external/bsd/libbind/dist/nameser/
ns_sign.c 161 u_char buf[NS_MAXCDNAME], *cp2; local
185 cp2 = buf;
186 PUTSHORT(ns_c_any, cp2);
187 PUTLONG(0, cp2);
188 dst_sign_data(SIG_MODE_UPDATE, key, &ctx, buf, cp2-buf,
197 cp2 = buf;
198 PUTSHORT(0, cp2); /*%< Top 16 bits of time */
200 PUTLONG(timesigned, cp2);
202 PUTLONG(in_timesigned, cp2);
203 PUTSHORT(NS_TSIG_FUDGE, cp2);
285 u_char buf[MAXDNAME], *cp2; local
    [all...]
  /src/lib/libc/compat/net/
compat_ns_ntoa.c 57 char *cp2; local
64 cp2 = cp + 1;
78 cp = spectHex(cp2);
  /src/crypto/external/bsd/openssh/dist/
compat.c 145 char *cp = NULL, *cp2 = NULL; local
155 if ((cp2 = match_filter_denylist(cp ? cp : p,
160 cp = cp2;
hostfile.c 792 char *cp, *cp2; local
838 for (cp2 = cp; *cp2 && *cp2 != ' ' && *cp2 != '\t'; cp2++)
840 if (*cp2 == '\0') {
847 *cp2++ = '\0';
887 for (; *cp2 == ' ' || *cp2 == '\t'; cp2++
    [all...]
  /src/sbin/fsck_msdos/
fat.c 255 clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, u_int fatnum)
258 if (*cp2 == CLUST_FREE || *cp2 >= CLUST_RSRVD) {
260 && *cp2 != CLUST_FREE && *cp2 < CLUST_BAD)
261 || (*cp1 > CLUST_BAD && *cp2 > CLUST_BAD)) {
265 *cp2 = *cp1;
271 cl, rsrvdcltype(*cp1), rsrvdcltype(*cp2), fatnum);
273 *cp2 = *cp1;
277 *cp1 = *cp2;
    [all...]
  /src/sys/arch/amiga/dev/
gayle_pcmcia.c 479 volatile u_int8_t *cp2; local
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
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/share/examples/puffs/icfs/
icfs.c 83 char *cp1, *cp2; local
92 cp2 = c2->po_path;
94 if (strncasecmp(cp1 + rplen, cp2 + rplen, clen - rplen) != 0)
  /src/lib/libc/resolv/
res_query.c 432 char *file, *cp1, *cp2; local
459 for (cp2 = cp1 + 1; *cp2 &&
460 !isspace((unsigned char)*cp2); ++cp2)
462 *cp2 = '\0';
  /src/usr.bin/fmt/
fmt.c 214 wchar_t *cp, *cp2; local
306 for (cp2 = cbuf.ptr - 1; cp2 >= cbuf.bptr && *cp2 == ' '; cp2--)
308 cbuf.ptr = cp2 + 1;
  /src/external/bsd/libbind/dist/resolv/
res_query.c 406 char *file, *cp1, *cp2; local
428 for (cp2 = cp1 + 1; *cp2 &&
429 !isspace((unsigned char)*cp2); ++cp2)
431 *cp2 = '\0';
  /src/external/bsd/mdocml/dist/
dba.c 315 const char *cp1, *cp2; local
319 cp2 = *(const char * const *)vp2;
320 return (diff = *cp2 - *cp1) ? diff :
321 strcasecmp(cp1 + 1, cp2 + 1);
327 const char *cp1, *cp2; local
330 cp2 = *(const char * const *)vp2;
331 return strcmp(cp1, cp2);
  /src/usr.bin/rdist/
gram.y 209 char *cp1, *cp2;
251 cp2 = &yytext[INMAX - 1];
253 if (cp1 >= cp2) {
285 cp2 = &yytext[INMAX - 1];
287 if (cp1 >= cp2) {
  /src/sbin/routed/
radix.c 189 char *cp = trial, *cp2 = leaf->rn_key, *cp3 = leaf->rn_mask; local
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
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
    [all...]

Completed in 36 milliseconds

1 2 3 4 5