/system/sepolicy/tools/sepolicy-analyze/ |
booleans.h | 9 int booleans_func(int argc, char **argv, policydb_t *policydb);
|
dups.h | 9 int dups_func(int argc, char **argv, policydb_t *policydb);
|
neverallow.h | 9 int neverallow_func(int argc, char **argv, policydb_t *policydb);
|
perm.h | 9 int permissive_func(int argc, char **argv, policydb_t *policydb);
|
typecmp.h | 9 int typecmp_func(int argc, char **argv, policydb_t *policydb);
|
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
exclude_libs_test.c | 7 char** argv __attribute__ ((unused)))
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-gc/ |
pr11218-2.c | 9 int main(int argc, char *argv[])
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-ifunc/ |
pr16467c.c | 5 main (int argc, char **argv)
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-plugin/ |
lto-1b.c | 4 main (int argc, char **argv)
|
lto-7a.c | 9 main (int argc, char **argv)
|
pr20070a.c | 5 int main (int argc, const char **argv)
|
/tools/test/connectivity/wts-acts/ |
__main__.py | 6 main(sys.argv[1:])
|
/external/e2fsprogs/lib/ext2fs/ |
tst_bitmaps.c | 193 void setup_cmd(int argc, char **argv) 205 while ((c = getopt(argc, argv, "b:i:lt:")) != EOF) { 208 blocks = parse_ulong(optarg, argv[0], 214 inodes = parse_ulong(optarg, argv[0], 223 type = parse_ulong(optarg, argv[0], 230 "[-i inodes] [-t type]\n", argv[0]); 234 setup_filesystem(argv[0], blocks, inodes, type, flags); 237 void close_cmd(int argc, char **argv) 239 if (check_fs_open(argv[0])) 272 void dump_inode_bitmap_cmd(int argc, char **argv) [all...] |
/external/iproute2/ip/ |
ipfou.c | 46 static int fou_parse_opt(int argc, char **argv, struct nlmsghdr *n, 57 if (!matches(*argv, "port")) { 60 if (get_be16(&port, *argv, 0) || port == 0) 61 invarg("invalid port", *argv); 63 } else if (!matches(*argv, "ipproto")) { 68 servptr = getprotobyname(*argv); 71 else if (get_u8(&ipproto, *argv, 0) || ipproto == 0) 72 invarg("invalid ipproto", *argv); 74 } else if (!matches(*argv, "gue")) { 76 } else if (!matches(*argv, "-6")) [all...] |
iplink_bond.c | 159 static int bond_parse_opt(struct link_util *lu, int argc, char **argv, 172 if (matches(*argv, "mode") == 0) { 174 if (get_index(mode_tbl, *argv) < 0) 175 invarg("invalid mode", *argv); 176 mode = get_index(mode_tbl, *argv); 178 } else if (matches(*argv, "active_slave") == 0) { 180 ifindex = if_nametoindex(*argv); 184 } else if (matches(*argv, "clear_active_slave") == 0) { 186 } else if (matches(*argv, "miimon") == 0) { 188 if (get_u32(&miimon, *argv, 0) [all...] |
ip6tunnel.c | 136 static int parse_args(int argc, char **argv, int cmd, struct ip6_tnl_parm2 *p) 142 if (strcmp(*argv, "mode") == 0) { 144 if (strcmp(*argv, "ipv6/ipv6") == 0 || 145 strcmp(*argv, "ip6ip6") == 0) 147 else if (strcmp(*argv, "vti6") == 0) { 150 } else if (strcmp(*argv, "ip/ipv6") == 0 || 151 strcmp(*argv, "ipv4/ipv6") == 0 || 152 strcmp(*argv, "ipip6") == 0 || 153 strcmp(*argv, "ip4ip6") == 0) 155 else if (strcmp(*argv, "ip6gre") == 0 | [all...] |
/external/e2fsprogs/tests/progs/ |
test_icount.c | 64 void do_create_icount(int argc, char **argv) 71 progname = *argv; 72 argv++; argc --; 74 if (argc && !strcmp("-i", *argv)) { 76 argv++; argc--; 79 if (parse_inode(progname, "icount size", argv[0], &size)) 81 argv++; argc--; 94 void do_free_icount(int argc, char **argv) 96 if (check_icount(argv[0])) 103 void do_fetch(int argc, char **argv) [all...] |
/external/iproute2/tc/ |
p_ip.c | 32 char **argv = *argv_p; local 41 if (strcmp(*argv, "src") == 0) { 44 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey); 47 if (strcmp(*argv, "dst") == 0) { 50 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey); 57 if (strcmp(*argv, "tos") == 0 || matches(*argv, "dsfield") == 0) { 60 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); 63 if (strcmp(*argv, "ihl") == 0) { 66 res = parse_cmd(&argc, &argv, 1, TU32, 0x0f, sel, tkey) [all...] |
/system/bt/tools/hci/ |
main.c | 11 typedef int (*handler_t)(int argc, char** argv); 26 static int help(int argc, char** argv); 27 static int set_discoverable(int argc, char** argv); 28 static int set_name(int argc, char** argv); 29 static int set_pcm_loopback(int argc, char** argv); 30 static int set_sco_route(int argc, char** argv); 53 static int help(int argc, char** argv) { 59 const command_t* command = find_command(argv[0]); 61 printf("No command named '%s'.\n", argv[0]); 65 printf("%s %s\n", argv[0], command->help) [all...] |
/system/netd/server/ |
CommandListener.cpp | 92 int runCommand(SocketClient *c, int argc, char **argv) { 94 return mWrappedCmd->runCommand(c, argc, argv); 130 int argc, char **argv) { 136 if (!strcmp(argv[1], "list")) { 158 if (!strcmp(argv[1], "getcfg")) { 167 if (ifc_get_info(argv[2], &addr.s_addr, &prefixLength, &flags)) { 173 if (ifc_get_hwaddr(argv[2], (void *) hwaddr)) { 174 ALOGW("Failed to retrieve HW addr for %s (%s)", argv[2], strerror(errno)); 204 } else if (!strcmp(argv[1], "setcfg")) { 217 if (!inet_aton(argv[3], &addr)) 613 const char **argv = const_cast<const char **>(margv); local [all...] |
/external/libxml2/ |
testRelax.c | 57 int main(int argc, char **argv) { 64 if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug"))) 69 if ((!strcmp(argv[i], "-memory")) || (!strcmp(argv[i], "--memory"))) { 73 if ((!strcmp(argv[i], "-noout")) || (!strcmp(argv[i], "--noout"))) { 76 if ((!strcmp(argv[i], "-tree")) || (!strcmp(argv[i], "--tree"))) { 83 if (argv[i][0] != '-') [all...] |
/external/iw/ |
connect.c | 13 struct nl_msg *msg, int argc, char **argv, 24 NLA_PUT(msg, NL80211_ATTR_SSID, strlen(argv[0]), argv[0]); 25 argv++; 30 freq = strtoul(argv[0], &end, 10); 33 argv++; 40 if (mac_addr_a2n(bssid, argv[0]) == 0) { 42 argv++; 50 if (strcmp(*argv, "key") != 0 && strcmp(*argv, "keys") != 0 [all...] |
/external/selinux/libselinux/utils/ |
togglesebool.c | 13 static __attribute__ ((__noreturn__)) void rollback(int argc, char **argv) 18 security_set_boolean(argv[i], 19 security_get_boolean_active(argv[i])); 23 int main(int argc, char **argv) 29 fprintf(stderr, "%s: SELinux is disabled\n", argv[0]); 35 basename(argv[0])); 40 printf("%s: ", argv[i]); 41 rc = security_get_boolean_active(argv[i]); 44 if (security_set_boolean(argv[i], 0) >= 0) { 50 rollback(i, argv); [all...] |
/frameworks/av/media/libaudioclient/tests/ |
test_create_utils.cpp | 75 int main(int argc, char **argv, test_func_t testFunc) 83 fprintf(stderr, "Usage: %s [-i input_params.txt] [-o output_params.txt]\n", argv[0]); 87 argv++; 88 while (*argv) { 89 if (strcmp(*argv, "-i") == 0) { 90 argv++; 91 if (*argv) { 92 inputFile = fopen(*argv, "r"); 100 if (strcmp(*argv, "-o") == 0) { 101 argv++ [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation.c | 33 main(int argc, char *argv[]) 44 state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO); 56 if (SDL_strcasecmp(argv[i], "--iterations") == 0) { 57 if (argv[i + 1]) { 58 testIterations = SDL_atoi(argv[i + 1]); 63 else if (SDL_strcasecmp(argv[i], "--execKey") == 0) { 64 if (argv[i + 1]) { 65 SDL_sscanf(argv[i + 1], "%llu", (long long unsigned int *)&userExecKey); 69 else if (SDL_strcasecmp(argv[i], "--seed") == 0) { 70 if (argv[i + 1]) [all...] |