src/commands/flex-2.5.4/misc.c File Reference
#include "flexdef.h"
Go to the source code of this file.
|
Functions |
| void | action_define (char *defname, int value) |
| void | add_action (char *new_text) |
| void * | allocate_array (int size, size_t element_size) |
| int | all_lower (char *str) |
| int | all_upper (char *str) |
| void | bubble (v, n) |
| void | check_char (int c) |
| Char | clower (int c) |
| char * | copy_string (const char *str) |
| Char * | copy_unsigned_string (Char *str) |
| void | cshell (v, int n, int special_case_0) |
| void | dataend () |
| void | dataflush () |
| void | flexerror (msg) const |
| void | flexfatal (msg) const |
| int | htoi (str) |
| void | lerrif (msg, int arg) const |
| void | lerrsf (msg, arg) const |
| void | line_directive_out (FILE *output_file, int do_infile) |
| void | mark_defs1 () |
| void | mark_prolog () |
| void | mk2data (int value) |
| void | mkdata (int value) |
| int | myctoi (array) |
| Char | myesc (array) |
| int | otoi (str) |
| void | out (str) const |
| void | out_dec (fmt, int n) const |
| void | out_dec2 (fmt, int n1, int n2) const |
| void | out_hex (fmt, unsigned int x) const |
| void | out_line_count (str) const |
| void | out_str (fmt, str) const |
| void | out_str3 (fmt, s1, s2, s3) const |
| void | out_str_dec (fmt, str, int n) const |
| void | outc (int c) |
| void | outn (str) const |
| char * | readable_form (int c) |
| void * | reallocate_array (void *array, int size, size_t element_size) |
| void | skelout () |
| void | transition_struct_out (int element_v, int element_n) |
| void * | yy_flex_xmalloc (int size) |
| void | zero_out (char *region_ptr, size_t size_in_bytes) |
Function Documentation
| void action_define |
( |
char * |
defname, |
|
|
int |
value | |
|
) |
| | |
| void add_action |
( |
char * |
new_text |
) |
|
| int all_lower |
( |
char * |
str |
) |
|
| int all_upper |
( |
char * |
str |
) |
|
| void* allocate_array |
( |
int |
size, |
|
|
size_t |
element_size | |
|
) |
| | |
| void check_char |
( |
int |
c |
) |
|
| char* copy_string |
( |
const char * |
str |
) |
|
| Char* copy_unsigned_string |
( |
Char * |
str |
) |
|
| void cshell |
( |
v |
, |
|
|
int |
n, |
|
|
int |
special_case_0 | |
|
) |
| | |
| void flexerror |
( |
msg |
|
) |
const |
| void flexfatal |
( |
msg |
|
) |
const |
| void lerrif |
( |
msg |
, |
|
|
int |
arg | |
|
) |
| | const |
| void lerrsf |
( |
msg |
, |
|
|
arg |
| |
|
) |
| | const |
| void line_directive_out |
( |
FILE * |
output_file, |
|
|
int |
do_infile | |
|
) |
| | |
| void mk2data |
( |
int |
value |
) |
|
| void mkdata |
( |
int |
value |
) |
|
| void out_dec |
( |
fmt |
, |
|
|
int |
n | |
|
) |
| | const |
| void out_dec2 |
( |
fmt |
, |
|
|
int |
n1, |
|
|
int |
n2 | |
|
) |
| | const |
| void out_hex |
( |
fmt |
, |
|
|
unsigned int |
x | |
|
) |
| | const |
| void out_line_count |
( |
str |
|
) |
const |
| void out_str |
( |
fmt |
, |
|
|
str |
| |
|
) |
| | const |
| void out_str3 |
( |
fmt |
, |
|
|
s1 |
, |
|
|
s2 |
, |
|
|
s3 |
| |
|
) |
| | const |
| void out_str_dec |
( |
fmt |
, |
|
|
str |
, |
|
|
int |
n | |
|
) |
| | const |
| char* readable_form |
( |
int |
c |
) |
|
| void* reallocate_array |
( |
void * |
array, |
|
|
int |
size, |
|
|
size_t |
element_size | |
|
) |
| | |
| void transition_struct_out |
( |
int |
element_v, |
|
|
int |
element_n | |
|
) |
| | |
| void* yy_flex_xmalloc |
( |
int |
size |
) |
|
| void zero_out |
( |
char * |
region_ptr, |
|
|
size_t |
size_in_bytes | |
|
) |
| | |