/freebsd/contrib/elftoolchain/elfdump/ |
H A D | elfdump.c | 86 #define PRT(...) fprintf(ed->out, __VA_ARGS__) 371 sh_name(struct elfdump *ed, int ndx) in sh_name() argument 380 if ((uint64_t)ndx < ed->shnum) in sh_name() 381 return (ed->sl[ndx].name); in sh_name() 592 static void add_name(struct elfdump *ed, const char *name); 593 static void elf_print_object(struct elfdump *ed); 594 static void elf_print_elf(struct elfdump *ed); 595 static void elf_print_ehdr(struct elfdump *ed); 596 static void elf_print_phdr(struct elfdump *ed); 597 static void elf_print_shdr(struct elfdump *ed); [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | keytab_any.c | 130 struct any_cursor_extra_data *ed; in any_start_seq_get() local 138 ed = (struct any_cursor_extra_data *)c->data; in any_start_seq_get() 139 for (ed->a = a; ed->a != NULL; ed->a = ed->a->next) { in any_start_seq_get() 140 ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor); in any_start_seq_get() 144 if (ed->a == NULL) { in any_start_seq_get() 160 struct any_cursor_extra_data *ed; in any_next_entry() local 162 ed = (struct any_cursor_extra_data *)cursor->data; in any_next_entry() 164 ret = krb5_kt_next_entry(context, ed->a->kt, entry, &ed->cursor); in any_next_entry() 170 ret2 = krb5_kt_end_seq_get (context, ed->a->kt, &ed->cursor); in any_next_entry() 173 while ((ed->a = ed->a->next) != NULL) { in any_next_entry() [all …]
|
/freebsd/bin/ed/test/ |
H A D | README | 3 used for testing ed. To run the tests, set the ED variable in the Makefile 4 for the path name of the program to be tested (e.g., /bin/ed), and type 9 .t Template - a list of ed commands from which an ed script is 11 .d Data - read by an ed script 12 .r Result - the expected output after processing data via an ed 14 .err Error - invalid ed commands that should generate an error 17 At the end of the tests, these files are grep'ed for error messages, 19 *** The script u.ed exited abnormally *** 21 *** Output u.o of script u.ed is incorrect *** 24 a single address is expected has been relaxed in this version of ed. [all …]
|
H A D | TODO | 7 3) ed "" - error: invalid filename 11 6) ed -x - verify: 8-bit clean 12 7) ed - verify: long-line support 13 8) ed - verify: interactive/help mode
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | merge.c | 219 equiv_intrinsic(tdesc_t *stdp, tdesc_t *ttdp, equiv_data_t *ed __unused) in equiv_intrinsic() 241 equiv_plain(tdesc_t *stdp, tdesc_t *ttdp, equiv_data_t *ed) in equiv_plain() argument 243 return (equiv_node(stdp->t_tdesc, ttdp->t_tdesc, ed)); in equiv_plain() 247 equiv_function(tdesc_t *stdp, tdesc_t *ttdp, equiv_data_t *ed) in equiv_function() argument 256 if (!equiv_node(fn1->fn_ret, fn2->fn_ret, ed)) in equiv_function() 260 if (!equiv_node(fn1->fn_args[i], fn2->fn_args[i], ed)) in equiv_function() 268 equiv_array(tdesc_t *stdp, tdesc_t *ttdp, equiv_data_t *ed) in equiv_array() argument 272 if (!equiv_node(ar1->ad_contents, ar2->ad_contents, ed) || in equiv_array() 273 !equiv_node(ar1->ad_idxtype, ar2->ad_idxtype, ed)) in equiv_array() 283 equiv_su(tdesc_t *stdp, tdesc_t *ttdp, equiv_data_t *ed) in equiv_su() argument [all …]
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_elf_init.c | 132 _dwarf_elf_relocate(Dwarf_Debug dbg, Elf *elf, Dwarf_Elf_Data *ed, size_t shndx, in _dwarf_elf_relocate() argument 176 if (ed->ed_alloc == NULL) { in _dwarf_elf_relocate() 177 ed->ed_alloc = malloc(ed->ed_size); in _dwarf_elf_relocate() 178 if (ed->ed_alloc == NULL) { in _dwarf_elf_relocate() 183 memcpy(ed->ed_alloc, ed->ed_data->d_buf, in _dwarf_elf_relocate() 184 ed->ed_size); in _dwarf_elf_relocate() 188 ed->ed_alloc, ed->ed_size, in _dwarf_elf_relocate() 192 ed->ed_alloc, ed->ed_size, rel, symtab_data, in _dwarf_elf_relocate() 209 Dwarf_Elf_Data *ed, GElf_Shdr *shdr, Dwarf_Error *error) in _dwarf_elf_decompress() argument 225 if ((ed->ed_alloc = malloc(chdr.ch_size)) == NULL) { in _dwarf_elf_decompress() [all …]
|
H A D | libdwarf_elf_access.c | 133 Dwarf_Elf_Data *ed; in _dwarf_elf_load_section() local 150 ed = &e->eo_data[ndx]; in _dwarf_elf_load_section() 152 if (ed->ed_alloc != NULL) in _dwarf_elf_load_section() 153 *ret_data = ed->ed_alloc; in _dwarf_elf_load_section() 155 if (ed->ed_data == NULL) { in _dwarf_elf_load_section() 160 *ret_data = ed->ed_data->d_buf; in _dwarf_elf_load_section()
|
/freebsd/bin/csh/ |
H A D | Makefile | 37 SRCS+= ed.chared.c ed.decls.h ed.defns.c ed.h ed.init.c ed.inputl.c \ 38 ed.refresh.c ed.screen.c ed.xmap.c ed.term.c ed.term.h 44 GENHDRS= ed.defns.h sh.err.h tc.const.h tc.defs.c 140 ed.defns.h: ed.defns.c 145 grep '[FV]_' ${TCSHDIR}/ed.defns.c | grep '^#define' >> ${.TARGET}
|
/freebsd/usr.bin/sdiff/ |
H A D | edit.c | 44 const char *ed; in editit() local 46 ed = getenv("VISUAL"); in editit() 47 if (ed == NULL) in editit() 48 ed = getenv("EDITOR"); in editit() 49 if (ed == NULL) in editit() 50 ed = _PATH_VI; in editit() 59 execlp(ed, ed, pathname, (char *)NULL); in editit()
|
/freebsd/bin/ed/ |
H A D | POSIX | 2 This version of ed(1) is not strictly POSIX compliant, as described in 38 processing is performed by ed. 40 4) For SunOS ed(1) compatibility, ed runs in restricted mode if invoked 46 1) Though ed is not a stream editor, it can be used to edit binary files. 52 For example, to create a file with ed containing a single NUL character: 53 $ ed file 61 $ ed file 66 not specified by POSIX, it follows the behavior of the SunOS ed: 75 would otherwise cause a script to fail. For instance, an ed script 78 ed - file <<EOF [all …]
|
H A D | Makefile | 4 PROG= ed 6 LINKS= ${BINDIR}/ed ${BINDIR}/red 7 MLINKS= ed.1 red.1
|
/freebsd/sys/dev/usb/template/ |
H A D | usb_template.c | 269 struct usb_endpoint_descriptor *ed; in usb_make_endpoint_desc() local 284 temp->size += sizeof(*ed) + 2; in usb_make_endpoint_desc() 286 temp->size += sizeof(*ed); in usb_make_endpoint_desc() 317 ed = USB_ADD_BYTES(temp->buf, old_size); in usb_make_endpoint_desc() 319 ed->bLength = sizeof(*ed) + 2; in usb_make_endpoint_desc() 321 ed->bLength = sizeof(*ed); in usb_make_endpoint_desc() 322 ed->bDescriptorType = UDESC_ENDPOINT; in usb_make_endpoint_desc() 323 ed->bEndpointAddress = ea; in usb_make_endpoint_desc() 324 ed->bmAttributes = ted->bmAttributes; in usb_make_endpoint_desc() 325 USETW(ed->wMaxPacketSize, mps); in usb_make_endpoint_desc() [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | cms.c | 358 EnvelopedData ed; in hx509_cms_unenvelope() local 370 memset(&ed, 0, sizeof(ed)); in hx509_cms_unenvelope() 378 ret = decode_EnvelopedData(data, length, &ed, &size); in hx509_cms_unenvelope() 385 if (ed.recipientInfos.len == 0) { in hx509_cms_unenvelope() 392 enccontent = ed.encryptedContentInfo.encryptedContent; in hx509_cms_unenvelope() 409 for (i = 0; i < ed.recipientInfos.len; i++) { in hx509_cms_unenvelope() 414 ri = &ed.recipientInfos.val[i]; in hx509_cms_unenvelope() 455 ret = der_copy_oid(&ed.encryptedContentInfo.contentType, contentType); in hx509_cms_unenvelope() 462 ai = &ed.encryptedContentInfo.contentEncryptionAlgorithm; in hx509_cms_unenvelope() 512 free_EnvelopedData(&ed); in hx509_cms_unenvelope() [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | ohci.c | 308 struct ohci_ed *ed; in ohci_init_ed() local 312 ed = buf_res.buffer; in ohci_init_ed() 314 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed() 315 ed->ed_flags = htole32(OHCI_ED_SKIP); in ohci_init_ed() 316 ed->page_cache = pc; in ohci_init_ed() 318 return (ed); in ohci_init_ed() 942 ohci_ed_t *ed; in ohci_check_transfer_sub() local 987 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_check_transfer_sub() 989 ed->ed_headp = td->td_self; in ohci_check_transfer_sub() 990 usb_pc_cpu_flush(ed->page_cache); in ohci_check_transfer_sub() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | src.desc | 1 Editor functions (ed.*c) 2 ed.chared.c: Editor basic function implementation. (Motion/Search etc.) 3 ed.defns.c: Editor command tables. 4 ed.init.c: Editor initialization. Tty/signal setup. 5 ed.term.c: Tty driver dependent initialization portion. 6 ed.inputl.c: Editor input, editor command parser, and dispatcher. 7 ed.refresh.c: Editor refreshing. How to change the old line to the current. 8 ed.screen.c: Termcap related functions. 9 ed.xmap.c: Key macro handling.
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_006_pos.ksh | 55 log_must zdb -ed $TESTPOOL 56 log_must zdb -ed $TESTPOOL/ 57 log_must zdb -ed $TESTPOOL/$TESTFS 58 log_must zdb -ed $TESTPOOL/$TESTFS@snap
|
/freebsd/share/skel/ |
H A D | dot.shrc | 34 bind ^[[A ed-search-prev-history 35 bind ^[[B ed-search-next-history 39 bind "\\e[1;5D" ed-prev-word 43 bind ^[[5~ ed-move-to-beg 44 bind ^[[6~ ed-move-to-end
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_vis.c | 131 } ed[] = { in ATF_TC_BODY() local 140 for (size_t i = 0; i < __arraycount(ed); i++) { in ATF_TC_BODY() 141 ATF_REQUIRE(strunvis(uv, ed[i].e) == ed[i].error); in ATF_TC_BODY() 142 if (ed[i].error > 0) in ATF_TC_BODY() 143 ATF_REQUIRE(memcmp(ed[i].d, uv, ed[i].error) == 0); in ATF_TC_BODY()
|
/freebsd/bin/sh/ |
H A D | dot.shrc | 34 bind ^[[A ed-search-prev-history 35 bind ^[[B ed-search-next-history 39 bind "\\e[1;5D" ed-prev-word 43 bind ^[[5~ ed-move-to-beg 44 bind ^[[6~ ed-move-to-end
|
/freebsd/crypto/openssl/test/recipes/30-test_evp_pkey_provided/ |
H A D | DH.priv.txt | 4 d0:ed:56:4b:47:21:2b:fa:55:fa:87:e8:a9:7b 12 79:24:ed:e1:d1:4a:57:f1:40:86:70:42:25:c5:27: 15 a9:7f:e1:33:eb:c3:4f:e3:b7:22:f7:1c:09:4f:ed: 17 13:c0:20:82:65:bb:42:3b:ed:08:6a:84:4f:ea:77: 18 14:32:f9:ed:c2:12:d6:c5:c6:b3:e5:f2:6e:f6:16:
|
H A D | DH.pub.txt | 9 79:24:ed:e1:d1:4a:57:f1:40:86:70:42:25:c5:27: 12 a9:7f:e1:33:eb:c3:4f:e3:b7:22:f7:1c:09:4f:ed: 14 13:c0:20:82:65:bb:42:3b:ed:08:6a:84:4f:ea:77: 15 14:32:f9:ed:c2:12:d6:c5:c6:b3:e5:f2:6e:f6:16:
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/ |
H A D | mmp_on_zdb.ksh | 72 log_must zdb -ed $TESTPOOL 73 log_must zdb -ed $TESTPOOL/ 74 log_must zdb -ed $TESTPOOL/$TESTFS 75 log_must zdb -ed $TESTPOOL/$TESTFS@snap
|
/freebsd/contrib/mandoc/ |
H A D | dba_array.c | 37 int32_t ed; /* Entries deleted. */ member 54 array->ed = 0; in dba_array_new() 135 array->ed++; in dba_array_del() 160 assert(array->ed == 0); in dba_array_sort() 167 dba_int_write(array->eu - array->ed); in dba_array_writelen() 168 return dba_skip(nmemb, array->eu - array->ed); in dba_array_writelen()
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | gelf_cap.c | 37 gelf_getcap(Elf_Data *ed, int ndx, GElf_Cap *dst) in gelf_getcap() argument 48 d = (struct _Libelf_Data *) ed; in gelf_getcap() 96 gelf_update_cap(Elf_Data *ed, int ndx, GElf_Cap *gc) in gelf_update_cap() argument 107 d = (struct _Libelf_Data *) ed; in gelf_update_cap()
|
H A D | gelf_syminfo.c | 35 gelf_getsyminfo(Elf_Data *ed, int ndx, GElf_Syminfo *dst) in gelf_getsyminfo() argument 46 d = (struct _Libelf_Data *) ed; in gelf_getsyminfo() 96 gelf_update_syminfo(Elf_Data *ed, int ndx, GElf_Syminfo *gs) in gelf_update_syminfo() argument 107 d = (struct _Libelf_Data *) ed; in gelf_update_syminfo()
|