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

1234567891011>>

/freebsd-11-stable/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 == '-' || *cp == '+') {
39 *bp++ = *cp++;
42 if (*cp != '.' && !isdigit((unsigned char)*cp))
49 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-11-stable/contrib/expat/xmlwf/
H A Dcodepage.h33 int codepageMap(int cp, int *map);
34 int codepageConvert(int cp, const char *p);
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/usr.bin/ctags/
H A Dlisp.c54 char *cp; local
80 for (cp = lbp; *cp && *cp != '\n'; ++cp)
82 *cp = EOS;
84 if (!(cp = strchr(lbp, ')')))
86 for (; cp >= lbp && *cp != ':'; --cp)
[all...]
/freebsd-11-stable/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...]
/freebsd-11-stable/sys/libkern/
H A Dscanc.c38 scanc(size, cp, table, mask0)
40 const u_char *cp, table[];
47 for (end = &cp[size]; cp < end; ++cp) {
48 if (table[*cp] & mask)
51 return (end - cp);
/freebsd-11-stable/usr.bin/mail/
H A Dutil.c165 char *cp, *cp2; local
173 for (cp = linebuf; isprint((unsigned char)*cp) && *cp != ' ' && *cp != ':';
174 cp++)
176 if (*cp != ':' || cp == linebuf)
182 *colon = cp;
183 cp
219 char *cp = colon; local
269 char *cp; local
341 char *cp, *cp2; local
360 skip_comment(char *cp) argument
388 char *nbuf, *bufend, *cp, *cp2; local
501 char *cp, *cp2; local
558 char *cp; local
[all...]
/freebsd-11-stable/contrib/amd/amd/
H A Dclock.c91 callout *cp = free_callouts; local
93 if (cp) {
96 return cp;
103 free_callout(callout *cp) argument
106 XFREE(cp);
108 cp->c_next = free_callouts;
109 free_callouts = cp;
123 callout *cp, *cp2; local
141 for (cp = &callouts; (cp2 = cp
164 callout *cp, *cp2; local
181 callout *cp; local
201 callout *cp; local
[all...]

Completed in 443 milliseconds

1234567891011>>