/freebsd/contrib/tcsh/ |
H A D | tc.const.c | 34 Char STRlogout[] = { 'l', 'o', 'g', 'o', 'u', 't', '\0' }; 35 Char STRautologout[] = { 'a', 'u', 't', 'o', 'l', 'o', 'g', 'o', 'u', 't', 37 Char STRdefautologout[] = { '6', '0', '\0' }; 39 Char STRrootdefautologout[] = { '1', '5', '\0' }; 41 Char STRautomatic[] = { 'a', 'u', 't', 'o', 'm', 'a', 't', 'i', 'c', 43 Char STRanyerror[] = { 'a', 'n', 'y', 'e', 'r', 'r', 'o', 'r', '\0' }; 44 Char STRhangup[] = { 'h', 'a', 'n', 'g', 'u', 'p', '\0' }; 45 Char STRaout[] = { 'a', '.', 'o', 'u', 't', '\0' }; 46 Char STRtty[] = { 't', 't', 'y', '\0' }; 47 Char STRptssl[] = { 'p', 't', 's', '/', '\0' }; [all …]
|
H A D | sh.decls.h | 38 extern Char *gethdir (const Char *); 39 extern void dosource (Char **, struct command *); 41 extern void goodbye (Char **, struct command *); 42 extern void importpath (Char *); 59 extern void dinit (Char *); 60 extern void dodirs (Char **, struct command *); 61 extern Char *dcanon (Char *, Char *); 62 extern void dtildepr (Char *); 64 extern void dochngd (Char **, struct command *); 65 extern Char *dnormalize (const Char *, int); [all …]
|
H A D | ed.decls.h | 38 extern int InsertStr (Char *); 65 extern void dosetty (Char **, struct command *); 82 extern void SetAttributes (Char); 83 extern void so_write (Char *, int); 88 extern void Insert_write (Char *, int); 92 extern void EchoTC (Char **); 94 extern int IsArrowKey (Char *); 123 extern CCRETVAL e_unassigned (Char); 124 extern CCRETVAL e_insert (Char); 125 extern CCRETVAL e_newline (Char); [all …]
|
H A D | tc.decls.h | 57 extern void showall (Char **, struct command *); 62 extern void dobindkey (Char **, struct command *); 79 extern Char *expand_lex (const struct wordent *, int, int); 80 extern Char *sprlex (const struct wordent *); 81 extern Char *Itoa (int, size_t, Char); 82 extern void dolist (Char **, struct command *); 83 extern void dotermname (Char **, struct command *); 84 extern void dotelltc (Char **, struct command *); 85 extern void doechotc (Char **, struct command *); 86 extern void dosettc (Char **, struct command *); [all …]
|
H A D | tw.decls.h | 38 extern void do_help (const Char *); 43 extern Char *dollar (const Char *); 45 extern int tenematch (Char *, int, COMMAND); 47 int, Char *, eChar); 49 extern int starting_a_command (Char *, Char *); 51 extern void print_by_column (Char *, Char *[], int, int); 52 extern int StrQcmp (const Char *, const Char *); 53 extern Char *tgetenv (Char *); 58 extern void tw_alias_start (DIR *, const Char *); 59 extern void tw_cmd_start (DIR *, const Char *); [all …]
|
H A D | ed.chared.c | 95 static Char *InsertPos = InputBuf; /* Where insertion starts */ 96 static Char *ActionPos = 0; /* Where action begins */ 107 static Char srch_char = 0; /* Search target */ 114 static int c_to_class (Char); 115 static Char *c_prev_word (Char *, Char *, int); 116 static Char *c_next_word (Char *, Char *, int); 117 static Char *c_number (Char *, int *, int); 118 static Char *c_expand (Char *); 119 static int c_excl (Char *); 122 static int c_hmatch (Char *); [all …]
|
H A D | tc.str.c | 47 one_mbtowc(Char *pwc, const char *s, size_t n) in one_mbtowc() 62 one_wctomb(char *s, Char wchar) 110 rt_mbtowc(Char *pwc, const char *s, size_t n) 164 Char ** 168 Char **sdst, **dst; 175 sdst = dst = xmalloc((n + 1) * sizeof(Char *)); 184 short2blk(Char **src) 202 Char * 212 Char wc; 222 short2str(const Char *src) [all …]
|
H A D | sh.glob.c | 63 static Char *globtilde (Char *); 64 static Char *handleone (Char *, Char **, int); 65 static Char **libglob (Char **); 66 static Char **globexpand (Char **, int); 67 static int globbrace (const Char *, Char ***); 68 static void expbrace (Char ***, Char ***, int); 70 static void backeval (struct blk_buf *, struct Strbuf *, Char *, 72 static Char * 73 globtilde(Char *s) in globtilde() 75 Char *name, *u, *home, *res; in globtilde() [all …]
|
H A D | sh.misc.c | 35 static Char **blkend (Char **); 36 static Char **blkcat (Char **, Char **); 44 any(const char *s, Char c) in any() 49 if ((Char)*s++ == c) in any() 87 static Char ** 88 blkend(Char **up) in blkend() 98 blkpr(Char *const *av) in blkpr() 108 Char * 109 blkexpand(Char *const *av) in blkexpand() 122 blklen(Char **av) in blklen() [all …]
|
H A D | tw.comp.c | 40 static int tw_result (const Char *, Char **); 41 static Char **tw_find (Char *, struct varent *, int); 42 static Char *tw_tok (Char *); 43 static int tw_pos (Char *, int); 44 static void tw_pr (Char **); 45 static int tw_match (const Char *, const Char *, int); 47 static const Char *tw_dollar (const Char *,Char **, size_t, Char **, 48 Char, const char *); 55 docomplete(Char **v, struct command *t) in docomplete() 58 Char *p; in docomplete() [all …]
|
H A D | sh.file.c | 61 static void pushback (const Char *); 62 static int filetype (const Char *, const Char *); 63 static void print_by_column (const Char *, Char *[], size_t); 64 static Char *tilde (const Char *); 67 static void print_recognized_stuff (const Char *); 68 static void extract_dir_and_name (const Char *, Char **, const Char **); 69 static Char *getitem (DIR *, int); 70 static size_t tsearch (Char *, COMMAND, size_t); 72 static int recognize (Char **, Char *, size_t, size_t); 73 static int is_prefix (const Char *, const Char *); [all …]
|
H A D | sh.char.h | 173 #define letter(c) (((Char)(c) & QUOTE) ? 0 : \ 176 #define alnum(c) (((Char)(c) & QUOTE) ? 0 : \ 183 # define IsmbyteU(c) (Ismbyte1((Char)(c))||(Ismbyte2((Char)(c))&&((c)&0200))) 201 # define Isspace(c) (((Char)(c) & QUOTE) ? 0 : NXIsSpace((unsigned) (c))) 202 # define Isdigit(c) (((Char)(c) & QUOTE) ? 0 : NXIsDigit((unsigned) (c))) 203 # define Isalpha(c) (((Char)(c) & QUOTE) ? 0 : NXIsAlpha((unsigned) (c))) 204 # define Islower(c) (((Char)(c) & QUOTE) ? 0 : NXIsLower((unsigned) (c))) 205 # define Isupper(c) (((Char)(c) & QUOTE) ? 0 : NXIsUpper((unsigned) (c))) 206 # define Tolower(c) (((Char)(c) & QUOTE) ? 0 : NXToLower((unsigned) (c))) 207 # define Toupper(c) (((Char)(c) & QUOTE) ? 0 : NXToUpper((unsigned) (c))) [all …]
|
H A D | ed.h | 60 typedef CCRETVAL(*PFCmd) (Char); /* pointer to function returning CCRETVAL */ 102 Char *buf; 122 EXTERN Char GettingInput; /* true if getting an input line (mostly) */ 123 EXTERN Char NeedsRedraw; /* for editor and twenex error messages */ 124 EXTERN Char InputBuf[INBUFSIZE]; /* the real input data *//*FIXBUF*/ 125 EXTERN Char *LastChar, *Cursor; /* point to the next open space */ 126 EXTERN Char *InputLim; /* limit of size of InputBuf */ 127 EXTERN Char MetaNext; /* flags for ^V and ^[ functions */ 128 EXTERN Char AltKeyMap; /* Using alternative command map (for vi mode) */ 129 EXTERN Char VImode; /* true if running in vi mode (PWP 6-27-88) */ [all …]
|
H A D | sh.set.c | 43 static void update_vars (Char *); 44 static Char *getinx (Char *, int *); 45 static void asx (Char *, int, Char *); 46 static struct varent *getvx (Char *, int); 47 static Char *xset (Char *, Char ***); 48 static Char *operate (int, Char *, Char *); 50 static struct varent *madrof (Char *, struct varent *); 52 static void exportpath (Char **); 54 static int set_noclobber (Char **); 61 update_vars(Char *vp) in update_vars() [all …]
|
H A D | tw.parse.c | 56 static void (*const tw_start_entry[]) (DIR *, const Char *) = { 99 static void extract_dir_and_name (const Char *, struct Strbuf *, 100 Char **); 101 static int insert_meta (const Char *, const Char *, 102 const Char *, int); 103 static int tilde (struct Strbuf *, Char *); 104 static int expand_dir (const Char *, struct Strbuf *, DIR **, 106 static int nostat (Char *); 107 static Char filetype (Char *, Char *); 108 static int t_glob (Char ***, int); [all …]
|
H A D | sh.exp.c | 56 static int sh_access (const Char *, int); 57 static tcsh_number_t exp1 (Char ***, int); 58 static tcsh_number_t exp2x (Char ***, int); 59 static tcsh_number_t exp2a (Char ***, int); 60 static tcsh_number_t exp2b (Char ***, int); 61 static tcsh_number_t exp2c (Char ***, int); 62 static Char *exp3 (Char ***, int); 63 static Char *exp3a (Char ***, int); 64 static Char *exp4 (Char ***, int); 65 static Char *exp5 (Char ***, int); [all …]
|
H A D | ed.refresh.c | 40 Char *litptr; 44 static int MakeLiteral (Char *, int, Char); 45 static int Draw (Char *, int, int); 46 static void Vdraw (Char, int); 47 static void RefreshPromptpart (Char *); 48 static void update_line (Char *, Char *, int); 49 static void str_insert (Char *, int, int, Char *, int); 50 static void str_delete (Char *, int, int, int); 51 static void str_cp (Char *, Char *, int); 57 void PutPlusOne (Char, int); [all …]
|
H A D | sh.dol.c | 49 static Char *Dcp, *const *Dvp; /* Input vector for Dreadc */ 63 static Char *dolp; /* Remaining chars from this word */ 64 static Char **dolnxt; /* Further words */ 72 static Char **Dfix2 (Char *const *); 75 static void dolerror (Char *); 79 static void setDolp (Char *); 82 static void Dtestq (Char); 91 Char **pp; in Dfix() 92 Char *p; in Dfix() 100 Char **expanded; in Dfix() [all …]
|
H A D | sh.dir.c | 39 static Char *agetcwd (void); 41 static struct directory *dfind (Char *); 42 static Char *dfollow (Char *, int); 44 static Char *dgoto (Char *); 46 static void dset (Char *); 48 static int skipargs (Char ***, const char *, 51 static Char *dcanon_internal(Char *, Char *); 58 static Char * 62 Char *cwd; in agetcwd() 98 dinit(Char *hp) in dinit() [all …]
|
H A D | sh.h | 98 typedef wint_t Char; typedef 100 typedef wchar_t Char; typedef 108 typedef short Char; typedef 117 typedef char Char; typedef 594 EXTERN Char *arginp IZERO; /* Argument input for sh -c and internal `xx` */ 596 extern Char *ffile; /* Name of shell file for $0 */ 605 EXTERN Char *shtemp IZERO; 634 EXTERN Char *doldol; /* Character pid for $$ */ 651 EXTERN Char *Prompt; /* The actual printed prompt or NULL */ 652 EXTERN Char *RPrompt; /* Right-hand side prompt or NULL */ [all …]
|
H A D | glob.c | 58 #define Char __Char macro 67 #undef Char 86 typedef unsigned short Char; typedef 88 static int glob1 (Char *, glob_t *, int); 89 static int glob2 (struct strbuf *, const Char *, glob_t *, int); 90 static int glob3 (struct strbuf *, const Char *, const Char *, 91 const Char *, glob_t *, int); 93 static int match (const char *, const Char *, const Char *, 101 static Char *Strchr (Char *, int); 103 static void qprintf (const char *, const Char *); [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | glob.c | 120 typedef u_short Char; typedef 129 typedef char Char; typedef 134 #define CHAR(c) ((Char)((c)&M_ASCII)) 135 #define META(c) ((Char)((c)|M_QUOTE)) 146 static void g_Ctoc (const Char *, char *); 147 static int g_lstat (Char *, struct stat *, glob_t *); 148 static DIR *g_opendir (Char *, glob_t *); 149 static Char *g_strchr (const Char *, int); 151 static Char *g_strcat (Char *, const Char *); 153 static int g_stat (Char *, struct stat *, glob_t *); [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | glob.c | 115 typedef u_short Char; typedef 124 typedef char Char; typedef 129 #define CHAR(c) ((Char)((c)&M_ASCII)) 130 #define META(c) ((Char)((c)|M_QUOTE)) 157 static int g_Ctoc(const Char *, char *, size_t); 158 static int g_lstat(Char *, struct stat *, glob_t *); 159 static DIR *g_opendir(Char *, glob_t *); 160 static Char *g_strchr(const Char *, int); 161 static int g_strncmp(const Char *, const char *, size_t); 162 static int g_stat(Char *, struct stat *, glob_t *); [all …]
|
/freebsd/lib/libc/gen/ |
H A D | glob-compat11.c | 100 typedef uint_fast64_t Char; typedef 102 #define CHAR(c) ((Char)((c)&M_CHAR)) 103 #define META(c) ((Char)((c)|M_QUOTE)) 117 static int g_Ctoc(const Char *, char *, size_t); 118 static int g_lstat(Char *, struct freebsd11_stat *, glob11_t *); 119 static DIR *g_opendir(Char *, glob11_t *); 120 static const Char *g_strchr(const Char *, wchar_t); 122 static Char *g_strcat(Char *, const Char *); 124 static int g_stat(Char *, struct freebsd11_stat *, glob11_t *); 125 static int glob0(const Char *, glob11_t *, struct glob_limit *, [all …]
|
H A D | glob.c | 132 typedef uint_fast64_t Char; typedef 134 #define CHAR(c) ((Char)((c)&M_CHAR)) 135 #define META(c) ((Char)((c)|M_QUOTE)) 149 static int g_Ctoc(const Char *, char *, size_t); 150 static int g_lstat(Char *, struct stat *, glob_t *); 151 static DIR *g_opendir(Char *, glob_t *); 152 static const Char *g_strchr(const Char *, wchar_t); 154 static Char *g_strcat(Char *, const Char *); 156 static int g_stat(Char *, struct stat *, glob_t *); 157 static int glob0(const Char *, glob_t *, struct glob_limit *, [all …]
|