Lines Matching refs:i
68 sal_Int32 i = url.lastIndexOf('/'); in replacePrefix() local
71 if (i == -1) { in replacePrefix()
72 i = url.lastIndexOf('\\'); in replacePrefix()
74 return prefix + url.copy(i + 1); in replacePrefix()
199 sal_uInt16 i=0; in parseOptions() local
202 rOptions.sProgramName = OUString::createFromAscii(av[i++]); in parseOptions()
215 for (; i < ac; i++) in parseOptions()
217 if (av[i][0] == '-') in parseOptions()
219 switch (av[i][1]) in parseOptions()
222 if (strcmp(av[i], "-register") == 0) in parseOptions()
226 if (strcmp(av[i], "-revoke") == 0) in parseOptions()
230 if (av[i][2] == '\0') in parseOptions()
232 if (i < ac - 1 && av[i+1][0] != '-') in parseOptions()
234 i++; in parseOptions()
235 rOptions.sRegName = OStringToOUString(av[i], osl_getThreadTextEncoding()); in parseOptions()
239 if (i <= ac - 1) in parseOptions()
241 tmp += " your input '" + OString(av[i+1]) + "'"; in parseOptions()
247 rOptions.sRegName = OStringToOUString(av[i]+2, osl_getThreadTextEncoding()); in parseOptions()
251 if (av[i][2] != 'r') in parseOptions()
256 if (av[i][3] == '\0') in parseOptions()
258 if (i < ac - 1 && av[i+1][0] != '-') in parseOptions()
260 i++; in parseOptions()
261 … OUString regName = OStringToOUString(av[i], osl_getThreadTextEncoding()); in parseOptions()
273 if (i <= ac - 1) in parseOptions()
275 tmp += " your input '" + OString(av[i+1]) + "'"; in parseOptions()
281 rOptions.sBootRegName = OStringToOUString(av[i]+3, osl_getThreadTextEncoding()); in parseOptions()
287 if (av[i][2] == '\0') in parseOptions()
289 if (i < ac - 1 && av[i+1][0] != '-') in parseOptions()
291 i++; in parseOptions()
292 sUrls = OStringToOUString(av[i], osl_getThreadTextEncoding()); in parseOptions()
296 if (i <= ac - 1) in parseOptions()
298 tmp += " your input '" + OString(av[i+1]) + "'"; in parseOptions()
303 else if( 0 == strncmp( av[i] , "-classpath" ,10 ) ) in parseOptions()
305 i++; in parseOptions()
306 if( i < ac ) in parseOptions()
309 … rtl::OUString envValue(av[i], strlen(av[i]), osl_getThreadTextEncoding()); in parseOptions()
316 sUrls = OStringToOUString(av[i]+2, osl_getThreadTextEncoding()); in parseOptions()
331 if (av[i][2] == '\0') in parseOptions()
333 if (i < ac - 1 && av[i+1][0] != '-') in parseOptions()
335 i++; in parseOptions()
336 rOptions.sLoaderName = OUString::createFromAscii(av[i]); in parseOptions()
341 if (i <= ac - 1) in parseOptions()
343 tmp += " your input '" + OString(av[i+1]) + "'"; in parseOptions()
350 rOptions.sLoaderName = OUString::createFromAscii(av[i]+2); in parseOptions()
356 if( av[i][2] == 0 ) in parseOptions()
364 buf.append( av[i] ); in parseOptions()
365 throw IllegalArgument( av[i] ); in parseOptions()
371 if( av[i][2] == 'n' && av[i][3] == 'v' && av[i][4] == ':' ) in parseOptions()
379 if (strcmp(av[i], "-wop") == 0) in parseOptions()
387 strncmp(av[i], "-wop=", RTL_CONSTASCII_LENGTH("-wop=")) in parseOptions()
392 av[i] + RTL_CONSTASCII_LENGTH("-wop="), in parseOptions()
400 tmp += av[i]; in parseOptions()
406 if (av[i][0] == '@') in parseOptions()
408 FILE* cmdFile = fopen(av[i]+1, "r"); in parseOptions()
426 buf.append( av[i] +1 ); in parseOptions()
437 buf.append( av[i] +1 ); in parseOptions()
454 buf.append( av[i] +1 ); in parseOptions()