Searched defs:argc (Results 51 - 75 of 202) sorted by relevance

123456789

/system/extras/tests/bionic/libc/common/
H A Dtest_gethostbyname.c36 int main( int argc, char** argv ) argument
42 if (argc > 1)
/system/extras/tests/bionic/libstdc++/
H A Dtest_csetjmp.cpp61 int main(int argc, char **argv) argument
H A Dtest_csignal.cpp64 int main(int argc, char **argv) argument
H A Dtest_cstring.cpp73 int main(int argc, char **argv) argument
/system/extras/tests/cpueater/
H A Ddaemonize.c31 int main(int argc, char **argv) argument
39 if (argc < 2) {
/system/extras/tests/ext4/
H A Dset_ext4_err_bit.c12 int main(int argc, char *argv[]) argument
18 if (argc != 2) {
/system/extras/tests/schedtest/
H A Dschedtest.c23 int main(int argc, char **argv) { argument
/system/security/keystore/
H A Dkeystore_cli.cpp44 int main(int argc, char* argv[]) argument
46 if (argc < 2) {
60 for (int i = 2; i < argc; ++i) {
/system/bluetooth/tools/
H A Dbttest.c67 int main(int argc, char **argv) { argument
70 if (argc != 2) {
/system/core/debuggerd/
H A Dcrasher.c77 int main(int argc, char **argv) argument
85 if(argc > 1) {
/system/core/fs_mgr/
H A Dfs_mgr_main.c35 static void parse_options(int argc, char *argv[], int *a_flag, int *u_flag, int *n_flag, argument
40 if (argc <= 1) {
45 if (argc != 3) {
51 if (argc != 5) {
59 if (argc != 3) {
78 int main(int argc, char *argv[]) argument
90 parse_options(argc, argv, &a_flag, &u_flag, &n_flag, &n_name, &n_blk_dev);
93 fstab = argv[argc - 1];
/system/core/libsparse/
H A Dimg2simg.c46 int main(int argc, char *argv[]) argument
56 if (argc < 3 || argc > 4) {
61 if (argc == 4) {
/system/core/libzipfile/
H A Dtest_zipfile.c9 main(int argc, char** argv) argument
20 if (strcmp(argv[2], "-l") == 0 && argc == 3) {
23 else if (strcmp(argv[2], "-u") == 0 && argc == 5) {
/system/core/run-as/
H A Drun-as.c102 int main(int argc, char **argv) argument
109 if (argc < 2)
166 if (argc >= 3 ) {
/system/core/toolbox/
H A Dchmod.c57 int chmod_main(int argc, char **argv) argument
61 if (argc < 3 || strcmp(argv[1], "--help") == 0) {
68 if (recursive && argc < 4) {
73 argc--;
90 for (i = 2; i < argc; i++) {
H A Dchown.c13 int chown_main(int argc, char **argv) argument
17 if (argc < 3) {
65 for (i = 2; i < argc; i++) {
H A Ddf.c43 int df_main(int argc, char *argv[]) { argument
45 if (argc == 1) {
73 for (i = 1; i < argc; i++) {
H A Dgetprop.c36 int getprop_main(int argc, char *argv[]) argument
40 if (argc == 1) {
45 if(argc > 2) {
H A Dgetsebool.c15 int getsebool_main(int argc, char **argv) argument
20 while ((opt = getopt(argc, argv, "a")) > 0) {
23 if (argc > 2)
54 if (argc < 2)
56 len = argc - 1;
H A Dhd.c10 int hd_main(int argc, char *argv[]) argument
28 c = getopt(argc, argv, "b:c:r:");
48 if (optind + 1 != argc) {
H A Did.c33 int id_main(int argc, char **argv) argument
H A Dioctl.c13 int ioctl_main(int argc, char *argv[]) argument
30 c = getopt(argc, argv, "rdl:a:h");
61 if(optind + 2 > argc) {
82 length = (argc - optind) * arg_size;
89 while(optind < argc) {
H A Dlog.c90 int log_main(int argc, char *argv[]) argument
102 ret = getopt(argc, argv, "t:p:h");
126 if (optind == argc) {
132 for (i = optind ; i < argc ; i++) {
H A Dmd5.c63 int md5_main(int argc, char *argv[]) argument
67 if (argc < 2)
71 for (i = 1; i < argc; i++) {
H A Dr.c13 int r_main(int argc, char *argv[]) argument
21 if(argc < 2) return usage();
25 argc--;
29 argc--;
33 if(argc < 2) return usage();
48 if(argc > 2) {

Completed in 64 milliseconds

123456789