/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | const2.C | 4 static const char* cp = "abc"; // ERROR - initialization of non-const member in struct:S
|
H A D | conv9.C | 22 Bar* cp = 0; local 25 bar(cp->key, cp->item); 26 bar(cp->key, (copyfn) ? (*copyfn)(cp) : 0); 27 bar(cp->key, (copyfn) ? (*copyfn)(0) : 0); 29 bar(cp->key, (copyfn) ? (*copyfn)(0) : cp->item); 30 bar(cp->key, (copyfn) ? (*copyfn)(cp) [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900210_06.C | 17 char *cp; variable 21 cp = ccp; /* ERROR - */ 22 cp = vcp; /* ERROR - */
|
H A D | 900321_05.C | 11 char *cp; variable 17 c = i[cp]; // gets bogus error
|
/openbsd-current/distrib/special/more/ |
H A D | tputs.c | 51 * Put the character string cp out, with padding. 56 tputs(char *cp, int affcnt, void (*outc)(int)) argument 60 if (cp == 0) 66 if (isdigit(*cp)) { 68 i = i * 10 + *cp++ - '0'; 69 } while (isdigit(*cp)); 72 if (*cp == '.') { 73 cp++; 74 if (isdigit(*cp)) 75 i += *cp [all...] |
/openbsd-current/gnu/usr.bin/binutils/intl/ |
H A D | explodename.c | 60 char *cp; local 76 *language = cp = name; 77 while (cp[0] != '\0' && cp[0] != '_' && cp[0] != '@' 78 && cp[0] != '+' && cp[0] != ',') 79 ++cp; 81 if (*language == cp) 84 cp [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/intl/ |
H A D | explodename.c | 60 char *cp; local 76 *language = cp = name; 77 while (cp[0] != '\0' && cp[0] != '_' && cp[0] != '@' 78 && cp[0] != '+' && cp[0] != ',') 79 ++cp; 81 if (*language == cp) 84 cp [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | 20020108-1.c | 11 foo (unsigned short *cp) argument 15 *cp = indx = 0xFFFF;
|
/openbsd-current/gnu/gcc/intl/ |
H A D | explodename.c | 66 char *cp; local 82 *language = cp = name; 83 cp = _nl_find_language (*language); 85 if (*language == cp) 88 cp = strchr (*language, '\0'); 89 else if (cp[0] == '_') 92 cp[0] = '\0'; 93 *territory = ++cp; 95 while (cp[0] != '\0' && cp[ [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/intl/ |
H A D | explodename.c | 66 char *cp; local 82 *language = cp = name; 83 cp = _nl_find_language (*language); 85 if (*language == cp) 88 cp = strchr (*language, '\0'); 89 else if (cp[0] == '_') 92 cp[0] = '\0'; 93 *territory = ++cp; 95 while (cp[0] != '\0' && cp[ [all...] |
/openbsd-current/gnu/usr.bin/texinfo/intl/ |
H A D | explodename.c | 59 char *cp; local 75 *language = cp = name; 76 cp = _nl_find_language (*language); 78 if (*language == cp) 81 cp = strchr (*language, '\0'); 82 else if (cp[0] == '_') 85 cp[0] = '\0'; 86 *territory = ++cp; 88 while (cp[0] != '\0' && cp[ [all...] |
/openbsd-current/regress/usr.bin/ssh/unittests/misc/ |
H A D | test_strdelim.c | 25 char *orig, *str, *cp; local 32 cp = strdelim(&str); 33 ASSERT_STRING_EQ(cp, ""); /* XXX arguable */ 34 cp = strdelim(&str); 35 ASSERT_PTR_EQ(cp, NULL); 41 cp = strdelim(&str); 42 ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */ 49 cp = strdelim(&str); 50 ASSERT_STRING_EQ(cp, "blob"); 51 cp [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/ |
H A D | BUG23.c | 10 char *cp, c; local 12 c = cp - static_char_array; /* error */ 13 c = cp - static_char_pointer; 14 c = cp - &static_char; /* error */ 15 c = cp - char_array; 16 c = cp - char_pointer; 17 c = cp - &character;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 940115-1.c | 1 f (cp, end) 2 char *cp; 5 return (cp < end);
|
/openbsd-current/sys/dev/ |
H A D | cninit.c | 56 struct consdev *cp; local 62 for (cp = constab; cp->cn_probe; cp++) { 63 (*cp->cn_probe)(cp); 64 if (cp->cn_pri != CN_DEAD && 65 (cn_tab == NULL || cp->cn_pri > cn_tab->cn_pri)) 66 cn_tab = cp; 72 if ((cp [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 950221-1.c | 11 atype *cp; local 13 cp = &config; 14 cp->network = (v == -1) ? 100 : v; 15 net = cp->network;
|
/openbsd-current/lib/libc/string/ |
H A D | memrchr.c | 28 const unsigned char *cp; local 31 cp = (unsigned char *)s + n; 33 if (*(--cp) == (unsigned char)c) 34 return((void *)cp);
|
/openbsd-current/usr.bin/ctags/ |
H A D | lisp.c | 48 char *cp; local 74 for (cp = lbp; *cp && *cp != '\n'; ++cp) 76 *cp = EOS; 78 if (!(cp = strchr(lbp, ')'))) 80 for (; cp >= lbp && *cp != ':'; --cp) [all...] |
/openbsd-current/sys/lib/libkern/ |
H A D | scanc.c | 39 scanc(u_int size, const u_char *cp, const u_char table[], int mask) argument 41 const u_char *end = &cp[size]; 43 while (cp < end && (table[*cp] & (u_char)mask) == 0) 44 cp++; 45 return (end - cp);
|
H A D | skpc.c | 39 skpc(int mask, size_t size, u_char *cp) argument 41 u_char *end = &cp[size]; 43 while (cp < end && *cp == (u_char) mask) 44 cp++; 45 return (end - cp);
|
/openbsd-current/sys/lib/libsa/ |
H A D | cons.c | 52 struct consdev *cp; local 58 for (cp = constab; cp->cn_probe; cp++) { 59 (*cp->cn_probe)(cp); 60 if (cp->cn_pri != CN_DEAD && 61 (cn_tab == NULL || cp->cn_pri > cn_tab->cn_pri)) 62 cn_tab = cp; 67 if ((cp 78 struct consdev *cp; local [all...] |
/openbsd-current/usr.bin/mail/ |
H A D | temp.c | 48 char *cp; local 55 cp = tmpdir + strlen(tmpdir) - 1; 56 while (cp > tmpdir && *cp == '/') { 57 *cp = '\0'; 58 cp--; 78 if ((cp = getenv("HOME")) == NULL || *cp == '\0' || 79 strlen(cp) >= PATHSIZE) 82 homedir = savestr(cp); [all...] |
H A D | head.c | 50 char *cp; local 54 cp = linebuf; 55 if (*cp++ != 'F' || *cp++ != 'r' || *cp++ != 'o' || *cp++ != 'm' || 56 *cp++ != ' ') 93 char *cp, *sp; local 99 cp = line; 104 cp 125 char *cp, *top; local 191 cmatch(char *cp, char *tp) argument [all...] |
/openbsd-current/usr.sbin/amd/amd/ |
H A D | clock.c | 80 callout *cp = free_callouts; local 81 if (cp) { 84 return cp; 90 free_callout(callout *cp) argument 93 free(cp); 95 cp->c_next = free_callouts; 96 free_callouts = cp; 109 callout *cp, *cp2; local 127 for (cp = &callouts; (cp2 = cp 149 callout *cp, *cp2; local 165 callout *cp; local 186 callout *cp; local [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
H A D | destruct.C | 16 typedef char * cp; typedef 21 A<cp> b; 23 cp c; 29 c.~cp(); 30 c.cp::~cp(); 31 (&c)->~cp(); 32 (&c)->cp::~cp();
|