Lines Matching refs:av
40 sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) in initOptions() argument
50 OString name(av[0]); in initOptions()
69 if (av[i][0] == '-') in initOptions()
71 switch (av[i][1]) in initOptions()
74 if (av[i][2] == '\0') in initOptions()
76 if (i < ac - 1 && av[i+1][0] != '-') in initOptions()
79 s = av[i]; in initOptions()
85 tmp += " your input '" + OString(av[i+1]) + "'"; in initOptions()
92 s = av[i] + 2; in initOptions()
98 if (av[i][2] == '\0') in initOptions()
100 if (i < ac - 1 && av[i+1][0] != '-') in initOptions()
103 s = av[i]; in initOptions()
109 tmp += " your input '" + OString(av[i+1]) + "'"; in initOptions()
116 s = av[i] + 2; in initOptions()
122 if (av[i][2] != 'D' || av[i][3] != '\0') in initOptions()
125 tmp += " your input '" + OString(av[i]) + "'"; in initOptions()
132 if (av[i][2] == '\0') in initOptions()
134 if (i < ac - 1 && av[i+1][0] != '-') in initOptions()
137 s = av[i]; in initOptions()
143 tmp += " your input '" + OString(av[i+1]) + "'"; in initOptions()
150 s = av[i] + 2; in initOptions()
164 if (av[i][2] == 'c') in initOptions()
166 if (av[i][3] != '\0') in initOptions()
171 tmp += " your input '" + OString(av[i]) + "'"; in initOptions()
180 if (av[i][2] != '\0') in initOptions()
185 tmp += " your input '" + OString(av[i]) + "'"; in initOptions()
195 if (av[i][2] == '\0') in initOptions()
197 if (i < ac - 1 && av[i+1][0] != '-') in initOptions()
200 s = av[i]; in initOptions()
206 tmp += " your input '" + OString(av[i+1]) + "'"; in initOptions()
213 s = av[i] + 2; in initOptions()
221 throw IllegalArgument("the option is unknown" + OString(av[i])); in initOptions()
225 if (av[i][0] == '@') in initOptions()
227 FILE* cmdFile = fopen(av[i]+1, "r"); in initOptions()
256 m_inputFiles.push_back(av[i]); in initOptions()