Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 2259) sorted by relevance

12345678910>>...91

/freebsd-14.2/contrib/tcsh/
H A Dvms.termcap.c101 for (++cp ; ISSPACE(*cp) ; cp++); in tgetent()
157 for (++cp ; *cp ; cp++) { in tgetnum()
161 while (*cp && *cp != ':' && *cp != '#') in tgetnum()
165 for (ret = 0, cp++ ; *cp && ISDIGIT(*cp) ; cp++) in tgetnum()
169 while (*cp && *cp != ':') in tgetnum()
189 for (++cp ; *cp ; cp++) { in tgetflag()
194 while (*cp && *cp != ':') in tgetflag()
216 for (++cp ; *cp ; cp++) { in tgetstr()
220 while (*cp && *cp != ':' && *cp != '=') in tgetstr()
224 for (ret = *area, cp++; *cp && *cp != ':' ; in tgetstr()
[all …]
/freebsd-14.2/contrib/tcpdump/
H A Dprint-domain.c73 cp++; in ns_nskip()
105 cp++; in ns_nskip()
199 cp++; in fqdn_print()
302 cp++; in ns_cprint()
642 cp = ns_nskip(ndo, cp); in ns_qprint()
644 if (cp == NULL || !ND_TTEST_4(cp)) in ns_qprint()
666 return(cp ? cp + 4 : NULL); in ns_qprint()
683 cp = ns_nskip(ndo, cp); in ns_rprint()
781 cp = ns_cprint(ndo, cp); in ns_rprint()
883 cp += 2 + GET_BE_U_2(cp); in ns_rprint()
[all …]
H A Dprint-aoe.c150 cp += 1; in aoev1_issue_print()
154 cp += 1; in aoev1_issue_print()
158 cp += 1; in aoev1_issue_print()
162 cp += 1; in aoev1_issue_print()
166 cp += 1; in aoev1_issue_print()
170 cp += 1; in aoev1_issue_print()
174 cp += 1; in aoev1_issue_print()
178 cp += 1; in aoev1_issue_print()
182 cp += 1; in aoev1_issue_print()
186 cp += 1; in aoev1_issue_print()
[all …]
H A Dprint-openflow-1.0.c1033 cp += 2; in of10_phy_port_print()
1050 cp += 4; in of10_phy_port_print()
1062 cp += 4; in of10_phy_port_print()
1066 cp += 4; in of10_phy_port_print()
1070 cp += 4; in of10_phy_port_print()
1074 cp += 4; in of10_phy_port_print()
1198 cp += 4; in of10_match_print()
1203 cp += 2; in of10_match_print()
1215 cp += 2; in of10_match_print()
1219 cp += 1; in of10_match_print()
[all …]
H A Dprint-ahcp.c142 cp += 16; in ahcp_ipv6_addresses_print()
163 cp += 4; in ahcp_ipv4_addresses_print()
184 cp += 17; in ahcp_ipv6_prefixes_print()
205 cp += 5; in ahcp_ipv4_prefixes_print()
243 cp += 1; in ahcp1_options_print()
252 cp += 1; in ahcp1_options_print()
284 cp += 1; in ahcp1_body_print()
288 cp += 1; in ahcp1_body_print()
292 cp += 2; in ahcp1_body_print()
331 cp += 1; in ahcp_print()
[all …]
H A Dprint-openflow-1.3.c652 cp += 4; in of13_port_print()
654 cp += 4; in of13_port_print()
659 cp += 2; in of13_port_print()
674 cp += 4; in of13_port_print()
678 cp += 4; in of13_port_print()
682 cp += 4; in of13_port_print()
686 cp += 4; in of13_port_print()
690 cp += 4; in of13_port_print()
694 cp += 4; in of13_port_print()
697 cp += 4; in of13_port_print()
[all …]
H A Dprint-zeromq.c96 body_len_declared = GET_U_1(cp); in zmtp1_print_frame()
133 cp += header_len; in zmtp1_print_frame()
135 return cp + body_len_declared; in zmtp1_print_frame()
148 while (cp < ep) in zmtp1_print()
149 cp = zmtp1_print_frame(ndo, cp, ep); in zmtp1_print()
174 frame_offset = GET_BE_U_2(cp); in zmtp1_print_intermediate_part()
176 cp += 2; in zmtp1_print_intermediate_part()
202 return cp + frame_offset; in zmtp1_print_intermediate_part()
214 cp = zmtp1_print_intermediate_part(ndo, cp, len); in zmtp1_datagram_print()
215 while (cp < ep) in zmtp1_datagram_print()
[all …]
/freebsd-14.2/crypto/openssh/regress/unittests/misc/
H A Dtest_strdelim.c29 char *orig, *str, *cp; in test_strdelim() local
36 cp = strdelim(&str); in test_strdelim()
38 cp = strdelim(&str); in test_strdelim()
45 cp = strdelim(&str); in test_strdelim()
53 cp = strdelim(&str); in test_strdelim()
55 cp = strdelim(&str); in test_strdelim()
63 cp = strdelim(&str); in test_strdelim()
66 cp = strdelim(&str); in test_strdelim()
74 cp = strdelim(&str); in test_strdelim()
77 cp = strdelim(&str); in test_strdelim()
[all …]
/freebsd-14.2/usr.bin/mail/
H A Dutil.c173 for (cp = linebuf; isprint((unsigned char)*cp) && *cp != ' ' && *cp != ':'; in gethfield()
185 while (--cp >= linebuf && (*cp == ' ' || *cp == '\t')) in gethfield()
227 for (cp++; *cp == ' ' || *cp == '\t'; cp++) in ishfield()
407 cp = skip_comment(cp); in skin()
431 if (cp[0] == 'a' && cp[1] == 't' && cp[2] == ' ') in skin()
452 cp = skip_comment(cp); in skin()
474 (*cp == ' ' || *cp == '"' || *cp == '<')) { in skin()
515 for (cp = linebuf; *cp != '\0' && *cp != ' '; cp++) in name1()
517 for (; *cp == ' ' || *cp == '\t'; cp++) in name1()
520 *cp != '\0' && *cp != ' ' && *cp != '\t' && in name1()
[all …]
H A Dhead.c95 char *cp, *sp; in parse() local
101 cp = line; in parse()
106 cp = nextword(cp, word); in parse()
114 cp = nextword(cp, word); in parse()
117 if (cp != NULL && strncmp(cp, "tty", 3) == 0) { in parse()
118 cp = nextword(cp, word); in parse()
139 *space = cp; in copyin()
217 if (*cp != ' ' && !isdigit((unsigned char)*cp)) in cmatch()
219 cp++; in cmatch()
226 if (*cp != ' ' && !ispunct((unsigned char)*cp)) in cmatch()
[all …]
/freebsd-14.2/lib/libc/resolv/
H A Dres_mkquery.c143 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, in res_nmkquery()
146 cp += n; in res_nmkquery()
159 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, in res_nmkquery()
163 cp += n; in res_nmkquery()
223 cp = buf + n0; in res_nopt()
231 cp += INT16SZ; in res_nopt()
235 cp += INT16SZ; in res_nopt()
247 cp += INT16SZ; in res_nopt()
250 cp += INT16SZ; in res_nopt()
279 cp = buf + n0; in res_nopt_rdata()
[all …]
H A Dres_init.c268 cp = (cp == NULL) ? buf : (cp + 1); in __res_vinit()
305 while (*cp != '\0' && *cp != ' ' && *cp != '\t' && *cp != '\n') in __res_vinit()
381 while (*cp != '\0' && *cp != ' ' && *cp != '\t') in __res_vinit()
434 while (*cp == ' ' || *cp == '\t') in __res_vinit()
436 if (*cp == '\0' || *cp == '\n' || *cp == ';') in __res_vinit()
439 while (*cp && !ISSORTMASK(*cp) && *cp != ';' && in __res_vinit()
449 while (*cp && *cp != ';' && in __res_vinit()
479 while (*cp && *cp != ';' && in __res_vinit()
556 for (cp = statp->defdname; *cp; cp++) in __res_vinit()
600 while (*cp == ' ' || *cp == '\t') in res_setoptions()
[all …]
/freebsd-14.2/stand/common/
H A Dboot.c341 for (cp = lbuf; (*cp != 0) && !isspace(*cp); cp++) in getrootmount()
351 while ((*cp != 0) && isspace(*cp)) in getrootmount()
352 cp++; in getrootmount()
354 if ((*cp == 0) || (*cp != '/') || !isspace(*(cp + 1))) in getrootmount()
358 while ((*cp != 0) && isspace(*cp)) in getrootmount()
359 cp++; in getrootmount()
364 while ((*cp != 0) && !isspace(*cp)) in getrootmount()
365 cp++; in getrootmount()
372 while ((*cp != 0) && isspace(*cp)) in getrootmount()
378 while ((*cp != 0) && !isspace(*cp)) in getrootmount()
[all …]
/freebsd-14.2/lib/libbluetooth/
H A Dbluetooth.c71 for (cp = p->h_aliases; *cp != NULL; cp++) in bt_gethostbyname()
132 while (*cp == ' ' || *cp == '\t') in bt_gethostent()
136 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
138 while (cp != NULL && *cp != 0) { in bt_gethostent()
139 if (*cp == ' ' || *cp == '\t') { in bt_gethostent()
145 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
184 for (cp = p->p_aliases; *cp != NULL; cp++) in bt_getprotobyname()
230 while (*cp == ' ' || *cp == '\t') in bt_getprotoent()
238 while (cp != NULL && *cp != 0) { in bt_getprotoent()
239 if (*cp == ' ' || *cp == '\t') { in bt_getprotoent()
[all …]
/freebsd-14.2/contrib/unifdef/
H A Dunifdef.c819 cp = skipcomment(cp); in parseline()
846 cp = skipline(cp); in parseline()
850 cp = skipcomment(cp); in parseline()
852 cp = skipline(cp); in parseline()
1071 cp = skipcomment(cp); in eval_unary()
1090 cp = skipcomment(cp); in eval_unary()
1109 cp = skipargs(cp); in eval_unary()
1118 cp = skipargs(cp); in eval_unary()
1148 cp = skipcomment(cp); in eval_table()
1375 cp = skipcomment(cp); in skipargs()
[all …]
/freebsd-14.2/usr.sbin/bluetooth/hccontrol/
H A Dlink_control.c179 memset(&cp, 0, sizeof(cp)); in hci_create_connection()
231 cp.pkt_type = htole16(cp.pkt_type); in hci_create_connection()
300 memset(&cp, 0, sizeof(cp)); in hci_disconnect()
318 cp.con_handle = htole16(cp.con_handle); in hci_disconnect()
374 memset(&cp, 0, sizeof(cp)); in hci_add_sco_connection()
389 cp.pkt_type = htole16(cp.pkt_type); in hci_add_sco_connection()
397 cp.con_handle = htole16(cp.con_handle); in hci_add_sco_connection()
461 cp.con_handle = htole16(cp.con_handle); in hci_change_connection_packet_type()
468 cp.pkt_type = htole16(cp.pkt_type); in hci_change_connection_packet_type()
524 memset(&cp, 0, sizeof(cp)); in hci_remote_name_request()
[all …]
/freebsd-14.2/usr.bin/ctags/
H A Dlisp.c54 char *cp; in l_entries() local
80 for (cp = lbp; *cp && *cp != '\n'; ++cp) in l_entries()
82 *cp = EOS; in l_entries()
86 for (; cp >= lbp && *cp != ':'; --cp) in l_entries()
88 if (cp < lbp) in l_entries()
90 lbp = cp; in l_entries()
91 for (; *cp && *cp != ')' && *cp != ' '; ++cp) in l_entries()
96 *cp && *cp != '(' && *cp != ' '; ++cp) in l_entries()
98 savedc = *cp; in l_entries()
99 *cp = EOS; in l_entries()
[all …]
/freebsd-14.2/lib/libutil/
H A Dfparseln.c65 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) in isescaped()
119 for (cp = ptr; cp < ptr + s; cp++) in fparseln()
120 if (*cp == com && !isescaped(ptr, cp, esc)) { in fparseln()
130 if (*cp == nl) in fparseln()
137 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
156 buf = cp; in fparseln()
165 ptr = cp = buf; in fparseln()
169 while (cp[0] != '\0' && cp[0] != esc) in fparseln()
171 if (cp[0] == '\0' || cp[1] == '\0') in fparseln()
181 if (cp[1] != com && cp[1] != con && cp[1] != esc) in fparseln()
[all …]
/freebsd-14.2/contrib/tcp_wrappers/
H A Dvfprintf.c27 register char *cp; in vfprintf() local
35 for (cp = format; *cp; cp++) { in vfprintf()
36 if (*cp != '%') { in vfprintf()
54 *fmtp++ = *cp++; in vfprintf()
56 *fmtp++ = *cp++; in vfprintf()
58 *fmtp++ = *cp++; in vfprintf()
62 cp++; in vfprintf()
65 *fmtp++ = *cp++; in vfprintf()
68 *fmtp++ = *cp++; in vfprintf()
72 cp++; in vfprintf()
[all …]
/freebsd-14.2/contrib/blocklist/port/
H A Dfparseln.c69 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) in isescaped()
121 for (cp = ptr; cp < ptr + s; cp++) in fparseln()
122 if (*cp == com && !isescaped(ptr, cp, esc)) { in fparseln()
132 if (*cp == nl) in fparseln()
139 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
159 buf = cp; in fparseln()
170 ptr = cp = buf; in fparseln()
174 while (cp[0] != '\0' && cp[0] != esc) in fparseln()
176 if (cp[0] == '\0' || cp[1] == '\0') in fparseln()
186 if (cp[1] != com && cp[1] != con && cp[1] != esc) in fparseln()
[all …]
/freebsd-14.2/usr.sbin/rtadvd/
H A Dcontrol_server.c112 cp->cp_val_len = strlen(cp->cp_val) + 1; in cm_getprop_echo()
123 cp->cp_val_len = strlen(cp->cp_val) + 1; in cm_getprop_version()
148 cp->cp_val = p; in cm_getprop_ifilist()
157 cp->cp_val_len = p - cp->cp_val; in cm_getprop_ifilist()
191 cp->cp_val = p; in cm_getprop_ifi()
328 cp->cp_val_len = p - cp->cp_val; in cm_getprop_rti()
377 cp->cp_val_len = p - cp->cp_val; in cm_getprop_pfx()
446 cp->cp_val_len = p - cp->cp_val; in cm_getprop_rdnss()
514 cp->cp_val_len = p - cp->cp_val; in cm_getprop_dnssl()
543 if (cp == NULL || cp->cp_key == NULL) in cm_setprop()
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/lua/
H A Dlcompat.c30 cp = str; in lcompat_strtoll()
31 while (*cp == ' ' || *cp == '\t' || *cp == '\n') { in lcompat_strtoll()
32 cp++; in lcompat_strtoll()
36 cp++; in lcompat_strtoll()
42 cp++; in lcompat_strtoll()
43 if (*cp == 'x' || *cp == 'X') { in lcompat_strtoll()
45 cp++; in lcompat_strtoll()
50 for (; *cp != '\0'; cp++) { in lcompat_strtoll()
51 if (*cp >= '0' && *cp <= '9') { in lcompat_strtoll()
53 } else if (*cp >= 'a' && *cp <= 'f') { in lcompat_strtoll()
[all …]
/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcallb.h136 (cp)->cc_lockp = lockp; \
137 (cp)->cc_id = callb_add(func, (void *)(cp), \
144 #define CALLB_CPR_ASSERT(cp) ASSERT(MUTEX_HELD((cp)->cc_lockp)); argument
146 #define CALLB_CPR_ASSERT(cp) argument
171 CALLB_CPR_ASSERT(cp) \
174 cv_signal(&(cp)->cc_callb_cv); \
177 CALLB_CPR_ASSERT(cp) \
185 #define CALLB_CPR_EXIT(cp) { \ argument
186 CALLB_CPR_ASSERT(cp) \
189 cv_signal(&(cp)->cc_callb_cv); \
[all …]
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcallb.h137 (cp)->cc_lockp = lockp; \
138 (cp)->cc_id = callb_add(func, (void *)(cp), \
145 #define CALLB_CPR_ASSERT(cp) ASSERT(MUTEX_HELD((cp)->cc_lockp)); argument
147 #define CALLB_CPR_ASSERT(cp) argument
172 CALLB_CPR_ASSERT(cp) \
175 cv_signal(&(cp)->cc_callb_cv); \
178 CALLB_CPR_ASSERT(cp) \
186 #define CALLB_CPR_EXIT(cp) { \ argument
187 CALLB_CPR_ASSERT(cp) \
190 cv_signal(&(cp)->cc_callb_cv); \
[all …]
/freebsd-14.2/sys/geom/
H A Dgeom_subr.c201 if (cp->acr || cp->acw || cp->ace) { in g_unload_class()
472 if (cp->acr || cp->acw || cp->ace) in g_wither_geom_close()
473 g_access(cp, -cp->acr, -cp->acw, -cp->ace); in g_wither_geom_close()
505 if (cp->acr || cp->acw || cp->ace) in g_wither_washer()
711 cp->geom->orphan(cp); in g_resize_provider_event()
967 cp->ace + dce != 0 || cp->nstart == cp->nend, in g_access()
1011 cp->acr, cp->acw, cp->ace, in g_access()
1047 KASSERT(cp->acr == sr && cp->acw == sw && cp->ace == se, in g_access()
1077 cp->acr == 0 && cp->acw == 0 && cp->ace == 0) in g_access()
1222 cp->geom->spoiled(cp); in g_spoil_event()
[all …]

12345678910>>...91