SimGrid
3.18
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 } |
#define YY_INT_ALIGNED short int |
#define yy_create_buffer surf_parse__create_buffer |
#define yy_delete_buffer surf_parse__delete_buffer |
#define yy_flex_debug surf_parse__flex_debug |
#define yy_init_buffer surf_parse__init_buffer |
#define yy_flush_buffer surf_parse__flush_buffer |
#define yy_load_buffer_state surf_parse__load_buffer_state |
#define yy_switch_to_buffer surf_parse__switch_to_buffer |
#define yyin surf_parse_in |
#define yyleng surf_parse_leng |
#define yylex surf_parse_lex |
#define yylineno surf_parse_lineno |
#define yyout surf_parse_out |
#define yyrestart surf_parse_restart |
#define yytext surf_parse_text |
#define yywrap surf_parse_wrap |
#define yyalloc surf_parse_alloc |
#define yyrealloc surf_parse_realloc |
#define yyfree surf_parse_free |
#define FLEX_SCANNER |
#define YY_FLEX_MAJOR_VERSION 2 |
#define YY_FLEX_MINOR_VERSION 6 |
#define YY_FLEX_SUBMINOR_VERSION 1 |
#define FLEX_BETA |
#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 const |
#define yynoreturn |
#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 surf_parse_restart(surf_parse_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 surf_parse__flush_buffer(YY_CURRENT_BUFFER ) |
#define yy_new_buffer surf_parse__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 surf_parse_wrap | ( | ) | (/*CONSTCOND*/1) |
#define YY_SKIP_YYWRAP |
#define yytext_ptr surf_parse_text |
#define YY_DO_BEFORE_ACTION |
#define YY_NUM_RULES 647 |
#define YY_END_OF_BUFFER 648 |
#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 surfxml_pcdata (surfxml_bufferstack + surfxml_pcdata_ix) |
#define A_surfxml_AS_id (surfxml_bufferstack + AX_surfxml_AS_id) |
#define A_surfxml_AS_routing AX_surfxml_AS_routing |
#define A_surfxml_ASroute_dst (surfxml_bufferstack + AX_surfxml_ASroute_dst) |
#define A_surfxml_ASroute_gw___dst (surfxml_bufferstack + AX_surfxml_ASroute_gw___dst) |
#define A_surfxml_ASroute_gw___src (surfxml_bufferstack + AX_surfxml_ASroute_gw___src) |
#define A_surfxml_ASroute_src (surfxml_bufferstack + AX_surfxml_ASroute_src) |
#define A_surfxml_ASroute_symmetrical AX_surfxml_ASroute_symmetrical |
#define A_surfxml_actor_function (surfxml_bufferstack + AX_surfxml_actor_function) |
#define A_surfxml_actor_host (surfxml_bufferstack + AX_surfxml_actor_host) |
#define A_surfxml_actor_kill___time (surfxml_bufferstack + AX_surfxml_actor_kill___time) |
#define A_surfxml_actor_on___failure AX_surfxml_actor_on___failure |
#define A_surfxml_actor_start___time (surfxml_bufferstack + AX_surfxml_actor_start___time) |
#define A_surfxml_argument_value (surfxml_bufferstack + AX_surfxml_argument_value) |
#define A_surfxml_backbone_bandwidth (surfxml_bufferstack + AX_surfxml_backbone_bandwidth) |
#define A_surfxml_backbone_id (surfxml_bufferstack + AX_surfxml_backbone_id) |
#define A_surfxml_backbone_latency (surfxml_bufferstack + AX_surfxml_backbone_latency) |
#define A_surfxml_bypassASroute_dst (surfxml_bufferstack + AX_surfxml_bypassASroute_dst) |
#define A_surfxml_bypassASroute_gw___dst (surfxml_bufferstack + AX_surfxml_bypassASroute_gw___dst) |
#define A_surfxml_bypassASroute_gw___src (surfxml_bufferstack + AX_surfxml_bypassASroute_gw___src) |
#define A_surfxml_bypassASroute_src (surfxml_bufferstack + AX_surfxml_bypassASroute_src) |
#define A_surfxml_bypassRoute_dst (surfxml_bufferstack + AX_surfxml_bypassRoute_dst) |
#define A_surfxml_bypassRoute_src (surfxml_bufferstack + AX_surfxml_bypassRoute_src) |
#define A_surfxml_bypassZoneRoute_dst (surfxml_bufferstack + AX_surfxml_bypassZoneRoute_dst) |
#define A_surfxml_bypassZoneRoute_gw___dst (surfxml_bufferstack + AX_surfxml_bypassZoneRoute_gw___dst) |
#define A_surfxml_bypassZoneRoute_gw___src (surfxml_bufferstack + AX_surfxml_bypassZoneRoute_gw___src) |
#define A_surfxml_bypassZoneRoute_src (surfxml_bufferstack + AX_surfxml_bypassZoneRoute_src) |
#define A_surfxml_cabinet_bw (surfxml_bufferstack + AX_surfxml_cabinet_bw) |
#define A_surfxml_cabinet_id (surfxml_bufferstack + AX_surfxml_cabinet_id) |
#define A_surfxml_cabinet_lat (surfxml_bufferstack + AX_surfxml_cabinet_lat) |
#define A_surfxml_cabinet_prefix (surfxml_bufferstack + AX_surfxml_cabinet_prefix) |
#define A_surfxml_cabinet_radical (surfxml_bufferstack + AX_surfxml_cabinet_radical) |
#define A_surfxml_cabinet_speed (surfxml_bufferstack + AX_surfxml_cabinet_speed) |
#define A_surfxml_cabinet_suffix (surfxml_bufferstack + AX_surfxml_cabinet_suffix) |
#define A_surfxml_cluster_bb___bw (surfxml_bufferstack + AX_surfxml_cluster_bb___bw) |
#define A_surfxml_cluster_bb___lat (surfxml_bufferstack + AX_surfxml_cluster_bb___lat) |
#define A_surfxml_cluster_bb___sharing___policy AX_surfxml_cluster_bb___sharing___policy |
#define A_surfxml_cluster_bw (surfxml_bufferstack + AX_surfxml_cluster_bw) |
#define A_surfxml_cluster_core (surfxml_bufferstack + AX_surfxml_cluster_core) |
#define A_surfxml_cluster_id (surfxml_bufferstack + AX_surfxml_cluster_id) |
#define A_surfxml_cluster_lat (surfxml_bufferstack + AX_surfxml_cluster_lat) |
#define A_surfxml_cluster_limiter___link (surfxml_bufferstack + AX_surfxml_cluster_limiter___link) |
#define A_surfxml_cluster_loopback___bw (surfxml_bufferstack + AX_surfxml_cluster_loopback___bw) |
#define A_surfxml_cluster_loopback___lat (surfxml_bufferstack + AX_surfxml_cluster_loopback___lat) |
#define A_surfxml_cluster_prefix (surfxml_bufferstack + AX_surfxml_cluster_prefix) |
#define A_surfxml_cluster_radical (surfxml_bufferstack + AX_surfxml_cluster_radical) |
#define A_surfxml_cluster_router___id (surfxml_bufferstack + AX_surfxml_cluster_router___id) |
#define A_surfxml_cluster_sharing___policy AX_surfxml_cluster_sharing___policy |
#define A_surfxml_cluster_speed (surfxml_bufferstack + AX_surfxml_cluster_speed) |
#define A_surfxml_cluster_suffix (surfxml_bufferstack + AX_surfxml_cluster_suffix) |
#define A_surfxml_cluster_topo___parameters (surfxml_bufferstack + AX_surfxml_cluster_topo___parameters) |
#define A_surfxml_cluster_topology AX_surfxml_cluster_topology |
#define A_surfxml_config_id (surfxml_bufferstack + AX_surfxml_config_id) |
#define A_surfxml_host_availability___file (surfxml_bufferstack + AX_surfxml_host_availability___file) |
#define A_surfxml_host_coordinates (surfxml_bufferstack + AX_surfxml_host_coordinates) |
#define A_surfxml_host_core (surfxml_bufferstack + AX_surfxml_host_core) |
#define A_surfxml_host_id (surfxml_bufferstack + AX_surfxml_host_id) |
#define A_surfxml_host_pstate (surfxml_bufferstack + AX_surfxml_host_pstate) |
#define A_surfxml_host_speed (surfxml_bufferstack + AX_surfxml_host_speed) |
#define A_surfxml_host_state___file (surfxml_bufferstack + AX_surfxml_host_state___file) |
#define A_surfxml_host___link_down (surfxml_bufferstack + AX_surfxml_host___link_down) |
#define A_surfxml_host___link_id (surfxml_bufferstack + AX_surfxml_host___link_id) |
#define A_surfxml_host___link_up (surfxml_bufferstack + AX_surfxml_host___link_up) |
#define A_surfxml_include_file (surfxml_bufferstack + AX_surfxml_include_file) |
#define A_surfxml_link_bandwidth (surfxml_bufferstack + AX_surfxml_link_bandwidth) |
#define A_surfxml_link_bandwidth___file (surfxml_bufferstack + AX_surfxml_link_bandwidth___file) |
#define A_surfxml_link_id (surfxml_bufferstack + AX_surfxml_link_id) |
#define A_surfxml_link_latency (surfxml_bufferstack + AX_surfxml_link_latency) |
#define A_surfxml_link_latency___file (surfxml_bufferstack + AX_surfxml_link_latency___file) |
#define A_surfxml_link_sharing___policy AX_surfxml_link_sharing___policy |
#define A_surfxml_link_state___file (surfxml_bufferstack + AX_surfxml_link_state___file) |
#define A_surfxml_link___ctn_direction AX_surfxml_link___ctn_direction |
#define A_surfxml_link___ctn_id (surfxml_bufferstack + AX_surfxml_link___ctn_id) |
#define A_surfxml_model___prop_id (surfxml_bufferstack + AX_surfxml_model___prop_id) |
#define A_surfxml_model___prop_value (surfxml_bufferstack + AX_surfxml_model___prop_value) |
#define A_surfxml_mount_name (surfxml_bufferstack + AX_surfxml_mount_name) |
#define A_surfxml_mount_storageId (surfxml_bufferstack + AX_surfxml_mount_storageId) |
#define A_surfxml_peer_availability___file (surfxml_bufferstack + AX_surfxml_peer_availability___file) |
#define A_surfxml_peer_bw___in (surfxml_bufferstack + AX_surfxml_peer_bw___in) |
#define A_surfxml_peer_bw___out (surfxml_bufferstack + AX_surfxml_peer_bw___out) |
#define A_surfxml_peer_coordinates (surfxml_bufferstack + AX_surfxml_peer_coordinates) |
#define A_surfxml_peer_id (surfxml_bufferstack + AX_surfxml_peer_id) |
#define A_surfxml_peer_lat (surfxml_bufferstack + AX_surfxml_peer_lat) |
#define A_surfxml_peer_speed (surfxml_bufferstack + AX_surfxml_peer_speed) |
#define A_surfxml_peer_state___file (surfxml_bufferstack + AX_surfxml_peer_state___file) |
#define A_surfxml_platform_version (surfxml_bufferstack + AX_surfxml_platform_version) |
#define A_surfxml_process_function (surfxml_bufferstack + AX_surfxml_process_function) |
#define A_surfxml_process_host (surfxml_bufferstack + AX_surfxml_process_host) |
#define A_surfxml_process_kill___time (surfxml_bufferstack + AX_surfxml_process_kill___time) |
#define A_surfxml_process_on___failure AX_surfxml_process_on___failure |
#define A_surfxml_process_start___time (surfxml_bufferstack + AX_surfxml_process_start___time) |
#define A_surfxml_prop_id (surfxml_bufferstack + AX_surfxml_prop_id) |
#define A_surfxml_prop_value (surfxml_bufferstack + AX_surfxml_prop_value) |
#define A_surfxml_random_generator AX_surfxml_random_generator |
#define A_surfxml_random_id (surfxml_bufferstack + AX_surfxml_random_id) |
#define A_surfxml_random_max (surfxml_bufferstack + AX_surfxml_random_max) |
#define A_surfxml_random_mean (surfxml_bufferstack + AX_surfxml_random_mean) |
#define A_surfxml_random_min (surfxml_bufferstack + AX_surfxml_random_min) |
#define A_surfxml_random_radical (surfxml_bufferstack + AX_surfxml_random_radical) |
#define A_surfxml_random_seed (surfxml_bufferstack + AX_surfxml_random_seed) |
#define A_surfxml_random_std___deviation (surfxml_bufferstack + AX_surfxml_random_std___deviation) |
#define A_surfxml_route_dst (surfxml_bufferstack + AX_surfxml_route_dst) |
#define A_surfxml_route_src (surfxml_bufferstack + AX_surfxml_route_src) |
#define A_surfxml_route_symmetrical AX_surfxml_route_symmetrical |
#define A_surfxml_router_coordinates (surfxml_bufferstack + AX_surfxml_router_coordinates) |
#define A_surfxml_router_id (surfxml_bufferstack + AX_surfxml_router_id) |
#define A_surfxml_storage_attach (surfxml_bufferstack + AX_surfxml_storage_attach) |
#define A_surfxml_storage_content (surfxml_bufferstack + AX_surfxml_storage_content) |
#define A_surfxml_storage_id (surfxml_bufferstack + AX_surfxml_storage_id) |
#define A_surfxml_storage_typeId (surfxml_bufferstack + AX_surfxml_storage_typeId) |
#define A_surfxml_storage___type_content (surfxml_bufferstack + AX_surfxml_storage___type_content) |
#define A_surfxml_storage___type_id (surfxml_bufferstack + AX_surfxml_storage___type_id) |
#define A_surfxml_storage___type_model (surfxml_bufferstack + AX_surfxml_storage___type_model) |
#define A_surfxml_storage___type_size (surfxml_bufferstack + AX_surfxml_storage___type_size) |
#define A_surfxml_trace_file (surfxml_bufferstack + AX_surfxml_trace_file) |
#define A_surfxml_trace_id (surfxml_bufferstack + AX_surfxml_trace_id) |
#define A_surfxml_trace_periodicity (surfxml_bufferstack + AX_surfxml_trace_periodicity) |
#define A_surfxml_trace___connect_element (surfxml_bufferstack + AX_surfxml_trace___connect_element) |
#define A_surfxml_trace___connect_kind AX_surfxml_trace___connect_kind |
#define A_surfxml_trace___connect_trace (surfxml_bufferstack + AX_surfxml_trace___connect_trace) |
#define A_surfxml_zone_id (surfxml_bufferstack + AX_surfxml_zone_id) |
#define A_surfxml_zone_routing AX_surfxml_zone_routing |
#define A_surfxml_zoneRoute_dst (surfxml_bufferstack + AX_surfxml_zoneRoute_dst) |
#define A_surfxml_zoneRoute_gw___dst (surfxml_bufferstack + AX_surfxml_zoneRoute_gw___dst) |
#define A_surfxml_zoneRoute_gw___src (surfxml_bufferstack + AX_surfxml_zoneRoute_gw___src) |
#define A_surfxml_zoneRoute_src (surfxml_bufferstack + AX_surfxml_zoneRoute_src) |
#define A_surfxml_zoneRoute_symmetrical AX_surfxml_zoneRoute_symmetrical |
#define ENTER | ( | state | ) | (yy_push_state(state)) |
#define LEAVE (yy_pop_state()) |
#define SET | ( | state | ) | BEGIN(state) |
#define SKIP /*skip*/ |
#define SUCCEED CLEANUP; return 0 |
#define FAIL return fail |
#define CLEANUP cleanup() |
#define BUFFERSET | ( | P | ) | (P = bnext) |
#define BUFFERPUTC | ( | C | ) | (ck_blimit(), surfxml_bufferstack[bnext++] = (C)) |
#define BUFFERDONE (BUFFERPUTC('\0')) |
#define BUFFERLITERAL | ( | C, | |
P | |||
) | surfxml_bufferliteral(C, &(P), surf_parse_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 AL_surfxml_AS 9 |
#define S_surfxml_AS 10 |
#define S_surfxml_AS_1 11 |
#define S_surfxml_AS_2 12 |
#define S_surfxml_AS_3 13 |
#define S_surfxml_AS_4 14 |
#define S_surfxml_AS_5 15 |
#define S_surfxml_AS_6 16 |
#define S_surfxml_AS_7 17 |
#define S_surfxml_AS_8 18 |
#define E_surfxml_AS 19 |
#define AL_surfxml_ASroute 20 |
#define S_surfxml_ASroute 21 |
#define S_surfxml_ASroute_1 22 |
#define S_surfxml_ASroute_2 23 |
#define E_surfxml_ASroute 24 |
#define AL_surfxml_actor 25 |
#define S_surfxml_actor 26 |
#define S_surfxml_actor_1 27 |
#define S_surfxml_actor_2 28 |
#define E_surfxml_actor 29 |
#define AL_surfxml_argument 30 |
#define E_surfxml_argument 31 |
#define AL_surfxml_backbone 32 |
#define E_surfxml_backbone 33 |
#define AL_surfxml_bypassASroute 34 |
#define S_surfxml_bypassASroute 35 |
#define S_surfxml_bypassASroute_1 36 |
#define S_surfxml_bypassASroute_2 37 |
#define E_surfxml_bypassASroute 38 |
#define AL_surfxml_bypassRoute 39 |
#define S_surfxml_bypassRoute 40 |
#define S_surfxml_bypassRoute_1 41 |
#define S_surfxml_bypassRoute_2 42 |
#define E_surfxml_bypassRoute 43 |
#define AL_surfxml_bypassZoneRoute 44 |
#define S_surfxml_bypassZoneRoute 45 |
#define S_surfxml_bypassZoneRoute_1 46 |
#define S_surfxml_bypassZoneRoute_2 47 |
#define E_surfxml_bypassZoneRoute 48 |
#define AL_surfxml_cabinet 49 |
#define E_surfxml_cabinet 50 |
#define AL_surfxml_cluster 51 |
#define S_surfxml_cluster 52 |
#define S_surfxml_cluster_1 53 |
#define S_surfxml_cluster_2 54 |
#define E_surfxml_cluster 55 |
#define AL_surfxml_config 56 |
#define S_surfxml_config 57 |
#define S_surfxml_config_1 58 |
#define S_surfxml_config_2 59 |
#define E_surfxml_config 60 |
#define AL_surfxml_host 61 |
#define S_surfxml_host 62 |
#define S_surfxml_host_1 63 |
#define S_surfxml_host_2 64 |
#define E_surfxml_host 65 |
#define AL_surfxml_host___link 66 |
#define E_surfxml_host___link 67 |
#define AL_surfxml_include 68 |
#define S_surfxml_include 69 |
#define S_surfxml_include_1 70 |
#define S_surfxml_include_2 71 |
#define E_surfxml_include 72 |
#define AL_surfxml_link 73 |
#define S_surfxml_link 74 |
#define S_surfxml_link_1 75 |
#define S_surfxml_link_2 76 |
#define E_surfxml_link 77 |
#define AL_surfxml_link___ctn 78 |
#define E_surfxml_link___ctn 79 |
#define AL_surfxml_model___prop 80 |
#define E_surfxml_model___prop 81 |
#define AL_surfxml_mount 82 |
#define E_surfxml_mount 83 |
#define AL_surfxml_peer 84 |
#define E_surfxml_peer 85 |
#define ROOT_surfxml_platform 86 |
#define AL_surfxml_platform 87 |
#define S_surfxml_platform 88 |
#define S_surfxml_platform_1 89 |
#define S_surfxml_platform_2 90 |
#define S_surfxml_platform_3 91 |
#define S_surfxml_platform_4 92 |
#define S_surfxml_platform_5 93 |
#define S_surfxml_platform_6 94 |
#define S_surfxml_platform_7 95 |
#define S_surfxml_platform_8 96 |
#define E_surfxml_platform 97 |
#define AL_surfxml_process 98 |
#define S_surfxml_process 99 |
#define S_surfxml_process_1 100 |
#define S_surfxml_process_2 101 |
#define E_surfxml_process 102 |
#define AL_surfxml_prop 103 |
#define E_surfxml_prop 104 |
#define AL_surfxml_random 105 |
#define E_surfxml_random 106 |
#define AL_surfxml_route 107 |
#define S_surfxml_route 108 |
#define S_surfxml_route_1 109 |
#define S_surfxml_route_2 110 |
#define E_surfxml_route 111 |
#define AL_surfxml_router 112 |
#define E_surfxml_router 113 |
#define AL_surfxml_storage 114 |
#define S_surfxml_storage 115 |
#define S_surfxml_storage_1 116 |
#define S_surfxml_storage_2 117 |
#define E_surfxml_storage 118 |
#define AL_surfxml_storage___type 119 |
#define S_surfxml_storage___type 120 |
#define S_surfxml_storage___type_1 121 |
#define S_surfxml_storage___type_2 122 |
#define E_surfxml_storage___type 123 |
#define AL_surfxml_trace 124 |
#define IN_trace 125 |
#define AL_surfxml_trace___connect 126 |
#define E_surfxml_trace___connect 127 |
#define AL_surfxml_zone 128 |
#define S_surfxml_zone 129 |
#define S_surfxml_zone_1 130 |
#define S_surfxml_zone_2 131 |
#define S_surfxml_zone_3 132 |
#define S_surfxml_zone_4 133 |
#define S_surfxml_zone_5 134 |
#define S_surfxml_zone_6 135 |
#define S_surfxml_zone_7 136 |
#define S_surfxml_zone_8 137 |
#define E_surfxml_zone 138 |
#define AL_surfxml_zoneRoute 139 |
#define S_surfxml_zoneRoute 140 |
#define S_surfxml_zoneRoute_1 141 |
#define S_surfxml_zoneRoute_2 142 |
#define E_surfxml_zoneRoute 143 |
#define IMPOSSIBLE 144 |
#define YY_EXTRA_TYPE void * |
#define YY_READ_BUF_SIZE 8192 |
#define ECHO do { if (fwrite( surf_parse_text, (size_t) surf_parse_leng, 1, surf_parse_out )) {} } while (0) |
#define yyterminate | ( | ) | return YY_NULL |
#define YY_START_STACK_INCR 25 |
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
#define YY_DECL_IS_OURS 1 |
#define YY_DECL int surf_parse_lex (void) |
#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 surf_parse_restart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. void surf_parse__switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
YY_BUFFER_STATE surf_parse__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 surf_parse__delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with surf_parse__create_buffer() |
void surf_parse__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 surf_parse_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 surf_parse__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 surf_parse__scan_string | ( | yyconst char * | yystr | ) |
Setup the input buffer state to scan a string.
The next call to surf_parse_lex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
YY_BUFFER_STATE surf_parse__scan_bytes | ( | yyconst char * | yybytes, |
int | _yybytes_len | ||
) |
Setup the input buffer state to scan the given bytes.
The next call to surf_parse_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 |
|
static |
const char* surfxml_parse_err_msg | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int surf_parse_lex_destroy | ( | void | ) |
int surf_parse_get_debug | ( | void | ) |
void surf_parse_set_debug | ( | int | debug_flag | ) |
YY_EXTRA_TYPE surf_parse_get_extra | ( | void | ) |
void surf_parse_set_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
FILE* surf_parse_get_in | ( | void | ) |
Get the input stream.
void surf_parse_set_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
_in_str | A readable stream. |
FILE* surf_parse_get_out | ( | void | ) |
Get the output stream.
void surf_parse_set_out | ( | FILE * | _out_str | ) |
int surf_parse_get_leng | ( | void | ) |
Get the length of the current token.
char* surf_parse_get_text | ( | void | ) |
Get the current token.
int surf_parse_get_lineno | ( | void | ) |
Get the current line number.
void surf_parse_set_lineno | ( | int | _line_number | ) |
Set the current line number.
_line_number | line number |
|
static |
int surf_parse_lex | ( | void | ) |
if | ( | ! | yy_init | ) |
assert | ( | surfxml_bufferstack | ) |
assert | ( | indexstack | ) |
surfxml_bufferliteral | ( | '\0' | , |
& | bnext, | ||
"0.0" | |||
) |
surfxml_bufferliteral | ( | '\0' | , |
& | bnext, | ||
"2147483647" | |||
) |
surfxml_bufferliteral | ( | '\0' | , |
& | bnext, | ||
"N11" | |||
) |
surfxml_bufferliteral | ( | '\0' | , |
& | bnext, | ||
"1" | |||
) |
surfxml_bufferliteral | ( | '\0' | , |
& | bnext, | ||
"0s" | |||
) |
surfxml_bufferliteral | ( | '\0' | , |
& | bnext, | ||
"-1.0" | |||
) |
if | ( | ! | surfxml_statenames | ) |
while | ( | 1 | ) |
int surfxml_element_context | ( | int | i | ) |
unsigned int surf_parse_leng |
FILE * surf_parse_in = NULL |
FILE * surf_parse_out = NULL |
|
static |
index of top of stack.
|
static |
capacity of stack.
|
static |
Stack as an array.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int surf_parse_lineno = 1 |
char * surf_parse_text |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int surf_parse__flex_debug = 0 |
const char surfxml_flexml_version[] = "1.9.6" |
int surfxml_pcdata_ix |
char * surfxml_bufferstack = NULL |
AT_surfxml_AS_id AX_surfxml_AS_id |
short int surfxml_AS_id_isset |
AT_surfxml_AS_routing AX_surfxml_AS_routing |
short int surfxml_AS_routing_isset |
AT_surfxml_ASroute_dst AX_surfxml_ASroute_dst |
short int surfxml_ASroute_dst_isset |
AT_surfxml_ASroute_gw___dst AX_surfxml_ASroute_gw___dst |
short int surfxml_ASroute_gw___dst_isset |
AT_surfxml_ASroute_gw___src AX_surfxml_ASroute_gw___src |
short int surfxml_ASroute_gw___src_isset |
AT_surfxml_ASroute_src AX_surfxml_ASroute_src |
short int surfxml_ASroute_src_isset |
AT_surfxml_ASroute_symmetrical AX_surfxml_ASroute_symmetrical |
short int surfxml_ASroute_symmetrical_isset |
AT_surfxml_actor_function AX_surfxml_actor_function |
short int surfxml_actor_function_isset |
AT_surfxml_actor_host AX_surfxml_actor_host |
short int surfxml_actor_host_isset |
AT_surfxml_actor_kill___time AX_surfxml_actor_kill___time |
short int surfxml_actor_kill___time_isset |
AT_surfxml_actor_on___failure AX_surfxml_actor_on___failure |
short int surfxml_actor_on___failure_isset |
AT_surfxml_actor_start___time AX_surfxml_actor_start___time |
short int surfxml_actor_start___time_isset |
AT_surfxml_argument_value AX_surfxml_argument_value |
short int surfxml_argument_value_isset |
AT_surfxml_backbone_bandwidth AX_surfxml_backbone_bandwidth |
short int surfxml_backbone_bandwidth_isset |
AT_surfxml_backbone_id AX_surfxml_backbone_id |
short int surfxml_backbone_id_isset |
AT_surfxml_backbone_latency AX_surfxml_backbone_latency |
short int surfxml_backbone_latency_isset |
AT_surfxml_bypassASroute_dst AX_surfxml_bypassASroute_dst |
short int surfxml_bypassASroute_dst_isset |
AT_surfxml_bypassASroute_gw___dst AX_surfxml_bypassASroute_gw___dst |
short int surfxml_bypassASroute_gw___dst_isset |
AT_surfxml_bypassASroute_gw___src AX_surfxml_bypassASroute_gw___src |
short int surfxml_bypassASroute_gw___src_isset |
AT_surfxml_bypassASroute_src AX_surfxml_bypassASroute_src |
short int surfxml_bypassASroute_src_isset |
AT_surfxml_bypassRoute_dst AX_surfxml_bypassRoute_dst |
short int surfxml_bypassRoute_dst_isset |
AT_surfxml_bypassRoute_src AX_surfxml_bypassRoute_src |
short int surfxml_bypassRoute_src_isset |
AT_surfxml_bypassZoneRoute_dst AX_surfxml_bypassZoneRoute_dst |
short int surfxml_bypassZoneRoute_dst_isset |
AT_surfxml_bypassZoneRoute_gw___dst AX_surfxml_bypassZoneRoute_gw___dst |
short int surfxml_bypassZoneRoute_gw___dst_isset |
AT_surfxml_bypassZoneRoute_gw___src AX_surfxml_bypassZoneRoute_gw___src |
short int surfxml_bypassZoneRoute_gw___src_isset |
AT_surfxml_bypassZoneRoute_src AX_surfxml_bypassZoneRoute_src |
short int surfxml_bypassZoneRoute_src_isset |
AT_surfxml_cabinet_bw AX_surfxml_cabinet_bw |
short int surfxml_cabinet_bw_isset |
AT_surfxml_cabinet_id AX_surfxml_cabinet_id |
short int surfxml_cabinet_id_isset |
AT_surfxml_cabinet_lat AX_surfxml_cabinet_lat |
short int surfxml_cabinet_lat_isset |
AT_surfxml_cabinet_prefix AX_surfxml_cabinet_prefix |
short int surfxml_cabinet_prefix_isset |
AT_surfxml_cabinet_radical AX_surfxml_cabinet_radical |
short int surfxml_cabinet_radical_isset |
AT_surfxml_cabinet_speed AX_surfxml_cabinet_speed |
short int surfxml_cabinet_speed_isset |
AT_surfxml_cabinet_suffix AX_surfxml_cabinet_suffix |
short int surfxml_cabinet_suffix_isset |
AT_surfxml_cluster_bb___bw AX_surfxml_cluster_bb___bw |
short int surfxml_cluster_bb___bw_isset |
AT_surfxml_cluster_bb___lat AX_surfxml_cluster_bb___lat |
short int surfxml_cluster_bb___lat_isset |
AT_surfxml_cluster_bb___sharing___policy AX_surfxml_cluster_bb___sharing___policy |
short int surfxml_cluster_bb___sharing___policy_isset |
AT_surfxml_cluster_bw AX_surfxml_cluster_bw |
short int surfxml_cluster_bw_isset |
AT_surfxml_cluster_core AX_surfxml_cluster_core |
short int surfxml_cluster_core_isset |
AT_surfxml_cluster_id AX_surfxml_cluster_id |
short int surfxml_cluster_id_isset |
AT_surfxml_cluster_lat AX_surfxml_cluster_lat |
short int surfxml_cluster_lat_isset |
AT_surfxml_cluster_limiter___link AX_surfxml_cluster_limiter___link |
short int surfxml_cluster_limiter___link_isset |
AT_surfxml_cluster_loopback___bw AX_surfxml_cluster_loopback___bw |
short int surfxml_cluster_loopback___bw_isset |
AT_surfxml_cluster_loopback___lat AX_surfxml_cluster_loopback___lat |
short int surfxml_cluster_loopback___lat_isset |
AT_surfxml_cluster_prefix AX_surfxml_cluster_prefix |
short int surfxml_cluster_prefix_isset |
AT_surfxml_cluster_radical AX_surfxml_cluster_radical |
short int surfxml_cluster_radical_isset |
AT_surfxml_cluster_router___id AX_surfxml_cluster_router___id |
short int surfxml_cluster_router___id_isset |
AT_surfxml_cluster_sharing___policy AX_surfxml_cluster_sharing___policy |
short int surfxml_cluster_sharing___policy_isset |
AT_surfxml_cluster_speed AX_surfxml_cluster_speed |
short int surfxml_cluster_speed_isset |
AT_surfxml_cluster_suffix AX_surfxml_cluster_suffix |
short int surfxml_cluster_suffix_isset |
AT_surfxml_cluster_topo___parameters AX_surfxml_cluster_topo___parameters |
short int surfxml_cluster_topo___parameters_isset |
AT_surfxml_cluster_topology AX_surfxml_cluster_topology |
short int surfxml_cluster_topology_isset |
AT_surfxml_config_id AX_surfxml_config_id |
short int surfxml_config_id_isset |
AT_surfxml_host_availability___file AX_surfxml_host_availability___file |
short int surfxml_host_availability___file_isset |
AT_surfxml_host_coordinates AX_surfxml_host_coordinates |
short int surfxml_host_coordinates_isset |
AT_surfxml_host_core AX_surfxml_host_core |
short int surfxml_host_core_isset |
AT_surfxml_host_id AX_surfxml_host_id |
short int surfxml_host_id_isset |
AT_surfxml_host_pstate AX_surfxml_host_pstate |
short int surfxml_host_pstate_isset |
AT_surfxml_host_speed AX_surfxml_host_speed |
short int surfxml_host_speed_isset |
AT_surfxml_host_state___file AX_surfxml_host_state___file |
short int surfxml_host_state___file_isset |
AT_surfxml_host___link_down AX_surfxml_host___link_down |
short int surfxml_host___link_down_isset |
AT_surfxml_host___link_id AX_surfxml_host___link_id |
short int surfxml_host___link_id_isset |
AT_surfxml_host___link_up AX_surfxml_host___link_up |
short int surfxml_host___link_up_isset |
AT_surfxml_include_file AX_surfxml_include_file |
short int surfxml_include_file_isset |
AT_surfxml_link_bandwidth AX_surfxml_link_bandwidth |
short int surfxml_link_bandwidth_isset |
AT_surfxml_link_bandwidth___file AX_surfxml_link_bandwidth___file |
short int surfxml_link_bandwidth___file_isset |
AT_surfxml_link_id AX_surfxml_link_id |
short int surfxml_link_id_isset |
AT_surfxml_link_latency AX_surfxml_link_latency |
short int surfxml_link_latency_isset |
AT_surfxml_link_latency___file AX_surfxml_link_latency___file |
short int surfxml_link_latency___file_isset |
AT_surfxml_link_sharing___policy AX_surfxml_link_sharing___policy |
short int surfxml_link_sharing___policy_isset |
AT_surfxml_link_state___file AX_surfxml_link_state___file |
short int surfxml_link_state___file_isset |
AT_surfxml_link___ctn_direction AX_surfxml_link___ctn_direction |
short int surfxml_link___ctn_direction_isset |
AT_surfxml_link___ctn_id AX_surfxml_link___ctn_id |
short int surfxml_link___ctn_id_isset |
AT_surfxml_model___prop_id AX_surfxml_model___prop_id |
short int surfxml_model___prop_id_isset |
AT_surfxml_model___prop_value AX_surfxml_model___prop_value |
short int surfxml_model___prop_value_isset |
AT_surfxml_mount_name AX_surfxml_mount_name |
short int surfxml_mount_name_isset |
AT_surfxml_mount_storageId AX_surfxml_mount_storageId |
short int surfxml_mount_storageId_isset |
AT_surfxml_peer_availability___file AX_surfxml_peer_availability___file |
short int surfxml_peer_availability___file_isset |
AT_surfxml_peer_bw___in AX_surfxml_peer_bw___in |
short int surfxml_peer_bw___in_isset |
AT_surfxml_peer_bw___out AX_surfxml_peer_bw___out |
short int surfxml_peer_bw___out_isset |
AT_surfxml_peer_coordinates AX_surfxml_peer_coordinates |
short int surfxml_peer_coordinates_isset |
AT_surfxml_peer_id AX_surfxml_peer_id |
short int surfxml_peer_id_isset |
AT_surfxml_peer_lat AX_surfxml_peer_lat |
short int surfxml_peer_lat_isset |
AT_surfxml_peer_speed AX_surfxml_peer_speed |
short int surfxml_peer_speed_isset |
AT_surfxml_peer_state___file AX_surfxml_peer_state___file |
short int surfxml_peer_state___file_isset |
AT_surfxml_platform_version AX_surfxml_platform_version |
short int surfxml_platform_version_isset |
AT_surfxml_process_function AX_surfxml_process_function |
short int surfxml_process_function_isset |
AT_surfxml_process_host AX_surfxml_process_host |
short int surfxml_process_host_isset |
AT_surfxml_process_kill___time AX_surfxml_process_kill___time |
short int surfxml_process_kill___time_isset |
AT_surfxml_process_on___failure AX_surfxml_process_on___failure |
short int surfxml_process_on___failure_isset |
AT_surfxml_process_start___time AX_surfxml_process_start___time |
short int surfxml_process_start___time_isset |
AT_surfxml_prop_id AX_surfxml_prop_id |
short int surfxml_prop_id_isset |
AT_surfxml_prop_value AX_surfxml_prop_value |
short int surfxml_prop_value_isset |
AT_surfxml_random_generator AX_surfxml_random_generator |
short int surfxml_random_generator_isset |
AT_surfxml_random_id AX_surfxml_random_id |
short int surfxml_random_id_isset |
AT_surfxml_random_max AX_surfxml_random_max |
short int surfxml_random_max_isset |
AT_surfxml_random_mean AX_surfxml_random_mean |
short int surfxml_random_mean_isset |
AT_surfxml_random_min AX_surfxml_random_min |
short int surfxml_random_min_isset |
AT_surfxml_random_radical AX_surfxml_random_radical |
short int surfxml_random_radical_isset |
AT_surfxml_random_seed AX_surfxml_random_seed |
short int surfxml_random_seed_isset |
AT_surfxml_random_std___deviation AX_surfxml_random_std___deviation |
short int surfxml_random_std___deviation_isset |
AT_surfxml_route_dst AX_surfxml_route_dst |
short int surfxml_route_dst_isset |
AT_surfxml_route_src AX_surfxml_route_src |
short int surfxml_route_src_isset |
AT_surfxml_route_symmetrical AX_surfxml_route_symmetrical |
short int surfxml_route_symmetrical_isset |
AT_surfxml_router_coordinates AX_surfxml_router_coordinates |
short int surfxml_router_coordinates_isset |
AT_surfxml_router_id AX_surfxml_router_id |
short int surfxml_router_id_isset |
AT_surfxml_storage_attach AX_surfxml_storage_attach |
short int surfxml_storage_attach_isset |
AT_surfxml_storage_content AX_surfxml_storage_content |
short int surfxml_storage_content_isset |
AT_surfxml_storage_id AX_surfxml_storage_id |
short int surfxml_storage_id_isset |
AT_surfxml_storage_typeId AX_surfxml_storage_typeId |
short int surfxml_storage_typeId_isset |
AT_surfxml_storage___type_content AX_surfxml_storage___type_content |
short int surfxml_storage___type_content_isset |
AT_surfxml_storage___type_id AX_surfxml_storage___type_id |
short int surfxml_storage___type_id_isset |
AT_surfxml_storage___type_model AX_surfxml_storage___type_model |
short int surfxml_storage___type_model_isset |
AT_surfxml_storage___type_size AX_surfxml_storage___type_size |
short int surfxml_storage___type_size_isset |
AT_surfxml_trace_file AX_surfxml_trace_file |
short int surfxml_trace_file_isset |
AT_surfxml_trace_id AX_surfxml_trace_id |
short int surfxml_trace_id_isset |
AT_surfxml_trace_periodicity AX_surfxml_trace_periodicity |
short int surfxml_trace_periodicity_isset |
AT_surfxml_trace___connect_element AX_surfxml_trace___connect_element |
short int surfxml_trace___connect_element_isset |
AT_surfxml_trace___connect_kind AX_surfxml_trace___connect_kind |
short int surfxml_trace___connect_kind_isset |
AT_surfxml_trace___connect_trace AX_surfxml_trace___connect_trace |
short int surfxml_trace___connect_trace_isset |
AT_surfxml_zone_id AX_surfxml_zone_id |
short int surfxml_zone_id_isset |
AT_surfxml_zone_routing AX_surfxml_zone_routing |
short int surfxml_zone_routing_isset |
AT_surfxml_zoneRoute_dst AX_surfxml_zoneRoute_dst |
short int surfxml_zoneRoute_dst_isset |
AT_surfxml_zoneRoute_gw___dst AX_surfxml_zoneRoute_gw___dst |
short int surfxml_zoneRoute_gw___dst_isset |
AT_surfxml_zoneRoute_gw___src AX_surfxml_zoneRoute_gw___src |
short int surfxml_zoneRoute_gw___src_isset |
AT_surfxml_zoneRoute_src AX_surfxml_zoneRoute_src |
short int surfxml_zoneRoute_src_isset |
AT_surfxml_zoneRoute_symmetrical AX_surfxml_zoneRoute_symmetrical |
short int surfxml_zoneRoute_symmetrical_isset |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const char* * surfxml_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 |