Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/trunk/main/soltools/mkdepend/
H A Dmain.c162 int main(argc, argv) in main() argument
164 char **argv;
229 argv = nargv;
231 for(argc--, argv++; argc; argc--, argv++) {
237 if (**argv != '-') {
241 *fp++ = argv[0];
251 argv++;
281 argv++;
294 argv++;
303 argv++;
[all …]
/trunk/main/xml2cmp/source/support/
H A Dcmdline.cxx58 char * argv[] ) in CommandLine() argument
125 char * argv[] ) in GetParameter() argument
139 char * argv[] ) in ParseIndexCommand() argument
146 argv ); in ParseIndexCommand()
152 argv ); in ParseIndexCommand()
158 argv ); in ParseIndexCommand()
177 char * argv[] ) in ParseSingleFileCommand() argument
187 argv ); in ParseSingleFileCommand()
195 argv ); in ParseSingleFileCommand()
203 argv ); in ParseSingleFileCommand()
[all …]
/trunk/main/l10ntools/source/
H A Dhelpex.cxx62 sal_Bool ParseCommandLine( int argc, char* argv[]) in ParseCommandLine() argument
126 sInputFile = argv[ i ]; in ParseCommandLine()
131 sOutputFile = argv[ i ]; // the dest. file in ParseCommandLine()
135 sOutputFileX = argv[ i ]; // the dest. file in ParseCommandLine()
139 sOutputFileY = argv[ i ]; // the dest. file in ParseCommandLine()
143 sPrj = argv[ i ]; in ParseCommandLine()
152 sSDFFile = argv[ i ]; in ParseCommandLine()
157 Export::sLanguages = argv[ i ]; in ParseCommandLine()
201 int main( int argc, char *argv[] ) in main() argument
203 int _cdecl main( int argc, char *argv[] ) in main()
[all …]
H A Dgsiconv.cxx198 int main( int argc, char *argv[] ) in main() argument
200 int _cdecl main( int argc, char *argv[] ) in main()
210 if ( ByteString( argv[ 1 ] ) == "-p" ) { in main()
212 DirEntry aSource = DirEntry( String( argv[ 3 ], RTL_TEXTENCODING_ASCII_US )); in main()
223 String sGSI( argv[ 3 ], RTL_TEXTENCODING_ASCII_US ); in main()
232 sal_uLong nMaxLines = (sal_uLong) ByteString( argv[ 2 ] ).ToInt64(); in main()
305 if ( ByteString( argv[ 1 ] ) == "-t" || ByteString( argv[ 1 ] ) == "-f" ) { in main()
308 ByteString sCurLangId( argv[ 2 ] ); in main()
310 ByteString sCharset( argv[ 3 ] ); in main()
332 DirEntry aSource = DirEntry( String( argv[ 4 ], RTL_TEXTENCODING_ASCII_US )); in main()
[all …]
H A Dxrmmerge.cxx73 extern char *GetOutputFile( int argc, char* argv[]) in GetOutputFile() argument
90 if ( ByteString( argv[ i ] ).ToUpperAscii() == "-I" ) { in GetOutputFile()
93 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-O" ) { in GetOutputFile()
96 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-P" ) { in GetOutputFile()
99 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-R" ) { in GetOutputFile()
102 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-M" ) { in GetOutputFile()
129 sInputFileName = argv[ i ]; in GetOutputFile()
134 sOutputFile = argv[ i ]; // the dest. file in GetOutputFile()
138 sPrj = ByteString( argv[ i ]); in GetOutputFile()
146 sMergeSrc = ByteString( argv[ i ]); in GetOutputFile()
[all …]
H A Dlngex.cxx58 sal_Bool ParseCommandLine( int argc, char* argv[]) in ParseCommandLine() argument
75 ByteString sSwitch( argv[ i ] ); in ParseCommandLine()
118 sInputFile = argv[ i ]; in ParseCommandLine()
123 sOutputFile = argv[ i ]; // the dest. file in ParseCommandLine()
127 sPrj = argv[ i ]; in ParseCommandLine()
132 sPrjRoot = argv[ i ]; // path to project root in ParseCommandLine()
136 sMergeSrc = argv[ i ]; in ParseCommandLine()
141 Export::sLanguages = argv[ i ]; in ParseCommandLine()
179 int main( int argc, char *argv[] ) in main() argument
181 int _cdecl main( int argc, char *argv[] ) in main()
[all …]
H A Dgsicheck.cxx777 int main( int argc, char *argv[] ) in main() argument
779 int _cdecl main( int argc, char *argv[] ) in main()
804 if ( *argv[ i ] == '-' ) in main()
806 switch (*(argv[ i ]+1)) in main()
812 if ( (*(argv[ i ]+2)) == 'e' ) in main()
814 if ( (*(argv[ i ]+3)) == 'f' ) in main()
829 else if ( (*(argv[ i ]+2)) == 'c' ) in main()
830 if ( (*(argv[ i ]+3)) == 'f' ) in main()
845 if ( (*(argv[ i ]+3)) == 'f' ) in main()
894 aReferenceFilename = argv[ i+1 ]; in main()
[all …]
/trunk/main/soltools/ldump/
H A Dldump.cxx643 main( int argc, char **argv ) in main() argument
656 ( !strcmp( argv[ i ], "-h" )) || in main()
657 ( !strcmp( argv[ i ], "-?" ))) in main()
664 ( !strcmp( argv[ i ], "-lD3" ))) in main()
671 else if (( !strcmp( argv[ i ], "-E" )) || ( !strcmp( argv[ i ], "-e" ))) { in main()
677 else if (( !strcmp( argv[ i ], "-F" )) || ( !strcmp( argv[ i ], "-f" ))) { in main()
683 else if (( !strcmp( argv[ i ], "-A" )) || ( !strcmp( argv[ i ], "-a" ))) { in main()
691 else if (( !strcmp( argv[ i ], "-D" )) || ( !strcmp( argv[ i ], "-d" ))) { in main()
697 else if (( !strcmp( argv[ i ], "-N" )) || ( !strcmp( argv[ i ], "-n" ))) { in main()
703 else if (( !strcmp( argv[ i ], "-V" )) || ( !strcmp( argv[ i ], "-v" ))) { in main()
[all …]
/trunk/main/shell/source/win32/sysmail/
H A Dsenddoc.cxx199 void initParameter(int argc, char* argv[]) in initParameter() argument
203 if (!isKnownParameter(argv[i])) in initParameter()
219 if (_tcsicmp(argv[i], TEXT("--to")) == 0) in initParameter()
221 else if (_tcsicmp(argv[i], TEXT("--cc")) == 0) in initParameter()
223 else if (_tcsicmp(argv[i], TEXT("--bcc")) == 0) in initParameter()
226 gFrom = prefixEmailAddress(argv[i+1]); in initParameter()
228 gSubject = argv[i+1]; in initParameter()
230 gBody = argv[i+1]; in initParameter()
232 gAttachments.push_back(argv[i+1]); in initParameter()
246 int main(int argc, char* argv[]) in main() argument
[all …]
/trunk/main/registry/tools/
H A Dregview.cxx39 int main( int argc, char * argv[] ) in main() argument
41 int _cdecl main( int argc, char * argv[] ) in main()
53 OUString regName( convertToFileUrl(argv[1], strlen(argv[1])) ); in main()
56 fprintf(stderr, "open registry \"%s\" failed\n", argv[1]); in main()
64 OUString keyName( OUString::createFromAscii(argv[2]) ); in main()
69 fprintf(stderr, "dumping registry \"%s\" failed\n", argv[1]); in main()
75 argv[2], argv[1]); in main()
81 argv[2], argv[1]); in main()
88 fprintf(stderr, "dumping registry \"%s\" failed\n", argv[1]); in main()
99 fprintf(stderr, "open root key of registry \"%s\" failed\n", argv[1]); in main()
[all …]
/trunk/main/sdext/source/pdfimport/xpdfwrapper/
H A Dwrapper_gpl.cxx35 int main(int argc, char **argv) in main() argument
40 if (!strcmp(argv[k], "-f")) in main()
42 outputFile = argv[k+1]; in main()
45 argv[j] = argv[j+1]; in main()
47 else if (!strcmp(argv[k], "-opw")) in main()
49 ownerPassword = argv[k+1]; in main()
52 argv[j] = argv[j+1]; in main()
54 else if (!strcmp(argv[k], "-upw")) in main()
56 userPassword = argv[k+1]; in main()
59 argv[j] = argv[j+1]; in main()
[all …]
/trunk/main/shell/source/unix/misc/
H A Dsenddoc.c68 void dumpArgs( int argc, char *argv[] ) in dumpArgs() argument
74 logMessage( argv[i]); in dumpArgs()
81 int main(int argc, char *argv[] ) in main() argument
98 dumpArgs( argc, argv); in main()
112 dumpArgs( argc, argv); in main()
126 if (!strcmp( argv[i], "--mailclient")) { in main()
129 && strstr( argv[i+1], "mozilla") == 0 in main()
133 dumpArgs( argc, argv); in main()
141 strcat( szCmdLine, argv[i+1]); in main()
149 dumpArgs( argc, argv); in main()
[all …]
/trunk/main/sdext/source/pdfimport/test/
H A Dpdfunzip.cxx431 SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv ) in SAL_IMPLEMENT_MAIN_WITH_ARGS() argument
441 if( argv[nArg][0] == '-' ) in SAL_IMPLEMENT_MAIN_WITH_ARGS()
443 if( ! rtl_str_compare( "-pw", argv[nArg] ) || in SAL_IMPLEMENT_MAIN_WITH_ARGS()
452 pPassword = argv[nArg]; in SAL_IMPLEMENT_MAIN_WITH_ARGS()
455 ! rtl_str_compare( "--help", argv[nArg] ) ) in SAL_IMPLEMENT_MAIN_WITH_ARGS()
457 printHelp( argv[0] ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
477 rtl::OString aObjs( argv[nArg] ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
495 argv[nArg] ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
496 printHelp( argv[0] ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
501 pInFile = argv[nArg]; in SAL_IMPLEMENT_MAIN_WITH_ARGS()
[all …]
/trunk/main/desktop/source/pagein/
H A Dpagein.c57 int main (int argc, char **argv) in main() argument
67 argv[0]); in main()
76 if (argv[i][0] == '-') in main()
80 switch (argv[i][j]) in main()
84 for (v += 1, j += 1; argv[i][j]; j++) in main()
85 v += (argv[i][j] == 'v'); in main()
89 if (chdir (&(argv[i][2])) == -1) in main()
102 if ((argv[i][0] == '@') && ((fp = fopen (argv[i], "r")) == NULL)) in main()
105 if ((fp = fopen (&(argv[i][1]), "r")) == NULL) in main()
130 if (do_pagein (argv[i], &k) == 0) in main()
[all …]
/trunk/main/soltools/cpp/
H A D_getopt.c34 stgetopt(int argc, char *const argv[], const char *opts) in stgetopt() argument
43 argv[optind][0] != '-' || argv[optind][1] == '\0') in stgetopt()
45 else if (strcmp(argv[optind], "--") == 0) in stgetopt()
50 else if (strcmp(argv[optind], "-isysroot") == 0) in stgetopt()
56 optopt = c = argv[optind][sp]; in stgetopt()
60 if (argv[optind][++sp] == '\0') in stgetopt()
69 if (argv[optind][sp + 1] != '\0') in stgetopt()
70 optarg = &argv[optind++][sp + 1]; in stgetopt()
79 optarg = argv[optind++]; in stgetopt()
84 if (argv[optind][++sp] == '\0') in stgetopt()
H A D_unix.c59 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()
128 fprintf(stderr, "%s %s\n", argv[0], rcsid); in setup()
194 if ((fp = strrchr(argv[optind], '/')) != NULL) in setup()
196 int len = fp - argv[optind]; in setup()
198 dp = (char *) newstring((uchar *) argv[optind], len + 1, 0); in setup()
201 fp = (char *) newstring((uchar *) argv[optind], strlen(argv[optind]), 0); in setup()
208 int fdo = creat(argv[optind + 1], 0666); in setup()
211 error(FATAL, "Can't open output file %s", argv[optind + 1]); in setup()
/trunk/main/sal/systools/win32/kill/
H A Dkill.cxx280 TCHAR **argv = __targv; in ParseCommandArgs() local
286 if ( 0 == lstrcmpi( argv[argn], TEXT("-l") ) || in ParseCommandArgs()
287 0 == lstrcmpi( argv[argn], TEXT("/l") ) ) in ParseCommandArgs()
297 else if ( 0 == lstrcmpi( argv[argn], TEXT("-?") ) || in ParseCommandArgs()
298 0 == lstrcmpi( argv[argn], TEXT("/?") ) || in ParseCommandArgs()
299 0 == lstrcmpi( argv[argn], TEXT("-h") ) || in ParseCommandArgs()
300 0 == lstrcmpi( argv[argn], TEXT("/h") ) || in ParseCommandArgs()
316 else if ( argv[argn] && ( *argv[argn] == '-' || *argv[argn] == '/' ) ) in ParseCommandArgs()
318 LPCTSTR argsig = CharNext( argv[argn] ); in ParseCommandArgs()
339 argv[argn] ); in ParseCommandArgs()
[all …]
/trunk/main/setup_native/source/ulfconv/
H A Dulfconv.cxx239 int main( int argc, char * const argv[] ) in main() argument
253 if( argv[argi][0] == '-' && argv[argi][2] == '\0' ) in main()
255 switch(argv[argi][1]) { in main()
257 if (argi+1 >= argc || argv[argi+1][0] == '-') in main()
259 fprintf(stderr, "Option -%c requires an operand\n", argv[argi][1]); in main()
265 outfile = argv[argi]; in main()
268 if (argi+1 >= argc || argv[argi+1][0] == '-') in main()
275 read_encoding_table(argv[++argi], aEncodingMap); in main()
278 fprintf(stderr, "Unrecognized option: -%c\n", argv[argi][1]); in main()
296 istream = fopen(argv[argi], "r"); in main()
[all …]
/trunk/main/crashrep/source/unx/
H A Dmain.cxx607 if ( 0 == strcmp( argv[n], "-p" ) ) in setup_commandline_arguments()
610 pid = strtol( argv[n], NULL, 0 ); in setup_commandline_arguments()
612 else if ( 0 == strcmp( argv[n], "-s" ) ) in setup_commandline_arguments()
615 signal = strtol( argv[n], NULL, 0 ); in setup_commandline_arguments()
621 else if ( 0 == strcmp( argv[n], "-xml" ) ) in setup_commandline_arguments()
624 g_strXMLFileName = argv[n]; in setup_commandline_arguments()
629 g_strPStackFileName = argv[n]; in setup_commandline_arguments()
634 g_strChecksumFileName = argv[n]; in setup_commandline_arguments()
648 else if ( argv[n] && strlen(argv[n]) ) in setup_commandline_arguments()
1051 int main( int argc, char** argv ) in main() argument
[all …]
/trunk/main/i18npool/source/search/
H A Dlevdis.cxx625 int main( int argc, char **argv ) in main() argument
636 , argv[0]); in main()
639 if ( *argv[1] == '-' ) in main()
643 switch ( *(argv[1]+1) ) in main()
661 nLim = atoi(argv[args+2]); in main()
666 nP0 = atoi(argv[args+3]); in main()
667 nQ0 = atoi(argv[args+4]); in main()
668 nR0 = atoi(argv[args+5]); in main()
686 nX = atoi(argv[args+2]); in main()
687 nY = atoi(argv[args+3]); in main()
[all …]
/trunk/main/rsc/source/prj/
H A Dgui.cxx54 RscVerbosity lcl_determineVerbosity( int argc, char ** argv ) argument
58 if ( argv[i] == NULL )
60 if ( rsc_stricmp( argv[i], "-verbose" ) == 0 )
62 if ( rsc_stricmp( argv[i], "-quiet" ) == 0 )
68 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { argument
77 fprintf( stderr, "debugging %s\n", argv[0] );
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 );
/trunk/main/tools/bootstrp/
H A Diserver.cxx34 int main( int argc, char *argv[] ) in main() argument
36 int _cdecl main( int argc, char *argv[] ) in main()
60 if ( ByteString( argv[nCount] ).ToUpperAscii() == "-I" ) { in main()
64 sInfo = ByteString( argv[nCount] ); in main()
69 else if ( ByteString( argv[nCount] ).ToUpperAscii() == "-D" ) { in main()
73 sDataBase = ByteString( argv[nCount] ); in main()
78 else if ( ByteString( argv[nCount] ).ToUpperAscii() == "-L" ) { in main()
83 else if ( ByteString( argv[nCount] ).ToUpperAscii() == "-N" ) { in main()
142 fprintf( stderr, "%s: Fehler in der Kommandozeile!", argv[0] ); in main()
/trunk/main/cpputools/source/regsingleton/
H A Dregsingleton.cxx50 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) in SAL_IMPLEMENT_MAIN_WITH_ARGS() argument
61 if ('-' == argv[ nPos ][ 0 ] && 'r' == argv[ nPos ][ 1 ]) in SAL_IMPLEMENT_MAIN_WITH_ARGS()
63 if ('a' == argv[ nPos ][ 2 ] && '\0' == argv[ nPos ][ 3 ]) in SAL_IMPLEMENT_MAIN_WITH_ARGS()
67 else if ('\0' != argv[ nPos ][ 2 ]) in SAL_IMPLEMENT_MAIN_WITH_ARGS()
76 OUString sys_path( OUString::createFromAscii( argv[ nPos ] ) ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
81 fprintf( stderr, "\nerror: cannot make file url out of %s\n", argv[ nPos ] ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
115 OUString singleton( OUString::createFromAscii( argv[ nPos ] ) ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
/trunk/main/rsc/source/rscpp/
H A Dcpp3.c212 dooptions(int argc, char** argv) argument
229 arg = ap = argv[i];
233 argv[j++] = argv[i];
261 dp = defendel(argv[i] + 2, FALSE);
303 cwarn("-S, too few values specified in %s", argv[i]);
516 getredirection(argc, argv) argument
518 char **argv;
545 switch (*(ap = argv[i])) {
586 argv[j++] = ap; /* Not a redirector */
590 argv[j] = NULL; /* Terminate argv[] */
/trunk/main/crashrep/source/win32/
H A Dsoreport.cpp2052 argv[i]=cptr; in ParseCommandArgs()
2059 argv[i]=cptr; in ParseCommandArgs()
2062 TCHAR **argv = __argv; in ParseCommandArgs() local
2065 TCHAR **argv = __targv; in ParseCommandArgs() local
2101 0 == _tcsicmp( argv[argn], _T("/p") ) ) in ParseCommandArgs()
2836 char **argv = __argv; in WinMain() local
2839 char **argv = new char *[argc + 1]; in WinMain() local
2844 argv[argn] = new char[nBytes]; in WinMain()
2847 argv[argc] = NULL; in WinMain()
2849 char **argv = __targv; in WinMain() local
[all …]

Completed in 158 milliseconds

12345678910>>...13