#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, const char *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 81 of file Svc_Conf_y.cpp. |
|
|
Definition at line 72 of file Svc_Conf_y.cpp. |
|
|
Definition at line 84 of file Svc_Conf_y.cpp. |
|
|
Definition at line 82 of file Svc_Conf_y.cpp. |
|
|
Definition at line 78 of file Svc_Conf_y.cpp. |
|
|
Definition at line 83 of file Svc_Conf_y.cpp. |
|
|
Definition at line 76 of file Svc_Conf_y.cpp. |
|
|
Definition at line 75 of file Svc_Conf_y.cpp. |
|
|
Definition at line 73 of file Svc_Conf_y.cpp. |
|
|
Definition at line 79 of file Svc_Conf_y.cpp. |
|
|
Definition at line 85 of file Svc_Conf_y.cpp. |
|
|
Definition at line 74 of file Svc_Conf_y.cpp. |
|
|
Definition at line 80 of file Svc_Conf_y.cpp. |
|
|
Definition at line 77 of file Svc_Conf_y.cpp. |
|
|
Definition at line 576 of file Svc_Conf_y.cpp. |
|
|
Definition at line 678 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 677 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 676 of file Svc_Conf_y.cpp. Referenced by ace_yydestruct(), and ace_yyparse(). |
|
|
Definition at line 505 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 504 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 517 of file Svc_Conf_y.cpp. |
|
|
Definition at line 37 of file Svc_Conf_y.cpp. |
|
|
Definition at line 500 of file Svc_Conf_y.cpp. |
|
|
Definition at line 134 of file Svc_Conf_y.cpp. |
|
|
Definition at line 124 of file Svc_Conf_y.cpp. |
|
|
Definition at line 675 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 501 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 502 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 536 of file Svc_Conf_y.cpp. |
|
|
Definition at line 499 of file Svc_Conf_y.cpp. |
|
|
Definition at line 506 of file Svc_Conf_y.cpp. |
|
|
Definition at line 142 of file Svc_Conf_y.cpp. |
|
|
Definition at line 513 of file Svc_Conf_y.cpp. |
|
|
Definition at line 258 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 163 of file Svc_Conf_y.cpp. |
|
|
Definition at line 684 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 260 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 584 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 545 of file Svc_Conf_y.cpp. |
|
|
Definition at line 46 of file Svc_Conf_y.cpp. |
|
|
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 273 of file Svc_Conf_y.cpp. |
|
|
Definition at line 265 of file Svc_Conf_y.cpp. |
|
|
Definition at line 267 of file Svc_Conf_y.cpp. |
|
|
Definition at line 269 of file Svc_Conf_y.cpp. |
|
|
Definition at line 263 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 423 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 515 of file Svc_Conf_y.cpp. |
|
|
Definition at line 543 of file Svc_Conf_y.cpp. |
|
|
Definition at line 187 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 40 of file Svc_Conf_y.cpp. |
|
|
Definition at line 189 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 190 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 447 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 535 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 275 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 272 of file Svc_Conf_y.cpp. |
|
|
Definition at line 252 of file Svc_Conf_y.cpp. |
|
|
Definition at line 55 of file Svc_Conf_y.cpp.
00055 {
00056 ACE_DYNAMIC = 258,
00057 ACE_STATIC = 259,
00058 ACE_SUSPEND = 260,
00059 ACE_RESUME = 261,
00060 ACE_REMOVE = 262,
00061 ACE_USTREAM = 263,
00062 ACE_MODULE_T = 264,
00063 ACE_STREAM_T = 265,
00064 ACE_SVC_OBJ_T = 266,
00065 ACE_ACTIVE = 267,
00066 ACE_INACTIVE = 268,
00067 ACE_PATHNAME = 269,
00068 ACE_IDENT = 270,
00069 ACE_STRING = 271
00070 };
|
|
||||||||||||||||
|
Definition at line 1662 of file Svc_Conf_y.cpp. References ACE_ERROR, ACE_LIB_TEXT, ACE_TCHAR, LM_ERROR, ACE_Service_Type_Impl::name(), and ACE_Service_Type::type(). Referenced by ace_yyparse().
01665 {
01666 const ACE_Service_Type_Impl *type = sr->type ();
01667 ACE_Stream_Type *st = sr == 0
01668 ? 0
01669 : dynamic_cast<ACE_Stream_Type *> (const_cast<ACE_Service_Type_Impl *> (type));
01670 ACE_Module_Type *mt = st == 0 ? 0 : st->find (svc_name);
01671
01672 if (sr == 0 || st == 0 || mt == 0)
01673 {
01674 ACE_ERROR ((LM_ERROR,
01675 ACE_LIB_TEXT ("cannot locate Module_Type %s in STREAM_Type %s\n"),
01676 svc_name,
01677 sr->name ()));
01678 ace_yyerrno++;
01679 }
01680
01681 return mt;
01682 }
|
|
||||||||||||||||
|
Definition at line 1685 of file Svc_Conf_y.cpp. References ACE_DEBUG, ACE_ERROR, ACE_LIB_TEXT, ACE_TCHAR, 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().
01688 {
01689 const ACE_Service_Type_Impl *type = sr->type ();
01690 ACE_Stream_Type *st = sr == 0 ? 0 : (ACE_Stream_Type *) type;
01691
01692 type = sv->type ();
01693 ACE_Module_Type *mt = (ACE_Module_Type *) type;
01694 const ACE_TCHAR *module_type_name = sr->name ();
01695
01696 if (sr == 0 || st == 0 || mt == 0)
01697 {
01698 ACE_ERROR ((LM_ERROR,
01699 ACE_LIB_TEXT ("cannot locate Module_Type %s or STREAM_Type %s\n"),
01700 module_type_name,
01701 sr->name ()));
01702 ace_yyerrno++;
01703 }
01704
01705 // Make sure that the Module has the same name as the
01706 // Module_Type object from the svc.conf file.
01707 ACE_Module<ACE_SYNCH> *mp = (ACE_Module<ACE_SYNCH> *) mt->object ();
01708
01709 if (ACE_OS::strcmp (mp->name (), module_type_name) != 0)
01710 {
01711 ACE_DEBUG ((LM_DEBUG,
01712 ACE_LIB_TEXT ("warning: assigning Module_Type name %s to Module %s since names differ\n"),
01713 module_type_name,
01714 mp->name ()));
01715 mp->name (module_type_name);
01716 }
01717
01718 return mt;
01719 }
|
|
||||||||||||||||
|
Definition at line 799 of file Svc_Conf_y.cpp. References ACE_YY_SYMBOL_PRINT. Referenced by ace_yyparse().
00807 {
00808 /* Pacify ``unused variable'' warnings. */
00809 (void) ace_yyvaluep;
00810 (void) ace_yytype;
00811
00812 if (!ace_yymsg)
00813 ace_yymsg = "Deleting";
00814 ACE_YY_SYMBOL_PRINT (ace_yymsg, ace_yytype, ace_yyvaluep, ace_yylocationp);
00815 }
|
|
||||||||||||||||
|
Error handling routine required by YACC or BISON.
Definition at line 1643 of file Svc_Conf_y.cpp. References ACE_ERROR, ACE_LIB_TEXT, and LM_ERROR. Referenced by ace_yyparse(), ACE_Svc_Conf_Lexer::input(), ACE_Svc_Conf_Lexer::scan(), and ACE_Svc_Conf_Lexer::yylex().
01644 {
01645 #if defined (ACE_NLOGGING)
01646 ACE_UNUSED_ARG (ace_yyerrno);
01647 ACE_UNUSED_ARG (ace_yylineno);
01648 ACE_UNUSED_ARG (s);
01649 #endif /* ACE_NLOGGING */
01650
01651 ACE_ERROR ((LM_ERROR,
01652 ACE_LIB_TEXT ("[error %d] on line %d: %s\n"),
01653 ace_yyerrno,
01654 ace_yylineno,
01655 s));
01656 }
|
|
|
|
|
|
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 459 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 402 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 414 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 424 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 436 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 380 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 390 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 472 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 448 of file Svc_Conf_y.cpp. Referenced by ace_yyparse(). |
|
|
Definition at line 279 of file Svc_Conf_y.cpp. |
1.3.6