/aoo42x/main/xml2cmp/source/support/ |
H A D | cmdline.cxx | 64 if ( argc < 2 ) in CommandLine() 80 ParseIndexCommand(argc,argv); in CommandLine() 124 int argc, in GetParameter() argument 128 if( io_pCountArg < argc ) in GetParameter() 145 argc, in ParseIndexCommand() 151 argc, in ParseIndexCommand() 157 argc, in ParseIndexCommand() 186 argc, in ParseSingleFileCommand() 194 argc, in ParseSingleFileCommand() 202 argc, in ParseSingleFileCommand() [all …]
|
/aoo42x/main/soltools/mkdepend/ |
H A D | main.c | 162 int main(argc, argv) in main() argument 163 int argc; in main() 226 argc = 1; 231 for(argc--, argv++; argc; argc--, argv++) { 252 argc--; 267 argc--; 282 argc--; 295 argc--; 304 argc--; 322 argc--; [all …]
|
/aoo42x/main/shell/source/unix/misc/ |
H A D | senddoc.c | 68 void dumpArgs( int argc, char *argv[] ) in dumpArgs() argument 73 for( i=0; i<argc; i++) in dumpArgs() 81 int main(int argc, char *argv[] ) in main() argument 95 if (argc < 5) in main() 98 dumpArgs( argc, argv); in main() 112 dumpArgs( argc, argv); in main() 124 for( i=1; i<argc; i++) in main() 133 dumpArgs( argc, argv); in main() 149 dumpArgs( argc, argv); in main() 193 dumpArgs( argc, argv); in main()
|
H A D | open-url.c | 68 void dumpArgs( int argc, char *argv[] ) in dumpArgs() argument 73 for( i=0; i<argc; i++) in dumpArgs() 81 int main(int argc, char *argv[] ) in main() argument 93 if (argc != 2) in main() 96 dumpArgs( argc, argv); in main() 110 dumpArgs( argc, argv); in main() 161 dumpArgs( argc, argv); in main()
|
/aoo42x/main/sdext/source/pdfimport/xpdfwrapper/ |
H A D | wrapper_gpl.cxx | 35 int main(int argc, char **argv) in main() argument 38 while (k < argc) in main() 43 --argc; in main() 44 for (int j = k; j < argc; ++j) in main() 50 --argc; in main() 51 for (int j = k; j < argc; ++j) in main() 57 --argc; in main() 58 for (int j = k; j < argc; ++j) in main() 64 if( argc < 2 ) in main()
|
/aoo42x/main/ucb/source/ucp/odma/ |
H A D | odma_main.cxx | 40 void main( int argc, char * argv[] ) in main() argument 42 void _cdecl main( int argc, char * argv[] ) in main() 46 if(argc > 1) in main() 48 ::rtl::OUString* pArguments = new ::rtl::OUString[argc-1]; in main() 49 for(int i = 0; i < argc-1; ++i) in main() 64 rtl_uString ** ustrArgumentList = new rtl_uString * [argc-1]; in main() 65 for (int i = 0; i < argc-1; i++) in main() 73 argc-1, in main()
|
/aoo42x/main/sal/inc/sal/ |
H A D | main.h | 33 void SAL_CALL sal_detail_initialize(int argc, char ** argv); 37 int SAL_CALL main(int argc, char ** argv) \ 40 sal_detail_initialize(argc, argv); \ 41 ret = sal_main_with_args(argc, argv); \ 47 int SAL_CALL main(int argc, char ** argv) \ 50 sal_detail_initialize(argc, argv); \ 97 int argc = __argc; char ** argv = __argv; \ 99 return main(argc, argv); \
|
/aoo42x/main/desktop/win32/source/officeloader/ |
H A D | officeloader.cxx | 209 int argc = 0; in WinMain() local 274 int argc = 0; in WinMain() local 275 LPWSTR *argv = CommandLineToArgvW( GetCommandLine(), &argc ); in WinMain() 287 for ( int argn = 1; fSuccess && argn < argc; argn++ ) in WinMain() 318 argv = GetCommandArgs(&argc); in WinMain() 320 for (int i = 1; i < argc; ++i) { in WinMain() 332 for (int i = 1; i < argc; ++i) { in WinMain() 359 int argc; in WinMain() local 360 LPTSTR *argv = GetCommandArgs( &argc ); in WinMain() 362 if ( argc > 1 ) in WinMain() [all …]
|
/aoo42x/main/cpputools/source/sp2bv/ |
H A D | sp2bv.cxx | 35 static sal_Bool hasOption(char const * szOption, int argc, char** argv); 57 int main(int argc, char **argv) in main() argument 59 if( hasOption("--help",argc, argv) || hasOption("-h", argc, argv)) in main() 65 if (argc != 2) in main() 120 static sal_Bool hasOption(char const * szOption, int argc, char** argv) in hasOption() argument 123 for(sal_Int16 i= 1; i < argc; i++) in hasOption()
|
/aoo42x/main/rsc/source/prj/ |
H A D | gui.cxx | 54 RscVerbosity lcl_determineVerbosity( int argc, char ** argv ) argument 56 for ( int i = 0; i < argc; ++i ) 68 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { argument 83 RscError* pErrHdl = new RscError( lcl_determineVerbosity( argc, argv ) ); 85 RscCmdLine* pCmdLine = new RscCmdLine( argc, (char **)argv, pErrHdl ); 87 RscCmdLine* pCmdLine = new RscCmdLine( argc, argv, pErrHdl );
|
/aoo42x/main/desktop/win32/source/ |
H A D | unoinfo.cxx | 76 int main(int argc, char ** argv, char **) { argument 77 if (argc == 2 && strcmp(argv[1], "c++") == 0) { 79 int wmain(int argc, wchar_t ** argv, wchar_t **) { 80 if (argc == 2 && wcscmp(argv[1], L"c++") == 0) { 91 } else if (argc == 2 && strcmp(argv[1], "java") == 0) { 93 } else if (argc == 2 && wcscmp(argv[1], L"java") == 0) {
|
/aoo42x/main/tools/bootstrp/ |
H A D | iserver.cxx | 34 int main( int argc, char *argv[] ) in main() argument 36 int _cdecl main( int argc, char *argv[] ) in main() 40 if ( argc == 1 ) { in main() 57 while (( nCount < argc ) && in main() 63 if( nCount < argc ) { in main() 72 if( nCount < argc ) { in main()
|
/aoo42x/main/jvmfwk/plugins/sunmajor/javaenvsetup/ |
H A D | javaldx.cxx | 41 static sal_Bool hasOption(char const * szOption, int argc, char** argv); 55 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) in SAL_IMPLEMENT_MAIN_WITH_ARGS() argument 57 if( hasOption("--help",argc, argv) || hasOption("-h", argc, argv)) in SAL_IMPLEMENT_MAIN_WITH_ARGS() 159 static sal_Bool hasOption(char const * szOption, int argc, char** argv) in hasOption() argument 162 for(sal_Int16 i= 1; i < argc; i++) in hasOption()
|
/aoo42x/main/registry/tools/ |
H A D | regview.cxx | 39 int main( int argc, char * argv[] ) in main() argument 41 int _cdecl main( int argc, char * argv[] ) in main() 47 if (argc < 2 || argc > 3) in main() 62 if (argc == 3) in main()
|
/aoo42x/main/i18npool/source/search/ |
H A D | levdis.cxx | 625 int main( int argc, char **argv ) in main() argument 631 if ( argc < 2 ) in main() 642 argc--; in main() 660 if ( argc > 2 ) in main() 664 if ( argc > 3 ) in main() 676 if ( argc > 6 ) in main() 684 if ( argc > 2 ) in main() 696 if ( argc > 5 ) in main() 698 if ( argc > 6 ) in main()
|
/aoo42x/main/l10ntools/source/ |
H A D | lngex.cxx | 58 sal_Bool ParseCommandLine( int argc, char* argv[]) in ParseCommandLine() argument 74 for( int i = 1; i < argc; i++ ) { in ParseCommandLine() 179 int main( int argc, char *argv[] ) in main() argument 181 int _cdecl main( int argc, char *argv[] ) in main() 185 if ( !ParseCommandLine( argc, argv )) { in main()
|
H A D | helpex.cxx | 62 sal_Bool ParseCommandLine( int argc, char* argv[]) in ParseCommandLine() argument 78 for( int i = 1; i < argc; i++ ) { in ParseCommandLine() 201 int main( int argc, char *argv[] ) in main() argument 203 int _cdecl main( int argc, char *argv[] ) in main() 208 if ( !ParseCommandLine( argc, argv )) { in main()
|
/aoo42x/main/soltools/cpp/ |
H A D | _unix.c | 59 setup(int argc, char **argv) in setup() argument 67 while ((c = stgetopt(argc, argv, "NOPV:I:D:U:F:A:X:u:l:+")) != -1) in setup() 69 while ((c = getopt(argc, argv, "NOPV:I:D:U:F:A:X:u:l:+")) != -1) in setup() 192 if (optind < argc) in setup() 206 if (optind + 1 < argc) in setup()
|
/aoo42x/main/crashrep/source/unx/ |
H A D | main.cxx | 600 static long setup_commandline_arguments( int argc, char** argv, int *pSignal ) in setup_commandline_arguments() argument 605 for ( int n = 1; n < argc; n++ ) in setup_commandline_arguments() 609 if ( ++n < argc ) in setup_commandline_arguments() 614 if ( ++n < argc ) in setup_commandline_arguments() 623 if ( ++n < argc ) in setup_commandline_arguments() 628 if ( ++n < argc ) in setup_commandline_arguments() 633 if ( ++n < argc ) in setup_commandline_arguments() 1051 int main( int argc, char** argv ) in main() argument 1061 /*long pid =*/ setup_commandline_arguments( argc, argv, &g_signal ); in main()
|
/aoo42x/main/sal/osl/w32/ |
H A D | process.cxx | 265 static rtl_uString ** osl_createCommandArgs_Impl (int argc, char ** argv) in osl_createCommandArgs_Impl() argument 268 (rtl_uString**)rtl_allocateZeroMemory (argc * sizeof(rtl_uString*)); in osl_createCommandArgs_Impl() 274 OSL_ASSERT( nArgs == argc ); in osl_createCommandArgs_Impl() 372 void SAL_CALL osl_setCommandArgs (int argc, char ** argv) in osl_setCommandArgs() argument 374 OSL_ASSERT(argc > 0); in osl_setCommandArgs() 378 rtl_uString** ppArgs = osl_createCommandArgs_Impl (argc, argv); in osl_setCommandArgs() 381 g_command_args.m_nCount = argc; in osl_setCommandArgs()
|
/aoo42x/main/rsc/source/rscpp/ |
H A D | cppmain.c | 31 int main( argc, argv ) in main() argument 32 int argc; in main() 36 ( start_cpp( argc, argv ) ); 39 return( start_cpp( argc, argv ) );
|
/aoo42x/main/autodoc/inc/cosv/ |
H A D | comdline.hxx | 39 int argc, 46 int argc, 54 CommandLine_Ifc::Init( int argc, in Init() argument 56 { do_Init( argc, argv ); } in Init()
|
/aoo42x/main/soltools/checkdll/ |
H A D | checkdll.c | 47 int main(int argc, char *argv[]) in main() argument 54 if ( argc < 2 || argc > 4) { in main() 61 ++argv, --argc; in main()
|
/aoo42x/main/autodoc/source/cosv/service/ |
H A D | commandline.cxx | 112 CommandLine::Interpret( int argc, in Interpret() argument 115 Get_Arguments(argc,argv); in Interpret() 162 CommandLine::Get_Arguments( int argc, in Get_Arguments() argument 166 aCommandLine.reserve(argc); in Get_Arguments() 168 char ** pArgEnd = argv + argc; in Get_Arguments()
|
/aoo42x/main/xmerge/source/regutil/ |
H A D | regutil.cpp | 36 int main(int argc, char* argv[]) in main() argument 41 if (argc < 2 || argc > 3) in main() 48 if (argc == 3) in main()
|