HomeSort by: relevance | last modified time | path
    Searched defs:cp (Results 1 - 25 of 1833) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/games/robots/
play_level.c 52 COORD *cp; local
57 for (cp = Robots; cp < &Robots[MAXROBOTS]; cp++) {
58 if (cp->y < 0)
60 move(cp->y, cp->x);
make_level.c 53 COORD *cp; local
67 for (cp = Robots; cp < &Robots[MAXROBOTS]; cp++)
68 cp->y = -1;
82 cp = rnd_pos();
83 Robots[i] = *cp;
84 Field[cp->y][cp->x]++;
85 if (cp->y < Min.y
    [all...]
  /src/lib/libcurses/
fullname.c 51 char *cp; local
56 cp = def; /* Start of answer. */
58 *cp++ = *bp++; /* Copy name over. */
59 *cp = '\0'; /* Zero end of name. */
  /src/usr.bin/vis/
foldit.c 47 const char *cp; local
54 cp = chunk;
55 while (*cp) {
56 switch(*cp) {
75 cp++;
  /src/external/bsd/ntp/dist/sntp/libopts/compat/
strdup.c 13 char *cp; local
18 cp = (char *) AGALOC((unsigned) (strlen(s)+1), "strdup");
20 if (cp != NULL)
21 (void) strcpy(cp, s);
23 return cp;
  /src/external/bsd/tmux/dist/compat/
strnlen.c 28 const char *cp; local
30 for (cp = str; maxlen != 0 && *cp != '\0'; cp++, maxlen--)
33 return (size_t)(cp - str);
  /src/external/ibm-public/postfix/dist/src/util/
skipblanks.c 39 const char *cp; local
41 for (cp = string; *cp != 0; cp++)
42 if (!ISSPACE(*cp))
44 return ((char *) cp);
allascii.c 55 const char *cp; local
62 for (cp = string; cp < string + len
63 && (ch = *(unsigned char *) cp) != 0; cp++)
alldig.c 53 const char *cp; local
57 for (cp = string; *cp != 0; cp++)
58 if (!ISDIGIT(*cp))
67 const char *cp; local
71 for (cp = string; *cp != 0; cp++)
72 if (!ISALNUM(*cp))
    [all...]
allprint.c 43 const char *cp; local
48 for (cp = string; (ch = *(unsigned char *) cp) != 0; cp++)
allspace.c 43 const char *cp; local
48 for (cp = string; (ch = *(unsigned char *) cp) != 0; cp++)
balpar.c 43 const char *cp; local
49 for (level = 1, cp = string + 1; (ch = *cp) != 0; cp++) {
52 return (cp - string + 1);
  /src/lib/libc/gen/
valloc.c 53 void *cp = malloc((size_t)(i + (valsiz-1))); local
55 j = ((long)cp + (valsiz-1)) &~ (valsiz-1);
  /src/lib/libc/net/
getprotobyname_r.c 58 char **cp; local
66 for (cp = p->p_aliases; *cp != NULL; cp++)
67 if (strcmp(*cp, name) == 0)
  /src/sys/arch/sgimips/stand/common/
iris_devopen.c 40 const char *cp; local
44 cp = fname;
55 if (file && *cp != '\0')
56 *file = (char *)cp; /* XXX */
  /src/sys/dev/
cninit.c 60 struct consdev *cp; local
67 for (cp = constab; cp->cn_probe; cp++) {
68 (*cp->cn_probe)(cp);
69 if (cp->cn_pri > CN_DEAD &&
70 (bestMatch == NULL || cp->cn_pri > bestMatch->cn_pri)) {
71 bestMatch = cp;
  /src/sys/lib/libsa/
ether_sprintf.c 63 char *cp = etherbuf; local
66 *cp++ = hexdigits[*ap >> 4];
67 *cp++ = hexdigits[*ap++ & 0xf];
68 *cp++ = ':';
70 *--cp = 0;
  /src/usr.bin/mail/
temp.c 55 const char *cp; local
62 if ((cp = getenv("TMPDIR")) == NULL || *cp == '\0')
63 cp = _PATH_TMP;
65 tmpdir = savestr(cp);
79 if ((cp = username()) == NULL) {
84 myname = savestr(cp);
86 if ((cp = getenv("HOME")) == NULL)
87 cp = ".";
88 homedir = savestr(cp);
    [all...]
  /src/usr.sbin/tcpdchk/
percent_m.c 33 const char *cp = ibuf; local
35 while ((*bp = *cp) != '\0')
36 if (*cp == '%' && cp[1] == 'm') {
39 cp += 2;
41 bp++, cp++;
  /src/external/bsd/mdocml/dist/
compat_mkdtemp.c 31 char *start, *cp; local
43 for (cp = start; *cp != '\0'; cp++)
44 *cp = 'X';
test-strcasestr.c 7 char *cp = strcasestr(big, "Gst"); local
8 return cp != big + 2;
  /src/external/bsd/ntp/dist/libntp/
atouint.c 25 const char *cp; local
27 cp = str;
28 if ('\0' == *cp)
32 while ('\0' != *cp) {
33 if (!isdigit((unsigned char)*cp))
35 if (u > 429496729 || (u == 429496729 && *cp >= '6'))
39 u += *cp++ - '0'; /* not '\0' */
hextoint.c 19 register const char *cp; local
21 cp = str;
23 if (*cp == '\0')
27 while (*cp != '\0') {
28 if (!isxdigit((unsigned char)*cp))
33 if ('0' <= *cp && *cp <= '9')
34 u += *cp++ - '0';
35 else if ('a' <= *cp && *cp <= 'f'
    [all...]
octtoint.c 20 register const char *cp; local
22 cp = str;
24 if (*cp == '\0')
28 while (*cp != '\0') {
29 if (!isdigit((unsigned char)*cp) || *cp == '8' || *cp == '9')
34 u += *cp++ - '0'; /* ascii dependent */
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.ctf/
ctf-a.c 27 struct C *cp; local
28 cp = foo ();
29 if (cp)

Completed in 21 milliseconds

1 2 3 4 5 6 7 8 91011>>