Home
last modified time | relevance | path

Searched refs:cd (Results 1 – 25 of 1271) sorted by relevance

12345678910>>...51

/freebsd-13.1/tools/test/iconv/gnu/
H A Dgnu.c55 iconv_t cd; in ctl_get_translit1() local
73 iconv_t cd; in ctl_get_translit2() local
91 iconv_t cd; in ctl_set_translit1() local
106 iconv_t cd; in ctl_set_translit2() local
121 iconv_t cd; in ctl_get_discard_ilseq1() local
139 iconv_t cd; in ctl_get_discard_ilseq2() local
157 iconv_t cd; in ctl_set_discard_ilseq1() local
172 iconv_t cd; in ctl_set_discard_ilseq2() local
187 iconv_t cd; in ctl_trivialp1() local
205 iconv_t cd; in ctl_trivialp2() local
[all …]
/freebsd-13.1/cddl/contrib/opensolaris/common/ctf/
H A Dctf_decl.c64 cd->cd_ordp = CTF_PREC_BASE; in ctf_decl_init()
66 cd->cd_buf = buf; in ctf_decl_init()
67 cd->cd_ptr = buf; in ctf_decl_init()
68 cd->cd_end = buf + len; in ctf_decl_init()
135 prec = cd->cd_qualp; in ctf_decl_push()
144 cd->cd_err = EAGAIN; in ctf_decl_push()
153 cd->cd_order[prec] = cd->cd_ordp++; in ctf_decl_push()
160 cd->cd_qualp = prec; in ctf_decl_push()
177 size_t len = (size_t)(cd->cd_end - cd->cd_ptr); in ctf_decl_sprintf()
185 cd->cd_ptr += MIN(n, len); in ctf_decl_sprintf()
[all …]
/freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c294 if (cd->cd_symdata == NULL || (nextsym = next_sym(cd, in read_data()
301 v += cd->cd_idwidth; in read_data()
340 v += cd->cd_idwidth; in read_funcs()
349 if (cd->cd_symdata == NULL || (nextsym = next_sym(cd, symidx, in read_funcs()
375 v += cd->cd_idwidth; in read_funcs()
380 v += cd->cd_idwidth; in read_funcs()
902 ctf_data_t cd; in main() local
1008 cd.cd_ctfdata = mmap(NULL, cd.cd_ctflen, PROT_READ, in main()
1031 cd.cd_ctfdata = (caddr_t)cd.cd_ctfdata + sizeof (ctf_header_t); in main()
1075 cd.cd_ctfdata = buf; in main()
[all …]
/freebsd-13.1/tools/test/iconv/posix/
H A Dposix.c47 iconv_t cd; in open_1() local
55 iconv_close(cd); in open_1()
68 iconv_t cd[MAX_LIMIT]; in open_2() local
74 if (cd[i] == (iconv_t)-1) in open_2()
81 iconv_close(cd[i]); in open_2()
92 iconv_t cd = (iconv_t)-1; in close_1() local
100 iconv_t cd = (iconv_t)-1; in conv_ebadf() local
109 iconv_t cd; in conv_ret() local
130 iconv_t cd; in conv_2big() local
169 iconv_t cd; in conv_einval() local
[all …]
/freebsd-13.1/sys/rpc/
H A Dsvc_vc.c245 cd = mem_alloc(sizeof(*cd)); in svc_vc_create_conn()
292 mem_free(cd, sizeof(*cd)); in svc_vc_create_conn()
306 cd = mem_alloc(sizeof(*cd)); in svc_vc_create_backchannel()
520 mem_free(cd, sizeof(*cd)); in svc_vc_destroy()
536 mem_free(cd, sizeof(*cd)); in svc_vc_backchannel_destroy()
570 if (cd->mreq != NULL && cd->resid == 0 && cd->eor) in svc_vc_stat()
618 if (!cd->resid && cd->mpending) { in svc_vc_process_pending()
652 while (cd->mpending && cd->resid) { in svc_vc_process_pending()
656 cd->mpending = m_split(cd->mpending, in svc_vc_process_pending()
706 (cd->mreq == NULL || cd->resid != 0 || !cd->eor)) { in svc_vc_recv()
[all …]
/freebsd-13.1/sys/dev/uart/
H A Duart_bus_acpi.c67 struct acpi_uart_compat_data **cd, *cd_it; in uart_acpi_find_device() local
73 SET_FOREACH(cd, uart_acpi_class_and_device_set) { in uart_acpi_find_device()
74 for (cd_it = *cd; cd_it->cd_hid != NULL; cd_it++) { in uart_acpi_find_device()
87 struct acpi_uart_compat_data *cd; in uart_acpi_probe() local
91 if ((cd = uart_acpi_find_device(dev)) != NULL) { in uart_acpi_probe()
92 sc->sc_class = cd->cd_class; in uart_acpi_probe()
93 if (cd->cd_desc != NULL) in uart_acpi_probe()
94 device_set_desc(dev, cd->cd_desc); in uart_acpi_probe()
95 return (uart_bus_probe(dev, cd->cd_regshft, cd->cd_regiowidth, in uart_acpi_probe()
96 cd->cd_rclk, 0, 0, cd->cd_quirks)); in uart_acpi_probe()
H A Duart_cpu_acpi.c53 struct acpi_uart_compat_data **cd, *curcd; in uart_cpu_acpi_scan() local
56 SET_FOREACH(cd, uart_acpi_class_and_device_set) { in uart_cpu_acpi_scan()
57 curcd = *cd; in uart_cpu_acpi_scan()
64 SET_FOREACH(cd, uart_acpi_class_set) { in uart_cpu_acpi_scan()
65 curcd = *cd; in uart_cpu_acpi_scan()
80 struct acpi_uart_compat_data *cd; in uart_cpu_acpi_spcr() local
99 cd = uart_cpu_acpi_scan(spcr->InterfaceType); in uart_cpu_acpi_spcr()
100 if (cd == NULL) in uart_cpu_acpi_spcr()
102 class = cd->cd_class; in uart_cpu_acpi_spcr()
194 if ((cd->cd_quirks & UART_F_IGNORE_SPCR_REGSHFT) == in uart_cpu_acpi_spcr()
[all …]
H A Duart_bus_fdt.c106 struct ofw_compat_data **cd; in uart_fdt_find_device() local
109 SET_FOREACH(cd, uart_fdt_class_and_device_set) { in uart_fdt_find_device()
110 ocd = ofw_bus_search_compatible(dev, *cd); in uart_fdt_find_device()
140 uart_fdt_find_compatible(phandle_t node, const struct ofw_compat_data *cd) in uart_fdt_find_compatible() argument
144 for (ocd = cd; ocd->ocd_str != NULL; ocd++) { in uart_fdt_find_compatible()
154 struct ofw_compat_data **cd; in uart_fdt_find_by_node() local
158 SET_FOREACH(cd, uart_fdt_class_set) { in uart_fdt_find_by_node()
159 ocd = uart_fdt_find_compatible(node, *cd); in uart_fdt_find_by_node()
164 SET_FOREACH(cd, uart_fdt_class_and_device_set) { in uart_fdt_find_by_node()
165 ocd = uart_fdt_find_compatible(node, *cd); in uart_fdt_find_by_node()
/freebsd-13.1/lib/libc/rpc/
H A Dsvc_vc.c244 struct cf_conn *cd; in makefd_xprt() local
256 if (cd == NULL) { in makefd_xprt()
265 xprt->xp_p1 = cd; in makefd_xprt()
284 struct cf_conn *cd; in rendezvous_request() local
345 if (cd->recvsize > cd->maxrec) in rendezvous_request()
346 cd->recvsize = cd->maxrec; in rendezvous_request()
348 __xdrrec_setnonblock(&cd->xdrs, cd->maxrec); in rendezvous_request()
391 struct cf_conn *cd; in __svc_vc_dodestroy() local
517 struct cf_conn *cd; in write_vc() local
525 if (cd->nonblock) in write_vc()
[all …]
/freebsd-13.1/sys/dev/sge/
H A Dif_sge.c775 &cd->sge_tag); in sge_dma_alloc()
808 error = bus_dmamap_load(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_dma_alloc()
842 error = bus_dmamap_load(cd->sge_tx_tag, cd->sge_tx_dmamap, in sge_dma_alloc()
923 bus_dmamap_unload(cd->sge_rx_tag, cd->sge_rx_dmamap); in sge_dma_free()
935 bus_dmamap_unload(cd->sge_tx_tag, cd->sge_tx_dmamap); in sge_dma_free()
977 cd->sge_tag = NULL; in sge_dma_free()
994 bus_dmamap_sync(cd->sge_tx_tag, cd->sge_tx_dmamap, in sge_list_tx_init()
1045 bus_dmamap_sync(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_list_rx_init()
1157 bus_dmamap_sync(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_rxeof()
1223 bus_dmamap_sync(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_rxeof()
[all …]
/freebsd-13.1/crypto/openssl/crypto/cms/
H A Dcms_cd.c27 CMS_CompressedData *cd; in cms_CompressedData_create() local
41 cd = M_ASN1_new_of(CMS_CompressedData); in cms_CompressedData_create()
43 if (cd == NULL) in cms_CompressedData_create()
47 cms->d.compressedData = cd; in cms_CompressedData_create()
49 cd->version = 0; in cms_CompressedData_create()
51 X509_ALGOR_set0(cd->compressionAlgorithm, in cms_CompressedData_create()
54 cd->encapContentInfo->eContentType = OBJ_nid2obj(NID_pkcs7_data); in cms_CompressedData_create()
65 CMS_CompressedData *cd; in cms_CompressedData_init_bio() local
72 cd = cms->d.compressedData; in cms_CompressedData_init_bio()
73 X509_ALGOR_get0(&compoid, NULL, NULL, cd->compressionAlgorithm); in cms_CompressedData_init_bio()
/freebsd-13.1/bin/sh/tests/builtins/
H A Dcd1.05 cd $P
10 # Root can always cd, regardless of directory permissions.
11 cd -L $T 2>/dev/null && exit 1
14 cd -P $T 2>/dev/null && exit 1
20 cd $T
24 (cd -L 1/../1 && [ "$(pwd -L)" = "$P/$T/1" ])
25 (cd -L link1 && [ "$(pwd -L)" = "$P/$T/link1" ])
26 (cd -L link1 && [ "$(pwd -P)" = "$P/$T/1/2" ])
27 (cd -P link1 && [ "$(pwd -L)" = "$P/$T/1/2" ])
28 (cd -P link1 && [ "$(pwd -P)" = "$P/$T/1/2" ])
H A Dcd3.03 # If fully successful, cd -Pe must be like cd -P.
7 cd "${TMPDIR:-/tmp}"
8 cd -Pe /
11 cd "${TMPDIR:-/tmp}"
12 cd -eP /
18 # If cd -Pe cannot chdir, the exit status must be greater than 1.
20 v=$( (cd -Pe /var/empty/nonexistent) 2>&1 >/dev/null)
H A Dcd7.04 cd /usr/bin
7 cd .
9 cd ./
11 cd ..
13 cd /usr/bin
14 cd ../
H A Dcd11.08 cd -P "$T/%?^&*"
15 cd 1 >/dev/null
18 cd "$D/b"
19 cd 1 >/dev/null
22 cd "$D/b"
23 cd 2
H A Dcd5.07 cd -P "$T"
14 cd 1 >/dev/null
17 cd "$D/b"
18 cd 1 >/dev/null
21 cd "$D/b"
22 cd 2
/freebsd-13.1/sys/dev/usb/
H A Dusb_parse.c74 usb_desc_foreach(struct usb_config_descriptor *cd, in usb_desc_foreach() argument
83 if (cd == NULL) in usb_desc_foreach()
87 start = (uint8_t *)cd; in usb_desc_foreach()
88 end = start + UGETW(cd->wTotalLength); in usb_desc_foreach()
126 usb_idesc_foreach(struct usb_config_descriptor *cd, in usb_idesc_foreach() argument
199 usb_edesc_foreach(struct usb_config_descriptor *cd, in usb_edesc_foreach() argument
206 while ((desc = usb_desc_foreach(cd, desc))) { in usb_edesc_foreach()
241 while ((desc = usb_desc_foreach(cd, desc))) { in usb_ed_comp_foreach()
269 while ((desc = usb_desc_foreach(cd, desc))) { in usbd_get_no_descriptors()
288 usbd_get_no_alts(struct usb_config_descriptor *cd, in usbd_get_no_alts() argument
[all …]
/freebsd-13.1/sys/dev/ice/
H A Dice_common.h86 struct ice_sq_cd *cd);
97 struct ice_sq_cd *cd);
142 struct ice_sq_cd *cd);
188 struct ice_sq_cd *cd);
241 struct ice_sq_cd *cd);
246 struct ice_sq_cd *cd);
263 struct ice_sq_cd *cd);
270 struct ice_sq_cd *cd);
309 struct ice_sq_cd *cd);
324 struct ice_sq_cd *cd);
[all …]
H A Dice_dcb.h222 struct ice_sq_cd *cd);
226 struct ice_sq_cd *cd);
230 u16 *mib_len, struct ice_sq_cd *cd);
233 struct ice_sq_cd *cd);
237 struct ice_sq_cd *cd);
242 struct ice_sq_cd *cd);
261 struct ice_sq_cd *cd);
267 struct ice_sq_cd *cd);
269 ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd);
272 bool *dcbx_agent_status, struct ice_sq_cd *cd);
[all …]
/freebsd-13.1/sys/cddl/dev/fbt/
H A Dfbt.c838 cd->cd_buf = buf; in ctf_decl_init()
839 cd->cd_ptr = buf; in ctf_decl_init()
963 cd->cd_err = ENOENT; in ctf_decl_push()
1000 prec = cd->cd_qualp; in ctf_decl_push()
1014 cd->cd_order[prec] = cd->cd_ordp++; in ctf_decl_push()
1037 size_t len = (size_t)(cd->cd_end - cd->cd_ptr); in ctf_decl_sprintf()
1046 cd->cd_len += n; in ctf_decl_sprintf()
1052 ctf_decl_t cd; in fbt_type_name() local
1065 ctf_decl_fini(&cd); in fbt_type_name()
1142 ctf_decl_fini(&cd); in fbt_type_name()
[all …]
/freebsd-13.1/contrib/bearssl/src/ec/
H A Decdsa_i31_vrfy_raw.c42 const br_ec_curve_def *cd; in br_ecdsa_i31_vrfy_raw() local
62 cd = &br_secp256r1; in br_ecdsa_i31_vrfy_raw()
65 cd = &br_secp384r1; in br_ecdsa_i31_vrfy_raw()
68 cd = &br_secp521r1; in br_ecdsa_i31_vrfy_raw()
85 if (pk->qlen != cd->generator_len) { in br_ecdsa_i31_vrfy_raw()
93 nlen = cd->order_len; in br_ecdsa_i31_vrfy_raw()
94 br_i31_decode(n, cd->order, nlen); in br_ecdsa_i31_vrfy_raw()
116 memcpy(tx, cd->order, nlen); in br_ecdsa_i31_vrfy_raw()
145 ulen = cd->generator_len; in br_ecdsa_i31_vrfy_raw()
148 tx, nlen, ty, nlen, cd->curve); in br_ecdsa_i31_vrfy_raw()
H A Decdsa_i15_vrfy_raw.c42 const br_ec_curve_def *cd; in br_ecdsa_i15_vrfy_raw() local
63 cd = &br_secp256r1; in br_ecdsa_i15_vrfy_raw()
66 cd = &br_secp384r1; in br_ecdsa_i15_vrfy_raw()
69 cd = &br_secp521r1; in br_ecdsa_i15_vrfy_raw()
86 if (pk->qlen != cd->generator_len) { in br_ecdsa_i15_vrfy_raw()
94 nlen = cd->order_len; in br_ecdsa_i15_vrfy_raw()
95 br_i15_decode(n, cd->order, nlen); in br_ecdsa_i15_vrfy_raw()
117 memcpy(tx, cd->order, nlen); in br_ecdsa_i15_vrfy_raw()
146 ulen = cd->generator_len; in br_ecdsa_i15_vrfy_raw()
149 tx, nlen, ty, nlen, cd->curve); in br_ecdsa_i15_vrfy_raw()
/freebsd-13.1/tools/test/iconv/tablegen/
H A Dtablegen.c201 iconv_t cd; in main() local
243 if ((cd = iconv_open(tocode, argv[0])) == (iconv_t)-1) in main()
246 if (iconvctl(cd, ICONV_SET_FALLBACKS, &fbs) != 0) in main()
249 do_conv(cd, false); in main()
254 if ((cd = iconv_open(tocode, "UTF-32LE")) == (iconv_t)-1) in main()
256 if (dflag && iconvctl(cd, ICONV_SET_FALLBACKS, &fbs) != 0) in main()
264 do_conv(cd, true); in main()
276 do_conv(cd, false); in main()
279 if (iconv_close(cd) != 0) in main()
286 do_conv(iconv_t cd, bool uniinput) { in do_conv() argument
[all …]
/freebsd-13.1/usr.bin/iconv/
H A Diconv.c74 do_conv(FILE *fp, iconv_t cd, bool silent, bool hide_invalid) in do_conv() argument
81 if (iconvctl(cd, ICONV_SET_DISCARD_ILSEQ, (void *)&arg) == -1) in do_conv()
92 ret = __iconv(cd, &in, &inbytes, &out, &outbytes, in do_conv()
124 ret = iconv(cd, NULL, NULL, &out, &outbytes); in do_conv()
154 iconv_t cd; in main() local
214 cd = iconv_open(opt_t, opt_f); in main()
215 if (cd == (iconv_t)-1) in main()
221 res = do_conv(stdin, cd, opt_s, opt_c); in main()
234 res |= do_conv(fp, cd, opt_s, opt_c); in main()
238 (void)iconv(cd, NULL, NULL, NULL, NULL); in main()
[all …]
/freebsd-13.1/crypto/heimdal/lib/wind/
H A DNTMakefile67 cd $(OBJ)
69 cd $(SRCDIR)
72 cd $(OBJ)
74 cd $(SRCDIR)
77 cd $(OBJ)
79 cd $(SRCDIR)
82 cd $(OBJ)
87 cd $(OBJ)
92 cd $(OBJ)
97 cd $(OBJ)
[all …]

12345678910>>...51