/openbsd-current/sys/arch/luna88k/stand/boot/ |
H A D | devopen.c | 131 const char *cp; local 141 for (cp = str, i = 0; *cp != '\0' && *cp != '(' && i < MAXDEVNAME; i++) 142 devname[i] = *cp++; 143 if (*cp != '(') { 151 cp++; 157 for (; *cp != ',' && *cp != ')'; cp [all...] |
/openbsd-current/usr.bin/ssh/ |
H A D | addrmatch.c | 49 char *list, *cp, *o; local 60 while ((cp = strsep(&list, ",")) != NULL) { 61 neg = *cp == '!'; 63 cp++; 64 if (*cp == '\0') { 69 r = addr_pton_cidr(cp, &match_addr, &masklen); 72 "match network \"%.100s\"", cp); 88 if (addr != NULL && match_pattern(addr, cp) == 1) 109 char *list, *cp, *o; local 120 while ((cp [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | cast3.C | 13 void fn (void *p, void const *cp, Y *yp, Y const *ycp, Z *zp, Z const *zcp) argument 24 static_cast <X *> (cp); // ERROR - lose const 25 static_cast <X const *> (cp); 26 static_cast <int *> (cp); // ERROR - lose const 27 static_cast <int const *> (cp); 28 static_cast <int **> (cp); // ERROR - lose const 29 static_cast <int const **> (cp); // ERROR - lose const 30 static_cast <int *const *> (cp); 31 static_cast <int const *const *> (cp);
|
H A D | dcast1.C | 8 extern volatile C* cp; 13 dynamic_cast<void*>(cp); // ERROR - cannot dynamic_cast
|
/openbsd-current/usr.sbin/tcpdump/ |
H A D | print-gtp.c | 298 gtp_print(const u_char *cp, u_int length, u_short sport, u_short dport) argument 303 TCHECK(cp[0]); 304 version = cp[0] >> GTP_VERSION_SHIFT; 307 gtp_v0_print(cp, length, sport, dport); 309 gtp_v1_print(cp, length, sport, dport); 325 gtp_decode_ie(const u_char *cp, u_short version, int len) argument 340 TCHECK(cp[0]); 341 val = (u_int)cp[0]; 342 cp++; 349 ielen = gtp_v0_print_tv(cp, va 389 gtp_print_tbcd(const u_char *cp, u_int len) argument 411 gtp_print_user_address(const u_char *cp, u_int len) argument 444 gtp_print_apn(const u_char *cp, u_int len) argument 485 gtp_v0_print(const u_char *cp, u_int length, u_short sport, u_short dport) argument 541 gtp_v0_print_prime(const u_char *cp) argument 566 gtp_v0_print_tv(const u_char *cp, u_int value) argument 756 gtp_v0_print_tlv(const u_char *cp, u_int value) argument 878 gtp_v1_print(const u_char *cp, u_int length, u_short sport, u_short dport) argument 984 gtp_v1_print_ctrl(const u_char *cp, u_int hlen, struct gtp_v1_hdr *gh) argument 997 gtp_v1_print_user(const u_char *cp, u_int hlen, struct gtp_v1_hdr *gh) argument 1035 gtp_v1_print_prime(const u_char *cp, struct gtp_v1_prime_hdr *gph) argument 1059 gtp_v1_print_tv(const u_char *cp, u_int value) argument 1350 gtp_v1_print_tlv(const u_char *cp, u_int value) argument [all...] |
/openbsd-current/gnu/lib/libreadline/ |
H A D | nls.c | 180 char *cp, *language, *result; local 182 cp = language = name; 185 while (*cp && *cp != '_' && *cp != '@' && *cp != '+' && *cp != ',') 186 cp++; 191 if (language == cp) 199 if (*cp [all...] |
/openbsd-current/lib/libc/stdlib/ |
H A D | getenv.c | 50 char **p, *cp; local 54 for (p = environ + *offset; (cp = *p) != NULL; ++p) { 55 for (np = name, i = len; i && *cp; i--) 56 if (*cp++ != *np++) 58 if (i == 0 && *cp++ == '=') { 60 return (cp);
|
/openbsd-current/lib/libc/net/ |
H A D | inet_network.c | 42 inet_network(const char *cp) argument 51 if (*cp == '0') 52 base = 8, cp++; 53 if (*cp == 'x' || *cp == 'X') 54 base = 16, cp++; 55 while ((c = *cp)) { 58 cp++; 63 cp++; 68 if (*cp [all...] |
/openbsd-current/usr.bin/unexpand/ |
H A D | unexpand.c | 51 char *cp; local 76 for (cp = linebuf; *cp; cp++) 78 if (cp > linebuf) 79 cp[-1] = 0; 90 char *cp, *dp; local 97 cp = genbuf; 102 switch (*cp) { 131 if (*cp [all...] |
/openbsd-current/bin/sleep/ |
H A D | sleep.c | 51 char *cp; local 74 for (cp = argv[0]; *cp != '\0' && *cp != '.'; cp++) { 75 if (!isdigit((unsigned char)*cp)) 77 t = (rqtp.tv_sec * 10) + (*cp - '0'); 88 if (*cp == '.') { 90 for (cp++; *cp ! [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900210_03.C | 11 char* cp; variable 19 cp = vp; /* ERROR - */
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | net9.C | 5 int i, *p, *const cp = &i; variable 12 cp = &ci; // ERROR - bad
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | ptrmem8.C | 15 typedef int (C::*cp)(); typedef 17 template struct S<cp>;
|
/openbsd-current/lib/libc/gen/ |
H A D | valloc.c | 38 void *cp = malloc(i + (valsiz-1)); local 40 j = ((long)cp + (valsiz-1)) &~ (valsiz-1);
|
/openbsd-current/usr.bin/vi/ex/ |
H A D | ex_usage.c | 59 EXCMDLIST const *cp; local 70 for (cp = cmds; cp->name != NULL && 71 memcmp(ap->bp, cp->name, ap->len); ++cp); 72 if (cp->name == NULL || 73 (newscreen && !F_ISSET(cp, E_NEWSCREEN))) { 80 "Command: %s\n Usage: %s\n", cp->help, cp->usage); 86 if (cp ! [all...] |
/openbsd-current/usr.bin/vis/ |
H A D | vis.c | 132 char *cp = "\0"; local 136 cp++; /* so *(cp-1) starts out != '\n' */ 141 cp = buff; 142 *cp++ = c; 144 *cp++ = '\\'; 145 *cp = '\0'; 147 cp = buff; 149 *cp++ = '\\'; 150 *cp [all...] |
/openbsd-current/usr.bin/ctags/ |
H A D | fortran.c | 48 char *cp; local 115 for (cp = lbp + 1; *cp && intoken(*cp); ++cp) 117 if ((cp = lbp + 1)) 119 *cp = EOS; 133 cicmp(char *cp) argument 138 for (len = 0, bp = lbp; *cp && (*cp [all...] |
H A D | print.c | 52 char *cp; local 57 for (cp = lbuf; GETC(!=, EOF) && c != '\n'; *cp++ = c) 64 else for (cnt = 0, cp = lbuf; GETC(!=, EOF) && cnt < ENDLINE; ++cnt) { 68 *cp++ = '\\'; *cp++ = '\\'; 74 *cp++ = '\\'; *cp++ = c; 78 *cp++ = '$'; /* can find whole line */ 82 *cp [all...] |
/openbsd-current/usr.bin/make/ |
H A D | direxpand.c | 114 const char *cp; local 129 for (cp = word; cp != eword; cp++) { 130 if (*cp == '/') 131 slash = cp; 132 if (*cp == '?' || *cp == '[' || *cp == '*') { 241 const char *cp; /* Curren local 276 const char *cp; local 308 const char *cp; local [all...] |
/openbsd-current/usr.bin/fold/ |
H A D | fold.c | 141 char *cp; /* Current mb character. */ local 154 np = cp = buf; 165 cp = nbuf + (cp - buf); 180 if (np - cp > 4 || (np - cp > 1 && !isu8cont(ch))) 184 while (cp < np) { /* Loop on output characters. */ 188 if (*cp == '\n' || (*cp == '\r' && !count_bytes)) { 189 fwrite(buf, 1, ++cp [all...] |
/openbsd-current/gnu/gcc/libmudflap/testsuite/libmudflap.c/ |
H A D | pass45-frag.c | 19 char *cp = a; local 24 cp = memcpy (cp, p, pl); 25 *cp++ = ':'; 27 memcpy (cp, f, fl);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/inherit/ |
H A D | thunk1.C | 20 extern C* cp; 22 C::C () { cp = this; } 25 if (this != cp) 36 C* cp = new C; variable 40 cp->f (3, 7);
|
/openbsd-current/usr.sbin/amd/amd/ |
H A D | mount_fs.c | 121 char *cp = *p; local 126 while (isspace((unsigned char)*cp)) 127 cp++; 131 rp = cp; 135 while (*cp && *cp != ',') 136 cp++; 140 if (*cp) { 141 *cp = '\0'; 142 cp [all...] |
/openbsd-current/sys/arch/riscv64/stand/efiboot/ |
H A D | exec.c | 56 char *cp; local 60 cp = args + strlen(args); 62 *cp++ = ' '; 63 *cp = '-'; 65 *++cp = 'a'; 67 *++cp = 'c'; 69 *++cp = 's'; 71 *++cp = 'd'; 72 if (*cp == '-') 73 *--cp [all...] |
/openbsd-current/usr.bin/mandoc/ |
H A D | manpath.c | 114 char *cp; local 117 if ((cp = realpath(dir, buf)) == NULL) 124 if (stat(cp, &sb) == -1) 129 dirs->paths[dirs->sz++] = mandoc_strdup(cp); 160 char *line, *cp, *ep; local 171 cp = line; 172 ep = cp + linelen - 1; 173 while (ep > cp && isspace((unsigned char)*ep)) 175 while (isspace((unsigned char)*cp)) 176 cp 214 manconf_output(struct manoutput *conf, const char *cp, int fromfile) argument [all...] |