Home
last modified time | relevance | path

Searched refs:Strbuf (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/tcsh/
H A Dtw.decls.h46 extern int t_search (struct Strbuf *, COMMAND, int,
71 extern int tw_cmd_next (struct Strbuf *,
72 struct Strbuf *, int *);
73 extern int tw_logname_next (struct Strbuf *,
74 struct Strbuf *, int *);
75 extern int tw_shvar_next (struct Strbuf *,
76 struct Strbuf *, int *);
77 extern int tw_envvar_next (struct Strbuf *,
78 struct Strbuf *, int *);
79 extern int tw_var_next (struct Strbuf *,
[all …]
H A Dtw.init.c92 static int tw_dir_next (struct Strbuf *, DIR *);
157 tw_dir_next(struct Strbuf *res, DIR *dfd) in tw_dir_next()
387 tw_cmd_next(struct Strbuf *res, struct Strbuf *dir, int *flags) in tw_cmd_next()
472 tw_shvar_next(struct Strbuf *res, struct Strbuf *dir, int *flags) in tw_shvar_next()
514 tw_envvar_next(struct Strbuf *res, struct Strbuf *dir, int *flags) in tw_envvar_next()
576 tw_var_next(struct Strbuf *res, struct Strbuf *dir, int *flags) in tw_var_next()
608 tw_logname_next(struct Strbuf *res, struct Strbuf *dir, int *flags) in tw_logname_next()
674 tw_grpname_next(struct Strbuf *res, struct Strbuf *dir, int *flags) in tw_grpname_next()
742 tw_file_next(struct Strbuf *res, struct Strbuf *dir, int *flags) in tw_file_next()
800 tw_item_add(const struct Strbuf *s) in tw_item_add()
[all …]
H A Dtc.decls.h37 struct Strbuf;
246 extern int expdollar (struct Strbuf *, const Char **, Char);
311 extern struct Strbuf *Strbuf_alloc(void);
312 extern void Strbuf_terminate(struct Strbuf *);
313 extern void Strbuf_append1(struct Strbuf *, Char);
314 extern void Strbuf_appendn(struct Strbuf *, const Char *,
316 extern void Strbuf_append (struct Strbuf *, const Char *);
317 extern Char *Strbuf_finish (struct Strbuf *);
H A Dtw.parse.c64 static int (*const tw_next_entry[]) (struct Strbuf *, struct Strbuf *,
99 static void extract_dir_and_name (const Char *, struct Strbuf *,
103 static int tilde (struct Strbuf *, Char *);
104 static int expand_dir (const Char *, struct Strbuf *, DIR **,
113 static int recognize (struct Strbuf *, const Char *, size_t,
117 static int tw_collect_items (COMMAND, int, struct Strbuf *,
118 struct Strbuf *, Char *, const Char *,
120 static int tw_collect (COMMAND, int, struct Strbuf *,
121 struct Strbuf *, Char *, Char *, int,
123 static Char tw_suffix (int, struct Strbuf *,const Char *,
[all …]
H A Dtc.h56 struct Strbuf { struct
67 extern const struct Strbuf Strbuf_init; argument
H A Dtw.spell.c37 spell_me(struct Strbuf *oldname, int looking, Char *pat, eChar suf) in spell_me()
39 struct Strbuf guess = Strbuf_INIT, newname = Strbuf_INIT; in spell_me()
128 spdir(struct Strbuf *extended_name, const Char *tilded_dir, const Char *item, in spdir()
H A Ded.xmap.c119 static int Lookup (struct Strbuf *, const CStr *,
121 static void Enumerate (struct Strbuf *, const XmapNode *);
122 static void unparsech (struct Strbuf *, Char);
433 struct Strbuf buf = Strbuf_INIT; in PrintXkey()
461 Lookup(struct Strbuf *buf, const CStr *str, const XmapNode *ptr) in Lookup()
506 Enumerate(struct Strbuf *buf, const XmapNode *ptr) in Enumerate()
573 unparsech(struct Strbuf *buf, Char ch) in unparsech()
H A Dsh.dol.c66 static struct Strbuf dolmod; /* = Strbuf_INIT; : modifier characters */
73 static int Dpack (struct Strbuf *);
163 Dpack(struct Strbuf *wbuf) in Dpack()
204 struct Strbuf *wbuf = Strbuf_alloc(); in Dword()
376 struct Strbuf *name = Strbuf_alloc(); in Dgetdol()
417 static struct Strbuf wbuf; /* = Strbuf_INIT; */ in Dgetdol()
970 struct Strbuf lbuf = Strbuf_INIT, mbuf = Strbuf_INIT; in heredoc()
H A Dsh.glob.c69 static void pword (struct blk_buf *, struct Strbuf *);
70 static void backeval (struct blk_buf *, struct Strbuf *, Char *,
152 struct Strbuf gbuf = Strbuf_INIT; in globbrace()
663 struct Strbuf word = Strbuf_INIT; in dobackp()
702 backeval(struct blk_buf *bb, struct Strbuf *word, Char *cp, int literal) in backeval()
877 pword(struct blk_buf *bb, struct Strbuf *word) in pword()
H A Ded.h146 EXTERN struct Strbuf HistBuf; /* = Strbuf_INIT; history buffer */
149 EXTERN struct Strbuf SavedBuf; /* = Strbuf_INIT; */
H A Dsh.lex.c105 struct Strbuf labuf; /* = Strbuf_INIT; */
121 struct Strbuf histline; /* = Strbuf_INIT; last line input */
296 struct Strbuf wbuf = Strbuf_INIT; in word()
502 struct Strbuf name = Strbuf_INIT; in getdol()
671 static struct Strbuf buf; /* = Strbuf_INIT; */ in addla()
684 static struct Strbuf lhsb; /* = Strbuf_INIT; */
685 static struct Strbuf slhs; /* = Strbuf_INIT; left-hand side of last :s */
686 static struct Strbuf rhsb; /* = Strbuf_INIT; right-hand side of last :s */
988 struct Strbuf wbuf = Strbuf_INIT; in subword()
H A Dtc.prompt.c167 tprintf_append_mbs(struct Strbuf *buf, const char *mbs, Char attributes) in tprintf_append_mbs()
180 struct Strbuf buf = Strbuf_INIT; in tprintf()
617 expdollar(struct Strbuf *buf, const Char **srcp, Char attr) in expdollar()
H A Dtc.bind.c270 struct Strbuf b = Strbuf_INIT; in parsebind()
376 struct Strbuf b = Strbuf_INIT; in parsestring()
H A Dtw.help.c88 struct Strbuf full = Strbuf_INIT; in do_help()
H A Dsh.misc.c111 struct Strbuf buf = Strbuf_INIT; in blkexpand()
495 quote_meta(struct Strbuf *buf, const Char *s) in quote_meta()
H A Dtc.str.c205 static struct Strbuf buf; /* = Strbuf_INIT; */
710 DO_STRBUF(Strbuf, Char, Strlen);
H A Dsh.dir.c337 struct Strbuf buf = Strbuf_INIT; in dnormalize()
632 struct Strbuf buf = Strbuf_INIT; in dfollow()
1367 struct Strbuf qname = Strbuf_INIT; in recdirs()
H A Dsh.decls.h280 extern const Char *quote_meta (struct Strbuf *, const Char *);
H A Dsh.func.c59 static int getword (struct Strbuf *);
751 struct Strbuf word = Strbuf_INIT; in search()
903 struct Strbuf *tmp; in histgetword()
1004 getword(struct Strbuf *wp) in getword()
H A Dtw.comp.c406 struct Strbuf buf = Strbuf_INIT; in tw_dollar()
H A Dtc.func.c97 struct Strbuf buf = Strbuf_INIT; in expand_lex()
203 struct Strbuf word = Strbuf_INIT; in dolist()
317 struct Strbuf buf = Strbuf_INIT; in dolist()
H A Dsh.sem.c132 struct Strbuf buf = Strbuf_INIT; in execute()
H A Dsh.h869 extern struct Strbuf labuf;
H A Ded.chared.c102 static struct Strbuf patbuf; /* = Strbuf_INIT; Search target */
1264 struct Strbuf tmpbuf = Strbuf_INIT; in v_search()
H A Dsh.set.c926 struct Strbuf buf = Strbuf_INIT; in exportpath()

12