#include "ace/Svc_Conf.h"#include "ace/ARGV.h"#include "ace/Module.h"#include "ace/Stream.h"#include "ace/Service_Types.h"#include "ace/OS_NS_string.h"#include "ace/ace_wchar.h"#include <stdlib.h>Include dependency graph for Svc_Conf_y.cpp:

Go to the source code of this file.
Defines | |
| #define | ACE_YYBISON 1 |
| #define | ACE_YYSKELETON_NAME "yacc.c" |
| #define | ACE_YYPURE 1 |
| #define | ACE_YYLSP_NEEDED 0 |
| #define | ACE_DYNAMIC 258 |
| #define | ACE_STATIC 259 |
| #define | ACE_SUSPEND 260 |
| #define | ACE_RESUME 261 |
| #define | ACE_REMOVE 262 |
| #define | ACE_USTREAM 263 |
| #define | ACE_MODULE_T 264 |
| #define | ACE_STREAM_T 265 |
| #define | ACE_SVC_OBJ_T 266 |
| #define | ACE_ACTIVE 267 |
| #define | ACE_INACTIVE 268 |
| #define | ACE_PATHNAME 269 |
| #define | ACE_IDENT 270 |
| #define | ACE_STRING 271 |
| #define | ACE_YYDEBUG_LEXER_TEXT (ace_yytext[ace_yyleng] = '\0', ace_yytext) |
| #define | ACE_YYDEBUG 0 |
| #define | ACE_YYERROR_VERBOSE 0 |
| #define | ACE_YYFREE free |
| #define | ACE_YYMALLOC malloc |
| #define | ACE_YYSIZE_T size_t |
| #define | ACE_YYSTACK_ALLOC ACE_YYMALLOC |
| #define | ACE_YYSTACK_FREE ACE_YYFREE |
| #define | ACE_YYFINAL 2 |
| #define | ACE_YYLAST 62 |
| #define | ACE_YYNTOKENS 23 |
| #define | ACE_YYNNTS 21 |
| #define | ACE_YYNRULES 45 |
| #define | ACE_YYNSTATES 66 |
| #define | ACE_YYUNDEFTOK 2 |
| #define | ACE_YYMAXUTOK 271 |
| #define | ACE_YYTRANSLATE(ACE_YYX) ((unsigned int) (ACE_YYX) <= ACE_YYMAXUTOK ? ace_yytranslate[ACE_YYX] : ACE_YYUNDEFTOK) |
| #define | ACE_YYPACT_NINF -13 |
| #define | ACE_YYTABLE_NINF -1 |
| #define | ace_yyerrok (ace_yyerrstatus = 0) |
| #define | ace_yyclearin (ace_yychar = ACE_YYEMPTY) |
| #define | ACE_YYEMPTY (-2) |
| #define | ACE_YYEOF 0 |
| #define | ACE_YYACCEPT goto ace_yyacceptlab |
| #define | ACE_YYABORT goto ace_yyabortlab |
| #define | ACE_YYERROR goto ace_yyerrorlab |
| #define | ACE_YYFAIL goto ace_yyerrlab |
| #define | ACE_YYRECOVERING() (!!ace_yyerrstatus) |
| #define | ACE_YYBACKUP(Token, Value) |
| #define | ACE_YYTERROR 1 |
| #define | ACE_YYERRCODE 256 |
| #define | ACE_YYRHSLOC(Rhs, K) ((Rhs)[K]) |
| #define | ACE_YYLLOC_DEFAULT(Current, Rhs, N) |
| #define | ACE_YY_LOCATION_PRINT(File, Loc) ((void) 0) |
| #define | ACE_YYLEX ace_yylex (&ace_yylval, ACE_YYLEX_PARAM) |
| #define | ACE_YYDPRINTF(Args) |
| #define | ACE_YY_SYMBOL_PRINT(Title, Type, Value, Location) |
| #define | ACE_YY_STACK_PRINT(Bottom, Top) |
| #define | ACE_YY_REDUCE_PRINT(Rule) |
| #define | ACE_YYINITDEPTH 200 |
| #define | ACE_YYMAXDEPTH 10000 |
| #define | ACE_YYPOPSTACK (ace_yyvsp--, ace_yyssp--) |
Typedefs | |
| typedef signed char | ace_yysigned_char |
Enumerations | |
| enum | ace_yytokentype { ACE_DYNAMIC = 258, ACE_STATIC = 259, ACE_SUSPEND = 260, ACE_RESUME = 261, ACE_REMOVE = 262, ACE_USTREAM = 263, ACE_MODULE_T = 264, ACE_STREAM_T = 265, ACE_SVC_OBJ_T = 266, ACE_ACTIVE = 267, ACE_INACTIVE = 268, ACE_PATHNAME = 269, ACE_IDENT = 270, ACE_STRING = 271 } |
Functions | |
| ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Module_Type * | ace_get_module (const ACE_Service_Type *sr, const ACE_Service_Type *sv, int &ace_ace_yyerrno) |
| ACE_Module_Type * | ace_get_module (const ACE_Service_Type *sr, const ACE_TCHAR *svc_name, int &ace_ace_yyerrno) |
| void | ace_yydestruct (const char *ace_yymsg, int ace_yytype, ACE_YYSTYPE *ace_yyvaluep) |
| ACE_BEGIN_VERSIONED_NAMESPACE_DECL int | ace_yyparse (void *ACE_YYPARSE_PARAM) |
| void | ace_yyerror (int ace_yyerrno, int ace_yylineno, char const *s) |
| Error handling routine required by YACC or BISON. | |
Variables | |
| const unsigned char | ace_yytranslate [] |
| const unsigned char | ace_yyr1 [] |
| const unsigned char | ace_yyr2 [] |
| const unsigned char | ace_yydefact [] |
| const ace_yysigned_char | ace_yydefgoto [] |
| const ace_yysigned_char | ace_yypact [] |
| const ace_yysigned_char | ace_yypgoto [] |
| const unsigned char | ace_yytable [] |
| const ace_yysigned_char | ace_yycheck [] |
| const unsigned char | ace_yystos [] |
|
|
Definition at line 84 of file Svc_Conf_y.cpp. |
|
|
Definition at line 75 of file Svc_Conf_y.cpp. |
|
|
Definition at line 87 of file Svc_Conf_y.cpp. |
|
|
Definition at line 85 of file Svc_Conf_y.cpp. |
|
|
Definition at line 81 of file Svc_Conf_y.cpp. |
|
|
Definition at line 86 of file Svc_Conf_y.cpp. |
|
|
Definition at line 79 of file Svc_Conf_y.cpp. |
|
|
Definition at line 78 of file Svc_Conf_y.cpp. |
|
|
Definition at line 76 of file Svc_Conf_y.cpp. |
|
|
Definition at line 82 of file Svc_Conf_y.cpp. |
|
|
Definition at line 88 of file Svc_Conf_y.cpp. |
|
|
Definition at line 77 of file Svc_Conf_y.cpp. |
|
|
Definition at line 83 of file Svc_Conf_y.cpp. |
|
|
Definition at line 80 of file Svc_Conf_y.cpp. |
|
|
Definition at line 579 of file Svc_Conf_y.cpp. |
|
|
Definition at line 689 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 688 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 687 of file Svc_Conf_y.cpp. Referenced by ace_yydestruct(), and ace_yyparse(). |
|
|
Definition at line 508 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 507 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Value: do \ if (ace_yychar == ACE_YYEMPTY && ace_yylen == 1) \ { \ ace_yychar = (Token); \ ace_yylval = (Value); \ ace_yytoken = ACE_YYTRANSLATE (ace_yychar); \ ACE_YYPOPSTACK; \ goto ace_yybackup; \ } \ else \ { \ ace_yyerror (ACE_SVC_CONF_PARAM->yyerrno, ACE_SVC_CONF_PARAM->yylineno, "syntax error: cannot back up");\ ACE_YYERROR; \ } \ while (0) Definition at line 520 of file Svc_Conf_y.cpp. |
|
|
Definition at line 37 of file Svc_Conf_y.cpp. |
|
|
Definition at line 503 of file Svc_Conf_y.cpp. |
|
|
Definition at line 137 of file Svc_Conf_y.cpp. |
|
|
Definition at line 127 of file Svc_Conf_y.cpp. |
|
|
Definition at line 686 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 504 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 505 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 539 of file Svc_Conf_y.cpp. |
|
|
Definition at line 502 of file Svc_Conf_y.cpp. |
|
|
Definition at line 509 of file Svc_Conf_y.cpp. |
|
|
Definition at line 145 of file Svc_Conf_y.cpp. |
|
|
Definition at line 516 of file Svc_Conf_y.cpp. |
|
|
Definition at line 261 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 166 of file Svc_Conf_y.cpp. |
|
|
Definition at line 695 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 263 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 587 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Value: do \ if (N) \ { \ (Current).first_line = ACE_YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = ACE_YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = ACE_YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = ACE_YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ ACE_YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ ACE_YYRHSLOC (Rhs, 0).last_column; \ } \ while (0) Definition at line 548 of file Svc_Conf_y.cpp. |
|
|
Definition at line 46 of file Svc_Conf_y.cpp. |
|
|
Definition at line 169 of file Svc_Conf_y.cpp. |
|
|
Definition at line 706 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 276 of file Svc_Conf_y.cpp. |
|
|
Definition at line 268 of file Svc_Conf_y.cpp. |
|
|
Definition at line 270 of file Svc_Conf_y.cpp. |
|
|
Definition at line 272 of file Svc_Conf_y.cpp. |
|
|
Definition at line 266 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 426 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Referenced by ace_yyparse(). |
|
|
Definition at line 43 of file Svc_Conf_y.cpp. |
|
|
Definition at line 518 of file Svc_Conf_y.cpp. |
|
|
Definition at line 546 of file Svc_Conf_y.cpp. |
|
|
Definition at line 190 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 40 of file Svc_Conf_y.cpp. |
|
|
Definition at line 192 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 193 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 450 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 538 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 278 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 275 of file Svc_Conf_y.cpp. |
|
|
Definition at line 255 of file Svc_Conf_y.cpp. |
|
|
Definition at line 58 of file Svc_Conf_y.cpp.
00058 {
00059 ACE_DYNAMIC = 258,
00060 ACE_STATIC = 259,
00061 ACE_SUSPEND = 260,
00062 ACE_RESUME = 261,
00063 ACE_REMOVE = 262,
00064 ACE_USTREAM = 263,
00065 ACE_MODULE_T = 264,
00066 ACE_STREAM_T = 265,
00067 ACE_SVC_OBJ_T = 266,
00068 ACE_ACTIVE = 267,
00069 ACE_INACTIVE = 268,
00070 ACE_PATHNAME = 269,
00071 ACE_IDENT = 270,
00072 ACE_STRING = 271
00073 };
|
|
||||||||||||||||
|
Definition at line 1675 of file Svc_Conf_y.cpp. References ACE_ERROR, ACE_TCHAR, ACE_TEXT, LM_ERROR, ACE_Service_Type_Impl::name(), and ACE_Service_Type::type(). Referenced by ace_yyparse().
01678 {
01679 ACE_Service_Type_Impl const * const type = sr->type ();
01680 ACE_Stream_Type const * const st =
01681 (sr == 0
01682 ? 0
01683 : dynamic_cast<ACE_Stream_Type const *> (type));
01684 ACE_Module_Type const * const mt = (st == 0 ? 0 : st->find (svc_name));
01685
01686 if (sr == 0 || st == 0 || mt == 0)
01687 {
01688 ACE_ERROR ((LM_ERROR,
01689 ACE_TEXT ("cannot locate Module_Type %s ")
01690 ACE_TEXT ("in STREAM_Type %s\n"),
01691 svc_name,
01692 (sr ? sr->name () : ACE_TEXT ("(nil)"))));
01693 ++ace_yyerrno;
01694 }
01695
01696 return const_cast<ACE_Module_Type *> (mt);
01697 }
|
|
||||||||||||||||
|
Definition at line 1700 of file Svc_Conf_y.cpp. References ACE_DEBUG, ACE_ERROR, ACE_TCHAR, ACE_TEXT, LM_DEBUG, LM_ERROR, ACE_Module<>::name(), ACE_Service_Type_Impl::name(), ACE_Service_Type_Impl::object(), ACE_OS::strcmp(), and ACE_Service_Type::type().
01703 {
01704 ACE_Stream_Type const * const st =
01705 (sr == 0
01706 ? 0
01707 : static_cast<ACE_Stream_Type const *> (sr->type ()));
01708
01709 ACE_Module_Type const * const mt =
01710 static_cast <ACE_Module_Type const *> (sv->type ());
01711
01712 ACE_TCHAR const * const module_type_name =
01713 (mt ? mt->name () : ACE_TEXT ("(nil)"));
01714
01715 if (sr == 0 || st == 0 || mt == 0)
01716 {
01717 ACE_ERROR ((LM_ERROR,
01718 ACE_TEXT ("cannot locate Module_Type %s or STREAM_Type %s\n"),
01719 module_type_name,
01720 (sr ? sr->name () : ACE_TEXT ("(nil)"))));
01721 ++ace_yyerrno;
01722 }
01723
01724 // Make sure that the Module has the same name as the
01725 // Module_Type object from the svc.conf file.
01726 ACE_Module<ACE_SYNCH> * const mp =
01727 static_cast<ACE_Module<ACE_SYNCH> *> (mt ? mt->object () : 0);
01728
01729 if (mp && ACE_OS::strcmp (mp->name (), module_type_name) != 0)
01730 {
01731 ACE_DEBUG ((LM_DEBUG,
01732 ACE_TEXT ("warning: assigning Module_Type name %s to Module %s since names differ\n"),
01733 module_type_name,
01734 mp->name ()));
01735 mp->name (module_type_name);
01736 }
01737
01738 return const_cast<ACE_Module_Type *> (mt);
01739 }
|
|
||||||||||||||||
|
Definition at line 810 of file Svc_Conf_y.cpp. References ACE_YY_SYMBOL_PRINT. Referenced by ace_yyparse().
00818 {
00819 /* Pacify ``unused variable'' warnings. */
00820 (void) ace_yyvaluep;
00821 (void) ace_yytype;
00822
00823 if (!ace_yymsg)
00824 ace_yymsg = "Deleting";
00825 ACE_YY_SYMBOL_PRINT (ace_yymsg, ace_yytype, ace_yyvaluep, ace_yylocationp);
00826 }
|
|
||||||||||||||||
|
Error handling routine required by YACC or BISON.
Definition at line 1656 of file Svc_Conf_y.cpp. References ACE_ERROR, ACE_TEXT, ACE_TEXT_CHAR_TO_TCHAR, and LM_ERROR. Referenced by ace_yyparse(), ACE_Svc_Conf_Lexer::input(), ACE_Svc_Conf_Lexer::scan(), and ACE_Svc_Conf_Lexer::yylex().
01657 {
01658 #if defined (ACE_NLOGGING)
01659 ACE_UNUSED_ARG (ace_yyerrno);
01660 ACE_UNUSED_ARG (ace_yylineno);
01661 ACE_UNUSED_ARG (s);
01662 #endif /* ACE_NLOGGING */
01663
01664 ACE_ERROR ((LM_ERROR,
01665 ACE_TEXT ("ACE (%P|%t) [error %d] on line %d: %s\n"),
01666 ace_yyerrno,
01667 ace_yylineno,
01668 ACE_TEXT_CHAR_TO_TCHAR (s)));
01669 }
|
|
|
|
|
|
Initial value:
{
9, 9, 3, 4, 5, 6, 7, 3, 4, 14,
15, 16, 12, 13, 19, 17, 15, 18, 15, 15,
0, 1, 15, 3, 4, 5, 6, 7, 8, 15,
9, 10, 11, 15, 22, 16, 19, 22, 22, 15,
15, 53, 20, 20, 53, 53, 53, 21, 21, 53,
19, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 34
}
Definition at line 462 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
4, 0, 1, 3, 0, 0, 0, 0, 0, 0,
2, 5, 6, 7, 8, 9, 10, 0, 42, 42,
13, 14, 15, 17, 19, 20, 23, 0, 0, 0,
0, 41, 11, 12, 23, 21, 16, 38, 40, 39,
43, 44, 45, 0, 34, 0, 18, 25, 0, 32,
33, 31, 0, 0, 0, 35, 22, 26, 27, 28,
29, 30, 24, 37, 0, 36
}
Definition at line 405 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
-1, 1, 10, 11, 12, 13, 14, 15, 16, 34,
26, 36, 47, 53, 62, 18, 51, 44, 30, 32,
45
}
Definition at line 417 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
-13, 20, -13, -13, 1, 3, 7, 14, 18, 4,
-13, -13, -13, -13, -13, -13, -13, 21, 19, 19,
-13, -13, -13, -13, -13, -13, -2, 12, 15, 16,
-5, -13, -13, -13, -2, -13, -13, -13, -13, -13,
-13, -13, -13, 24, 0, 17, -13, -13, 22, -13,
-13, -13, 25, -1, 26, 23, -13, -13, -13, -13,
-13, -13, -13, -13, 27, -13
}
Definition at line 427 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
-13, -13, -13, -9, -8, -12, -7, -4, -13, -13,
-13, 28, -13, -13, -13, -13, -13, -13, -13, 31,
-13
}
Definition at line 439 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
0, 23, 24, 24, 24, 25, 25, 25, 25, 25,
25, 26, 27, 28, 29, 30, 31, 32, 31, 33,
33, 35, 34, 34, 36, 36, 37, 37, 37, 37,
37, 38, 39, 39, 39, 40, 40, 40, 41, 41,
41, 42, 42, 43, 43, 43
}
Definition at line 383 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
0, 2, 2, 2, 0, 1, 1, 1, 1, 1,
1, 3, 3, 2, 2, 2, 3, 0, 4, 1,
1, 0, 4, 0, 2, 0, 1, 1, 1, 1,
1, 4, 1, 1, 0, 3, 5, 4, 2, 2,
2, 1, 0, 1, 1, 1
}
Definition at line 393 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
0, 24, 0, 1, 3, 4, 5, 6, 7, 8,
25, 26, 27, 28, 29, 30, 31, 15, 38, 15,
15, 15, 15, 15, 26, 27, 33, 9, 10, 11,
41, 16, 42, 42, 32, 17, 34, 22, 22, 22,
14, 15, 16, 19, 40, 43, 34, 35, 15, 12,
13, 39, 19, 36, 20, 15, 18, 26, 27, 28,
29, 30, 37, 21, 20, 21
}
Definition at line 475 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Initial value:
{
24, 25, 4, 5, 6, 7, 8, 4, 5, 40,
41, 42, 49, 50, 43, 35, 17, 56, 19, 23,
2, 3, 20, 4, 5, 6, 7, 8, 9, 21,
27, 28, 29, 22, 37, 31, 52, 38, 39, 48,
55, 59, 54, 64, 57, 58, 60, 63, 65, 61,
33, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 46
}
Definition at line 451 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 282 of file Svc_Conf_y.cpp. |
1.3.6