Home
last modified time | relevance | path

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

12345678910>>...51

/dragonfly/contrib/tcpdump/
H A Dprint-domain.c75 cp++; in ns_nskip()
107 cp++; in ns_nskip()
201 cp++; in fqdn_print()
304 cp++; in ns_cprint()
617 cp = ns_nskip(ndo, cp); in ns_qprint()
619 if (cp == NULL || !ND_TTEST_4(cp)) in ns_qprint()
641 return(cp ? cp + 4 : NULL); in ns_qprint()
658 cp = ns_nskip(ndo, cp); in ns_rprint()
756 cp = ns_cprint(ndo, cp); in ns_rprint()
861 cp += 2 + GET_BE_U_2(cp); in ns_rprint()
[all …]
H A Dprint-aoe.c152 cp += 1; in aoev1_issue_print()
156 cp += 1; in aoev1_issue_print()
160 cp += 1; in aoev1_issue_print()
164 cp += 1; in aoev1_issue_print()
168 cp += 1; in aoev1_issue_print()
172 cp += 1; in aoev1_issue_print()
176 cp += 1; in aoev1_issue_print()
180 cp += 1; in aoev1_issue_print()
184 cp += 1; in aoev1_issue_print()
188 cp += 1; in aoev1_issue_print()
[all …]
H A Dprint-openflow-1.0.c1046 cp += 2; in of10_phy_port_print()
1063 cp += 4; in of10_phy_port_print()
1075 cp += 4; in of10_phy_port_print()
1079 cp += 4; in of10_phy_port_print()
1083 cp += 4; in of10_phy_port_print()
1087 cp += 4; in of10_phy_port_print()
1211 cp += 4; in of10_match_print()
1216 cp += 2; in of10_match_print()
1228 cp += 2; in of10_match_print()
1232 cp += 1; in of10_match_print()
[all …]
H A Dprint-ahcp.c148 cp += 16; in ahcp_ipv6_addresses_print()
169 cp += 4; in ahcp_ipv4_addresses_print()
190 cp += 17; in ahcp_ipv6_prefixes_print()
211 cp += 5; in ahcp_ipv4_prefixes_print()
249 cp += 1; in ahcp1_options_print()
258 cp += 1; in ahcp1_options_print()
290 cp += 1; in ahcp1_body_print()
294 cp += 1; in ahcp1_body_print()
298 cp += 2; in ahcp1_body_print()
337 cp += 1; in ahcp_print()
[all …]
H A Dprint-openflow-1.3.c654 cp += 4; in of13_port_print()
656 cp += 4; in of13_port_print()
661 cp += 2; in of13_port_print()
676 cp += 4; in of13_port_print()
680 cp += 4; in of13_port_print()
684 cp += 4; in of13_port_print()
688 cp += 4; in of13_port_print()
692 cp += 4; in of13_port_print()
696 cp += 4; in of13_port_print()
699 cp += 4; in of13_port_print()
[all …]
H A Dprint-zeromq.c85 body_len_declared = GET_U_1(cp); in zmtp1_print_frame()
131 cp += header_len; in zmtp1_print_frame()
133 return cp + body_len_declared; in zmtp1_print_frame()
146 while (cp < ep) in zmtp1_print()
147 cp = zmtp1_print_frame(ndo, cp, ep); in zmtp1_print()
172 frame_offset = GET_BE_U_2(cp); in zmtp1_print_intermediate_part()
174 cp += 2; in zmtp1_print_intermediate_part()
200 return cp + frame_offset; in zmtp1_print_intermediate_part()
212 cp = zmtp1_print_intermediate_part(ndo, cp, len); in zmtp1_datagram_print()
213 while (cp < ep) in zmtp1_datagram_print()
[all …]
/dragonfly/usr.bin/mail/
H A Dutil.c165 for (cp = linebuf; isprint((unsigned char)*cp) && *cp != ' ' && *cp != ':'; in gethfield()
168 if (*cp != ':' || cp == linebuf) in gethfield()
177 while (--cp >= linebuf && (*cp == ' ' || *cp == '\t')) in gethfield()
219 for (cp++; *cp == ' ' || *cp == '\t'; cp++) in ishfield()
399 cp = skip_comment(cp); in skin()
423 if (cp[0] == 'a' && cp[1] == 't' && cp[2] == ' ') in skin()
444 cp = skip_comment(cp); in skin()
506 for (cp = linebuf; *cp != '\0' && *cp != ' '; cp++) in name1()
508 for (; *cp == ' ' || *cp == '\t'; cp++) in name1()
511 *cp != '\0' && *cp != ' ' && *cp != '\t' && in name1()
[all …]
H A Dhead.c91 char *cp, *sp; in parse() local
97 cp = line; in parse()
102 cp = nextword(cp, word); in parse()
110 cp = nextword(cp, word); in parse()
113 if (cp != NULL && strncmp(cp, "tty", 3) == 0) { in parse()
114 cp = nextword(cp, word); in parse()
135 *space = cp; in copyin()
213 if (*cp != ' ' && !isdigit((unsigned char)*cp)) in cmatch()
215 cp++; in cmatch()
222 if (*cp != ' ' && !ispunct((unsigned char)*cp)) in cmatch()
[all …]
H A Dnames.c95 while ((cp = yankword(cp, nbuf)) != NULL) { in extract()
160 cp = ap; in yankword()
179 } else if (*cp == ' ' || *cp == '\t' || *cp == ',') in yankword()
180 cp++; in yankword()
206 cp = ap; in yanklogin()
225 } else if (*cp == ' ' || *cp == '\t' || *cp == ',') { in yanklogin()
226 cp++; in yanklogin()
246 cp ++; in yanklogin()
254 cp--; in yanklogin()
433 for (cp = name; *cp != '\0'; cp++) { in isfileaddr()
[all …]
/dragonfly/lib/libc/resolv/
H A Dres_mkquery.c140 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, in res_nmkquery()
143 cp += n; in res_nmkquery()
156 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, in res_nmkquery()
160 cp += n; in res_nmkquery()
220 cp = buf + n0; in res_nopt()
228 cp += INT16SZ; in res_nopt()
232 cp += INT16SZ; in res_nopt()
244 cp += INT16SZ; in res_nopt()
247 cp += INT16SZ; in res_nopt()
276 cp = buf + n0; in res_nopt_rdata()
[all …]
H A Dres_init.c258 cp = (cp == NULL) ? buf : (cp + 1); in __res_vinit()
295 while (*cp != '\0' && *cp != ' ' && *cp != '\t' && *cp != '\n') in __res_vinit()
318 while (*cp == ' ' || *cp == '\t') in __res_vinit()
359 while (*cp != '\0' && *cp != ' ' && *cp != '\t') in __res_vinit()
407 while (*cp == ' ' || *cp == '\t') in __res_vinit()
409 if (*cp == '\0' || *cp == '\n' || *cp == ';') in __res_vinit()
412 while (*cp && !ISSORTMASK(*cp) && *cp != ';' && in __res_vinit()
422 while (*cp && *cp != ';' && in __res_vinit()
476 for (cp = statp->defdname; *cp; cp++) in __res_vinit()
520 while (*cp == ' ' || *cp == '\t') in res_setoptions()
[all …]
H A Dres_debug.c767 cp++; in precsize_aton()
805 cp++; in latlon2ul()
814 cp++; in latlon2ul()
823 cp++; in latlon2ul()
836 cp++; in latlon2ul()
839 cp++; in latlon2ul()
876 cp++; in latlon2ul()
879 cp++; in latlon2ul()
929 cp++; in loc_aton()
933 cp++; in loc_aton()
[all …]
/dragonfly/contrib/cvs-1.12/lib/
H A Dprintf-parse.c134 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
163 cp++; in PRINTF_PARSE()
168 cp++; in PRINTF_PARSE()
173 cp++; in PRINTF_PARSE()
178 cp++; in PRINTF_PARSE()
204 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
235 else if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
240 for (; *cp >= '0' && *cp <= '9'; cp++) in PRINTF_PARSE()
261 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
298 for (; *cp >= '0' && *cp <= '9'; cp++) in PRINTF_PARSE()
[all …]
/dragonfly/usr.bin/unifdef/
H A Dunifdef.c801 cp = skipcomment(cp); in parseline()
828 cp = skipline(cp); in parseline()
832 cp = skipcomment(cp); in parseline()
834 cp = skipline(cp); in parseline()
982 cp = skipcomment(cp); in eval_unary()
1001 cp = skipcomment(cp); in eval_unary()
1020 cp = skipargs(cp); in eval_unary()
1029 cp = skipargs(cp); in eval_unary()
1059 cp = skipcomment(cp); in eval_table()
1264 cp = skipcomment(cp); in skipargs()
[all …]
/dragonfly/contrib/diffutils/lib/
H A Dprintf-parse.c134 while (*cp != '\0') in PRINTF_PARSE()
154 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
225 cp++; in PRINTF_PARSE()
231 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
262 else if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
267 for (; *cp >= '0' && *cp <= '9'; cp++) in PRINTF_PARSE()
278 cp++; in PRINTF_PARSE()
288 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
325 for (; *cp >= '0' && *cp <= '9'; cp++) in PRINTF_PARSE()
372 else if (*cp == 'z' || *cp == 'Z') in PRINTF_PARSE()
[all …]
/dragonfly/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 …]
/dragonfly/lib/libbluetooth/
H A Dbluetooth.c70 for (cp = p->h_aliases; *cp != NULL; cp++) in bt_gethostbyname()
131 while (*cp == ' ' || *cp == '\t') in bt_gethostent()
135 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
137 while (cp != NULL && *cp != 0) { in bt_gethostent()
138 if (*cp == ' ' || *cp == '\t') { in bt_gethostent()
144 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
183 for (cp = p->p_aliases; *cp != NULL; cp++) in bt_getprotobyname()
229 while (*cp == ' ' || *cp == '\t') in bt_getprotoent()
237 while (cp != NULL && *cp != 0) { in bt_getprotoent()
238 if (*cp == ' ' || *cp == '\t') { in bt_getprotoent()
[all …]
/dragonfly/sys/netbt/
H A Dl2cap_signal.c251 cp.scid = letoh16(cp.scid); in l2cap_recv_connect_req()
252 cp.psm = letoh16(cp.psm); in l2cap_recv_connect_req()
358 cp.scid = letoh16(cp.scid); in l2cap_recv_connect_rsp()
359 cp.dcid = letoh16(cp.dcid); in l2cap_recv_connect_rsp()
433 cp.dcid = letoh16(cp.dcid); in l2cap_recv_config_req()
643 cp.scid = letoh16(cp.scid); in l2cap_recv_config_rsp()
845 cp.scid = letoh16(cp.scid); in l2cap_recv_disconnect_req()
846 cp.dcid = letoh16(cp.dcid); in l2cap_recv_disconnect_req()
851 cp.dcid, cp.scid); in l2cap_recv_disconnect_req()
882 cp.scid = letoh16(cp.scid); in l2cap_recv_disconnect_rsp()
[all …]
/dragonfly/contrib/tcsh-6/
H A Dsh.dir.c348 for ( ; *cp && *(cp + 1); cp++) in dnormalize()
502 cp = Strsave(cp); in dochngd()
522 if ((cp = dfollow(cp, dflag & DIR_OLD)) == NULL) in dochngd()
557 cp = dp; in dgoto()
561 dp = cp; in dgoto()
587 cp = old ? Strsave(cp) : globone(cp, G_ERROR); in dfollow()
630 if (cp[0] != '/' && !prefix(STRdotsl, cp) && !prefix(STRdotdotsl, cp) in dfollow()
928 slashslash = (cp[0] == '/' && cp[1] == '/'); in dcanon_internal()
1124 (cp[cc] != '/' && cp[cc] != '\0'))) { in dcanon_internal()
1180 if (cp[1] == '/' && cp[2] == '/') { in dcanon_internal()
[all …]
/dragonfly/usr.bin/colcrt/
H A Dcolcrt.c160 cp += 132; in main()
165 cp[i] = c; in main()
167 for (cp--; cp >= dp && *cp == 0; cp--) in main()
170 if (plus(c, *cp) || plus(*cp, c)) in main()
172 else if (*cp == ' ' || *cp == 0) { in main()
211 wchar_t *cp; in pflush() local
226 cp = page[i]; in pflush()
235 cp += w; in pflush()
237 cp++; in pflush()
253 for (cp = page[l], dp = page[m]; *cp; cp++, dp++) { in move()
[all …]
/dragonfly/lib/libc/stdio/
H A Dfparseln.c57 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) in isescaped()
111 for (cp = ptr; cp < ptr + s; cp++) in fparseln()
112 if (*cp == com && !isescaped(ptr, cp, esc)) { in fparseln()
122 if (*cp == nl) in fparseln()
129 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
148 buf = cp; in fparseln()
157 ptr = cp = buf; in fparseln()
161 while (cp[0] != '\0' && cp[0] != esc) in fparseln()
163 if (cp[0] == '\0' || cp[1] == '\0') in fparseln()
173 if (cp[1] != com && cp[1] != con && cp[1] != esc) in fparseln()
[all …]
/dragonfly/usr.bin/sed/
H A Dprocess.c114 cp = cp->next; in process()
119 cp = cp->u.c; in process()
133 cp = cp->u.c; in process()
236 cp = cp->u.c; in process()
243 if (cp->u.fd == -1 && (cp->u.fd = open(cp->t, in process()
276 cp = cp->next; in process()
303 if (cp->a1 == NULL && cp->a2 == NULL) in applies()
367 for (cp = prog; cp; cp = cp->code == '{' ? cp->u.c : cp->next) in resetstate()
481 if (cp->u.s->wfd == -1 && (cp->u.s->wfd = open(cp->u.s->wfile, in substitute()
773 for (; cp != end; cp = cp->next) in cfclose()
[all …]
/dragonfly/usr.bin/ctags/
H A Dlisp.c48 char *cp; in l_entries() local
74 for (cp = lbp; *cp && *cp != '\n'; ++cp) in l_entries()
76 *cp = EOS; in l_entries()
80 for (; cp >= lbp && *cp != ':'; --cp) in l_entries()
82 if (cp < lbp) in l_entries()
84 lbp = cp; in l_entries()
85 for (; *cp && *cp != ')' && *cp != ' '; ++cp) in l_entries()
90 *cp && *cp != '(' && *cp != ' '; ++cp) in l_entries()
92 savedc = *cp; in l_entries()
93 *cp = EOS; in l_entries()
[all …]
/dragonfly/contrib/tcp_wrappers/
H A Dvfprintf.c30 register char *cp; local
38 for (cp = format; *cp; cp++) {
39 if (*cp != '%') {
57 *fmtp++ = *cp++;
59 *fmtp++ = *cp++;
61 *fmtp++ = *cp++;
65 cp++;
68 *fmtp++ = *cp++;
71 *fmtp++ = *cp++;
75 cp++;
[all …]
/dragonfly/sys/netproto/smb/
H A Dsmb_conn.c254 if (cp->co_gone) in smb_co_gone()
255 cp->co_gone(cp, scred); in smb_co_gone()
266 if (cp->co_free) in smb_co_gone()
267 cp->co_free(cp); in smb_co_gone()
273 SMB_CO_LOCK(cp); in smb_co_ref()
274 cp->co_usecount++; in smb_co_ref()
275 SMB_CO_UNLOCK(cp); in smb_co_ref()
281 SMB_CO_LOCK(cp); in smb_co_rele()
309 SMB_CO_LOCK(cp); in smb_co_get()
314 SMB_CO_LOCK(cp); in smb_co_get()
[all …]

12345678910>>...51