| /src/tests/usr.bin/xlint/lint1/ |
| msg_184.c | 9 example(char *cp) 12 return cp;
|
| /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);
|
| 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...] |
| split_at.c | 57 char *cp; local 59 if ((cp = strchr(string, delimiter)) != 0) 60 *cp++ = 0; 61 return (cp); 68 char *cp; local 70 if ((cp = strrchr(string, delimiter)) != 0) 71 *cp++ = 0; 72 return (cp);
|
| lowercase.c | 38 char *cp; local 41 for (cp = string; (ch = *cp) != 0; cp++) 43 *cp = TOLOWER(ch);
|
| uppercase.c | 38 char *cp; local 41 for (cp = string; (ch = *cp) != 0; cp++) 43 *cp = TOUPPER(ch);
|
| 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++)
|
| /src/external/bsd/ntp/dist/libntp/ |
| 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 */
|
| 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' */
|
| atoint.c | 20 register const char *cp; local 24 cp = str; 26 if (*cp == '-') { 27 cp++; 35 if (*cp == '\0') 39 while (*cp != '\0') { 40 if (!isdigit((unsigned char)*cp)) 42 if (u > 214748364 || (u == 214748364 && *cp > oflow_digit)) 45 u += *cp++ - '0'; /* ascii dependent */
|
| /src/external/bsd/zstd/dist/tests/cli-tests/dictionaries/ |
| setup | 5 cp -r ../files . 6 cp -r ../dicts .
|
| /src/external/mit/expat/dist/xmlwf/ |
| codepage.h | 35 int codepageMap(int cp, int *map); 36 int codepageConvert(int cp, const char *p);
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/nothreads/include/isc/ |
| condition.h | 40 isc_result_t isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp); 41 isc_result_t isc__nothread_signal_hack(isc_condition_t *cp); 43 #define isc_condition_init(cp) \ 44 (*(cp) = 0, ISC_R_SUCCESS) 46 #define isc_condition_wait(cp, mp) \ 47 isc__nothread_wait_hack(cp, mp) 49 #define isc_condition_waituntil(cp, mp, tp) \ 50 ((void)(cp), (void)(mp), (void)(tp), ISC_R_NOTIMPLEMENTED) 52 #define isc_condition_signal(cp) \ 53 isc__nothread_signal_hack(cp) [all...] |
| /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/gpl2/grep/dist/intl/ |
| explodename.c | 68 char *cp; local 84 *language = cp = name; 85 cp = _nl_find_language (*language); 87 if (*language == cp) 90 cp = strchr (*language, '\0'); 91 else if (cp[0] == '_') 94 cp[0] = '\0'; 95 *territory = ++cp; 97 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@ [all...] |
| /src/external/gpl2/texinfo/dist/intl/ |
| explodename.c | 61 char *cp; local 77 *language = cp = name; 78 cp = _nl_find_language (*language); 80 if (*language == cp) 83 cp = strchr (*language, '\0'); 84 else if (cp[0] == '_') 87 cp[0] = '\0'; 88 *territory = ++cp; 90 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@ [all...] |
| /src/external/gpl3/gcc.old/dist/intl/ |
| 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[0] != '.' && cp[0] != '@ [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.ctf/ |
| ctf-a.c | 27 struct C *cp; local 28 cp = foo (); 29 if (cp)
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.ctf/ |
| ctf-a.c | 27 struct C *cp; local 28 cp = foo (); 29 if (cp)
|
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| condition.h | 43 #define isc_condition_init(cp) \ 45 *cp = malloc(sizeof(**cp)); \ 46 isc__condition_init(*cp); \ 48 #define isc_condition_wait(cp, mp) isc__condition_wait(*cp, *mp) 49 #define isc_condition_waituntil(cp, mp, t) isc__condition_waituntil(*cp, *mp, t) 50 #define isc_condition_signal(cp) isc__condition_signal(*cp) [all...] |
| /src/external/bsd/mdocml/dist/ |
| test-strcasestr.c | 7 char *cp = strcasestr(big, "Gst"); local 8 return cp != big + 2;
|
| /src/sys/lib/libkern/ |
| scanc.c | 38 scanc(u_int size, const u_char *cp, const u_char table[], int mask) 40 const u_char *end = &cp[size]; 42 while (cp < end && (table[*cp] & mask) == 0) 43 cp++; 44 return (end - cp);
|