Searched refs:cp (Results 276 - 300 of 2051) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/sym/
H A Dsym_hipd.c1450 #define CCB_BA(cp,lbl) (cp->ccb_ba + offsetof(struct sym_ccb, lbl))
2187 static int sym_prepare_nego (hcb_p np, ccb_p cp, int nego, u_char *msgptr);
2188 static void sym_put_start_queue (hcb_p np, ccb_p cp);
2199 static void sym_setsync (hcb_p np, ccb_p cp, u_char ofs, u_char per,
2201 static void sym_setwide (hcb_p np, ccb_p cp, u_char wide);
2202 static void sym_setpprot(hcb_p np, ccb_p cp, u_char dt, u_char ofs,
2204 static void sym_settrans(hcb_p np, ccb_p cp, u_char dt, u_char ofs,
2217 static void sym_sir_bad_scsi_status (hcb_p np, ccb_p cp);
2220 static int sym_evaluate_dp (hcb_p np, ccb_p cp, u3
2286 PRINT_ADDR(ccb_p cp) argument
2325 sym_enqueue_cam_ccb(ccb_p cp) argument
2348 sym_xpt_done(hcb_p np, union ccb *ccb, ccb_p cp) argument
2820 sym_prepare_nego(hcb_p np, ccb_p cp, int nego, u_char *msgptr) argument
2891 sym_put_start_queue(hcb_p np, ccb_p cp) argument
3057 ccb_p cp; local
3484 sym_setwide(hcb_p np, ccb_p cp, u_char wide) argument
3506 sym_setsync(hcb_p np, ccb_p cp, u_char ofs, u_char per, u_char div, u_char fak) argument
3527 sym_setpprot(hcb_p np, ccb_p cp, u_char dt, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
3548 sym_settrans(hcb_p np, ccb_p cp, u_char dt, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
4002 ccb_p cp = sym_ccb_from_dsa(np, dsa); local
4131 ccb_p cp = sym_ccb_from_dsa(np, dsa); local
4218 ccb_p cp; local
4562 ccb_p cp; local
4620 ccb_p cp; local
4656 sym_sir_bad_scsi_status(hcb_p np, ccb_p cp) argument
4832 ccb_p cp; local
4914 ccb_p cp; local
5259 sym_evaluate_dp(hcb_p np, ccb_p cp, u32 scr, int *ofs) argument
5376 sym_modify_dp(hcb_p np, ccb_p cp, int ofs) argument
5473 sym_compute_residual(hcb_p np, ccb_p cp) argument
5555 sym_print_msg(ccb_p cp, char *label, u_char *msg) argument
5602 sym_sync_nego(hcb_p np, tcb_p tp, ccb_p cp) argument
5703 sym_ppr_nego(hcb_p np, tcb_p tp, ccb_p cp) argument
5842 sym_wide_nego(hcb_p np, tcb_p tp, ccb_p cp) argument
5953 sym_nego_default(hcb_p np, tcb_p tp, ccb_p cp) argument
5987 sym_nego_rejected(hcb_p np, tcb_p tp, ccb_p cp) argument
6000 ccb_p cp = sym_ccb_from_dsa(np, dsa); local
6266 ccb_p cp = (ccb_p) NULL; local
6386 sym_free_ccb(hcb_p np, ccb_p cp) argument
6477 ccb_p cp = NULL; local
6560 ccb_p cp; local
7040 sym_print_xerr(ccb_p cp, int x_status) argument
7093 sym_complete_error(hcb_p np, ccb_p cp) argument
7247 sym_complete_ok(hcb_p np, ccb_p cp) argument
7340 ccb_p cp; local
7416 ccb_p cp; local
7626 sym_setup_cdb(hcb_p np, struct ccb_scsiio *csio, ccb_p cp) argument
7676 sym_setup_data_pointers(hcb_p np, ccb_p cp, int dir) argument
7721 ccb_p cp; local
7819 sym_setup_data_and_start(hcb_p np, struct ccb_scsiio *csio, ccb_p cp) argument
7857 sym_fast_scatter_sg_physical(hcb_p np, ccb_p cp, bus_dma_segment_t *psegs, int nsegs) argument
7894 sym_scatter_sg_physical(hcb_p np, ccb_p cp, bus_dma_segment_t *psegs, int nsegs) argument
8766 ccb_p cp; local
[all...]
/freebsd-11-stable/contrib/bmake/
H A Ddir.c558 char *cp; local
561 for (cp = name; *cp; cp++) {
562 switch(*cp) {
668 const char *cp; /* Current position in brace clause */ local
701 for (cp = start; cp < end; cp++) {
706 while (*cp !
836 const char *cp; local
942 DirLookup(Path *p, const char *name MAKE_ATTR_UNUSED, const char *cp, Boolean hasSlash MAKE_ATTR_UNUSED) argument
1029 DirLookupAbs(Path *p, const char *name, const char *cp) argument
1081 DirFindDot(Boolean hasSlash MAKE_ATTR_UNUSED, const char *name, const char *cp) argument
1133 const char *cp; /* Terminal name of file */ local
1535 char *cp; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/bin/cp/
H A Dt_cp.sh65 atf_check -s eq:0 -o empty -e empty cp file file2
83 atf_check -s eq:0 -o empty -e empty cp -p file file3
95 atf_check -s eq:0 -o empty -e empty cp -p -N file file3
109 atf_check -s eq:0 -o empty -e empty cp file2 link
120 atf_check -s eq:1 -o empty -e ignore cp link file
121 atf_check -s eq:0 -o empty -e empty cp link file2
132 atf_check -s eq:0 -o empty -e empty cp -P file link
143 atf_check -s eq:0 -o empty -e empty cp -P link file
156 atf_check -s eq:1 -o empty -e ignore cp file file2 file3
157 atf_check -s eq:0 -o empty -e empty cp fil
[all...]
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dtcpdchk.c276 char *cp; local
282 for (cp = strtok(buf, sep); cp != 0; cp = next) {
283 fputs(cp, stdout);
297 char *cp; local
303 for (cp = strtok(buf, sep); cp != 0; cp = strtok((char *) 0, sep)) {
304 if (STR_EQ(cp, "EXCEP
325 char *cp; local
441 char *cp; local
[all...]
H A Dtry-from.c46 char *cp; local
51 if ((cp = strrchr(argv[0], '/')) != 0)
52 argv[0] = cp + 1;
/freebsd-11-stable/contrib/tcsh/
H A Dtc.prompt.c112 const Char *cp; local
117 cp = varval(STRprompt);
120 cp = varval(STRprompt2);
123 cp = varval(STRprompt3);
127 cp = ocp;
131 cp = varval(STRprompt);
136 ocp = cp;
142 Prompt = tprintf(FMT_PROMPT, cp, str, lclock, NULL);
144 for (cp = Prompt; *cp ; )
187 const Char *cp = fmt; local
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dgetrrsetbyname.c91 #define GETSHORT(s, cp) { \
92 register u_char *t_cp = (u_char *)(cp); \
96 (cp) += INT16SZ; \
101 #define GETLONG(l, cp) { \
102 register u_char *t_cp = (u_char *)(cp); \
108 (cp) += INT32SZ; \
386 const u_char *cp; local
394 cp = answer;
397 memcpy(&resp->header, cp, HFIXEDSZ);
398 cp
448 parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count) argument
494 parse_dns_rrsection(const u_char *answer, int size, const u_char **cp, int count) argument
[all...]
/freebsd-11-stable/lib/libc/stdlib/
H A Dradixsort.c134 int *cp, bigc; local
191 for (cp = count + bmin; nc > 0; cp++) {
192 while (*cp == 0) /* Find next non-empty pile. */
193 cp++;
194 if (*cp > 1) {
195 if (*cp > bigc) {
196 bigc = *cp;
199 push(ak, *cp, i+1);
201 top[cp
234 int *cp, bigc; local
[all...]
/freebsd-11-stable/sys/dev/ncr/
H A Dncr.c714 nccb_p cp; member in struct:head
951 #define CCB_PHYS(cp,lbl) (cp->p_nccb + offsetof(struct nccb, lbl))
1240 static void ncr_complete(ncb_p np, nccb_p cp);
1243 static void ncr_free_nccb(ncb_p np, nccb_p cp);
1261 static void ncb_profile(ncb_p np, nccb_p cp);
1269 static void ncr_setsync(ncb_p np, nccb_p cp,u_char scntl3,u_char sxfer,
1271 static void ncr_setwide(ncb_p np, nccb_p cp, u_char wide, u_char ack);
3847 nccb_p cp; local
3888 cp
4376 ncr_complete(ncb_p np, nccb_p cp) argument
4557 nccb_p cp = np->link_nccb; local
4586 nccb_p cp; local
4870 ncr_setsync(ncb_p np, nccb_p cp, u_char scntl3, u_char sxfer, u_char period) argument
4971 ncr_setwide(ncb_p np, nccb_p cp, u_char wide, u_char ack) argument
5062 nccb_p cp; local
5540 nccb_p cp; local
5601 nccb_p cp; local
5812 nccb_p cp = NULL; local
6365 nccb_p cp = NULL; local
6410 ncr_free_nccb(ncb_p np, nccb_p cp) argument
6436 nccb_p cp; local
6805 ncb_profile(ncb_p np, nccb_p cp) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/ipf/
H A Dh_common.sh36 cp $(atf_get_srcdir)/input/$1 in
38 cp $(atf_get_srcdir)/regress/$1 reg
40 cp $(atf_get_srcdir)/expected/$1 exp
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dbuildopts.c14 u_32_t buildopts(cp, op, len)
15 char *cp, *op;
23 for (s = strtok(cp, ","); s; s = strtok(NULL, ",")) {
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dmnttab.c49 char *cp = *p; local
52 while (*cp && isspace(*cp))
53 cp++;
55 retstr = cp;
56 while (*cp && *cp != ',')
57 cp++;
59 if (*cp) {
60 *cp
[all...]
/freebsd-11-stable/sys/dev/cfe/
H A Dcfe_console.c152 cfe_cnprobe(struct consdev *cp) argument
157 cp->cn_pri = CN_DEAD;
167 cfe_cnputc(cp, bootmsg[i]);
170 cp->cn_pri = CN_LOW;
174 cfe_cninit(struct consdev *cp) argument
177 strcpy(cp->cn_name, "cfecons");
181 cfe_cnterm(struct consdev *cp) argument
187 cfe_cngrab(struct consdev *cp) argument
193 cfe_cnungrab(struct consdev *cp) argument
199 cfe_cngetc(struct consdev *cp) argument
214 cfe_cnputc(struct consdev *cp, int c) argument
[all...]
/freebsd-11-stable/lib/libc/tests/net/
H A Dether_test.c139 char buf[256], *cp; local
141 cp = ether_ntoa_r(&ether_ntoa_addr, buf);
142 ATF_REQUIRE_MSG(cp != NULL, "ether_ntoa_r failed");
143 ATF_REQUIRE_MSG(cp == buf,
144 "ether_ntoa_r returned a different pointer; %p != %p", cp, buf);
145 ATF_REQUIRE_MSG(strcmp(cp, ether_ntoa_string) == 0,
146 "strings did not match (`%s` != `%s`)", cp, ether_ntoa_string); local
152 char *cp; local
154 cp = ether_ntoa(&ether_ntoa_addr);
155 ATF_REQUIRE_MSG(cp !
157 "strings did not match (`%s` != `%s`)", cp, ether_ntoa_string); local
[all...]
/freebsd-11-stable/sys/dev/ofw/
H A Dofw_console.c162 ofw_cnprobe(struct consdev *cp) argument
167 cp->cn_pri = CN_DEAD;
172 cp->cn_pri = CN_DEAD;
177 cp->cn_pri = CN_DEAD;
181 cp->cn_pri = CN_LOW;
185 ofw_cninit(struct consdev *cp) argument
189 strcpy(cp->cn_name, "ofwcons");
193 ofw_cnterm(struct consdev *cp) argument
198 ofw_cngrab(struct consdev *cp) argument
203 ofw_cnungrab(struct consdev *cp) argument
208 ofw_cngetc(struct consdev *cp) argument
223 ofw_cnputc(struct consdev *cp, int c) argument
[all...]
/freebsd-11-stable/usr.sbin/timed/timedc/
H A Dtimedc.c176 register char *cp; local
180 for (cp = cmdline; margc < MAX_MARGV - 1 && *cp; ) {
181 while (isspace(*cp))
182 cp++;
183 if (*cp == '\0')
185 *argp++ = cp;
187 while (*cp != '\0' && !isspace(*cp))
188 cp
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dnameser.h263 #define GETSHORT(s, cp) { \
264 register u_char *t_cp = (u_char *)(cp); \
266 (cp) += 2; \
269 #define GETLONG(l, cp) { \
270 register u_char *t_cp = (u_char *)(cp); \
275 (cp) += 4; \
278 #define PUTSHORT(s, cp) { \
280 register u_char *t_cp = (u_char *)(cp); \
283 (cp) += 2; \
290 #define PUTLONG(l, cp) { \
[all...]
/freebsd-11-stable/stand/ofw/libofw/
H A Dofw_console.c37 static void ofw_cons_probe(struct console *cp);
58 ofw_cons_probe(struct console *cp) argument
63 cp->c_flags |= C_PRESENTIN|C_PRESENTOUT;
/freebsd-11-stable/stand/powerpc/kboot/
H A Dhostcons.c33 static void hostcons_probe(struct console *cp);
51 hostcons_probe(struct console *cp) argument
54 cp->c_flags |= C_PRESENTIN|C_PRESENTOUT;
/freebsd-11-stable/sbin/mksnap_ffs/
H A Dmksnap_ffs.c94 char *cp, *snapname; local
118 cp = strrchr(snapname, '/');
119 if (cp == NULL) {
121 } else if (cp == snapname) {
124 strlcpy(path, snapname, cp - snapname + 1);
146 for (cp = stfsbuf.f_mntonname; issamefs(cp, &stfsbuf) != 1;
147 cp = strchrnul(cp + 1, '/')) {
148 if (cp[
[all...]
/freebsd-11-stable/stand/i386/libi386/
H A Dspinconsole.c44 static void spinc_probe(struct console *cp);
66 spinc_probe(struct console *cp) argument
71 parent->c_probe(cp);
/freebsd-11-stable/usr.sbin/mailwrapper/
H A Dmailwrapper.c92 char *line, *cp, *from, *to, *ap; local
133 cp = line;
135 cp += strspn(cp, WS);
136 if (cp[0] == '\0') {
142 if ((from = strsep(&cp, WS)) == NULL || cp == NULL)
145 cp += strspn(cp, WS);
147 if ((to = strsep(&cp, W
[all...]
/freebsd-11-stable/sys/nfs/
H A Dnfs_diskless.c173 char *cp; local
182 if ((cp = kern_getenv("boot.nfsroot.nfshandlelen")) != NULL) {
183 cnt = sscanf(cp, "%d", &len);
184 freeenv(cp);
280 if ((cp = kern_getenv("boot.nfsroot.path")) != NULL) {
281 strncpy(nd3->root_hostnam, cp, MNAMELEN - 1);
282 freeenv(cp);
284 if ((cp = kern_getenv("boot.nfsroot.options")) != NULL) {
285 nfs_parse_options(cp, &nd3->root_args);
286 freeenv(cp);
345 char *cp; local
366 char *cp; local
394 u_char *cp, *ep; local
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dbuffer.c265 unsigned char *cp; local
275 cp = isc_buffer_current(b);
277 result = ((isc_uint8_t)(cp[0]));
292 unsigned char *cp; local
303 cp = isc_buffer_current(b);
305 result = ((unsigned int)(cp[0])) << 8;
306 result |= ((unsigned int)(cp[1]));
329 unsigned char *cp; local
340 cp = isc_buffer_current(b);
342 result = ((unsigned int)(cp[
360 unsigned char *cp; local
410 unsigned char *cp; local
[all...]
/freebsd-11-stable/contrib/gcc/
H A DFREEBSD-libiberty7 cp-demangle.c \
21 cp -ip ../libiberty/$F .
36 cp -ip ../include/$F .

Completed in 382 milliseconds

<<11121314151617181920>>