/freebsd-current/contrib/ntp/libntp/ |
H A D | hextoint.c | 17 register const char *cp; local 19 cp = str; 21 if (*cp == '\0') 25 while (*cp != '\0') { 26 if (!isxdigit((unsigned char)*cp)) 31 if ('0' <= *cp && *cp <= '9') 32 u += *cp++ - '0'; 33 else if ('a' <= *cp && *cp < [all...] |
H A D | octtoint.c | 18 register const char *cp; local 20 cp = str; 22 if (*cp == '\0') 26 while (*cp != '\0') { 27 if (!isdigit((unsigned char)*cp) || *cp == '8' || *cp == '9') 32 u += *cp++ - '0'; /* ascii dependent */
|
H A D | atouint.c | 23 const char *cp; local 25 cp = str; 26 if ('\0' == *cp) 30 while ('\0' != *cp) { 31 if (!isdigit((unsigned char)*cp)) 33 if (u > 429496729 || (u == 429496729 && *cp >= '6')) 37 u += *cp++ - '0'; /* not '\0' */
|
H A D | atoint.c | 18 register const char *cp; local 22 cp = str; 24 if (*cp == '-') { 25 cp++; 33 if (*cp == '\0') 37 while (*cp != '\0') { 38 if (!isdigit((unsigned char)*cp)) 40 if (u > 214748364 || (u == 214748364 && *cp > oflow_digit)) 43 u += *cp++ - '0'; /* ascii dependent */
|
H A D | atolfp.c | 35 register const char *cp; local 48 cp = str; 55 while (isspace((unsigned char)*cp)) 56 cp++; 58 if (*cp == '-') { 59 cp++; 63 if (*cp == '+') 64 cp++; 66 if (*cp != '.' && !isdigit((unsigned char)*cp)) [all...] |
/freebsd-current/contrib/expat/xmlwf/ |
H A D | codepage.h | 35 int codepageMap(int cp, int *map); 36 int codepageConvert(int cp, const char *p);
|
/freebsd-current/contrib/ntp/libntp/lib/isc/nothreads/include/isc/ |
H A D | condition.h | 38 isc_result_t isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp); 39 isc_result_t isc__nothread_signal_hack(isc_condition_t *cp); 41 #define isc_condition_init(cp) \ 42 (*(cp) = 0, ISC_R_SUCCESS) 44 #define isc_condition_wait(cp, mp) \ 45 isc__nothread_wait_hack(cp, mp) 47 #define isc_condition_waituntil(cp, mp, tp) \ 48 ((void)(cp), (void)(mp), (void)(tp), ISC_R_NOTIMPLEMENTED) 50 #define isc_condition_signal(cp) \ 51 isc__nothread_signal_hack(cp) [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/ |
H A D | tst.Enable.ksh | 40 java -cp test.jar TestEnable
|
H A D | tst.Drop.ksh | 38 java -cp test.jar TestDrop 3
|
H A D | tst.GetAggregate.ksh | 36 java -cp test.jar TestGetAggregate
|
H A D | tst.StateMachine.ksh | 40 java -cp test.jar TestStateMachine
|
H A D | tst.StopLock.ksh | 39 java -cp test.jar TestStopLock
|
H A D | tst.Abort.ksh | 39 java -cp test.jar TestAbort
|
H A D | tst.Close.ksh | 38 java -cp test.jar TestClose
|
/freebsd-current/contrib/ntp/sntp/libopts/compat/ |
H A D | strdup.c | 11 char *cp; local 16 cp = (char *) AGALOC((unsigned) (strlen(s)+1), "strdup"); 18 if (cp != NULL) 19 (void) strcpy(cp, s); 21 return cp;
|
/freebsd-current/contrib/tcsh/ |
H A D | vms.termcap.c | 71 char *cp, 97 while (*(cp = &bp[strlen(bp) - 2]) == '\\') 98 fgets(cp, 1024, fp); 101 for (++cp ; ISSPACE(*cp) ; cp++); 150 char *cp; local 153 if ((cp = capab) == NULL || id == NULL) 155 while (*++cp != ':') 157 for (++cp ; *c 183 char *cp; local 208 char *cp; local 337 tputs(char *cp, int affcnt, int (*outc)()) argument [all...] |
/freebsd-current/crypto/openssh/regress/unittests/misc/ |
H A D | test_strdelim.c | 29 char *orig, *str, *cp; local 36 cp = strdelim(&str); 37 ASSERT_STRING_EQ(cp, ""); /* XXX arguable */ 38 cp = strdelim(&str); 39 ASSERT_PTR_EQ(cp, NULL); 45 cp = strdelim(&str); 46 ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */ 53 cp = strdelim(&str); 54 ASSERT_STRING_EQ(cp, "blob"); 55 cp [all...] |
/freebsd-current/usr.bin/mail/ |
H A D | temp.c | 46 char *cp; local 53 cp = tmpdir + strlen(tmpdir) - 1; 54 while (cp > tmpdir && *cp == '/') { 55 *cp = '\0'; 56 cp--; 67 if ((cp = username()) == NULL) { 72 myname = savestr(cp); 74 if ((cp = getenv("HOME")) == NULL || *cp [all...] |
/freebsd-current/sys/contrib/openzfs/module/lua/ |
H A D | lcompat.c | 25 const char *cp; local 30 cp = str; 31 while (*cp == ' ' || *cp == '\t' || *cp == '\n') { 32 cp++; 34 is_negative = (*cp == '-'); 36 cp++; 40 if (*cp == '0') { 42 cp [all...] |
/freebsd-current/contrib/tcp_wrappers/ |
H A D | vfprintf.c | 27 register char *cp; local 35 for (cp = format; *cp; cp++) { 36 if (*cp != '%') { 37 putc(*cp, fp); /* ordinary character */ 54 *fmtp++ = *cp++; 55 if (*cp == '-') /* left-adjusted field? */ 56 *fmtp++ = *cp++; 57 if (*cp [all...] |
/freebsd-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);
|
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | callb.h | 30 #define CALLB_CPR_ASSERT(cp) ASSERT(MUTEX_HELD((cp)->cc_lockp)); 36 #define CALLB_CPR_INIT(cp, lockp, func, name) { \ 37 (cp)->cc_lockp = lockp; \ 40 #define CALLB_CPR_SAFE_BEGIN(cp) { \ 41 CALLB_CPR_ASSERT(cp); \ 44 #define CALLB_CPR_SAFE_END(cp, lockp) { \ 45 CALLB_CPR_ASSERT(cp); \ 48 #define CALLB_CPR_EXIT(cp) { \ 49 ASSERT(MUTEX_HELD((cp) [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | test-strcasestr.c | 7 char *cp = strcasestr(big, "Gst"); local 8 return cp != big + 2;
|
/freebsd-current/sys/libkern/ |
H A D | scanc.c | 36 scanc(u_int size, const u_char *cp, const u_char table[], int mask0) argument 42 for (end = &cp[size]; cp < end; ++cp) { 43 if (table[*cp] & mask) 46 return (end - cp);
|
/freebsd-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...] |