/external/honggfuzz/examples/badcode/targets/ |
badcode1.c | 27 int main(int argc, char ** argv) 31 printf("Syntax: %s <input file>\n", argv[0]); 34 return output(argv[1]);
|
/external/python/cpython2/Mac/BuildScript/ |
seticon.m | 7 int main(int argc, char** argv) 15 NSString* iconPath = [NSString stringWithUTF8String:argv[1]]; 16 NSString* filePath = [NSString stringWithUTF8String:argv[2]];
|
/external/python/cpython3/Mac/BuildScript/ |
seticon.m | 7 int main(int argc, char** argv) 15 NSString* iconPath = [NSString stringWithUTF8String:argv[1]]; 16 NSString* filePath = [NSString stringWithUTF8String:argv[2]];
|
/external/selinux/libsemanage/example/ |
test_fcontext.c | 10 int main(const int argc, const char **argv) { 31 if (semanage_fcontext_key_create(sh, argv[2], SEMANAGE_FCONTEXT_REG, &k) < 0) { 32 fprintf(stderr, "Could not create key for %s", argv[2]); 37 fprintf(stderr,"Could not check if key exists for %s", argv[2]); 41 fprintf(stderr,"Could create %s mapping already exists", argv[2]); 46 fprintf(stderr,"Could not create file context for %s", argv[2]); 49 semanage_fcontext_set_expr(sh, fcontext, argv[2]); 51 if (semanage_context_from_string(sh, argv[1], &con)) { 52 fprintf(stderr,"Could not create context using %s for file context %s", argv[1], argv[2]) [all...] |
/external/syslinux/com32/chain/ |
options.c | 185 int opt_parse_args(int argc, char *argv[]) 192 if (!strncmp(argv[i], "file=", 5)) { 193 opt.file = argv[i] + 5; 194 } else if (!strcmp(argv[i], "nofile")) { 196 } else if (!strncmp(argv[i], "seg=", 4)) { 197 if (soi_s2n(argv[i] + 4, &opt.fseg, &opt.foff, &opt.fip, 0)) 199 } else if (!strncmp(argv[i], "bss=", 4)) { 200 opt.file = argv[i] + 4; 204 } else if (!strncmp(argv[i], "bs=", 3)) { 205 opt.file = argv[i] + 3 [all...] |
/external/autotest/frontend/ |
manage.py | 8 execute_from_command_line(sys.argv)
|
/external/e2fsprogs/contrib/ |
add_ext4_encrypt.c | 23 int main (int argc, char *argv[]) 33 fprintf(stderr, "%s: Usage <device|filesystem>\n", argv[0]); 37 retval = ext2fs_open(argv[1], EXT2_FLAG_RW, 0, 0, 41 com_err(argv[0], retval, "while trying to open '%s'", 42 argv[1]); 52 printf("Ext4 encryption enabled on %s\n", argv[1]); 54 printf("Ext4 encryption already enabled on %s\n", argv[1]); 58 com_err(argv[0], retval, "while trying to close '%s'", 59 argv[1]);
|
/external/e2fsprogs/debugfs/ |
xattrs.c | 85 void do_list_xattr(int argc, char **argv) 90 printf("%s: Usage: %s <file>\n", argv[0], 91 argv[0]); 95 if (check_fs_open(argv[0])) 98 ino = string_to_inode(argv[1]); 105 void do_get_xattr(int argc, char **argv) 116 while ((i = getopt(argc, argv, "f:")) != -1) { 129 argv[0], argv[0]); 135 printf("%s: Usage: %s <file> <attr> [-f outfile]\n", argv[0] [all...] |
/external/jemalloc/msvc/projects/vc2015/test_threads/ |
test_threads_main.cpp | 8 int main(int argc, char** argv)
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
validate_cap.c | 24 static bool bool_arg(char **argv, int i) 26 if (!strcmp(argv[i], "0")) 28 else if (!strcmp(argv[i], "1")) 31 ksft_exit_fail_msg("wrong argv[%d]\n", i); 36 int main(int argc, char **argv) 57 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 1)) { 62 if (capng_have_capability(CAPNG_PERMITTED, CAP_NET_BIND_SERVICE) != bool_arg(argv, 2)) { 67 if (capng_have_capability(CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 3)) { 72 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, 4)) {
|
/external/ltp/testcases/kernel/security/smack/ |
smack_notroot.c | 21 int main(int argc, char *argv[]) 25 execv(argv[1], &argv[1]); 27 perror(argv[0]);
|
/external/puffin/src/ |
testrunner.cc | 12 int main(int argc, char** argv) { 14 base::CommandLine::Init(argc, argv); 15 SetUpTests(&argc, argv, true); 17 testing::InitGoogleTest(&argc, argv);
|
/external/python/cpython2/Demo/embed/ |
loop.c | 7 main(int argc, char **argv) 16 command = argv[1]; 19 count = atoi(argv[2]); 22 Py_SetProgramName(argv[0]);
|
/external/skia/tools/ |
whitelist_typefaces.cpp | 13 int main(int argc, char** argv) { 16 if (!strcmp(argv[1], "--check")) { 19 if (!strcmp(argv[1], "--generate")) { 26 SkDebugf("Usage:\n %s [--check] [--generate]\n\n", argv[0]);
|
/external/skqp/tools/ |
whitelist_typefaces.cpp | 13 int main(int argc, char** argv) { 16 if (!strcmp(argv[1], "--check")) { 19 if (!strcmp(argv[1], "--generate")) { 26 SkDebugf("Usage:\n %s [--check] [--generate]\n\n", argv[0]);
|
/external/syslinux/gpxe/src/hci/commands/ |
image_cmd.c | 80 * @v argv Argument list 82 static void imgfetch_core_syntax ( char **argv, enum image_action action ) { 93 argv[0], actions[action] ); 102 * @v argv Argument list 107 int argc, char **argv ) { 121 while ( ( c = getopt_long ( argc, argv, "hn:", 132 imgfetch_core_syntax ( argv, action ); 139 imgfetch_core_syntax ( argv, action ); 142 filename = argv[optind++]; 164 &argv[optind] ) ) != 0 [all...] |
sanboot_cmd.c | 12 * @v argv Argument list 14 static void sanboot_syntax ( char **argv ) { 19 argv[0] ); 26 * @v argv Argument list 29 static int sanboot_exec ( int argc, char **argv ) { 39 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){ 45 sanboot_syntax ( argv ); 52 sanboot_syntax ( argv ); 55 root_path = argv[optind];
|
/external/valgrind/helgrind/tests/ |
cond_init_destroy.c | 2 int main(int argc, char *argv[])
|
/external/valgrind/memcheck/tests/ |
recursive-merge.c | 36 void doit (int argc, char**argv) 40 char* calls = argv[i]; 41 char* seq = argv[i]; 47 int main(int argc, char**argv) 56 doit(argc, argv); // with default value of our argument. 59 doit(argc, argv); 62 doit(argc, argv); 65 doit(argc, argv); 68 doit(argc, argv);
|
/external/valgrind/none/tests/ |
fdleak_open.c | 5 int main (int argc, char **argv)
|
fdleak_pipe.c | 4 int main (int argc, char **argv)
|
fucomip.c | 3 int main (int argc, char ** argv)
|
/external/walt/pywalt/ |
walt | 4 sys.exit(main(sys.argv[1:]))
|
/frameworks/base/tools/streaming_proto/test/src/com/android/streaming_proto_test/ |
Main.java | 4 public void main(String[] argv) {
|
/system/sepolicy/tools/sepolicy-analyze/ |
attribute.h | 9 int attribute_func(int argc, char **argv, policydb_t *policydb);
|