Lines Matching refs:UsageError

155 static void UsageError(const char* fmt, ...) {  in UsageError()  function
168 UsageError("Command: %s", CommandLine().c_str()); in Usage()
170 UsageError("Usage: dex2oat [options]..."); in Usage()
171 UsageError(""); in Usage()
172 UsageError(" -j<number>: specifies the number of threads used for compilation."); in Usage()
173 UsageError(" Default is the number of detected hardware threads available on the"); in Usage()
174 UsageError(" host system."); in Usage()
175 UsageError(" Example: -j12"); in Usage()
176 UsageError(""); in Usage()
177 UsageError(" --dex-file=<dex-file>: specifies a .dex, .jar, or .apk file to compile."); in Usage()
178 UsageError(" Example: --dex-file=/system/framework/core.jar"); in Usage()
179 UsageError(""); in Usage()
180 UsageError(" --dex-location=<dex-location>: specifies an alternative dex location to"); in Usage()
181 UsageError(" encode in the oat file for the corresponding --dex-file argument."); in Usage()
182 UsageError(" Example: --dex-file=/home/build/out/system/framework/core.jar"); in Usage()
183 UsageError(" --dex-location=/system/framework/core.jar"); in Usage()
184 UsageError(""); in Usage()
185 UsageError(" --zip-fd=<file-descriptor>: specifies a file descriptor of a zip file"); in Usage()
186 UsageError(" containing a classes.dex file to compile."); in Usage()
187 UsageError(" Example: --zip-fd=5"); in Usage()
188 UsageError(""); in Usage()
189 UsageError(" --zip-location=<zip-location>: specifies a symbolic name for the file"); in Usage()
190 UsageError(" corresponding to the file descriptor specified by --zip-fd."); in Usage()
191 UsageError(" Example: --zip-location=/system/app/Calculator.apk"); in Usage()
192 UsageError(""); in Usage()
193 UsageError(" --oat-file=<file.oat>: specifies the oat output destination via a filename."); in Usage()
194 UsageError(" Example: --oat-file=/system/framework/boot.oat"); in Usage()
195 UsageError(""); in Usage()
196 UsageError(" --oat-fd=<number>: specifies the oat output destination via a file descriptor."); in Usage()
197 UsageError(" Example: --oat-fd=6"); in Usage()
198 UsageError(""); in Usage()
199 UsageError(" --oat-location=<oat-name>: specifies a symbolic name for the file corresponding"); in Usage()
200 UsageError(" to the file descriptor specified by --oat-fd."); in Usage()
201 UsageError(" Example: --oat-location=/data/dalvik-cache/system@app@Calculator.apk.oat"); in Usage()
202 UsageError(""); in Usage()
203 UsageError(" --oat-symbols=<file.oat>: specifies the oat output destination with full symbols."); in Usage()
204 UsageError(" Example: --oat-symbols=/symbols/system/framework/boot.oat"); in Usage()
205 UsageError(""); in Usage()
206 UsageError(" --image=<file.art>: specifies the output image filename."); in Usage()
207 UsageError(" Example: --image=/system/framework/boot.art"); in Usage()
208 UsageError(""); in Usage()
209 UsageError(" --image-classes=<classname-file>: specifies classes to include in an image."); in Usage()
210 UsageError(" Example: --image=frameworks/base/preloaded-classes"); in Usage()
211 UsageError(""); in Usage()
212 UsageError(" --base=<hex-address>: specifies the base address when creating a boot image."); in Usage()
213 UsageError(" Example: --base=0x50000000"); in Usage()
214 UsageError(""); in Usage()
215 UsageError(" --boot-image=<file.art>: provide the image file for the boot class path."); in Usage()
216 UsageError(" Example: --boot-image=/system/framework/boot.art"); in Usage()
217 UsageError(" Default: $ANDROID_ROOT/system/framework/boot.art"); in Usage()
218 UsageError(""); in Usage()
219 UsageError(" --android-root=<path>: used to locate libraries for portable linking."); in Usage()
220 UsageError(" Example: --android-root=out/host/linux-x86"); in Usage()
221 UsageError(" Default: $ANDROID_ROOT"); in Usage()
222 UsageError(""); in Usage()
223 UsageError(" --instruction-set=(arm|arm64|mips|mips64|x86|x86_64): compile for a particular"); in Usage()
224 UsageError(" instruction set."); in Usage()
225 UsageError(" Example: --instruction-set=x86"); in Usage()
226 UsageError(" Default: arm"); in Usage()
227 UsageError(""); in Usage()
228 UsageError(" --instruction-set-features=...,: Specify instruction set features"); in Usage()
229 UsageError(" Example: --instruction-set-features=div"); in Usage()
230 UsageError(" Default: default"); in Usage()
231 UsageError(""); in Usage()
232 UsageError(" --compile-pic: Force indirect use of code, methods, and classes"); in Usage()
233 UsageError(" Default: disabled"); in Usage()
234 UsageError(""); in Usage()
235 UsageError(" --compiler-backend=(Quick|Optimizing): select compiler backend"); in Usage()
236 UsageError(" set."); in Usage()
237 UsageError(" Example: --compiler-backend=Optimizing"); in Usage()
239 UsageError(" Default: Optimizing"); in Usage()
241 UsageError(" Default: Quick"); in Usage()
243 UsageError(""); in Usage()
244 UsageError(" --compiler-filter=" in Usage()
252 UsageError(" select compiler filter."); in Usage()
253 UsageError(" Example: --compiler-filter=everything"); in Usage()
254 UsageError(" Default: speed"); in Usage()
255 UsageError(""); in Usage()
256 UsageError(" --huge-method-max=<method-instruction-count>: threshold size for a huge"); in Usage()
257 UsageError(" method for compiler filter tuning."); in Usage()
258 UsageError(" Example: --huge-method-max=%d", CompilerOptions::kDefaultHugeMethodThreshold); in Usage()
259 UsageError(" Default: %d", CompilerOptions::kDefaultHugeMethodThreshold); in Usage()
260 UsageError(""); in Usage()
261 UsageError(" --large-method-max=<method-instruction-count>: threshold size for a large"); in Usage()
262 UsageError(" method for compiler filter tuning."); in Usage()
263 UsageError(" Example: --large-method-max=%d", CompilerOptions::kDefaultLargeMethodThreshold); in Usage()
264 UsageError(" Default: %d", CompilerOptions::kDefaultLargeMethodThreshold); in Usage()
265 UsageError(""); in Usage()
266 UsageError(" --small-method-max=<method-instruction-count>: threshold size for a small"); in Usage()
267 UsageError(" method for compiler filter tuning."); in Usage()
268 UsageError(" Example: --small-method-max=%d", CompilerOptions::kDefaultSmallMethodThreshold); in Usage()
269 UsageError(" Default: %d", CompilerOptions::kDefaultSmallMethodThreshold); in Usage()
270 UsageError(""); in Usage()
271 UsageError(" --tiny-method-max=<method-instruction-count>: threshold size for a tiny"); in Usage()
272 UsageError(" method for compiler filter tuning."); in Usage()
273 UsageError(" Example: --tiny-method-max=%d", CompilerOptions::kDefaultTinyMethodThreshold); in Usage()
274 UsageError(" Default: %d", CompilerOptions::kDefaultTinyMethodThreshold); in Usage()
275 UsageError(""); in Usage()
276 UsageError(" --num-dex-methods=<method-count>: threshold size for a small dex file for"); in Usage()
277 UsageError(" compiler filter tuning. If the input has fewer than this many methods"); in Usage()
278 UsageError(" and the filter is not interpret-only or verify-none, overrides the"); in Usage()
279 UsageError(" filter to use speed"); in Usage()
280 UsageError(" Example: --num-dex-method=%d", CompilerOptions::kDefaultNumDexMethodsThreshold); in Usage()
281 UsageError(" Default: %d", CompilerOptions::kDefaultNumDexMethodsThreshold); in Usage()
282 UsageError(""); in Usage()
283 UsageError(" --inline-depth-limit=<depth-limit>: the depth limit of inlining for fine tuning"); in Usage()
284 UsageError(" the compiler. A zero value will disable inlining. Honored only by Optimizing."); in Usage()
285 UsageError(" Has priority over the --compiler-filter option. Intended for "); in Usage()
286 UsageError(" development/experimental use."); in Usage()
287 UsageError(" Example: --inline-depth-limit=%d", CompilerOptions::kDefaultInlineDepthLimit); in Usage()
288 UsageError(" Default: %d", CompilerOptions::kDefaultInlineDepthLimit); in Usage()
289 UsageError(""); in Usage()
290 UsageError(" --inline-max-code-units=<code-units-count>: the maximum code units that a method"); in Usage()
291 UsageError(" can have to be considered for inlining. A zero value will disable inlining."); in Usage()
292 UsageError(" Honored only by Optimizing. Has priority over the --compiler-filter option."); in Usage()
293 UsageError(" Intended for development/experimental use."); in Usage()
294 UsageError(" Example: --inline-max-code-units=%d", in Usage()
296 UsageError(" Default: %d", CompilerOptions::kDefaultInlineMaxCodeUnits); in Usage()
297 UsageError(""); in Usage()
298 UsageError(" --dump-timing: display a breakdown of where time was spent"); in Usage()
299 UsageError(""); in Usage()
300 UsageError(" --include-patch-information: Include patching information so the generated code"); in Usage()
301 UsageError(" can have its base address moved without full recompilation."); in Usage()
302 UsageError(""); in Usage()
303 UsageError(" --no-include-patch-information: Do not include patching information."); in Usage()
304 UsageError(""); in Usage()
305 UsageError(" -g"); in Usage()
306 UsageError(" --generate-debug-info: Generate debug information for native debugging,"); in Usage()
307 UsageError(" such as stack unwinding information, ELF symbols and DWARF sections."); in Usage()
308 UsageError(" This generates all the available information. Unneeded parts can be"); in Usage()
309 UsageError(" stripped using standard command line tools such as strip or objcopy."); in Usage()
310 UsageError(" (enabled by default in debug builds, disabled by default otherwise)"); in Usage()
311 UsageError(""); in Usage()
312 UsageError(" --no-generate-debug-info: Do not generate debug information for native debugging."); in Usage()
313 UsageError(""); in Usage()
314 UsageError(" --runtime-arg <argument>: used to specify various arguments for the runtime,"); in Usage()
315 UsageError(" such as initial heap size, maximum heap size, and verbose output."); in Usage()
316 UsageError(" Use a separate --runtime-arg switch for each argument."); in Usage()
317 UsageError(" Example: --runtime-arg -Xms256m"); in Usage()
318 UsageError(""); in Usage()
319 UsageError(" --profile-file=<filename>: specify profiler output file to use for compilation."); in Usage()
320 UsageError(""); in Usage()
321 UsageError(" --print-pass-names: print a list of pass names"); in Usage()
322 UsageError(""); in Usage()
323 UsageError(" --disable-passes=<pass-names>: disable one or more passes separated by comma."); in Usage()
324 UsageError(" Example: --disable-passes=UseCount,BBOptimizations"); in Usage()
325 UsageError(""); in Usage()
326 UsageError(" --print-pass-options: print a list of passes that have configurable options along " in Usage()
328 UsageError(" Will print default if no overridden setting exists."); in Usage()
329 UsageError(""); in Usage()
330 UsageError(" --pass-options=Pass1Name:Pass1OptionName:Pass1Option#," in Usage()
332 UsageError(" Used to specify a pass specific option. The setting itself must be integer."); in Usage()
333 UsageError(" Separator used between options is a comma."); in Usage()
334 UsageError(""); in Usage()
335 UsageError(" --swap-file=<file-name>: specifies a file to use for swap."); in Usage()
336 UsageError(" Example: --swap-file=/data/tmp/swap.001"); in Usage()
337 UsageError(""); in Usage()
338 UsageError(" --swap-fd=<file-descriptor>: specifies a file to use for swap (by descriptor)."); in Usage()
339 UsageError(" Example: --swap-fd=10"); in Usage()
340 UsageError(""); in Usage()