⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cimmof_lex.cpp

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 CPP
📖 第 1 页 / 共 5 页
字号:
      592,  548,    0,    0,  592,  592,   56,  592,   58,   72,       57,   76,  592,  592,  592,   44,  548,  553,   57,   48,       64,    0,   51,  555,  539,   62,   69,  538,  552,  118,       65,  547,  592,  592,   63,  592,  592,    0,  592,  592,      222,  592,  592,    0,   52,    0,  574,  139,  272,  165,      567,  548,  592,  576,    0,    0,    0,  528,   63,  536,       72,  103,  105,   73,   56,  113,  173,  149,  115,    0,      152,  535,  123,  186,  143,  169,  161,  161,  185,  176,      521,    0,  592,  592,  592,  592,  592,  592,  592,  592,      592,  592,    0,  179,  566,    0,  220,  592,  561,  569,      592,    0,    0,  530,  200,  197,  538,  214,  215,  200,      521,  208,  532,  202,  532,  214,  222,  524,  215,  222,      533,  205,  532,  521,  216,  526,  514,  243,  528,  241,      498,    0,  524,  288,  297,  267,  525,  242,  276,  269,      287,  524,  514,  507,  270,  300,  512,    0,  513,  519,      514,  310,  286,  287,  510,  516,  317,  293,  306,  292,        0,  340,  486,  592,  507,  509,  313,  522,    0,  507,      306,  510,    0,  298,  510,  315,  309,  509,  507,  306,       71,  520,  517,  504,  499,  320,    0,  508,  493,  469,        0,  454,  321,  317,  460,  463,  458,    0,    0,  328,      332,  325,    0,  438,  432,  417,    0,  425,  325,  340,        0,  326,  327,  398,    0,    0,  336,  348,    0,    0,        0,    0,    0,  341,  352,    0,    0,    0,  592,  335,        0,  400,  390,  379,    0,  389,  392,  391,  370,  267,      353,  339,  362,  345,  233,    0,  215,  224,  214,    0,      348,    0,  350,  222,  185,  353,  365,  174,  178,  358,      363,    0,    0,    0,  177,  360,  371,  371,  368,  369,        0,    0,    0,  377,    0,  373,  147,  144,  139,  121,        0,  109,   67,   54,    0,    0,  592,  435,  445,  452,      462,  467,  469,  476,  486,  496,  500,  503,  512,  516,      519,  524,  525    } ;static yyconst short int yy_def[314] =    {   0,      297,    1,  298,  298,  299,  299,  297,  297,  297,  297,      297,  297,  300,  301,  297,  297,  302,  297,  297,  297,      303,  303,  297,  297,  297,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  297,  297,  304,  297,  297,  305,  297,  297,      306,  297,  297,  307,  297,  300,  301,  297,  297,  302,      302,  308,  297,  309,   22,  310,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  305,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  311,  297,  301,   59,   59,  297,  312,  309,      297,  310,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  313,  297,  297,  297,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  297,  297,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  297,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  297,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,      304,  304,  304,  304,  304,  304,    0,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297    } ;static yyconst short int yy_nxt[658] =    {   0,        8,    9,   10,    9,   11,   12,   13,   14,   15,   16,        8,   17,   18,   19,   20,   21,   22,   22,   22,   22,       22,   22,   22,   22,   23,   24,   25,   26,   27,   28,       29,   30,   31,   32,   32,   33,   32,   32,   34,   35,       36,   37,   38,   39,   40,   41,   42,   32,   32,   32,       43,    8,   44,   26,   27,   45,   31,   32,   35,   39,       40,   41,   32,   46,   47,   49,   49,   50,   50,   58,       58,   59,   60,   62,   62,   62,   62,   62,   62,   62,       62,   62,   63,   68,   72,  296,   64,   74,   69,   58,       77,   75,   73,  120,   80,  104,   81,   71,  295,  116,      119,   76,   68,  224,   69,   88,   74,  114,   89,   77,       72,  104,   82,  120,   51,   51,   53,   75,   80,   66,       91,   76,   81,  114,   89,  116,  119,  224,   82,   54,       54,   54,   54,   54,   54,   54,   54,   54,  297,  294,      121,   54,   54,   54,   54,   54,   54,   85,  117,  118,      129,  293,  126,   86,   62,   62,   62,   62,   62,   62,       62,   62,   62,   87,  117,  118,  121,   54,   54,   54,       54,   53,  126,   85,  292,  291,  129,  133,   58,   87,       60,   60,  290,  134,   54,   54,   54,   54,   54,   54,       54,   54,   54,  108,  125,  127,   54,   54,   54,   54,       54,   54,  122,  123,  136,  137,  143,  282,  135,  279,      125,  127,  138,  130,  278,  140,  275,  124,  131,  108,      136,  137,   54,   54,   54,   54,   94,  135,  122,   95,      132,  139,  143,  124,  140,  107,  107,  147,  138,  130,      148,  150,  131,  151,  152,  154,  132,  156,  297,  159,      164,  158,  161,  274,  271,  270,  148,  147,  178,  162,      152,  167,  269,  156,  179,  154,  164,  150,  268,  151,       96,  158,  161,   97,  297,  159,   98,  167,   99,  162,      100,  101,  170,  102,   96,   58,  172,  106,  106,  107,      107,  107,  107,  107,   61,   61,  176,  181,  263,  186,      108,  170,  172,  145,  145,  145,  145,  145,  145,  145,      145,  145,  145,  145,  145,  145,  145,  145,  145,  145,      145,  180,  176,  181,  182,  186,  108,  187,  192,  194,      195,  193,  202,  198,  203,  199,  204,  180,  200,  201,      212,  217,  219,  215,  182,  194,  195,  229,  220,  223,      234,  202,  204,  187,  235,  239,  205,  217,  206,  240,      203,  207,  208,  215,  241,  223,  212,  220,  219,  247,      246,  248,  249,  229,  235,  251,  234,  252,  253,  254,      255,  239,  264,  241,  265,  240,  246,  248,  249,  266,      267,  272,  277,  273,  251,  247,  255,  276,  253,  284,      265,  280,  281,  252,  283,  254,  267,  272,  264,  273,      285,  286,  287,  276,  288,  266,  289,  280,  277,  262,      283,  281,  261,  260,  259,  284,  258,  286,  287,  285,      257,  256,  289,  250,  288,   48,   48,   48,   48,   48,       48,   48,   48,   48,   48,   52,   52,   52,   52,   52,       52,   52,   52,   52,   52,   56,  245,  244,   56,   56,       56,   56,   57,  243,   57,   57,   57,   57,   57,   57,       57,   57,   61,   61,   65,   65,  242,  238,   65,   67,      237,  236,   67,   67,   67,   67,   92,  233,  232,   92,       92,   92,   92,   92,   92,   92,   93,   93,   93,   93,       93,   93,   93,   93,   93,   93,  103,  103,  103,   62,      231,   62,  110,  110,  110,  110,  110,  110,  110,  110,      110,  110,  112,  112,  112,  142,  142,  142,  145,  230,      145,  174,  174,  174,  228,  227,  226,  225,  222,  221,      218,  216,  214,  213,  211,  210,  209,  197,  196,  191,      190,  189,  188,  185,  184,  183,  177,  175,  173,  171,      169,  168,  166,  165,  163,  160,  157,  155,  153,  149,      146,  111,  144,  105,  141,  128,  115,  113,  111,  109,       58,  105,   90,   84,   83,   79,   78,   71,   70,   55,      297,    7,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297    } ;static yyconst short int yy_chk[658] =    {   0,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    3,    4,    3,    4,   17,       21,   17,   17,   19,   19,   19,   19,   19,   19,   19,       19,   19,   20,   26,   29,  294,   20,   30,   26,   22,       33,   31,   29,   75,   36,   55,   37,   45,  293,   71,       74,   31,   26,  191,   26,   41,   30,   69,   41,   33,       29,   55,   37,   75,    3,    4,    5,   31,   36,   21,       45,   31,   37,   69,   41,   71,   74,  191,   37,    5,        5,    5,    5,    5,    5,    5,    5,    5,   22,  292,       76,    5,    5,    5,    5,    5,    5,   40,   72,   73,       83,  290,   79,   40,   58,   58,   58,   58,   58,   58,       58,   58,   58,   40,   72,   73,   76,    5,    5,    5,        5,    6,   79,   40,  289,  288,   83,   85,   60,   40,       60,   60,  287,   85,    6,    6,    6,    6,    6,    6,        6,    6,    6,   60,   78,   81,    6,    6,    6,    6,        6,    6,   77,   77,   87,   88,  104,  275,   86,  269,       78,   81,   89,   84,  268,   90,  265,   77,   84,   60,       87,   88,    6,    6,    6,    6,   51,   86,   77,   51,       84,   89,  104,   77,   90,  107,  107,  115,   89,   84,      116,  118,   84,  119,  120,  122,   84,  124,  107,  127,      132,  126,  129,  264,  259,  258,  116,  115,  148,  130,      120,  135,  257,  124,  148,  122,  132,  118,  255,  119,       51,  126,  129,   51,  107,  127,   51,  135,   51,  130,       51,   51,  138,   51,   51,   59,  140,   59,   59,   59,       59,   59,   59,   59,   59,   59,  146,  150,  250,  155,       59,  138,  140,  144,  144,  144,  144,  144,  144,  144,      144,  144,  145,  145,  145,  145,  145,  145,  145,  145,      145,  149,  146,  150,  151,  155,   59,  156,  162,  163,      164,  162,  168,  167,  169,  167,  170,  149,  167,  167,      177,  184,  186,  181,  151,  163,  164,  196,  187,  190,      203,  168,  170,  156,  204,  210,  172,  184,  172,  211,      169,  172,  172,  181,  212,  190,  177,  187,  186,  220,      219,  222,  223,  196,  204,  227,  203,  228,  234,  235,      240,  210,  251,  212,  252,  211,  219,  222,  223,  253,      254,  261,  267,  263,  227,  220,  240,  266,  234,  277,      252,  270,  271,  228,  276,  235,  254,  261,  251,  263,      278,  279,  280,  266,  284,  253,  286,  270,  267,  249,      276,  271,  248,  247,  246,  277,  244,  279,  280,  278,      243,  242,  286,  224,  284,  298,  298,  298,  298,  298,      298,  298,  298,  298,  298,  299,  299,  299,  299,  299,      299,  299,  299,  299,  299,  300,  218,  216,  300,  300,      300,  300,  301,  215,  301,  301,  301,  301,  301,  301,      301,  301,  302,  302,  303,  303,  214,  207,  303,  304,      206,  205,  304,  304,  304,  304,  305,  202,  200,  305,      305,  305,  305,  305,  305,  305,  306,  306,  306,  306,      306,  306,  306,  306,  306,  306,  307,  307,  307,  308,      199,  308,  309,  309,  309,  309,  309,  309,  309,  309,      309,  309,  310,  310,  310,  311,  311,  311,  312,  198,      312,  313,  313,  313,  195,  194,  193,  192,  189,  188,      185,  182,  180,  178,  176,  175,  173,  166,  165,  161,      160,  159,  157,  154,  153,  152,  147,  143,  141,  139,      137,  136,  134,  133,  131,  128,  125,  123,  121,  117,      114,  110,  109,  105,   91,   82,   70,   68,   64,   62,       61,   57,   42,   39,   38,   35,   34,   28,   27,   12,        7,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,      297,  297,  297,  297,  297,  297,  297    } ;static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;static char *yy_full_match;static int yy_lp;#define REJECT \{ \*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \yy_cp = yy_full_match; /* restore poss. backed-over text */ \++yy_lp; \goto find_rule; \}#define yymore() yymore_used_but_not_detected#define YY_MORE_ADJ 0#define YY_RESTORE_YY_MORE_OFFSETchar *yytext;#line 1 "cimmof.l"#define INITIAL 0/*//%2006//////////////////////////////////////////////////////////////////////////// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation, The Open Group.// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; Symantec Corporation; The Open Group.//// Permission is hereby granted, free of charge, to any person obtaining a copy// of this software and associated documentation files (the "Software"), to// deal in the Software without restriction, including without limitation the// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or// sell copies of the Software, and to permit persons to whom the Software is// furnished to do so, subject to the following conditions:// // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.////============================================================================*/#define YY_NEVER_INTERACTIVE 1#define YY_STACK_USED 1#line 35 "cimmof.l"#include "cimmofParser.h"#include "memobjs.h"#include "cimmof_tab.h"/*                                                                       *//*  7/27/2004: bug 1330, support for slash* comments, E Boden, IBM       *//*  8/14/2004: bug 544,  support for string escape characters, E Boden   *//*                                                                       *//*                                                                       *//*                                                                       *//*---------------------------------------------------------------*//* These routines wrap certain flex functions, keeping down the  *//* number of external dependencies                               *//*---------------------------------------------------------------*/int get_yy_buf_size_wrapper() { return YY_BUF_SIZE; }void * get_cimmof__current_buffer_wrapper() {   return (void *)YY_CURRENT_BUFFER; }void * create_cimmof_buffer_wrapper(const FILE *f, int size) {  return (void *)yy_create_buffer((FILE *)f, size);}int switch_to_buffer_wrapper(void *buffstate, Boolean closeCurrent) {  if (closeCurrent)  {     if (yyin != NULL)     {        fflush(yyin);        fclose(yyin);        yyin = NULL;     }     yy_delete_buffer(YY_CURRENT_BUFFER);  }  yy_switch_to_buffer((YY_BUFFER_STATE)buffstate);  return 0;}char  strbuf[1024], *strbuf_p, slashx[2];#define myStr 1#define myHex 2#line 768 "cimmof_lex.cpp"/* Macros after this point can all be overridden by user definitions in * section 1. */#ifndef YY_SKIP_YYWRAP#ifdef __cplusplusextern "C" int yywrap YY_PROTO(( void ));#elseextern int yywrap YY_PROTO(( void ));#endif#endif#ifndef YY_NO_UNPUTstatic void yyunput YY_PROTO(( int c, char *buf_ptr ));#endif#ifndef yytext_ptrstatic void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));#endif#ifdef YY_NEED_STRLENstatic int yy_flex_strlen YY_PROTO(( yyconst char * ));#endif#ifndef YY_NO_INPUT#ifdef __cplusplusstatic int yyinput YY_PROTO(( void ));#elsestatic int input YY_PROTO(( void ));#endif#endif#if YY_STACK_USEDstatic int yy_start_stack_ptr = 0;static int yy_start_stack_depth = 0;static int *yy_start_stack = 0;#ifndef YY_NO_PUSH_STATEstatic void yy_push_state YY_PROTO(( int new_state ));#endif#ifndef YY_NO_POP_STATEstatic void yy_pop_state YY_PROTO(( void ));#endif#ifndef YY_NO_TOP_STATEstatic int yy_top_state YY_PROTO(( void ));#endif#else#define YY_NO_PUSH_STATE 1#define YY_NO_POP_STATE 1#define YY_NO_TOP_STATE 1#endif#ifdef YY_MALLOC_DECLYY_MALLOC_DECL#else#if __STDC__#ifndef __cplusplus#include <stdlib.h>#endif#else/* Just try to get by without declaring the routines.  This will fail * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) * or sizeof(void*) != sizeof(int). */#endif#endif/* Amount of stuff to slurp up with each read. */#ifndef YY_READ_BUF_SIZE#define YY_READ_BUF_SIZE 8192#endif/* Copy whatever the last rule matched to the standard output. */#ifndef ECHO/* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )#endif/* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL, * is returned in "result". */#ifndef YY_INPUT#define YY_INPUT(buf,result,max_size) \	if ( yy_current_buffer->yy_is_interactive ) \		{ \		int c = '*', n; \		for ( n = 0; n < max_size && \			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \			buf[n] = (char) c; \		if ( c == '\n' ) \			buf[n++] = (char) c; \		if ( c == EOF && ferror( yyin ) ) \			YY_FATAL_ERROR( "input in flex scanner failed" ); \		result = n; \		} \	else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \		  && ferror( yyin ) ) \		YY_FATAL_ERROR( "input in flex scanner failed" );#endif/* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */#ifndef yyterminate#define yyterminate() return YY_NULL#endif/* Number of entries by which start-condition stack grows. */#ifndef YY_START_STACK_INCR#define YY_START_STACK_INCR 25#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -