/frameworks/base/tools/aapt/ |
D | Main.cpp | 276 int main(int argc, char* const argv[]) in main() argument 287 if (argc < 2) { in main() 315 argc -= 2; in main() 321 while (argc && argv[0][0] == '-') { in main() 334 argc--; in main() 336 if (!argc) { in main() 347 argc--; in main() 349 if (!argc) { in main() 379 argc--; in main() 381 if (!argc) { in main() [all …]
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 43 void setClassNameAndArgs(const String8& className, int argc, char * const *argv) { in setClassNameAndArgs() argument 45 for (int i = 0; i < argc; ++i) { in setClassNameAndArgs() 120 static size_t computeArgBlockSize(int argc, char* const argv[]) { in computeArgBlockSize() argument 135 uintptr_t end = reinterpret_cast<uintptr_t>(argv[argc - 1]); in computeArgBlockSize() 136 end += strlen(argv[argc - 1]) + 1; in computeArgBlockSize() 173 int main(int argc, char* const argv[]) in main() argument 177 for (int i = 0; i < argc; ++i) { in main() 185 AppRuntime runtime(argv[0], computeArgBlockSize(argc, argv)); in main() 188 argc--; in main() 221 for (i = 0; i < argc; i++) { in main() [all …]
|
/frameworks/native/cmds/service/ |
D | service.cpp | 74 int main(int argc, char* const argv[]) in main() argument 80 int ic = getopt(argc, argv, "h?"); in main() 106 if (optind >= argc) { in main() 111 if (optind < argc) { in main() 134 if (optind+1 < argc) { in main() 146 while (optind < argc) { in main() 149 if (optind >= argc) { in main() 158 if (optind >= argc) { in main() 167 if (optind >= argc) { in main() 176 if (optind >= argc) { in main() [all …]
|
/frameworks/base/tools/stats_log_api_gen/ |
D | main.cpp | 62 static int run(int argc, char const* const* argv) { in run() argument 77 while (index < argc) { in run() 83 if (index >= argc) { in run() 90 if (index >= argc) { in run() 97 if (index >= argc) { in run() 104 if (index >= argc) { in run() 111 if (index >= argc) { in run() 118 if (index >= argc) { in run() 125 if (index >= argc) { in run() 132 if (index >= argc) { in run() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | main.cpp | 29 bool ShouldStartServiceAndWait(int argc, char* argv[]) { in ShouldStartServiceAndWait() argument 33 while ((c = getopt(argc, argv, "dho:svqzpLPBRSV:w")) != -1 && !do_wait) { in ShouldStartServiceAndWait() 52 int main(int argc, char* argv[]) { in main() argument 53 if (ShouldStartServiceAndWait(argc, argv)) { in main() 66 return run_main(argc, argv); in main()
|
/frameworks/av/media/libeffects/factory/test/ |
D | DumpConfig.cpp | 22 int main(int argc, char* argv[]) { in main() argument 26 if (argc == 2 && strcmp(argv[1], "--legacy") == 0) { in main() 29 } else if ((argc == 2 || argc == 3) && strcmp(argv[1], "--xml") == 0) { in main() 31 if (argc == 3) { in main()
|
/frameworks/ml/nn/runtime/test/ |
D | TestMain.cpp | 109 void checkArgs(int argc, char** argv, int nextArg) { in checkArgs() argument 110 if (nextArg != argc) { in checkArgs() 118 int main(int argc, char** argv) { in main() argument 119 testing::InitGoogleTest(&argc, argv); in main() 122 if ((argc > 1) && std::isdigit(argv[1][0])) { in main() 124 checkArgs(argc, argv, 2); in main() 126 checkArgs(argc, argv, 1); in main()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test_fixture.cpp | 58 int main(int argc, char* const argv[]) { in main() argument 59 if (argc == 2) { in main() 66 if (argc == 3) { in main() 73 if (argc > 1) { in main() 88 if (argc > index + 1) { in main()
|
/frameworks/rs/script_api/ |
D | Generator.cpp | 157 static bool parseCommandLine(int argc, char* argv[], unsigned int* maxApiLevel, in parseCommandLine() argument 159 for (int i = 1; i < argc; i++) { in parseCommandLine() 163 if (i < argc) { in parseCommandLine() 189 int main(int argc, char* argv[]) { in main() argument 193 if (!parseCommandLine(argc, argv, &maxApiLevel, &specFileNames)) { in main()
|
/frameworks/base/cmds/backup/ |
D | backup.cpp | 101 int main(int argc, const char** argv) in main() argument 103 if (argc <= 1) { in main() 106 if (argc == 3 && 0 == strcmp(argv[1], "list")) { in main() 109 if (argc == 4 && 0 == strcmp(argv[1], "print")) { in main() 112 return usage(argc, argv); in main()
|
/frameworks/base/tools/aapt2/ |
D | Main.cpp | 155 int MainImpl(int argc, char** argv) { in MainImpl() argument 156 if (argc < 1) { in MainImpl() 162 for (int i = 1; i < argc; i++) { in MainImpl() 180 int main(int argc, char** argv) { in main() argument 182 LPWSTR* wide_argv = CommandLineToArgvW(GetCommandLineW(), &argc); in main() 186 for (int i = 0; i < argc; i++) { in main() 197 for (int i = 0; i < argc; i++) { in main() 202 return MainImpl(argc, argv); in main()
|
/frameworks/av/media/libstagefright/tests/extractorFactory/ |
D | ExtractorFactoryTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int ExtractorFactoryTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int WriterTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int ExtractorUnitTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/ |
D | AmrnbDecTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int AmrnbDecTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/test/ |
D | AmrwbEncTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int AmrwbEncTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/ |
D | Mpeg4H263DecoderTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int Mpeg4H263DecoderTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 61 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/flac/dec/test/ |
D | FlacDecoderTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int FlacDecoderTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 61 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
D | AmrwbDecTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int AmrwbDecTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
D | Mpeg4H263EncoderTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int Mpeg4H263EncoderTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 61 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | Mp3DecoderTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int Mp3DecoderTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/tests/benchmark/tests/ |
D | BenchmarkTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int BenchmarkTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 61 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/id3/test/ |
D | ID3TestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int ID3TestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 61 if (optind < argc) { in initFromOptions()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
D | AmrnbEncTestEnvironment.h | 31 int initFromOptions(int argc, char **argv); 41 int AmrnbEncTestEnvironment::initFromOptions(int argc, char **argv) { in initFromOptions() argument 46 int c = getopt_long(argc, argv, "P:", options, &index); in initFromOptions() 60 if (optind < argc) { in initFromOptions()
|
/frameworks/base/libs/androidfw/tests/ |
D | CommonHelpers.cpp | 29 void InitializeTest(int* argc, char** argv) { in InitializeTest() argument 33 for (int i = 1; i < *argc; i++) { in InitializeTest() 37 for (int j = i; j != *argc; j++) { in InitializeTest() 40 --(*argc); in InitializeTest()
|