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

1234567

/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/aapt/
H A DMain.cpp260 int main(int argc, char* const argv[]) argument
271 if (argc < 2) {
299 argc -= 2;
305 while (argc && argv[0][0] == '-') {
318 argc--;
320 if (!argc) {
331 argc--;
333 if (!argc) {
363 argc--;
365 if (!argc) {
[all...]
/frameworks/base/tools/aapt2/
H A DMain.cpp31 int main(int argc, char** argv) { argument
32 if (argc >= 2) {
34 argc -= 1;
37 for (int i = 1; i < argc; i++) {
/frameworks/native/cmds/servicemanager/
H A Dbctest.c59 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/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/cmds/backup/
H A Dbackup.cpp28 static int usage(int /* argc */, const char** argv)
101 int main(int argc, const char** argv) argument
103 if (argc <= 1) {
106 if (argc == 3 && 0 == strcmp(argv[1], "list")) {
109 if (argc == 4 && 0 == strcmp(argv[1], "print")) {
112 return usage(argc, argv);
/frameworks/rs/api/
H A DGenerator.cpp156 static bool parseCommandLine(int argc, char* argv[], unsigned int* maxApiLevel, bool* forVerification, argument
158 for (int i = 1; i < argc; i++) {
162 if (i < argc) {
190 int main(int argc, char* argv[]) { argument
195 if (!parseCommandLine(argc, argv, &maxApiLevel, &forVerification, &specFileNames)) {
/frameworks/base/cmds/idmap/
H A Didmap.cpp211 int main(int argc, char **argv) argument
217 for (int i = 0; i < argc; ++i) {
225 if (argc == 2 && !strcmp(argv[1], "--help")) {
230 if (argc == 5 && !strcmp(argv[1], "--fd")) {
234 if (argc == 5 && !strcmp(argv[1], "--path")) {
238 if (argc >= 6 && !strcmp(argv[1], "--scan")) {
240 for (int i = 5; i < argc; i++) {
246 if (argc == 3 && !strcmp(argv[1], "--inspect")) {
/frameworks/av/camera/cameraserver/
H A Dmain_cameraserver.cpp25 int main(int argc __unused, char** argv __unused)
/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/native/cmds/installd/
H A Dotapreopt_chroot.cpp61 static int otapreopt_chroot(const int argc, char **arg) { argument
153 if (static_cast<size_t>(argc) != kInArguments - 1 /* null termination */) {
155 << argc
158 for (size_t i = 0; i < static_cast<size_t>(argc); ++i) {
184 int main(const int argc, char *argv[]) { argument
185 return android::installd::otapreopt_chroot(argc, argv);
/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) {
160 if (optind >= argc) {
169 if (optind >= argc) {
[all...]
/frameworks/native/cmds/cmd/
H A Dcmd.cpp48 int main(int argc, char* const argv[]) argument
62 if (argc == 1) {
67 if ((argc == 2) && (strcmp(argv[1], "-l") == 0)) {
82 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.cpp43 void setClassNameAndArgs(const String8& className, int argc, char * const *argv) { argument
45 for (int i = 0; i < argc; ++i) {
118 static size_t computeArgBlockSize(int argc, char* const argv[]) { argument
133 uintptr_t end = reinterpret_cast<uintptr_t>(argv[argc - 1]);
134 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/native/cmds/bugreportz/
H A Dmain.cpp44 int main(int argc, char* argv[]) { argument
46 if (argc > 1) {
49 while ((c = getopt(argc, argv, "hpv")) != -1) {
/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/base/libs/hwui/tests/macrobench/
H A Dmain.cpp149 void parseOptions(int argc, char* argv[]) { argument
159 c = getopt_long(argc, argv, SHORT_OPTIONS, LONG_OPTIONS, &option_index);
237 if (optind < argc) {
247 } while (optind < argc);
253 int main(int argc, char* argv[]) { argument
257 parseOptions(argc, argv);
/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 857 milliseconds

1234567