Lines Matching refs:av
32 sal_Bool IdlOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) in initOptions() argument
42 m_program = av[0]; in initOptions()
59 if (av[i][0] == '-') in initOptions()
61 switch (av[i][1]) in initOptions()
64 if (av[i][2] == '\0') in initOptions()
66 if (i < ac - 1 && av[i+1][0] != '-') in initOptions()
69 s = av[i]; in initOptions()
75 tmp += " your input '" + OString(av[i+1]) + "'"; in initOptions()
82 s = av[i] + 2; in initOptions()
88 if (av[i][2] == '\0') in initOptions()
90 if (i < ac - 1 && av[i+1][0] != '-') in initOptions()
93 s = av[i]; in initOptions()
99 tmp += " your input '" + OString(av[i+1]) + "'"; in initOptions()
106 s = av[i] + 2; in initOptions()
112 if (av[i][2] == '\0') in initOptions()
114 if (i < ac - 1 && av[i+1][0] != '-') in initOptions()
117 s = av[i]; in initOptions()
123 tmp += " your input '" + OString(av[i+1]) + "'"; in initOptions()
130 s = av[i] + 2; in initOptions()
144 if (av[i][2] == 'c') in initOptions()
146 if (av[i][3] != '\0') in initOptions()
151 tmp += " your input '" + OString(av[i]) + "'"; in initOptions()
160 if (av[i][2] != '\0') in initOptions()
165 tmp += " your input '" + OString(av[i]) + "'"; in initOptions()
174 throw IllegalArgument("the option is unknown" + OString(av[i])); in initOptions()
179 if (av[i][0] == '@') in initOptions()
181 FILE* cmdFile = fopen(av[i]+1, "r"); in initOptions()
208 m_inputFiles.push_back(av[i]); in initOptions()