Home
last modified time | relevance | path

Searched refs:Char (Results 1 – 25 of 77) sorted by relevance

1234

/netbsd/src/bin/csh/
Dextern.h42 int gethdir(Char *);
43 void dosource(Char **, struct command *);
46 void importpath(Char *);
68 void dinit(Char *);
69 void dodirs(Char **, struct command *);
70 Char *dcanon(Char *, Char *);
71 void dtildepr(Char *, Char *);
73 void dochngd(Char **, struct command *);
74 Char *dnormalize(Char *);
75 void dopushd(Char **, struct command *);
[all …]
Dconst.c47 Char STR0[] = { '0', '\0' };
48 Char STR1[] = { '1', '\0' };
49 Char STRHOME[] = { 'H', 'O', 'M', 'E', '\0' };
50 Char STRLANG[] = { 'L', 'A', 'N', 'G', '\0' };
51 Char STRLC_CTYPE[] = { 'L', 'C', '_', 'C', 'T', 'Y', 'P', 'E' ,'\0' };
52 Char STRLOGNAME[] = { 'L', 'O', 'G', 'N', 'A', 'M', 'E', '\0' };
53 Char STRLbrace[] = { '{', '\0' };
54 Char STRLparen[] = { '(', '\0' };
55 Char STRLparensp[] = { '(', ' ', '\0' };
56 Char STRNULL[] = { '\0' };
[all …]
Dstr.c58 Char **
61 Char **dst, **sdst; in blk2short()
78 short2blk(Char *const *src) in short2blk()
96 Char *
99 static Char *sdst; in str2short()
100 Char *dst, *edst; in str2short()
114 *dst++ = (Char) ((unsigned char) *src++); in str2short()
127 short2str(const Char *src) in short2str()
155 Char *
156 s_strcpy(Char *dst, const Char *src) in s_strcpy()
[all …]
Dglob.c72 Char **gargv = NULL;
73 Char **pargv = NULL;
86 static Char *globtilde(Char **, Char *);
87 static Char *handleone(Char *, Char **, int);
88 static Char **libglob(Char **);
89 static Char **globexpand(Char **);
90 static int globbrace(Char *, Char *, Char ***);
91 static void expbrace(Char ***, Char ***, size_t);
92 static int pmatch(const Char *, const Char *);
95 static void backeval(Char *, int);
[all …]
Dfile.c86 static int pushback(Char *);
87 static void catn(Char *, Char *, size_t);
88 static void copyn(Char *, Char *, size_t);
89 static Char filetype(Char *, Char *);
90 static void print_by_column(Char *, Char *[], size_t);
91 static Char *tilde(Char *, Char *);
94 static void print_recognized_stuff(Char *);
95 static void extract_dir_and_name(Char *, Char *, Char *);
96 static Char *getentry(DIR *, int);
97 static void free_items(Char **, size_t);
[all …]
Dmisc.c81 Char **
82 blkend(Char **up) in blkend()
91 blkpr(FILE *fp, Char **av) in blkpr()
101 blklen(Char **av) in blklen()
111 Char **
112 blkcpy(Char **oav, Char **bv) in blkcpy()
114 Char **av; in blkcpy()
122 Char **
123 blkcat(Char **up, Char **vp) in blkcat()
130 blkfree(Char **av0) in blkfree()
[all …]
Dcsh.h66 typedef short Char; typedef
70 typedef char Char; typedef
131 extern Char *arginp; /* Argument input for sh -c and internal `xx` */
132 extern Char *ffile; /* Name of shell file for $0 */
136 extern Char *shtemp; /* Temp name for << shell files in /tmp */
149 extern Char *doldol; /* Character pid for $$ */
189 extern Char *gointr; /* Label for an onintr transfer */
205 #define CHAR ((Char)0xff)
206 #define QUOTE ((Char)0x8000) /* 16nth char bit used for 'ing */
207 #define TRIM ((Char)0x7fff) /* Mask to strip quote bit */
[all …]
Dexp.c72 static int exp1(Char ***, int);
73 static int csh_exp2(Char ***, int);
74 static int exp2a(Char ***, int);
75 static int exp2b(Char ***, int);
76 static int exp2c(Char ***, int);
77 static Char *exp3(Char ***, int);
78 static Char *exp3a(Char ***, int);
79 static Char *exp4(Char ***, int);
80 static Char *exp5(Char ***, int);
81 static Char *exp6(Char ***, int);
[all …]
Dset.c51 static Char *getinx(Char *, int *);
52 static void asx(Char *, int, Char *);
53 static struct varent *getvx(Char *, int);
54 static Char *xset(Char *, Char ***);
55 static Char *operate(int, Char *, Char *);
57 static struct varent *madrof(Char *, struct varent *);
59 static void exportpath(Char **);
70 Char **av; in alias_text()
104 update_vars(Char *vp) in update_vars()
116 Char *pn = value(STRhistchars); in update_vars()
[all …]
Dfunc.c64 static void search(int, int, Char *);
65 static int getword(Char *);
66 static int keyword(Char *);
68 static void xecho(int, Char **);
69 static void Unsetenv(Char *);
79 Char *cp; in isbfunc()
132 doonintr(Char **v, struct command *t) in doonintr()
134 Char *cp, *vv; in doonintr()
166 donohup(Char **v, struct command *t) in donohup()
177 dozip(Char **v, struct command *t) in dozip()
[all …]
Ddir.c56 static struct directory *dfind(Char *);
57 static Char *dfollow(Char *);
59 static Char *dgoto(Char *);
60 static void skipargs(Char ***, const char *);
62 static void dset(Char *);
75 dinit(Char *hp) in dinit()
81 Char *cp; in dinit()
141 dset(Char *dp) in dset()
143 Char **vec; in dset()
162 skipargs(Char ***v, const char *str) in skipargs()
[all …]
Ddol.c64 static Char *Dcp, **Dvp; /* Input vector for Dreadc */
78 static Char dolmod[MAXMOD]; /* : modifier character */
79 static Char *dolp; /* Remaining chars from this word */
80 static Char **dolnxt; /* Further words */
86 static void Dfix2(Char **);
87 static Char *Dpack(Char *, Char *);
89 __dead static void dolerror(Char *);
93 static void setDolp(Char *);
106 Char *p, **pp; in Dfix()
126 Char *
[all …]
Dlex.c60 static Char *word(void);
64 static struct Hist *findev(Char *, int);
65 static void setexclp(Char *);
69 static int matchs(Char *, Char *);
72 static Char *subword(Char *, int, int *);
96 static Char *exclp = NULL;
105 Char **alvec, *alvecp;
115 static Char labuf[BUFSIZE];
256 static Char *
259 Char wbuf[BUFSIZE], *wp; in word()
[all …]
Dexec.c72 static Char *expath; /* Path for exerr */
100 static Char *justabs[] = {STRNULL, 0};
103 static void texec(Char *, Char **);
104 static int hashname(Char *);
105 static int tellmewhat(struct wordent *, Char *);
106 static int executable(Char *, Char *, int);
107 static int iscommand(Char *);
111 doexec(Char **v, struct command *t) in doexec()
114 Char *blk[2], **av, *dp, **pv, *sav; in doexec()
268 texec(Char *sf, Char **st) in texec()
[all …]
Dcsh.c84 Char HISTSUB;
104 Char *arginp;
105 Char *ffile;
107 Char *shtemp;
110 Char *doldol;
126 Char *gointr;
135 Char *lap;
143 Char *pargs;
144 Char *pargcp;
149 Char HIST;
[all …]
Dproc.c76 static void pads(Char *);
77 static void pkill(Char **v, int);
310 Char *jobcommand[3]; in pjwait()
355 dowait(Char **v, struct command *t) in dowait()
444 static Char command[PMAXLEN + 4];
446 static Char *cmdp;
520 Char **argp; in padd()
573 pads(Char *cp) in pads()
836 dojobs(Char **v, struct command *t) in dojobs()
873 dofg(Char **v, struct command *t) in dofg()
[all …]
Dsem.c57 static Char *splicepipe(struct command *t, Char *);
285 blkfree((Char **)Vt); in execute()
452 Char **v; in vffree()
481 static Char *
482 splicepipe(struct command *t, Char *cp /* word after < or > */) in splicepipe()
484 Char *blk[2]; in splicepipe()
487 Char **pv; in splicepipe()
503 Char **av = blkspl(t->t_dcom, &pv[1]); in splicepipe()
526 Char *cp; in doio()
Dhist.c57 Char *cp; in savehist()
67 Char *p = cp; in savehist()
139 dohist(Char **v, struct command *t) in dohist()
155 Char *vp = *v; in dohist()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dglob.c122 typedef u_short Char; typedef
131 typedef char Char; typedef
136 #define CHAR(c) ((Char)((c)&M_ASCII))
137 #define META(c) ((Char)((c)|M_QUOTE))
148 static void g_Ctoc (const Char *, char *);
149 static int g_lstat (Char *, struct stat *, glob_t *);
150 static DIR *g_opendir (Char *, glob_t *);
151 static Char *g_strchr (const Char *, int);
153 static Char *g_strcat (Char *, const Char *);
155 static int g_stat (Char *, struct stat *, glob_t *);
[all …]
/netbsd/src/lib/libc/gen/
Dglob.c135 typedef unsigned short Char; typedef
139 #define M_QUOTE (Char)0x80
140 #define M_PROTECT (Char)0x40
141 #define M_MASK (Char)0xff
142 #define M_ASCII (Char)0x7f
144 typedef char Char; typedef
149 #define CHAR(c) ((Char)((c)&M_ASCII))
150 #define META(c) ((Char)((c)|M_QUOTE))
161 static int g_Ctoc(const Char *, char *, size_t);
162 static int g_lstat(Char *, __gl_stat_t *, glob_t *);
[all …]
/netbsd/src/external/bsd/bzip2/dist/
Dbzip2.c163 typedef char Char; typedef
207 Char inName [FILE_NAME_LEN];
208 Char outName[FILE_NAME_LEN];
209 Char tmpName[FILE_NAME_LEN];
210 Char *progName;
211 Char progNameReally[FILE_NAME_LEN];
215 static void panic ( const Char* ) NORETURN;
223 static void copyFileName ( Char*, const Char* );
228 static FILE* fopen_output_safely ( Char*, const char* );
388 Char buf_nin[32], buf_nout[32]; in compressStream()
[all …]
Dbzip2recover.c57 typedef char Char; typedef
65 Char inFileName[BZ_MAX_FILENAME];
66 Char outFileName[BZ_MAX_FILENAME];
67 Char progName[BZ_MAX_FILENAME];
81 Char mode;
95 static Bool endsInBz2 ( Char* name );
276 static Bool endsInBz2 ( Char* name ) in endsInBz2()
316 Int32 main ( Int32 argc, Char** argv ) in main()
325 Char* p; in main()
484 Char* split; in main()
/netbsd/src/lib/libedit/
Dtokenizer.c70 #define Char char macro
77 #define Char wchar_t macro
86 Char *ifs; /* In field separator */ in TYPE()
88 const Char **argv; /* Argument list */ in TYPE()
89 Char *wptr, *wmax; /* Space and limit on the word buffer */ in TYPE()
90 Char *wstart; /* Beginning of next word */ in TYPE()
91 Char *wspace; /* Space of word buffer */ in TYPE()
121 FUN(tok,init)(const Char *ifs) in TYPE()
207 int *argc, const Char ***argv, int *cursorc, int *cursoro) in FUN()
209 const Char *ptr; in FUN()
[all …]
Dhistory.c61 #define Char char macro
79 #define Char wchar_t macro
96 typedef int (*history_efun_t)(void *, TYPE(HistEvent) *, const Char *);
133 Char *str;
148 const Char *);
150 const Char *);
182 static int history_def_enter(void *, TYPE(HistEvent) *, const Char *);
183 static int history_def_add(void *, TYPE(HistEvent) *, const Char *);
187 static int history_def_insert(history_t *, TYPE(HistEvent) *, const Char *);
209 static const Char *const he_errlist[] = {
[all …]
/netbsd/src/tests/lib/libc/regex/data/
Dregress.in7 Char \([a-z0-9_]*\)\[.* b Char xyz[k Char xyz[k xyz

1234