Lines Matching refs:argc
264 --argc; \
286 static int fromZip(int argc, char* const argv[]) in fromZip() argument
294 if (argc != 6) { in fromZip()
295 ALOGE("Wrong number of args for --zip (found %d)", argc); in fromZip()
300 argc--; in fromZip()
306 --argc; in fromZip()
308 --argc; in fromZip()
334 static int preopt(int argc, char* const argv[]) in preopt() argument
340 if (argc != 5) { in preopt()
346 argc); in preopt()
416 static int fromDex(int argc, char* const argv[]) in fromDex() argument
430 if (argc < 10) { in fromDex()
432 ALOGE("Not enough arguments for --dex (found %d)", argc); in fromDex()
437 argc--; in fromDex()
453 --argc; in fromDex()
459 fd, offset, length, debugFileName, modWhen, crc, flags, argc); in fromDex()
460 assert(argc > 0); in fromDex()
462 if (--argc == 0) { in fromDex()
470 for (i = 0, argp = argv; i < argc; i++) { in fromDex()
477 for (i = 0, argp = argv; i < argc; i++) { in fromDex()
557 int main(int argc, char* const argv[]) in main() argument
563 if (argc > 1) { in main()
565 return fromZip(argc, argv); in main()
567 return fromDex(argc, argv); in main()
569 return preopt(argc, argv); in main()