/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/libamu/ |
H A D | strcasecmp.c | 59 const unsigned char *cp2 = (const unsigned char *)s2; local 61 while (tolower(*cp1) == tolower(*cp2++)) 64 return (tolower(*cp1) - tolower(*--cp2));
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/ |
H A D | nonnull-1.c | 19 foo (int i1, int i2, int i3, char *cp1, char *cp2, char *cp3) argument 21 func1(cp1, cp2, i1); 23 func1(NULL, cp2, i1); /* { dg-warning "null" "null with argless nonnull 1" } */ 25 func1(cp1, cp2, 0); 33 func1(i1 ? cp1 : NULL, cp2, i3); /* { dg-warning "null" "null with cond expr rhs" } */ 34 func1(i1 ? NULL : cp1, cp2, i3); /* { dg-warning "null" "null with cond expr lhs" } */ 35 func1(i1 ? (i2 ? cp1 : NULL) : cp2, cp3, i3); /* { dg-warning "null" "null with nested cond expr" } */
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/ |
H A D | nonnull-1.c | 19 foo (int i1, int i2, int i3, char *cp1, char *cp2, char *cp3) argument 21 func1(cp1, cp2, i1); 23 func1(NULL, cp2, i1); /* { dg-warning "null" "null with argless nonnull 1" } */ 25 func1(cp1, cp2, 0); 33 func1(i1 ? cp1 : NULL, cp2, i3); /* { dg-warning "null" "null with cond expr rhs" } */ 34 func1(i1 ? NULL : cp1, cp2, i3); /* { dg-warning "null" "null with cond expr lhs" } */ 35 func1(i1 ? (i2 ? cp1 : NULL) : cp2, cp3, i3); /* { dg-warning "null" "null with nested cond expr" } */
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/zkt/ |
H A D | zconf.c | 242 static void set_all_varptr (zconf_t *cp, const zconf_t *cp2) argument 244 set_varptr ("zonedir", &cp->zonedir, cp2 ? &cp2->zonedir: NULL); 245 set_varptr ("recursive", &cp->recursive, cp2 ? &cp2->recursive: NULL); 246 set_varptr ("printage", &cp->printage, cp2 ? &cp2->printage: NULL); 247 set_varptr ("printtime", &cp->printtime, cp2 ? &cp2->printtime: NULL); 248 set_varptr ("leftjustify", &cp->ljust, cp2 [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | clock.c | 129 callout *cp, *cp2; local 147 for (cp = &callouts; (cp2 = cp->c_next); cp = cp2) 148 if (cp2->c_time >= t) 155 cpnew->c_next = cp2; 170 callout *cp, *cp2; local 171 for (cp = &callouts; (cp2 = cp->c_next); cp = cp2) { 172 if (cp2->c_id == id) { 173 cp->c_next = cp2 [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/ftp/ |
H A D | 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 [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/mail/ |
H A D | 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 469 for (cp = name, cp2 = bufend; (c = *cp++) != '\0'; /*EMPTY*/) { 486 *cp2++ = c; 488 *cp2++ = c; 497 cp += 3, *cp2++ = '@'; 500 cp += 2, *cp2 564 char *cp, *cp2; local 643 char *cp, *cp2; local [all...] |
H A D | 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...] |
H A D | 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 321 char *cp, *cp2; local [all...] |
H A D | 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...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/mips/ |
H A D | mips32r2-cp2.s | 8 # cp2 instructions
|
H A D | mips64-cp2.s | 10 # these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes.
|
/netbsd-6-1-5-RELEASE/usr.bin/xlint/lint2/ |
H A D | msg.c | 92 const char *cp, *cp1, *cp2; local 97 cp = cp1 = cp2 = path; 100 cp2 = cp1; 104 return (*cp1 == '\0' ? cp2 : cp1);
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/ |
H A D | modules.c | 331 char *cp2; 339 if ((cp2 = strchr (value, '#')) != NULL) 340 *cp2 = '\0'; 342 cp2 = value + val.dsize; 345 while (cp2 > value && isspace ((unsigned char) *--cp2)) 346 *cp2 = '\0'; 816 char *cp, *cp2; 832 s_rec->rest = cp2 = xmalloc (ds + 1); 843 *cp2 329 char *cp2; local 814 char *cp, *cp2; local 902 char *cp, *cp2, **argv; local [all...] |
/netbsd-6-1-5-RELEASE/lib/libutil/ |
H A D | 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))
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/nslint-2.1a3/ |
H A D | nslint.c | 410 register char *cp, *cp2; local 456 cp2 = cp; 464 if (strcasecmp(cp2, "directory") == 0) { 466 cp2 = cp; 470 if (chdir(cp2) < 0) { 473 prog, cp2, strerror(errno)); 476 cwd = savestr(cp2); 479 if (strcasecmp(cp2, "primary") == 0) { 481 for (cp2 = name; !isspace(*cp) && *cp != '\0'; ++cp) 483 *cp2 536 register char *cp, *cp2, *buf; local 1033 register char ch, *cp, *cp2, *cp3, *rtype; local 2301 register const char *cp, *cp2; local [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpc/ |
H A D | 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 != ':' && 356 char *cp1, *cp2; local 367 cp2 = bp; 368 while ((c = *cp2++) && c != '|' && c != ':' && 427 char *cp1, *cp2; local 492 char *cp1, *cp2; local 532 char *cp1, *cp2; local 606 char *cp1, *cp2; local 643 char *cp1, *cp2; local 703 char *cp1, *cp2; local 795 char *cp1, *cp2; local 1018 char *cp1, *cp2; local [all...] |
/netbsd-6-1-5-RELEASE/dist/dhcp/minires/ |
H A D | ns_sign.c | 145 u_char buf[MAXDNAME], *cp2; local 168 cp2 = buf; 169 PUTSHORT(ns_c_any, cp2); 170 PUTLONG(0, cp2); 172 buf, (unsigned)(cp2-buf), NULL, 0); 179 cp2 = buf; 180 PUTSHORT(0, cp2); /* Top 16 bits of time */ 182 PUTLONG(timesigned, cp2); 184 PUTLONG(in_timesigned, cp2); 185 PUTSHORT(NS_TSIG_FUDGE, cp2); [all...] |
H A D | res_query.c | 382 char *file, *cp1, *cp2; local 404 for (cp2 = cp1 + 1; *cp2 && !isspace((unsigned char)*cp2); ++cp2) 406 *cp2 = '\0';
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/nameser/ |
H A D | 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...] |
/netbsd-6-1-5-RELEASE/lib/libc/compat/net/ |
H A D | compat_ns_ntoa.c | 57 char *cp2; local 64 cp2 = cp + 1; 78 cp = spectHex(cp2);
|
/netbsd-6-1-5-RELEASE/sbin/fsck_msdos/ |
H A D | fat.c | 255 clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, u_int fatnum) argument 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...] |
/netbsd-6-1-5-RELEASE/usr.bin/xlint/lint1/ |
H A D | err.c | 411 const char *cp, *cp1, *cp2; local 416 cp = cp1 = cp2 = path; 419 cp2 = cp1; 423 return (*cp1 == '\0' ? cp2 : cp1);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | hostfile.c | 244 char *cp, *cp2, *hashed_host; local 269 for (cp2 = cp; *cp2 && *cp2 != ' ' && *cp2 != '\t'; cp2++) 273 if (match_hostname(host, cp, (u_int) (cp2 - cp)) != 1) { 276 hashed_host = host_hash(host, cp, (u_int) (cp2 - cp)); 282 if (strncmp(hashed_host, cp, (u_int) (cp2 - cp)) != 0) 287 cp = cp2; [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/ |
H A D | gayle_pcmcia.c | 472 volatile u_int8_t *cp2; local 477 cp2 = (volatile u_int8_t *) h + o; 480 cp2 = (volatile u_int8_t *) h + o + 0x10000 + 2; 490 cp1 = cp2; 491 cp2 = temp; 500 volatile u_int8_t *cp2; local 505 cp2 = (volatile u_int8_t *) h + o; 508 cp2 = (volatile u_int8_t *) h + o + 0x10000 + 2; 518 cp1 = cp2; 519 cp2 [all...] |