HomeSort by: relevance | last modified time | path
    Searched refs:CHAR (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/tests/usr.bin/xlint/lint1/
msg_004.c 22 char enum {
23 CHAR
52 char double short char_double_short;
  /src/usr.bin/ul/
ul.c 40 static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93";
70 struct CHAR {
71 char c_mode;
72 char c_char;
82 static void flushln(struct CHAR *, size_t);
83 static void fwd(struct CHAR *, size_t);
84 static void iattr(struct CHAR *);
85 static void initbuf(struct CHAR *, size_t);
88 static void overstrike(struct CHAR *);
89 static void reverse(struct CHAR *, size_t)
    [all...]
  /src/usr.bin/bdes/
bdes.c 47 static char sccsid[] = "@(#)bdes.c 8.1 (Berkeley) 6/6/93";
108 char bits1[64]; /* bits of key */ \
114 char bits1[64]; /* bits of message */ \
125 #define READ(buf, n) fread(buf, sizeof(char), n, stdin)
127 if (fwrite(buf, sizeof(char), n, stdout) != (size_t)n) \
133 typedef char Desbuf[8];
134 #define CHAR(x,i) (x[i])
154 static const char bits[] = { /* used to extract bits from a char */
162 static int setbits(char *, int)
    [all...]
  /src/usr.bin/tip/
vars.c 35 static char sccsid[] = "@(#)vars.c 8.1 (Berkeley) 6/6/93";
43 static char path_bshell[] = _PATH_BSHELL;
60 { "escape", CHAR, (READ|WRITE)<<PUBLIC,
64 { "force", CHAR, (READ|WRITE)<<PUBLIC,
72 { "prompt", CHAR, (READ|WRITE)<<PUBLIC,
76 { "raisechar", CHAR, (READ|WRITE)<<PUBLIC,
value.c 35 static char sccsid[] = "@(#)value.c 8.1 (Berkeley) 6/6/93";
47 static void vassign(value_t *, char *);
48 static value_t *vlookup(const char *);
50 static void vtoken(char *);
59 char *cp;
61 char file[MAXPATHLEN];
74 (void)snprintf(file, sizeof(file), "%s/.tiprc", (char *)value(HOME));
76 char *tp;
94 vassign(value_t *p, char *v)
127 case CHAR
    [all...]
tip.h 62 extern char *DV; /* UNIX device(s) to open */
63 extern char *EL; /* chars marking an EOL */
64 extern char *CM; /* initial connection message */
65 extern char *IE; /* EOT to expect on input */
66 extern char *OE; /* EOT to send to complete FT */
67 extern char *CU; /* call unit if making a phone call */
68 extern char *AT; /* acu type */
69 extern char *PN; /* phone number(s) */
70 extern char *DI; /* disconnect string */
71 extern char *PA; /* parity to be generated *
    [all...]
  /src/bin/ed/
cbc.c 73 static char *rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp";
114 #define READ(buf, n, fp) fread(buf, sizeof(char), n, fp)
115 #define WRITE(buf, n, fp) fwrite(buf, sizeof(char), n, fp)
120 typedef char Desbuf[8];
121 #define CHAR(x,i) (x[i])
133 static char bits[] = { /* used to extract bits from a char */
138 static char des_buf[8]; /* shared buffer for get_des_char/put_des_char */
145 static void des_error(const char *);
147 static void expand_des_key(char *, char *)
    [all...]
  /src/bin/ps/
ps.h 45 CHAR, UCHAR, SHORT, USHORT, INT, UINT, LONG, ULONG,
62 char *prefix;
68 const char *name; /* name(s) of variable */
69 const char *header; /* header, possibly changed from default */
88 const char *fmt; /* printf format */
  /src/usr.bin/col/
col.c 45 static char sccsid[] = "@(#)col.c 8.5 (Berkeley) 5/4/95";
82 typedef char CSET;
91 } CHAR;
95 CHAR *l_line; /* characters on the line */
113 static CSET last_set; /* char_set of last char printed */
129 main(int argc, char **argv)
132 CHAR *c;
317 (unsigned)need * sizeof(CHAR))) == NULL)
433 CHAR *c, *endc;
440 static CHAR *sorted
    [all...]
  /src/bin/ksh/
syn.c 35 static struct op *function_body ARGS((char *name, int ksh_func));
36 static char ** wordlist ARGS((void));
38 char **wp));
40 static void syntaxerr ARGS((const char *what))
44 static int assign_command ARGS((char *s));
48 static const char *dbtestp_getopnd ARGS((Test_env *te, Test_op op,
50 static int dbtestp_eval ARGS((Test_env *te, Test_op op, const char *opnd1,
51 const char *opnd2, int do_eval));
52 static void dbtestp_error ARGS((Test_env *te, int offset, const char *msg));
81 syntaxerr((char *) 0)
    [all...]
tree.h 10 #define NOWORD ((char *)NULL)
11 #define NOWORDS ((char **)NULL)
22 char **args; /* arguments to a command */
23 char **vars; /* variable assignments */
26 char *str; /* word for case; identifier for for,
63 #define CHAR 1 /* unquoted character */
81 char *name; /* file name (unused if heredoc) */
82 char *delim; /* delimiter for <<,<<- */
83 char *heredoc;/* content of heredoc */
121 #define DOTILDE BIT(3) /* normal ~ expansion (first char) */
    [all...]
lex.c 65 static char *get_brace_var ARGS((XString *wsp, char *wp));
66 static int arraysub ARGS((char **strp));
67 static const char *ungetsc ARGS((int c));
113 char *wp; /* output word pointer */
114 char *sp, *dp;
175 char *p, *tmp;
178 *wp++ = CHAR;
182 *wp++ = CHAR;
198 *wp++ = CHAR;
    [all...]
tree.c 21 static void tputS ARGS((char *wp, struct shf *shf));
22 static void vfptreef ARGS((struct shf *shf, int indent, const char *fmt, va_list va));
36 char **w;
295 char *wp;
311 case CHAR:
378 fptreef(struct shf *shf, int indent, const char *fmt, ...)
390 char *
391 snptreef(char *s, int n, const char *fmt, ...)
409 const char *fmt
    [all...]
eval.c 29 const char *str; /* string */
31 const char **strv;/* string[] */
50 static int varsub ARGS((Expand *xp, char *sp, char *word, int *stypep, int *slenp));
51 static int comsub ARGS((Expand *xp, char *cp));
52 static char *trimsub ARGS((char *str, char *pat, int how));
53 static void ksh_glob ARGS((char *cp, XPtrV *wp, int markdirs));
54 static void globit ARGS((XString *xs, char **xpp, char *sp, XPtrV *wp
    [all...]
var.c 29 static char *formatstr ARGS((struct tbl *vp, const char *s));
30 static void export ARGS((struct tbl *vp, const char *val));
31 static int special ARGS((const char *name));
32 static void unspecial ARGS((const char *name));
46 static char *const empty[] = {null};
53 l->argv = (char **) __UNCONST(empty);
95 const char *name;
121 { (char *) 0, 0 }
138 const char *array_index_calc(const char *n, bool *arrayp, int *valp)
    [all...]
  /src/usr.bin/xlint/common/
lint.h 56 char *data;
67 CHAR, /* char */
68 SCHAR, /* signed char */
69 UCHAR, /* unsigned char */
126 const char *tt_name; /* name of the type */
165 ch_isalnum(char ch)
167 return isalnum((unsigned char)ch) != 0;
171 ch_isalpha(char ch)
173 return isalpha((unsigned char)ch) != 0
    [all...]
  /src/bin/csh/
csh.h 66 typedef short Char;
70 typedef char Char;
84 #include "char.h"
131 extern Char *arginp; /* Argument input for sh -c and internal `xx` */
132 extern Char *ffile; /* Name of shell file for $0 */
135 extern char *seterr; /* Error message from scanner/parser */
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 *
    [all...]
  /src/lib/libc/gen/
glob.c 38 static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93";
135 typedef unsigned short Char;
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;
149 #define CHAR(c) ((Char)((c)&M_ASCII)
    [all...]
  /src/games/battlestar/
extern.h 121 #define CHAR 53
242 const char *name;
252 const char *desc;
260 extern const char *const objdes[NUMOFOBJECTS];
261 extern const char *const objsht[NUMOFOBJECTS];
262 extern const char *const ouch[NUMOFINJURIES];
279 extern char words[NWORD][WORDLEN];
310 extern char beenthere[NUMOFROOMS + 1];
311 extern char injuries[NUMOFINJURIES];
314 extern const char *username
    [all...]
command4.c 35 static char sccsid[] = "@(#)com4.c 8.2 (Berkeley) 4/28/95";
212 throw(const char *name)
263 setbit(location[deposit].objects, CHAR);
301 drop(const char *name)
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_symbolizer_win.cc 43 const char *Demangle(const char *name) override;
138 char buffer[sizeof(SYMBOL_INFO) + MAX_SYM_NAME * sizeof(CHAR)];
164 const char *WinSymbolizerTool::Demangle(const char *name) {
166 static char demangle_buffer[1000];
175 const char *Symbolizer::PlatformDemangle(const char *name) {
222 const char *argv[kArgVMax]
    [all...]
  /src/usr.bin/xlint/lint1/
decl.c 51 const char unnamed[] = "<unnamed>";
68 debug_func_dcs(const char *func)
227 return t == CHAR ? SCHAR : t;
230 return t == CHAR ? UCHAR
251 (t2 == CHAR || t2 == SHORT || t2 == INT ||
720 if (l != NO_TSPEC && t == CHAR) {
743 if (t != INT && t != CHAR && (s != NO_TSPEC || l != NO_TSPEC)) {
812 length_in_bits(const type_t *tp, const char *name)
999 if (t == CHAR || t == UCHAR || t == SCHAR ||
1288 tp->t_subt = gettyp(CHAR);
    [all...]
tree.c 582 attributes_contain(const attribute_list *attrs, const char *str)
617 static const char *
630 if (tn->tn_type->t_subt->t_tspec != CHAR)
707 sym->s_type = block_derive_type(gettyp(CHAR), ARRAY);
723 is_compiler_builtin(const char *name)
743 str_ends_with(const char *haystack, const char *needle)
754 is_gcc_bool_builtin(const char *name)
835 tp->t_subt = gettyp(lit->data != NULL ? CHAR : WCHAR_TSPEC);
891 if (lt == CHAR && is_out_of_char_range(rn))
    [all...]
  /src/usr.bin/xlint/lint2/
chk.c 65 int, const char *, const type_t **);
67 int, const char *, const type_t **);
503 * pass an int where a char/short it expected, there
510 } else if (t1 == CHAR || t1 == SCHAR) {
601 int n, const char *fmt, const type_t **ap)
603 const char *fp;
604 char fc;
791 (t2 != CHAR && t2 != UCHAR && t2 != SCHAR)) {
829 int n, const char *fmt, const type_t **ap)
831 const char *fp
    [all...]
  /src/usr.bin/config/
gram.y 131 static struct defoptlist *mk_defoptlist(const char *, const char *,
132 const char *);
133 static struct loclist *mk_loc(const char *, const char *, long long);
134 static struct loclist *mk_loc_val(const char *, struct loclist *);
136 static struct condexpr *mk_cx_atom(const char *);
145 static void setmachine(const char *, const char *, struct nvlist *, int);
150 static struct loclist *locarray(const char *, int, struct loclist *, int)
    [all...]

Completed in 24 milliseconds

1 2