HomeSort by relevance Sort by last modified time
    Searched full:argv (Results 226 - 250 of 10939) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/selinux/libselinux/utils/
selinux_check_securetty_context.c 18 int main(int argc, char **argv)
22 usage(argv[0]);
25 switch (selinux_check_securetty_context(argv[i])) {
27 printf("%s securetty.\n", argv[i]);
30 printf("%s not securetty.\n", argv[i]);
  /external/selinux/semodule-utils/semodule_expand/
semodule_expand.c 38 int main(int argc, char **argv)
49 while ((ch = getopt(argc, argv, "c:Vva")) != EOF) {
62 argv[0], optarg);
63 usage(argv[0]);
70 argv[0], n,
73 usage(argv[0]);
84 usage(argv[0]);
102 argv[0]);
103 usage(argv[0]);
106 basename = argv[optind++]
    [all...]
  /external/syslinux/com32/modules/
host.c 19 int main(int argc, char *argv[])
27 usage(argv[0]);
32 ip = dns_resolve(argv[i]);
34 printf("%s not found.\n", argv[i]);
36 printf("%-39s %08X %u.%u.%u.%u\n", argv[i], ntohl(ip), ip & 0xFF,
  /external/valgrind/none/tests/darwin/
apple-main-arg.c 9 // to a string that contains the executable path, like argv[0], but unlike
10 // argv[0] it can't be changed using exec().
12 int main(int argc, char *argv[], char *envp[], char *apple[])
24 // Make sure realpath(argv[0]) == realpath(apple[0]). (realpath resolves
26 realpath(argv[0], pargv);
  /prebuilts/misc/common/swig/include/2.0.11/ruby/
progargcargv.i 5 Some C function receive argc and argv from C main function.
6 This typemap provides ignore typemap which pass Ruby ARGV contents
7 as argc and argv to C function.
12 // argc and argv
19 VALUE ary = rb_eval_string("[$0] + ARGV");
  /external/iproute2/tc/
m_vlan.c 40 char **argv = *argv_p; local
49 if (matches(*argv, "vlan") != 0)
55 if (matches(*argv, "pop") == 0) {
58 *argv);
63 } else if (matches(*argv, "push") == 0) {
66 *argv);
71 } else if (matches(*argv, "id") == 0) {
74 *argv);
79 if (get_u16(&id, *argv, 0))
80 invarg("id is invalid", *argv);
    [all...]
tc_qdisc.c 45 static int tc_qdisc_modify(int cmd, unsigned flags, int argc, char **argv)
73 if (strcmp(*argv, "dev") == 0) {
76 duparg("dev", *argv);
77 strncpy(d, *argv, sizeof(d)-1);
78 } else if (strcmp(*argv, "handle") == 0) {
81 duparg("handle", *argv);
83 if (get_qdisc_handle(&handle, *argv))
84 invarg("invalid qdisc ID", *argv);
86 } else if (strcmp(*argv, "root") == 0) {
92 } else if (strcmp(*argv, "clsact") == 0)
    [all...]
tc_stab.c 54 char **argv = *argvp; local
61 if (matches(*argv, "help") == 0) {
66 if (matches(*argv, "mtu") == 0) {
69 duparg("mtu", *argv);
70 if (get_u32(&s.mtu, *argv, 10))
72 } else if (matches(*argv, "mpu") == 0) {
75 duparg("mpu", *argv);
76 if (get_u32(&s.mpu, *argv, 10))
78 } else if (matches(*argv, "overhead") == 0) {
81 duparg("overhead", *argv);
    [all...]
  /external/iproute2/bridge/
fdb.c 171 static int fdb_show(int argc, char **argv)
188 if ((strcmp(*argv, "brport") == 0) || strcmp(*argv, "dev") == 0) {
190 filter_dev = *argv;
191 } else if (strcmp(*argv, "br") == 0) {
193 br = *argv;
195 if (matches(*argv, "help") == 0)
198 argc--; argv++;
235 static int fdb_modify(int cmd, int flags, int argc, char **argv)
262 if (strcmp(*argv, "dev") == 0)
    [all...]
vlan.c 26 static int vlan_modify(int cmd, int argc, char **argv)
49 if (strcmp(*argv, "dev") == 0) {
51 d = *argv;
52 } else if (strcmp(*argv, "vid") == 0) {
55 p = strchr(*argv, '-');
59 vid = atoi(*argv);
63 vid = atoi(*argv);
65 } else if (strcmp(*argv, "self") == 0) {
67 } else if (strcmp(*argv, "master") == 0) {
69 } else if (strcmp(*argv, "pvid") == 0)
    [all...]
  /external/iw/
phy.c 21 int argc, char **argv,
27 NLA_PUT_STRING(msg, NL80211_ATTR_WIPHY_NAME, *argv);
36 static int handle_freqs(struct nl_msg *msg, int argc, char **argv)
56 if (strcasecmp(bwmap[i].name, argv[0]) == 0) {
71 if (!*argv[1])
73 freq = strtoul(argv[1], &end, 10);
82 if (!*argv[2])
84 freq = strtoul(argv[2], &end, 10);
95 int argc, char **argv)
113 if (!*argv[0]
    [all...]
  /external/libbrillo/brillo/
flag_helper_unittest.cc 43 const char* argv[] = {"test_program"}; local
44 base::CommandLine command_line(arraysize(argv), argv); local
48 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); local
88 const char* argv[] = {"test_program", local
106 base::CommandLine command_line(arraysize(argv), argv); local
110 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue") local
150 const char* argv[] = {"test_program", local
166 base::CommandLine command_line(arraysize(argv), argv); local
170 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); local
194 const char* argv[] = {"test_program", "--int32_1=5", "--int32_1=10"}; local
195 base::CommandLine command_line(arraysize(argv), argv); local
199 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDuplicateSetvalue"); local
208 const char* argv[] = {"test_program", "--int32_1=5", "--", "--int32_1=10"}; local
209 base::CommandLine command_line(arraysize(argv), argv); local
213 brillo::FlagHelper::Init(arraysize(argv), argv, "TestFlagTerminator"); local
228 const char* argv[] = {"test_program", "--int_1=value", "--help"}; local
229 base::CommandLine command_line(arraysize(argv), argv); local
255 const char* argv[] = {"test_program", "--flag=value"}; local
256 base::CommandLine command_line(arraysize(argv), argv); local
276 const char* argv[] = {"test_program", "--bool_1=value"}; local
277 base::CommandLine command_line(arraysize(argv), argv); local
298 const char* argv[] = {"test_program", "--int_1=value"}; local
299 base::CommandLine command_line(arraysize(argv), argv); local
321 const char* argv[] = {"test_program", "--int64_1=value"}; local
322 base::CommandLine command_line(arraysize(argv), argv); local
344 const char* argv[] = {"test_program", "--uint64_1=value"}; local
345 base::CommandLine command_line(arraysize(argv), argv); local
    [all...]
  /external/libvncserver/libvncserver/
cargs.c 66 /* purges COUNT arguments from ARGV at POSITION and decrements ARGC.
68 void rfbPurgeArguments(int* argc,int* position,int count,char *argv[])
72 memmove(argv+(*position),argv+(*position)+count,sizeof(char*)*amount);
77 rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[])
84 if (strcmp(argv[i], "-help") == 0) {
87 } else if (strcmp(argv[i], "-rfbport") == 0) { /* -rfbport port */
92 rfbScreen->port = atoi(argv[++i]);
94 } else if (strcmp(argv[i], "-rfbportv6") == 0) { /* -rfbportv6 port */
99 rfbScreen->ipv6port = atoi(argv[++i])
    [all...]
  /external/libcxx/utils/
not.py 22 argv = list(sys.argv)
23 del argv[0]
24 if len(argv) > 0 and argv[0] == '--crash':
25 del argv[0]
29 if len(argv) == 0:
31 prog = distutils.spawn.find_executable(argv[0])
33 sys.stderr.write('Failed to find program %s' % argv[0])
35 rc = subprocess.call(argv)
    [all...]
  /external/tinyalsa/
tinycap.c 72 int main(int argc, char **argv)
90 " [-n n_periods] [-T capture time]\n", argv[0]);
94 file = fopen(argv[1], "wb");
96 fprintf(stderr, "Unable to create file '%s'\n", argv[1]);
101 argv += 2;
102 while (*argv) {
103 if (strcmp(*argv, "-d") == 0) {
104 argv++;
105 if (*argv)
106 device = atoi(*argv);
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/utils/not/
not.py 22 argv = list(sys.argv)
23 del argv[0]
24 if len(argv) > 0 and argv[0] == '--crash':
25 del argv[0]
29 if len(argv) == 0:
31 prog = distutils.spawn.find_executable(argv[0])
33 sys.stderr.write('Failed to find program %s' % argv[0])
35 rc = subprocess.call(argv)
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
GenFv.c 160 IN char **argv
241 argv ++;
243 if ((stricmp (argv[0], "-h") == 0) || (stricmp (argv[0], "--help") == 0)) {
249 if (stricmp (argv[0], "--version") == 0) {
255 if ((stricmp (argv[0], "-i") == 0) || (stricmp (argv[0], "--inputfile") == 0)) {
256 InfFileName = argv[1];
262 argv += 2;
266 if ((stricmp (argv[0], "-a") == 0) || (stricmp (argv[0], "--addrfile") == 0)) {
    [all...]
  /device/google/marlin/dataservices/rmnetctl/cli/
rmnetcli.c 246 * @param argv Value of the arguments which vary based on the commands
256 static int rmnet_api_call(int argc, char *argv[])
261 if ((!argc) || (!*argv)) {
266 if (!strcmp(*argv, "help")) {
278 if (!strcmp(*argv, "assocnetdev")) {
280 argv[1], &error_number, RMNETCTL_DEVICE_ASSOCIATE);
281 } else if (!strcmp(*argv, "unassocnetdev")) {
283 argv[1], &error_number, RMNETCTL_DEVICE_UNASSOCIATE);
284 } else if (!strcmp(*argv, "getnetdevassoc")) {
287 argv[1], &register_status, &error_number)
    [all...]
  /device/huawei/angler/dataservices/rmnetctl/cli/
rmnetcli.c 246 * @param argv Value of the arguments which vary based on the commands
256 static int rmnet_api_call(int argc, char *argv[])
261 if ((!argc) || (!*argv)) {
266 if (!strcmp(*argv, "help")) {
278 if (!strcmp(*argv, "assocnetdev")) {
280 argv[1], &error_number, RMNETCTL_DEVICE_ASSOCIATE);
281 } else if (!strcmp(*argv, "unassocnetdev")) {
283 argv[1], &error_number, RMNETCTL_DEVICE_UNASSOCIATE);
284 } else if (!strcmp(*argv, "getnetdevassoc")) {
287 argv[1], &register_status, &error_number)
    [all...]
  /device/lge/bullhead/dataservices/rmnetctl/cli/
rmnetcli.c 246 * @param argv Value of the arguments which vary based on the commands
256 static int rmnet_api_call(int argc, char *argv[])
261 if ((!argc) || (!*argv)) {
266 if (!strcmp(*argv, "help")) {
278 if (!strcmp(*argv, "assocnetdev")) {
280 argv[1], &error_number, RMNETCTL_DEVICE_ASSOCIATE);
281 } else if (!strcmp(*argv, "unassocnetdev")) {
283 argv[1], &error_number, RMNETCTL_DEVICE_UNASSOCIATE);
284 } else if (!strcmp(*argv, "getnetdevassoc")) {
287 argv[1], &register_status, &error_number)
    [all...]
  /external/iproute2/ip/
iprule.c 249 static int iprule_list_or_save(int argc, char **argv, int save)
327 static int iprule_modify(int cmd, int argc, char **argv)
354 if (strcmp(*argv, "not") == 0) {
356 } else if (strcmp(*argv, "from") == 0) {
359 get_prefix(&dst, *argv, req.r.rtm_family);
362 } else if (strcmp(*argv, "to") == 0) {
365 get_prefix(&dst, *argv, req.r.rtm_family);
368 } else if (matches(*argv, "preference") == 0 ||
369 matches(*argv, "order") == 0 ||
370 matches(*argv, "priority") == 0)
    [all...]
  /external/libxml2/
testSchemas.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"))) {
79 if (argv[i][0] != '-') {
88 if (stat(argv[i], &info) < 0)
90 if ((fd = open(argv[i], O_RDONLY)) < 0
    [all...]
  /external/syslinux/gpxe/src/hci/commands/
dhcp_cmd.c 44 * @v argv Argument list
46 static void dhcp_syntax ( char **argv ) {
51 argv[0] );
58 * @v argv Argument list
61 static int dhcp_exec ( int argc, char **argv ) {
72 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){
78 dhcp_syntax ( argv );
85 dhcp_syntax ( argv );
88 netdev_txt = argv[optind];
110 * @v argv Argument lis
    [all...]
  /system/security/keystore/
keystore_cli.cpp 50 if (strcmp(argv[1], #cmd) == 0) { \
53 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
64 if (strcmp(argv[1], #cmd) == 0) { \
66 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
69 int32_t ret = service->cmd(String16(argv[2])); \
71 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
82 if (strcmp(argv[1], #cmd) == 0) { \
84 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
87 int32_t ret = service->cmd(atoi(argv[2])); \
89 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret);
    [all...]
  /external/google-breakpad/src/testing/test/
gmock_test.cc 45 // Verifies that calling InitGoogleMock() on argv results in new_argv,
48 void TestInitGoogleMock(const Char* (&argv)[M], const Char* (&new_argv)[N],
53 InitGoogleMock(&argc, const_cast<Char**>(argv));
54 ASSERT_EQ(N, argc) << "The new argv has wrong number of elements.";
57 EXPECT_STREQ(new_argv[i], argv[i]);
65 const char* argv[] = { local
73 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose));
77 const char* argv[] = { local
87 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose));
91 const char* argv[] = local
106 const char* argv[] = { local
122 const char* argv[] = { local
140 const char* argv[] = { local
158 const wchar_t* argv[] = { local
170 const wchar_t* argv[] = { local
184 const wchar_t* argv[] = { local
199 const wchar_t* argv[] = { local
215 const wchar_t* argv[] = { local
233 const wchar_t* argv[] = { local
    [all...]

Completed in 1516 milliseconds

1 2 3 4 5 6 7 8 91011>>