Searched refs:cp (Results 1 - 25 of 1759) sorted by relevance

1234567891011>>

/freebsd-head/contrib/ntp/libntp/
H A Dhextoint.c17 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 Dmstolfp.c17 register const char *cp; local
34 cp = str;
35 while (isspace((unsigned char)*cp))
36 cp++;
38 if (*cp == '-') {
40 cp++;
43 if (*cp != '.' && !isdigit((unsigned char)*cp))
50 cpdec = cp;
58 if ((cpdec - cp) >
[all...]
H A Docttoint.c18 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 Datouint.c23 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 Datoint.c18 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 Datolfp.c35 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-head/contrib/expat/xmlwf/
H A Dcodepage.h33 int codepageMap(int cp, int *map);
34 int codepageConvert(int cp, const char *p);
/freebsd-head/contrib/ntp/lib/isc/nothreads/include/isc/
H A Dcondition.h38 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-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
H A Dtst.Abort.ksh39 java -cp test.jar TestAbort
H A Dtst.Close.ksh38 java -cp test.jar TestClose
H A Dtst.Drop.ksh38 java -cp test.jar TestDrop 3
H A Dtst.Enable.ksh40 java -cp test.jar TestEnable
H A Dtst.GetAggregate.ksh36 java -cp test.jar TestGetAggregate
H A Dtst.StateMachine.ksh40 java -cp test.jar TestStateMachine
H A Dtst.StopLock.ksh39 java -cp test.jar TestStopLock
/freebsd-head/contrib/ntp/sntp/libopts/compat/
H A Dstrdup.c11 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-head/contrib/tcsh/
H A Dvms.termcap.c71 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-head/contrib/tcp_wrappers/
H A Dvfprintf.c30 register char *cp; local
38 for (cp = format; *cp; cp++) {
39 if (*cp != '%') {
40 putc(*cp, fp); /* ordinary character */
57 *fmtp++ = *cp++;
58 if (*cp == '-') /* left-adjusted field? */
59 *fmtp++ = *cp++;
60 if (*cp
[all...]
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlcompat.c26 const char *cp; local
31 cp = str;
32 while (*cp == ' ' || *cp == '\t' || *cp == '\n') {
33 cp++;
35 is_negative = (*cp == '-');
37 cp++;
41 if (*cp == '0') {
43 cp
[all...]
/freebsd-head/lib/libc/string/
H A Dmemrchr.c30 const unsigned char *cp; local
33 cp = (unsigned char *)s + n;
35 if (*(--cp) == (unsigned char)c)
36 return((void *)cp);
/freebsd-head/lib/libc/gmon/
H A DMakefile.inc17 cp mcount.o mcount.po
/freebsd-head/contrib/mandoc/
H A Dtest-strcasestr.c7 char *cp = strcasestr(big, "Gst"); local
8 return cp != big + 2;
/freebsd-head/sys/libkern/
H A Dscanc.c40 scanc(u_int size, const u_char *cp, const u_char table[], int mask0) argument
46 for (end = &cp[size]; cp < end; ++cp) {
47 if (table[*cp] & mask)
50 return (end - cp);
/freebsd-head/usr.bin/ctags/
H A Dlisp.c56 char *cp; local
82 for (cp = lbp; *cp && *cp != '\n'; ++cp)
84 *cp = EOS;
86 if (!(cp = strchr(lbp, ')')))
88 for (; cp >= lbp && *cp != ':'; --cp)
[all...]
/freebsd-head/contrib/tcpdump/
H A Dprint-aoe.c144 const u_char *cp, const u_int len)
146 const u_char *ep = cp + len;
151 ND_TCHECK2(*cp, 1);
152 ND_PRINT((ndo, "\n\tAFlags: [%s]", bittok2str(aoev1_aflag_str, "none", *cp)));
153 cp += 1;
155 ND_TCHECK2(*cp, 1);
156 ND_PRINT((ndo, ", Err/Feature: %u", *cp));
157 cp += 1;
159 ND_TCHECK2(*cp, 1);
160 ND_PRINT((ndo, ", Sector Count: %u", *cp));
143 aoev1_issue_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
207 aoev1_query_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
256 aoev1_mac_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
307 aoev1_reserve_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
344 aoev1_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
402 aoe_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]

Completed in 323 milliseconds

1234567891011>>