Home
last modified time | relevance | path

Searched refs:printUsage (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/wifi/mac80211_create_radios/
Dmain.cpp160 int printUsage(FILE* dst, const int ret) { in printUsage() function
175 if (argc != 3) { return printUsage(stdout, 0); } in main()
178 if (!parseInt(argv[1], &nRadios)) { return printUsage(stderr, 1); } in main()
179 if (nRadios < 1) { return printUsage(stderr, 1); } in main()
180 if (nRadios > 100) { return printUsage(stderr, 1); } in main()
183 if (!parseInt(argv[2], &macPrefix)) { return printUsage(stderr, 1); } in main()
184 if (macPrefix < 0) { return printUsage(stderr, 1); } in main()
185 if (macPrefix > UINT16_MAX) { return printUsage(stderr, 1); } in main()
/device/generic/goldfish/wifi/execns/
Dexecns.cpp81 static void printUsage(const char* program) { in printUsage() function
284 printUsage(argv[0]); in main()