Home
last modified time | relevance | path

Searched full:ed (Results 1 – 25 of 1631) sorted by relevance

12345678910>>...66

/freebsd/contrib/elftoolchain/elfdump/
H A Delfdump.c86 #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/contrib/libedit/
H A Deditline.745 .Ic ed-command
69 .Ic ed-insert
80 .Ic ed-prev-word
94 .Ic ed-delete-prev-word
107 .Bl -column -offset indent "Ctrl-Z, TSTP" "ed-search-next-history"
110 .It Ctrl-J, LF Ta Ic ed-newline
111 .It Ctrl-M, CR Ta Ic ed-newline
112 .It Ctrl-Q Ta Ic ed-tty-start-output
113 .It Ctrl-S Ta Ic ed-tty-stop-output
115 .It Ctrl-V Ta Ic ed-quoted-insert
[all …]
/freebsd/bin/ed/test/
H A Dmkscripts.sh2 # This script generates ed test scripts (.ed) from .t files
6 ED=$1
7 [ ! -x $ED ] && { echo "$ED: cannot execute"; exit 1; }
15 # echo "$ED - <<\EOT"
20 # ) >$base.ed
21 # chmod +x $base.ed
23 # use of ed but the point is that it can be done...
24 base=`$ED - \!"echo $i" <<-EOF
27 $ED - <<-EOF
30 $ED - <<\EOT
[all …]
H A DREADME3 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 DMakefile2 ED= ${.OBJDIR}/ed macro
16 echo "building test scripts for $(ED) ..."; \
17 $(SHELL) mkscripts.sh $(ED); \
21 @echo testing $(ED) ...
22 @$(SHELL) ckscripts.sh $(ED)
25 rm -f *.ed *.red *.[oz] *~ ascii.d ascii.r
H A Dckscripts.sh2 # This script runs the .ed scripts generated by mkscripts.sh
8 ED=$1
9 [ ! -x $ED ] && { echo "$ED: cannot execute"; exit 1; }
21 for i in *.ed; do
24 base=`$ED - \!"echo $i" <<-EOF
27 if $base.ed; then
H A DTODO7 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/crypto/heimdal/lib/krb5/
H A Dkeytab_any.c130 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/
H A DPOSIX2 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 …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c132 _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 Dlibdwarf_elf_access.c133 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/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dmerge.c219 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/bin/csh/
H A DMakefile37 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
135 ed.defns.h: ed.defns.c
140 grep '[FV]_' ${TCSHDIR}/ed.defns.c | grep '^#define' >> ${.TARGET}
/freebsd/usr.bin/diff3/
H A Ddiff3.170 .Xr ed 1
88 .It Fl e , Fl Fl ed
90 .Xr ed 1
114 .Xr ed 1
123 Merge output instead of generating ed script.
129 .Xr ed 1
133 .Xr ed 1
185 .Xr ed 1
201 .Xr ed 1 ,
220 .Xr ed 1
/freebsd/contrib/tcsh/
H A Dsrc.desc1 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/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp365 ExtValue(const ExtDesc &ED) : ExtValue(ED.getOp()) {} in ExtValue()
395 OffsetRange getOffsetRange(const ExtDesc &ED) const;
406 bool replaceInstrExact(const ExtDesc &ED, Register ExtR);
407 bool replaceInstrExpr(const ExtDesc &ED, const ExtenderInit &ExtI,
426 friend raw_ostream &operator<< (raw_ostream &OS, const ExtDesc &ED);
493 raw_ostream &operator<< (raw_ostream &OS, const HCE::ExtDesc &ED) { in operator <<() argument
494 assert(ED.OpNum != -1u); in operator <<()
495 const MachineBasicBlock &MBB = *ED.getOp().getParent()->getParent(); in operator <<()
499 if (ED.Rd.Reg != 0) in operator <<()
500 OS << printReg(ED.Rd.Reg, &HRI, ED.Rd.Sub); in operator <<()
[all …]
/freebsd/usr.bin/diff/
H A Ddiff.147 .Op Fl -ed
49 .Op Fl -forward-ed
79 .Op Fl -ed
81 .Op Fl -forward-ed
107 .Op Fl -ed
109 .Op Fl -forward-ed
137 .Op Fl -ed
139 .Op Fl -forward-ed
169 .Op Fl -ed
171 .Op Fl -forward-ed
[all...]
/freebsd/share/skel/
H A Ddot.shrc34 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/usr.bin/sdiff/
H A Dedit.c44 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/sh/
H A Ddot.shrc34 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_006_pos.ksh28 # 4. Run zdb -ed with pool and dataset arguments.
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/crypto/heimdal/lib/hx509/
H A Dcms.c358 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/tests/sys/cddl/zfs/tests/history/
H A Dhistory_009_pos.ksh55 # ed$ identifies permissions granted on descendent datasets for
59 # Ed$ identifies permission sets granted to descendent datasets
155 "ed\\$" "allow" "-d -e snapshot" \
156 "ed\\$" "allow" "-e snapshot" \
157 "ed\\$" "unallow" "-e snapshot" \
158 "Ed\\$" "allow" "-d -e @set" \
159 "Ed\\$" "allow" "-e @set" \
160 "Ed\\$" "unallow" "-e @set"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/
H A Dmmp_on_zdb.ksh35 # 8. Run zdb -ed with pool and dataset arguments.
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/sys/dev/usb/controller/
H A Dohci.c308 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()
335 * Setup all ED's in ohci_init()
414 printf("ed#%d ", i); in ohci_init()
619 printf("ED(%p) at 0x%08x: addr=%d endpt=%d maxp=%d flags=%s%s%s%s%s\n" in ohci_dump_ed()
663 DPRINTFN(0, "ED already linked!\n"); in _ohci_append_qh()
[all …]

12345678910>>...66