|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <stdio.h>#include <string.h>#include <errno.h>#include <stdlib.h>#include <assert.h>#include <stdarg.h>#include <ctype.h>#include <unistd.h>Classes | |
| struct | yy_buffer_state |
| struct | yy_trans_info |
Typedefs | |
| typedef signed char | flex_int8_t |
| typedef short int | flex_int16_t |
| typedef int | flex_int32_t |
| typedef unsigned char | flex_uint8_t |
| typedef unsigned short int | flex_uint16_t |
| typedef unsigned int | flex_uint32_t |
| typedef struct yy_buffer_state * | YY_BUFFER_STATE |
| typedef size_t | yy_size_t |
| typedef unsigned char | YY_CHAR |
| typedef int | yy_state_type |
Enumerations | |
| enum | { flexml_max_err_msg_size = 512 } |
Functions | |
| void | dax_restart (FILE *input_file) |
| Immediately switch to a different input stream. More... | |
| void | dax__switch_to_buffer (YY_BUFFER_STATE new_buffer) |
| Switch to a different input buffer. More... | |
| YY_BUFFER_STATE | dax__create_buffer (FILE *file, int size) |
| Allocate and initialize an input buffer state. More... | |
| void | dax__delete_buffer (YY_BUFFER_STATE b) |
| Destroy the buffer. More... | |
| void | dax__flush_buffer (YY_BUFFER_STATE b) |
| Discard all buffered characters. More... | |
| void | dax_push_buffer_state (YY_BUFFER_STATE new_buffer) |
| Pushes the new state onto the stack. More... | |
| void | dax_pop_buffer_state (void) |
| Removes and deletes the top of the stack, if present. More... | |
| static void | dax_ensure_buffer_stack (void) |
| static void | dax__load_buffer_state (void) |
| static void | dax__init_buffer (YY_BUFFER_STATE b, FILE *file) |
| YY_BUFFER_STATE | dax__scan_buffer (char *base, yy_size_t size) |
| Setup the input buffer state to scan directly from a user-specified character buffer. More... | |
| YY_BUFFER_STATE | dax__scan_string (yyconst char *yystr) |
| Setup the input buffer state to scan a string. More... | |
| YY_BUFFER_STATE | dax__scan_bytes (yyconst char *yybytes, yy_size_t _yybytes_len) |
| Setup the input buffer state to scan the given bytes. More... | |
| void * | dax_alloc (yy_size_t) |
| void * | dax_realloc (void *, yy_size_t) |
| void | dax_free (void *) |
| static yy_state_type | yy_get_previous_state (void) |
| static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
| static int | yy_get_next_buffer (void) |
| static void | yy_fatal_error (yyconst char msg[]) |
| static int | fail (const char *,...) |
| const char * | dax__parse_err_msg () |
| static void | reset_dax__parse_err_msg () |
| static void | cleanup (void) |
| static int | ck_blimit () |
| static int | ck_ilimit () |
| static void | dax__bufferliteral (char c, int *pp, const char *text) |
| static void | pushbuffer (int p) |
| static int | popbuffer (void) |
| static int | yy_init_globals (void) |
| int | dax_lex_destroy (void) |
| int | dax_get_debug (void) |
| void | dax_set_debug (int debug_flag) |
| YY_EXTRA_TYPE | dax_get_extra (void) |
| void | dax_set_extra (YY_EXTRA_TYPE user_defined) |
| FILE * | dax_get_in (void) |
| Get the input stream. More... | |
| void | dax_set_in (FILE *_in_str) |
| Set the input stream. More... | |
| FILE * | dax_get_out (void) |
| Get the output stream. More... | |
| void | dax_set_out (FILE *_out_str) |
| yy_size_t | dax_get_leng (void) |
| Get the length of the current token. More... | |
| char * | dax_get_text (void) |
| Get the current token. More... | |
| int | dax_get_lineno (void) |
| Get the current line number. More... | |
| void | dax_set_lineno (int _line_number) |
| Set the current line number. More... | |
| static void | yy_push_state (int _new_state) |
| static void | yy_pop_state (void) |
| int | dax_lex (void) |
| if (!(yy_init)) | |
| assert (dax__bufferstack) | |
| assert (indexstack) | |
| dax__bufferliteral ('\0', &bnext, "http://pegasus.isi.edu/schema/DAX") | |
| dax__bufferliteral ('\0', &bnext, "http://www.w3.org/2001/XMLSchema-instance") | |
| dax__bufferliteral ('\0', &bnext, "http://pegasus.isi.edu/schema/DAX http://pegasus.isi.edu/schema/dax-2.1.xsd") | |
| dax__bufferliteral ('\0', &bnext, "1.0") | |
| dax__bufferliteral ('\0', &bnext, "0.0") | |
| dax__bufferliteral ('\0', &bnext, "data") | |
| if (!dax__statenames) | |
| while (1) | |
| static void | yy_fatal_error (yyconst char *msg) |
| int | dax__element_context (int i) |
| #define YY_INT_ALIGNED short int |
| #define yy_create_buffer dax__create_buffer |
| #define yy_delete_buffer dax__delete_buffer |
| #define yy_flex_debug dax__flex_debug |
| #define yy_init_buffer dax__init_buffer |
| #define yy_flush_buffer dax__flush_buffer |
| #define yy_load_buffer_state dax__load_buffer_state |
| #define yy_switch_to_buffer dax__switch_to_buffer |
| #define yyin dax_in |
| #define yyleng dax_leng |
| #define yylex dax_lex |
| #define yylineno dax_lineno |
| #define yyout dax_out |
| #define yyrestart dax_restart |
| #define yytext dax_text |
| #define yywrap dax_wrap |
| #define yyalloc dax_alloc |
| #define yyrealloc dax_realloc |
| #define yyfree dax_free |
| #define FLEX_SCANNER |
| #define YY_FLEX_MAJOR_VERSION 2 |
| #define YY_FLEX_MINOR_VERSION 6 |
| #define YY_FLEX_SUBMINOR_VERSION 0 |
| #define FLEXINT_H |
| #define INT8_MIN (-128) |
| #define INT16_MIN (-32767-1) |
| #define INT32_MIN (-2147483647-1) |
| #define INT8_MAX (127) |
| #define INT16_MAX (32767) |
| #define INT32_MAX (2147483647) |
| #define UINT8_MAX (255U) |
| #define UINT16_MAX (65535U) |
| #define UINT32_MAX (4294967295U) |
| #define yyconst |
| #define YY_NULL 0 |
| #define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
| #define BEGIN (yy_start) = 1 + 2 * |
| #define YY_START (((yy_start) - 1) / 2) |
| #define YYSTATE YY_START |
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
| #define YY_NEW_FILE dax_restart(dax_in ) |
| #define YY_END_OF_BUFFER_CHAR 0 |
| #define YY_BUF_SIZE 16384 |
| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
| #define YY_TYPEDEF_YY_BUFFER_STATE |
| #define YY_TYPEDEF_YY_SIZE_T |
| #define EOB_ACT_CONTINUE_SCAN 0 |
| #define EOB_ACT_END_OF_FILE 1 |
| #define EOB_ACT_LAST_MATCH 2 |
| #define YY_LESS_LINENO | ( | n | ) |
| #define YY_LINENO_REWIND_TO | ( | dst | ) |
| #define yyless | ( | n | ) |
| #define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
| #define YY_STRUCT_YY_BUFFER_STATE |
| #define YY_BUFFER_NEW 0 |
| #define YY_BUFFER_NORMAL 1 |
| #define YY_BUFFER_EOF_PENDING 2 |
| #define YY_CURRENT_BUFFER |
| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
| #define YY_FLUSH_BUFFER dax__flush_buffer(YY_CURRENT_BUFFER ) |
| #define yy_new_buffer dax__create_buffer |
| #define yy_set_interactive | ( | is_interactive | ) |
| #define yy_set_bol | ( | at_bol | ) |
| #define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
| #define dax_wrap | ( | ) | (/*CONSTCOND*/1) |
| #define YY_SKIP_YYWRAP |
| #define yytext_ptr dax_text |
| #define YY_DO_BEFORE_ACTION |
| #define YY_NUM_RULES 140 |
| #define YY_END_OF_BUFFER 141 |
| #define REJECT reject_used_but_not_detected |
| #define yymore | ( | ) | yymore_used_but_not_detected |
| #define YY_MORE_ADJ 0 |
| #define YY_RESTORE_YY_MORE_OFFSET |
| #define FLEXML_INDEXSTACKSIZE 1000 |
| #define FLEXML_yylineno |
| #define FLEXML_BUFFERSTACKSIZE 1000000 |
| #define FLEXML_NEED_BUFFERLIT |
| #define dax__pcdata (dax__bufferstack + dax__pcdata_ix) |
| #define A_dax__adag_childCount (dax__bufferstack + AX_dax__adag_childCount) |
| #define A_dax__adag_count (dax__bufferstack + AX_dax__adag_count) |
| #define A_dax__adag_fileCount (dax__bufferstack + AX_dax__adag_fileCount) |
| #define A_dax__adag_index (dax__bufferstack + AX_dax__adag_index) |
| #define A_dax__adag_jobCount (dax__bufferstack + AX_dax__adag_jobCount) |
| #define A_dax__adag_name (dax__bufferstack + AX_dax__adag_name) |
| #define A_dax__adag_version (dax__bufferstack + AX_dax__adag_version) |
| #define A_dax__adag_xmlns (dax__bufferstack + AX_dax__adag_xmlns) |
| #define A_dax__adag_xmlns_c_xsi (dax__bufferstack + AX_dax__adag_xmlns_c_xsi) |
| #define A_dax__adag_xsi_c_schemaLocation (dax__bufferstack + AX_dax__adag_xsi_c_schemaLocation) |
| #define A_dax__child_ref (dax__bufferstack + AX_dax__child_ref) |
| #define A_dax__job_id (dax__bufferstack + AX_dax__job_id) |
| #define A_dax__job_level (dax__bufferstack + AX_dax__job_level) |
| #define A_dax__job_name (dax__bufferstack + AX_dax__job_name) |
| #define A_dax__job_namespace (dax__bufferstack + AX_dax__job_namespace) |
| #define A_dax__job_runtime (dax__bufferstack + AX_dax__job_runtime) |
| #define A_dax__job_version (dax__bufferstack + AX_dax__job_version) |
| #define A_dax__parent_ref (dax__bufferstack + AX_dax__parent_ref) |
| #define A_dax__uses_file (dax__bufferstack + AX_dax__uses_file) |
| #define A_dax__uses_link AX_dax__uses_link |
| #define A_dax__uses_optional AX_dax__uses_optional |
| #define A_dax__uses_register AX_dax__uses_register |
| #define A_dax__uses_size (dax__bufferstack + AX_dax__uses_size) |
| #define A_dax__uses_transfer AX_dax__uses_transfer |
| #define A_dax__uses_type (dax__bufferstack + AX_dax__uses_type) |
| #define ENTER | ( | state | ) | (yy_push_state(state)) |
| #define LEAVE (yy_pop_state()) |
| #define SET | ( | state | ) | BEGIN(state) |
| #define SKIP /*skip*/ |
| #define CLEANUP cleanup() |
| #define BUFFERPUTC | ( | C | ) | (ck_blimit(), dax__bufferstack[bnext++] = (C)) |
| #define BUFFERDONE (BUFFERPUTC('\0')) |
| #define BUFFERLITERAL | ( | C, | |
| P | |||
| ) | dax__bufferliteral(C, &(P), dax_text) |
| #define ENTITYTEXT | ( | T | ) |
| #define YY_NO_INPUT 1 |
| #define INITIAL 0 |
| #define PROLOG 1 |
| #define DOCTYPE 2 |
| #define EPILOG 3 |
| #define INCOMMENT 4 |
| #define INPI 5 |
| #define VALUE1 6 |
| #define VALUE2 7 |
| #define CDATA 8 |
| #define ROOT_dax__adag 9 |
| #define AL_dax__adag 10 |
| #define S_dax__adag 11 |
| #define S_dax__adag_1 12 |
| #define S_dax__adag_2 13 |
| #define S_dax__adag_3 14 |
| #define S_dax__adag_4 15 |
| #define S_dax__adag_5 16 |
| #define E_dax__adag 17 |
| #define AL_dax__child 18 |
| #define S_dax__child 19 |
| #define S_dax__child_1 20 |
| #define S_dax__child_2 21 |
| #define E_dax__child 22 |
| #define AL_dax__job 23 |
| #define S_dax__job 24 |
| #define S_dax__job_1 25 |
| #define S_dax__job_2 26 |
| #define E_dax__job 27 |
| #define AL_dax__parent 28 |
| #define E_dax__parent 29 |
| #define AL_dax__uses 30 |
| #define E_dax__uses 31 |
| #define IMPOSSIBLE 32 |
| #define YY_EXTRA_TYPE void * |
| #define YY_READ_BUF_SIZE 8192 |
| #define YY_START_STACK_INCR 25 |
| #define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
| #define YY_DECL_IS_OURS 1 |
| #define YY_USER_ACTION |
| #define YY_BREAK /*LINTED*/break; |
| #define YY_RULE_SETUP YY_USER_ACTION |
| #define YY_EXIT_FAILURE 2 |
| #define yyless | ( | n | ) |
| #define YYTABLES_NAME "yytables" |
| typedef signed char flex_int8_t |
| typedef short int flex_int16_t |
| typedef int flex_int32_t |
| typedef unsigned char flex_uint8_t |
| typedef unsigned short int flex_uint16_t |
| typedef unsigned int flex_uint32_t |
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
| typedef size_t yy_size_t |
| typedef unsigned char YY_CHAR |
| typedef int yy_state_type |
| void dax_restart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
| input_file | A readable stream. |
INITIAL . | void dax__switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
| new_buffer | The new input buffer. |
| YY_BUFFER_STATE dax__create_buffer | ( | FILE * | file, |
| int | size | ||
| ) |
Allocate and initialize an input buffer state.
| file | A readable stream. |
| size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE. |
| void dax__delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
| b | a buffer created with dax__create_buffer() |
| void dax__flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
| b | the buffer state to be flushed, usually YY_CURRENT_BUFFER. |
| void dax_push_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
| new_buffer | The new state. |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
|
static |
| YY_BUFFER_STATE dax__scan_buffer | ( | char * | base, |
| yy_size_t | size | ||
| ) |
Setup the input buffer state to scan directly from a user-specified character buffer.
| base | the character buffer |
| size | the size in bytes of the character buffer |
| YY_BUFFER_STATE dax__scan_string | ( | yyconst char * | yystr | ) |
Setup the input buffer state to scan a string.
The next call to dax_lex() will scan from a copy of str.
| yystr | a NUL-terminated string to scan |
| YY_BUFFER_STATE dax__scan_bytes | ( | yyconst char * | yybytes, |
| yy_size_t | _yybytes_len | ||
| ) |
Setup the input buffer state to scan the given bytes.
The next call to dax_lex() will scan from a copy of bytes.
| yybytes | the byte buffer to scan |
| _yybytes_len | the number of bytes in the buffer pointed to by bytes. |
|
static |
|
static |
|
static |
|
static |
| const char* dax__parse_err_msg | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int dax_lex_destroy | ( | void | ) |
| int dax_get_debug | ( | void | ) |
| void dax_set_debug | ( | int | debug_flag | ) |
| YY_EXTRA_TYPE dax_get_extra | ( | void | ) |
| void dax_set_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
| FILE * dax_get_in | ( | void | ) |
Get the input stream.
| void dax_set_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
| _in_str | A readable stream. |
| FILE * dax_get_out | ( | void | ) |
Get the output stream.
| void dax_set_out | ( | FILE * | _out_str | ) |
| char * dax_get_text | ( | void | ) |
Get the current token.
| int dax_get_lineno | ( | void | ) |
Get the current line number.
| void dax_set_lineno | ( | int | _line_number | ) |
Set the current line number.
| _line_number | line number |
|
static |
| int dax_lex | ( | void | ) |
| if | ( | ! | yy_init | ) |
| assert | ( | dax__bufferstack | ) |
| assert | ( | indexstack | ) |
| dax__bufferliteral | ( | '\0' | , |
| & | bnext, | ||
| "http://pegasus.isi.edu/schema/DAX" | |||
| ) |
| dax__bufferliteral | ( | '\0' | , |
| & | bnext, | ||
| "http://www.w3.org/2001/XMLSchema-instance" | |||
| ) |
| dax__bufferliteral | ( | '\0' | , |
| & | bnext, | ||
| "http://pegasus.isi.edu/schema/DAX http://pegasus.isi.edu/schema/dax-2.1.xsd" | |||
| ) |
| dax__bufferliteral | ( | '\0' | , |
| & | bnext, | ||
| "1.0" | |||
| ) |
| dax__bufferliteral | ( | '\0' | , |
| & | bnext, | ||
| "0.0" | |||
| ) |
| dax__bufferliteral | ( | '\0' | , |
| & | bnext, | ||
| "data" | |||
| ) |
| if | ( | ! | dax__statenames | ) |
| while | ( | 1 | ) |
| int dax__element_context | ( | int | i | ) |
| yy_size_t dax_leng |
| FILE * dax_in = (FILE *) 0 |
| FILE * dax_out = (FILE *) 0 |
|
static |
index of top of stack.
|
static |
capacity of stack.
|
static |
Stack as an array.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int dax_lineno = 1 |
| char * dax_text |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int dax__flex_debug = 0 |
| const char dax__flexml_version[] = "1.9.6" |
| int dax__pcdata_ix |
| char * dax__bufferstack = NULL |
| AT_dax__adag_childCount AX_dax__adag_childCount |
| short int dax__adag_childCount_isset |
| AT_dax__adag_count AX_dax__adag_count |
| short int dax__adag_count_isset |
| AT_dax__adag_fileCount AX_dax__adag_fileCount |
| short int dax__adag_fileCount_isset |
| AT_dax__adag_index AX_dax__adag_index |
| short int dax__adag_index_isset |
| AT_dax__adag_jobCount AX_dax__adag_jobCount |
| short int dax__adag_jobCount_isset |
| AT_dax__adag_name AX_dax__adag_name |
| short int dax__adag_name_isset |
| AT_dax__adag_version AX_dax__adag_version |
| short int dax__adag_version_isset |
| AT_dax__adag_xmlns AX_dax__adag_xmlns |
| short int dax__adag_xmlns_isset |
| AT_dax__adag_xmlns_c_xsi AX_dax__adag_xmlns_c_xsi |
| short int dax__adag_xmlns_c_xsi_isset |
| AT_dax__adag_xsi_c_schemaLocation AX_dax__adag_xsi_c_schemaLocation |
| short int dax__adag_xsi_c_schemaLocation_isset |
| AT_dax__child_ref AX_dax__child_ref |
| short int dax__child_ref_isset |
| AT_dax__job_id AX_dax__job_id |
| short int dax__job_id_isset |
| AT_dax__job_level AX_dax__job_level |
| short int dax__job_level_isset |
| AT_dax__job_name AX_dax__job_name |
| short int dax__job_name_isset |
| AT_dax__job_namespace AX_dax__job_namespace |
| short int dax__job_namespace_isset |
| AT_dax__job_runtime AX_dax__job_runtime |
| short int dax__job_runtime_isset |
| AT_dax__job_version AX_dax__job_version |
| short int dax__job_version_isset |
| AT_dax__parent_ref AX_dax__parent_ref |
| short int dax__parent_ref_isset |
| AT_dax__uses_file AX_dax__uses_file |
| short int dax__uses_file_isset |
| AT_dax__uses_link AX_dax__uses_link |
| short int dax__uses_link_isset |
| AT_dax__uses_optional AX_dax__uses_optional |
| short int dax__uses_optional_isset |
| AT_dax__uses_register AX_dax__uses_register |
| short int dax__uses_register_isset |
| AT_dax__uses_size AX_dax__uses_size |
| short int dax__uses_size_isset |
| AT_dax__uses_transfer AX_dax__uses_transfer |
| short int dax__uses_transfer_isset |
| AT_dax__uses_type AX_dax__uses_type |
| short int dax__uses_type_isset |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const char* * dax__statenames =NULL |
|
static |
|
static |
|
static |
| YY_DECL |
The main scanner function which does all the work.
| char* yy_cp |
| char * yy_bp |
| int yy_act |