003 File Manager
Current Path:
/usr/src/contrib/nvi/ex
usr
/
src
/
contrib
/
nvi
/
ex
/
📁
..
📄
ex.awk
(115 B)
📄
ex.c
(61.91 KB)
📄
ex.h
(8.63 KB)
📄
ex_abbrev.c
(2.63 KB)
📄
ex_append.c
(7.05 KB)
📄
ex_args.c
(7.03 KB)
📄
ex_argv.c
(20.06 KB)
📄
ex_at.c
(3.14 KB)
📄
ex_bang.c
(5.25 KB)
📄
ex_cd.c
(2.84 KB)
📄
ex_cmd.c
(11.69 KB)
📄
ex_cscope.c
(24.32 KB)
📄
ex_def.h
(1.4 KB)
📄
ex_delete.c
(1.3 KB)
📄
ex_display.c
(2.71 KB)
📄
ex_edit.c
(3.5 KB)
📄
ex_equal.c
(1.17 KB)
📄
ex_file.c
(1.56 KB)
📄
ex_filter.c
(8.38 KB)
📄
ex_global.c
(7.17 KB)
📄
ex_init.c
(9.93 KB)
📄
ex_join.c
(4.36 KB)
📄
ex_map.c
(3.01 KB)
📄
ex_mark.c
(787 B)
📄
ex_mkexrc.c
(1.96 KB)
📄
ex_move.c
(4.16 KB)
📄
ex_open.c
(867 B)
📄
ex_preserve.c
(1.92 KB)
📄
ex_print.c
(6.43 KB)
📄
ex_put.c
(880 B)
📄
ex_quit.c
(801 B)
📄
ex_read.c
(8 KB)
📄
ex_screen.c
(2.22 KB)
📄
ex_script.c
(12.76 KB)
📄
ex_set.c
(737 B)
📄
ex_shell.c
(4.95 KB)
📄
ex_shift.c
(4.59 KB)
📄
ex_source.c
(2.01 KB)
📄
ex_stop.c
(928 B)
📄
ex_subst.c
(34.22 KB)
📄
ex_tag.c
(28.84 KB)
📄
ex_txt.c
(10.91 KB)
📄
ex_undo.c
(1.33 KB)
📄
ex_usage.c
(4.15 KB)
📄
ex_util.c
(4.18 KB)
📄
ex_version.c
(721 B)
📄
ex_visual.c
(3.68 KB)
📄
ex_write.c
(8 KB)
📄
ex_yank.c
(882 B)
📄
ex_z.c
(3.56 KB)
📄
extern.h
(4.37 KB)
📄
script.h
(588 B)
📄
tag.h
(3.09 KB)
📄
version.h
(40 B)
Editing: tag.h
/*- * Copyright (c) 1992, 1993, 1994 * The Regents of the University of California. All rights reserved. * Copyright (c) 1992, 1993, 1994, 1995, 1996 * Keith Bostic. All rights reserved. * Copyright (c) 1994, 1996 * Rob Mayoff. All rights reserved. * * See the LICENSE file for redistribution information. */ /* * Cscope connection information. One of these is maintained per cscope * connection, linked from the EX_PRIVATE structure. */ struct _csc { SLIST_ENTRY(_csc) q; /* Linked list of cscope connections. */ char *dname; /* Base directory of this cscope connection. */ size_t dlen; /* Length of base directory. */ pid_t pid; /* PID of the connected cscope process. */ struct timespec mtim; /* Last modification time of cscope database. */ FILE *from_fp; /* from cscope: FILE. */ int from_fd; /* from cscope: file descriptor. */ FILE *to_fp; /* to cscope: FILE. */ int to_fd; /* to cscope: file descriptor. */ char **paths; /* Array of search paths for this cscope. */ char *pbuf; /* Search path buffer. */ size_t pblen; /* Search path buffer length. */ char buf[1]; /* Variable length buffer. */ }; /* * Tag file information. One of these is maintained per tag file, linked * from the EXPRIVATE structure. */ struct _tagf { /* Tag files. */ TAILQ_ENTRY(_tagf) q; /* Linked list of tag files. */ char *name; /* Tag file name. */ int errnum; /* Errno. */ #define TAGF_ERR 0x01 /* Error occurred. */ #define TAGF_ERR_WARN 0x02 /* Error reported. */ u_int8_t flags; }; /* * Tags are structured internally as follows: * * +----+ +----+ +----+ +----+ * | EP | -> | Q1 | <-- | T1 | <-- | T2 | * +----+ +----+ --> +----+ --> +----+ * | * +----+ +----+ * | Q2 | <-- | T1 | * +----+ --> +----+ * | * +----+ +----+ * | Q3 | <-- | T1 | * +----+ --> +----+ * * Each Q is a TAGQ, or tag "query", which is the result of one tag or cscope * command. Each Q references one or more TAG's, or tagged file locations. * * tag: put a new Q at the head (^]) * tagnext: T1 -> T2 inside Q (^N) * tagprev: T2 -> T1 inside Q (^P) * tagpop: discard Q (^T) * tagtop: discard all Q */ struct _tag { /* Tag list. */ TAILQ_ENTRY(_tag) q; /* Linked list of tags. */ /* Tag pop/return information. */ FREF *frp; /* Saved file. */ recno_t lno; /* Saved line number. */ size_t cno; /* Saved column number. */ char *fname; /* Filename. */ size_t fnlen; /* Filename length. */ recno_t slno; /* Search line number. */ CHAR_T *search; /* Search string. */ size_t slen; /* Search string length. */ CHAR_T *msg; /* Message string. */ size_t mlen; /* Message string length. */ CHAR_T buf[1]; /* Variable length buffer. */ }; struct _tagq { /* Tag queue. */ TAILQ_ENTRY(_tagq) q; /* Linked list of tag queues. */ /* This queue's tag list. */ TAILQ_HEAD(_tagqh, _tag) tagq[1]; TAG *current; /* Current TAG within the queue. */ char *tag; /* Tag string. */ size_t tlen; /* Tag string length. */ #define TAG_CSCOPE 0x01 /* Cscope tag. */ u_int8_t flags; char buf[1]; /* Variable length buffer. */ };
Upload File
Create Folder