Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 15 of 15) sorted by relevance

/build/make/tools/acp/
Dacp.c41 int process(int argc, char* const argv[], unsigned int options) in process() argument
51 assert(argc >= 2); in process()
61 stripDestLen = strlen(argv[argc-1]); in process()
63 memcpy(stripDest, argv[argc-1], stripDestLen+1); in process()
69 if (argc > 2) in process()
114 for (i = 0; i < argc-1; i++) { in process()
172 int main(int argc, char* const argv[]) in main() argument
184 ic = getopt(argc, argv, "defprtuv"); in main()
225 if (optind == argc-1) { in main()
228 } else if (optind+2 > argc) in main()
[all …]
/build/kati/
Dfind_test.cc23 int main(int argc, char* argv[]) { in main() argument
24 if (argc == 1) { in main()
31 for (int i = 1; i < argc; i++) { in main()
Dmain.cc235 static void HandleRealpath(int argc, char** argv) { in HandleRealpath() argument
237 for (int i = 0; i < argc; i++) { in HandleRealpath()
243 int main(int argc, char* argv[]) { in main() argument
244 if (argc >= 2 && !strcmp(argv[1], "--realpath")) { in main()
245 HandleRealpath(argc - 2, argv + 2); in main()
250 for (int i = 0; i < argc; i++) { in main()
255 g_flags.Parse(argc, argv); in main()
Dregen_dump.cc30 int main(int argc, char* argv[]) { in main() argument
31 if (argc == 1) { in main()
Dflags.cc51 void Flags::Parse(int argc, char** argv) { in Parse() argument
63 for (int i = 1; i < argc; i++) { in Parse()
Dflags.h59 void Parse(int argc, char** argv);
/build/make/tools/zipalign/
DZipAlign.cpp224 int main(int argc, char* const argv[]) in main() argument
236 if (argc < 4) { in main()
241 argc--; in main()
244 while (argc && argv[0][0] == '-') { in main()
273 argc--; in main()
277 if (!((check && argc == 2) || (!check && argc == 3))) { in main()
/build/make/tools/ziptime/
DZipTime.cpp34 int main(int argc, char* const argv[]) in main() argument
36 if (argc != 2) { in main()
/build/make/tools/fs_get_stats/
Dfs_get_stats.c38 main(int argc, const char *argv[]) in main() argument
46 if (argc < 5) { in main()
/build/make/tools/makeparallel/
Dmakeparallel.cpp288 int main(int argc, char* argv[]) { in main() argument
296 if (argc > 1 && strcmp(argv[1], "--ninja") == 0) { in main()
299 argc--; in main()
302 if (argc < 2) { in main()
354 args.insert(args.end(), &argv[2], &argv[argc]); in main()
/build/make/tools/fs_config/
Dfs_config_generate.c73 int main(int argc, char** argv) { in main() argument
82 while ((opt = getopt(argc, argv, optstring)) != -1) { in main()
145 if (optind < argc) { in main()
Dfs_config.c73 int main(int argc, char** argv) { in main() argument
80 while((opt = getopt(argc, argv, "CS:D:")) != -1) { in main()
/build/make/tools/ijar/
Dijar.cc141 int main(int argc, char **argv) { in main() argument
145 for (int ii = 1; ii < argc; ++ii) { in main()
Dzip_main.cc267 int main(int argc, char **argv) { in main() argument
274 if (argc < 3) { in main()
/build/make/tools/atree/
Datree.cpp114 main(int argc, char* const* argv) in main() argument
119 int opt = getopt(argc, argv, "f:I:o:hlm:v:d"); in main()
167 if (optind != argc) { in main()