Home
last modified time | relevance | path

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

12345678910

/aoo4110/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 …]
/aoo4110/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 …]
/aoo4110/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()
844 else if ( (*(argv[ i ]+2)) == 'f' ) in main()
845 if ( (*(argv[ i ]+3)) == 'f' ) in main()
[all …]
/aoo4110/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 …]
/aoo4110/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 …]
/aoo4110/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 …]
/aoo4110/main/sdext/source/pdfimport/xpdfwrapper/
H A Dwrapper_gpl.cxx51 int main(int argc, char **argv) in main() argument
55 if( !parseArgs(argDesc, &argc, argv) ) in main()
61 if (!strcmp(argv[k], "-f")) in main()
63 outputFile = argv[k+1]; in main()
66 argv[j] = argv[j+1]; in main()
68 else if (!strcmp(argv[k], "-opw")) in main()
70 ownerPassword = argv[k+1]; in main()
73 argv[j] = argv[j+1]; in main()
75 else if (!strcmp(argv[k], "-upw")) in main()
77 userPassword = argv[k+1]; in main()
[all …]
/aoo4110/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 …]
/aoo4110/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")) == 0)) in main()
105 if ((fp = fopen (&(argv[i][1]), "r")) == 0) in main()
130 if (do_pagein (argv[i], &k) == 0) in main()
[all …]
/aoo4110/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 …]
/aoo4110/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()
/aoo4110/main/sal/systools/win32/kill/
H A Dkill.cxx259 TCHAR **argv = __targv; in ParseCommandArgs() local
265 if ( 0 == lstrcmpi( argv[argn], TEXT("-l") ) || in ParseCommandArgs()
266 0 == lstrcmpi( argv[argn], TEXT("/l") ) ) in ParseCommandArgs()
276 else if ( 0 == lstrcmpi( argv[argn], TEXT("-?") ) || in ParseCommandArgs()
277 0 == lstrcmpi( argv[argn], TEXT("/?") ) || in ParseCommandArgs()
278 0 == lstrcmpi( argv[argn], TEXT("-h") ) || in ParseCommandArgs()
279 0 == lstrcmpi( argv[argn], TEXT("/h") ) || in ParseCommandArgs()
295 else if ( argv[argn] && ( *argv[argn] == '-' || *argv[argn] == '/' ) ) in ParseCommandArgs()
297 LPCTSTR argsig = CharNext( argv[argn] ); in ParseCommandArgs()
318 argv[argn] ); in ParseCommandArgs()
[all …]
/aoo4110/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 …]
/aoo4110/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 …]
/aoo4110/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 …]
/aoo4110/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 );
/aoo4110/main/sal/inc/sal/
H A Dmain.h33 void SAL_CALL sal_detail_initialize(int argc, char ** argv);
51 osl_setCommandArgs(argc, argv);
57 int SAL_CALL main(int argc, char ** argv) \
60 sal_detail_initialize(argc, argv); \
61 ret = sal_main_with_args(argc, argv); \
67 int SAL_CALL main(int argc, char ** argv) \
70 sal_detail_initialize(argc, argv); \
117 int argc = __argc; char ** argv = __argv; \
119 return main(argc, argv); \
/aoo4110/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()
/aoo4110/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()
/aoo4110/main/rsc/source/rscpp/
H A Dcpp3.c216 dooptions(int argc, char** argv) argument
233 arg = ap = argv[i];
237 argv[j++] = argv[i];
265 dp = defendel(argv[i] + 2, FALSE);
307 cwarn("-S, too few values specified in %s", argv[i]);
520 getredirection(argc, argv) argument
522 char **argv;
549 switch (*(ap = argv[i])) {
590 argv[j++] = ap; /* Not a redirector */
594 argv[j] = NULL; /* Terminate argv[] */

Completed in 83 milliseconds

12345678910