Searched refs:argc (Results 1 - 25 of 163) sorted by relevance

1234567

/frameworks/av/camera/tests/
H A Dmain.cpp20 int main(int argc, char **argv) { argument
22 ::testing::InitGoogleTest(&argc, argv);
/frameworks/base/tools/aapt/
H A DMain.cpp247 int main(int argc, char* const argv[]) argument
258 if (argc < 2) {
286 argc -= 2;
292 while (argc && argv[0][0] == '-') {
305 argc--;
307 if (!argc) {
318 argc--;
320 if (!argc) {
350 argc--;
352 if (!argc) {
[all...]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
H A Djit.cpp31 int main(int argc, char** argv) argument
H A Dpass-function.c72 int main(int argc, char** argv) argument
H A Dpass-struct.c27 int main(int argc, char* argv[]) argument
H A Dglobal_struct.c26 int main(int argc, char* argv[]) argument
H A Dglobals.c33 int main(int argc, char* argv[]) argument
H A Dlocals.cpp22 int main(int argc, char* argv[]) argument
H A Dparameters.cpp34 int main(int argc, char* argv[]) argument
/frameworks/base/tools/aidl/
H A Doptions.cpp35 parse_options(int argc, const char* const* argv, Options *options) argument
39 if (argc >= 2 && 0 == strcmp(argv[1], "--preprocess")) {
40 if (argc < 4) {
44 for (int i=3; i<argc; i++) {
56 while (i < argc) {
118 if (i < argc) {
127 if (i < argc) {
143 if (i != argc) {
144 fprintf(stderr, "unknown option%s:", (i==argc-1?(const char*)"":(const char*)"s"));
145 for (; i<argc
[all...]
H A Doptions.h34 int parse_options(int argc, const char* const* argv, Options *options);
/frameworks/native/cmds/servicemanager/
H A Dbctest.c58 int main(int argc, char **argv) argument
71 argc--;
73 while (argc > 0) {
83 if (argc < 2) {
89 argc--;
92 if (argc < 2) {
97 argc--;
103 argc--;
/frameworks/base/cmds/backup/
H A Dbackup.cpp29 usage(int argc, const char** argv) argument
105 main(int argc, const char** argv) argument
107 if (argc <= 1) {
110 if (argc == 3 && 0 == strcmp(argv[1], "list")) {
113 if (argc == 4 && 0 == strcmp(argv[1], "print")) {
116 return usage(argc, argv);
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c48 static int parsecmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param) argument
59 if(argc < 5 || argc > 13)
64 argc--;
66 while (argc > 0)
71 argc--;
77 argc--;
83 argc--;
89 argc--;
95 argc
133 main(int argc, char **argv) argument
[all...]
/frameworks/base/libs/common_time/
H A Dmain.cpp30 int main(int argc, char *argv[]) { argument
/frameworks/base/tests/backup/
H A Dbackup_helper_test.cpp49 main(int argc, const char** argv) argument
53 if (argc == 1) {
62 for (int i=1; i<argc; i++) {
121 main(int argc, char** argv)
/frameworks/base/cmds/idmap/
H A Didmap.cpp206 int main(int argc, char **argv) argument
212 for (int i = 0; i < argc; ++i) {
220 if (argc == 2 && !strcmp(argv[1], "--help")) {
225 if (argc == 5 && !strcmp(argv[1], "--fd")) {
229 if (argc == 5 && !strcmp(argv[1], "--path")) {
233 if (argc == 6 && !strcmp(argv[1], "--scan")) {
237 if (argc == 3 && !strcmp(argv[1], "--inspect")) {
/frameworks/av/drm/drmserver/
H A Dmain_drmserver.cpp29 int main(int argc, char** argv) argument
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp29 int main(int argc, char* const argv[]) argument
43 if ((argc == 2) && (strcmp(argv[1], "-l") == 0)) {
46 if ((argc == 1) || showListOnly) {
52 for (int i=2; i<argc; i++) {
/frameworks/wilhelm/tools/hashgen/
H A Dfrag1.c26 int main(int argc, char **argv) argument
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp42 void setClassNameAndArgs(const String8& className, int argc, char * const *argv) { argument
44 for (int i = 0; i < argc; ++i) {
120 static size_t computeArgBlockSize(int argc, char* const argv[]) { argument
135 uintptr_t end = reinterpret_cast<uintptr_t>(argv[argc - 1]);
136 end += strlen(argv[argc - 1]) + 1;
186 int main(int argc, char* const argv[]) argument
197 AppRuntime runtime(argv[0], computeArgBlockSize(argc, argv));
200 argc--;
227 for (i = 0; i < argc; i++) {
246 while (i < argc) {
[all...]
/frameworks/rs/cpu_ref/linkloader/
H A Dmain.cpp43 int argc, char **argv);
45 int main(int argc, char **argv) { argument
47 if (argc < 2) {
65 dump_and_run_file(image, image_size, argc - 1, argv + 1);
142 void dump_and_run_object(Archiver &AR, int argc, char **argv) { argument
166 ((int (*)(int, char **))main_addr)(argc, argv);
172 int argc, char **argv) {
174 dump_and_run_object<32>(AR, argc, argv);
176 dump_and_run_object<64>(AR, argc, argv);
181 int argc, cha
171 dump_and_run_file_from_archive(bool is32bit, Archiver &AR, int argc, char **argv) argument
180 dump_and_run_file(unsigned char const *image, size_t size, int argc, char **argv) argument
[all...]
/frameworks/rs/tests/latency/
H A Dlatency.cpp9 int main(int argc, char** argv) argument
16 if (argc >= 2) {
26 if (argc >= 3) {
34 if (argc >= 4) {
40 if (argc >= 5) {
/frameworks/native/cmds/service/
H A Dservice.cpp69 int main(int argc, char* const argv[]) argument
82 int ic = getopt(argc, argv, "h?");
99 if (optind >= argc) {
104 if (optind < argc) {
127 if (optind+1 < argc) {
139 while (optind < argc) {
142 if (optind >= argc) {
151 if (optind >= argc) {
175 while (optind < argc)
256 if (optind < argc) {
[all...]
/frameworks/base/tools/split-select/
H A DMain.cpp240 static int main(int argc, char** argv) { argument
242 argc--;
249 while (argc > 0) {
252 argc--;
254 if (argc < 1) {
261 argc--;
263 if (argc < 1) {
270 argc--;
272 if (argc < 1) {
294 argc
374 main(int argc, char** argv) argument
[all...]

Completed in 416 milliseconds

1234567