Home
last modified time | relevance | path

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

12345678910>>...42

/freebsd-12.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-12.1/contrib/binutils/opcodes/
H A Dmep-dis.c172 cd->isas = & MEP_COP16_ISA; in mep_print_vliw_insns()
888 CGEN_INIT_PRINT (cd); in print_insn_normal()
1033 CGEN_PRINT_FN (cd, insn) (cd, info, insn, &fields, pc, length); in print_insn()
1065 if (status != 0 && (cd->min_insn_bitsize < cd->base_insn_bitsize)) in default_print_insn()
1090 CGEN_CPU_DESC cd; member
1141 if (cd in print_insn_mep()
1146 cd = 0; in print_insn_mep()
1153 cd = cl->cd; in print_insn_mep()
1161 if (! cd) in print_insn_mep()
1177 if (!cd) in print_insn_mep()
[all …]
H A Dmep-asm.c86 parse_fmax_cr (CGEN_CPU_DESC cd, in parse_fmax_cr() argument
94 parse_fmax_ccr (CGEN_CPU_DESC cd, in parse_fmax_ccr() argument
206 parse_signed16 (CGEN_CPU_DESC cd, in parse_signed16() argument
215 parse_lo16 (CGEN_CPU_DESC cd, in parse_lo16() argument
304 parse_unsigned16 (CGEN_CPU_DESC cd, in parse_unsigned16() argument
1016 mep_cgen_init_ibld_table (cd); in mep_cgen_init_asm()
1193 CGEN_INIT_PARSE (cd); in parse_insn_normal()
1194 cgen_init_parse_operand (cd); in parse_insn_normal()
1251 errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), in parse_insn_normal()
1352 parse_errmsg = CGEN_PARSE_FN (cd, insn) (cd, insn, & str, fields); in mep_cgen_assemble_insn()
[all …]
H A Dcgen-asm.c41 cd->parse_operand_fn = fn; in cgen_set_parse_operand_fn()
50 (void) (* cd->parse_operand_fn) in cgen_init_parse_operand()
67 hash_insn_array (CGEN_CPU_DESC cd, in hash_insn_array() argument
97 hash_insn_list (CGEN_CPU_DESC cd, in hash_insn_list() argument
124 int count = cgen_insn_count (cd) + cgen_macro_insn_count (cd); in build_asm_hash_table()
181 if (cd->asm_hash_table == NULL) in cgen_asm_lookup_insn()
182 build_asm_hash_table (cd); in cgen_asm_lookup_insn()
184 hash = (* cd->asm_hash) (insn); in cgen_asm_lookup_insn()
185 return cd->asm_hash_table[hash]; in cgen_asm_lookup_insn()
266 errmsg = (* cd->parse_operand_fn) in cgen_parse_signed_integer()
[all …]
H A Dmep-ibld.c80 insert_1 (CGEN_CPU_DESC cd, in insert_1() argument
122 insert_normal (CGEN_CPU_DESC cd, in insert_normal() argument
145 if (cd->min_insn_bitsize < cd->base_insn_bitsize) in insert_normal()
250 CGEN_INIT_INSERT (cd); in insert_insn_normal()
258 put_insn_int_value (cd, buffer, cd->base_insn_bitsize, in insert_insn_normal()
263 cgen_put_insn_value (cd, buffer, min ((unsigned) cd->base_insn_bitsize, in insert_insn_normal()
281 errmsg = (* cd->insert_operand) (cd, CGEN_SYNTAX_FIELD (*syn), in insert_insn_normal()
371 extract_1 (CGEN_CPU_DESC cd, in extract_1() argument
449 if (cd->min_insn_bitsize < cd->base_insn_bitsize) in extract_normal()
518 CGEN_INIT_EXTRACT (cd); in extract_insn_normal()
[all …]
H A Dcgen-opc.c335 cgen_insn_count (CGEN_CPU_DESC cd) in cgen_insn_count() argument
350 cgen_macro_insn_count (CGEN_CPU_DESC cd) in cgen_macro_insn_count() argument
400 cgen_put_insn_value (CGEN_CPU_DESC cd, in cgen_put_insn_value() argument
448 cgen_lookup_insn (CGEN_CPU_DESC cd, in cgen_lookup_insn() argument
462 if (cd->int_insn_p) in cgen_lookup_insn()
528 length = CGEN_EXTRACT_FN (cd, insn) in cgen_lookup_insn()
545 cgen_get_insn_operands (CGEN_CPU_DESC cd, in cgen_get_insn_operands() argument
561 indices[i] = (*cd->get_int_operand) (cd, op_type, fields); in cgen_get_insn_operands()
600 cd->signed_overflow_ok_p = 1; in cgen_set_signed_overflow_ok()
607 cd->signed_overflow_ok_p = 0; in cgen_clear_signed_overflow_ok()
[all …]
H A Dcgen-dis.c101 hash_insn_array (CGEN_CPU_DESC cd, in hash_insn_array() argument
118 if (! (* cd->dis_hash_p) (insn)) in hash_insn_array()
141 hash_insn_list (CGEN_CPU_DESC cd, in hash_insn_list() argument
176 build_dis_hash_table (CGEN_CPU_DESC cd) in build_dis_hash_table() argument
178 int count = cgen_insn_count (cd) + cgen_macro_insn_count (cd); in build_dis_hash_table()
200 hash_entry_buf = hash_insn_array (cd, in build_dis_hash_table()
224 cd->dis_hash_table = dis_hash_table; in build_dis_hash_table()
235 if (cd->dis_hash_table == NULL) in cgen_dis_lookup_insn()
236 build_dis_hash_table (cd); in cgen_dis_lookup_insn()
238 hash = (* cd->dis_hash) (buf, value); in cgen_dis_lookup_insn()
[all …]
H A Dcgen-dis.in151 CGEN_INIT_PRINT (cd);
208 print_insn (CGEN_CPU_DESC cd,
296 CGEN_PRINT_FN (cd, insn) (cd, info, insn, &fields, pc, length);
328 if (status != 0 && (cd->min_insn_bitsize < cd->base_insn_bitsize))
353 CGEN_CPU_DESC cd;
404 if (cd
409 cd = 0;
416 cd = cl->cd;
424 if (! cd)
440 if (!cd)
[all …]
H A Dmep-desc.c2422 int machs = cd->machs; in build_hw_table()
2456 int machs = cd->machs; in build_operand_table()
2514 cd->max_insn_bitsize = 0; in mep_cgen_rebuild_tables()
2565 build_hw_table (cd); in mep_cgen_rebuild_tables()
2568 build_ifield_table (cd); in mep_cgen_rebuild_tables()
2571 build_operand_table (cd); in mep_cgen_rebuild_tables()
2574 build_insn_table (cd); in mep_cgen_rebuild_tables()
2612 memset (cd, 0, sizeof (*cd)); in mep_cgen_cpu_open()
2659 cd->machs = machs; in mep_cgen_cpu_open()
2660 cd->endian = endian; in mep_cgen_cpu_open()
[all …]
/freebsd-12.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()
132 prec = cd->cd_qualp; in ctf_decl_push()
141 cd->cd_err = EAGAIN; in ctf_decl_push()
150 cd->cd_order[prec] = cd->cd_ordp++; in ctf_decl_push()
157 cd->cd_qualp = prec; in ctf_decl_push()
174 size_t len = (size_t)(cd->cd_end - cd->cd_ptr); in ctf_decl_sprintf()
182 cd->cd_ptr += MIN(n, len); in ctf_decl_sprintf()
[all …]
/freebsd-12.1/sys/rpc/
H A Dsvc_vc.c241 cd = mem_alloc(sizeof(*cd)); in svc_vc_create_conn()
288 mem_free(cd, sizeof(*cd)); in svc_vc_create_conn()
302 cd = mem_alloc(sizeof(*cd)); in svc_vc_create_backchannel()
491 mem_free(cd, sizeof(*cd)); in svc_vc_destroy()
507 mem_free(cd, sizeof(*cd)); in svc_vc_backchannel_destroy()
541 if (cd->mreq != NULL && cd->resid == 0 && cd->eor) in svc_vc_stat()
589 if (!cd->resid && cd->mpending) { in svc_vc_process_pending()
623 while (cd->mpending && cd->resid) { in svc_vc_process_pending()
627 cd->mpending = m_split(cd->mpending, in svc_vc_process_pending()
674 (cd->mreq == NULL || cd->resid != 0 || !cd->eor)) { in svc_vc_recv()
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c292 if (cd->cd_symdata == NULL || (nextsym = next_sym(cd, in read_data()
342 if (cd->cd_symdata == NULL || (nextsym = next_sym(cd, symidx, in read_funcs()
812 ctf_data_t cd; in main() local
882 cd.cd_ctfdata = dp->d_buf; in main()
883 cd.cd_ctflen = dp->d_size; in main()
917 cd.cd_ctflen = st.st_size; in main()
918 cd.cd_ctfdata = mmap(NULL, cd.cd_ctflen, PROT_READ, in main()
939 v = (void *) cd.cd_ctfdata; in main()
941 cd.cd_ctfdata = (caddr_t)cd.cd_ctfdata + sizeof (ctf_header_t); in main()
983 cd.cd_ctfdata = buf; in main()
[all …]
/freebsd-12.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-12.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-12.1/sys/dev/sge/
H A Dif_sge.c773 &cd->sge_tag); in sge_dma_alloc()
806 error = bus_dmamap_load(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_dma_alloc()
840 error = bus_dmamap_load(cd->sge_tx_tag, cd->sge_tx_dmamap, in sge_dma_alloc()
921 bus_dmamap_unload(cd->sge_rx_tag, cd->sge_rx_dmamap); in sge_dma_free()
933 bus_dmamap_unload(cd->sge_tx_tag, cd->sge_tx_dmamap); in sge_dma_free()
975 cd->sge_tag = NULL; in sge_dma_free()
992 bus_dmamap_sync(cd->sge_tx_tag, cd->sge_tx_dmamap, in sge_list_tx_init()
1043 bus_dmamap_sync(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_list_rx_init()
1155 bus_dmamap_sync(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_rxeof()
1221 bus_dmamap_sync(cd->sge_rx_tag, cd->sge_rx_dmamap, in sge_rxeof()
[all …]
/freebsd-12.1/contrib/binutils/include/opcode/
H A Dcgen.h1197 #define CGEN_CPU_ISAS(cd) ((cd)->isas) argument
1201 #define CGEN_CPU_ENDIAN(cd) ((cd)->endian) argument
1205 #define CGEN_CPU_INSN_ENDIAN(cd) ((cd)->insn_endian) argument
1253 #define CGEN_CPU_INSN_TABLE(cd) (& (cd)->insn_table) argument
1286 #define CGEN_CPU_PARSE_OPERAND(cd) ((cd)->parse_operand) argument
1287 #define CGEN_CPU_INSERT_OPERAND(cd) ((cd)->insert_operand) argument
1288 #define CGEN_CPU_EXTRACT_OPERAND(cd) ((cd)->extract_operand) argument
1289 #define CGEN_CPU_PRINT_OPERAND(cd) ((cd)->print_operand) argument
1293 #define CGEN_CPU_SIZEOF_FIELDS(cd) ((cd)->sizeof_fields) argument
1362 #define CGEN_WORD_ENDIAN(cd) CGEN_CPU_ENDIAN (cd) argument
[all …]
/freebsd-12.1/sys/dev/uart/
H A Duart_bus_acpi.c68 struct acpi_uart_compat_data **cd, *cd_it; in uart_acpi_find_device() local
74 SET_FOREACH(cd, uart_acpi_class_and_device_set) { in uart_acpi_find_device()
75 for (cd_it = *cd; cd_it->cd_hid != NULL; cd_it++) { in uart_acpi_find_device()
88 struct acpi_uart_compat_data *cd; in uart_acpi_probe() local
92 if ((cd = uart_acpi_find_device(dev)) != NULL) { in uart_acpi_probe()
93 sc->sc_class = cd->cd_class; in uart_acpi_probe()
94 if (cd->cd_desc != NULL) in uart_acpi_probe()
95 device_set_desc(dev, cd->cd_desc); in uart_acpi_probe()
96 return (uart_bus_probe(dev, cd->cd_regshft, cd->cd_regiowidth, in uart_acpi_probe()
97 cd->cd_rclk, 0, 0, cd->cd_quirks)); in uart_acpi_probe()
H A Duart_cpu_acpi.c51 struct acpi_uart_compat_data **cd, *curcd; in uart_cpu_acpi_scan() local
54 SET_FOREACH(cd, uart_acpi_class_and_device_set) { in uart_cpu_acpi_scan()
55 curcd = *cd; in uart_cpu_acpi_scan()
62 SET_FOREACH(cd, uart_acpi_class_set) { in uart_cpu_acpi_scan()
63 curcd = *cd; in uart_cpu_acpi_scan()
78 struct acpi_uart_compat_data *cd; in uart_cpu_acpi_spcr() local
97 cd = uart_cpu_acpi_scan(spcr->InterfaceType); in uart_cpu_acpi_spcr()
98 if (cd == NULL) in uart_cpu_acpi_spcr()
100 class = cd->cd_class; in uart_cpu_acpi_spcr()
152 if ((cd->cd_quirks & UART_F_IGNORE_SPCR_REGSHFT) == in uart_cpu_acpi_spcr()
[all …]
/freebsd-12.1/sys/cddl/dev/fbt/
H A Dfbt.c737 cd->cd_buf = buf; in ctf_decl_init()
738 cd->cd_ptr = buf; in ctf_decl_init()
830 cd->cd_err = ENOENT; in ctf_decl_push()
864 prec = cd->cd_qualp; in ctf_decl_push()
878 cd->cd_order[prec] = cd->cd_ordp++; in ctf_decl_push()
901 size_t len = (size_t)(cd->cd_end - cd->cd_ptr); in ctf_decl_sprintf()
910 cd->cd_len += n; in ctf_decl_sprintf()
916 ctf_decl_t cd; in fbt_type_name() local
929 ctf_decl_fini(&cd); in fbt_type_name()
1007 ctf_decl_fini(&cd); in fbt_type_name()
[all …]
/freebsd-12.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-12.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
187 usb_edesc_foreach(struct usb_config_descriptor *cd, in usb_edesc_foreach() argument
194 while ((desc = usb_desc_foreach(cd, desc))) { in usb_edesc_foreach()
229 while ((desc = usb_desc_foreach(cd, desc))) { in usb_ed_comp_foreach()
257 while ((desc = usb_desc_foreach(cd, desc))) { in usbd_get_no_descriptors()
276 usbd_get_no_alts(struct usb_config_descriptor *cd, in usbd_get_no_alts() argument
[all …]
/freebsd-12.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)
/freebsd-12.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-12.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()

12345678910>>...42