Searched refs:cp (Results 51 - 75 of 1532) sorted by relevance

1234567891011>>

/openbsd-current/sys/arch/luna88k/stand/boot/
H A Ddevopen.c131 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 Daddrmatch.c49 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 Dcast3.C13 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 Ddcast1.C8 extern volatile C* cp;
13 dynamic_cast<void*>(cp); // ERROR - cannot dynamic_cast
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-gtp.c298 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 Dnls.c180 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 Dgetenv.c50 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 Dinet_network.c42 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 Dunexpand.c51 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 Dsleep.c51 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 D900210_03.C11 char* cp; variable
19 cp = vp; /* ERROR - */
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dnet9.C5 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 Dptrmem8.C15 typedef int (C::*cp)(); typedef
17 template struct S<cp>;
/openbsd-current/lib/libc/gen/
H A Dvalloc.c38 void *cp = malloc(i + (valsiz-1)); local
40 j = ((long)cp + (valsiz-1)) &~ (valsiz-1);
/openbsd-current/usr.bin/vi/ex/
H A Dex_usage.c59 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 Dvis.c132 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 Dfortran.c48 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 Dprint.c52 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 Ddirexpand.c114 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 Dfold.c141 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 Dpass45-frag.c19 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 Dthunk1.C20 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 Dmount_fs.c121 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 Dexec.c56 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 Dmanpath.c114 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...]

Completed in 180 milliseconds

1234567891011>>