/art/runtime/ |
dexopt_test.cc | 220 std::vector<std::string> argv; local 221 argv.push_back(patchoat); 222 argv.push_back("--input-image-location=" + image_location); 223 argv.push_back("--output-image-directory=" + dalvik_cache); 224 argv.push_back("--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA))); 225 argv.push_back("--base-offset-delta=0x00008000"); 226 return Exec(argv, error_msg);
|
/bionic/libc/bionic/ |
exec.cpp | 58 // Construct the new argv. 59 char* argv[n + 1]; local 60 argv[0] = const_cast<char*>(argv0); 62 while ((argv[n] = va_arg(ap, char*)) != nullptr) { 71 return (variant == kIsExecLP) ? execvp(name, argv) : execve(name, argv, argp); 98 int execv(const char* name, char* const* argv) { 99 return execve(name, argv, environ); 102 int execvp(const char* name, char* const* argv) { 103 return execvpe(name, argv, environ) [all...] |
/bootable/recovery/update_verifier/ |
update_verifier.cpp | 248 int update_verifier(int argc, char** argv) { 250 LOG(INFO) << "Started with arg " << i << ": " << argv[i]; local
|
/build/kati/ |
fileutil.cc | 68 const char* argv[] = {NULL, NULL, NULL, NULL}; local 74 argv[0] = "/bin/sh"; 75 argv[1] = "-c"; 76 argv[2] = cmd_with_shell.c_str(); 79 argv[0] = shell.c_str(); 80 argv[1] = shellflag.c_str(); 81 argv[2] = cmd.c_str(); 128 execvp(argv[0], const_cast<char**>(argv)); 129 PLOG("execvp for %s failed", argv[0]) [all...] |
/cts/common/device-side/nativetesthelper/jni/ |
gtest_wrapper.cpp | 131 const char* argv[] = { "gtest_wrapper" }; local 132 ::testing::InitGoogleTest(&argc, (char**) argv);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_cgi.py | 9 # The regression test will have real values in sys.argv, which
11 argv = []
variable in class:HackedSysModule
|
/external/clang/tools/scan-build-py/tests/functional/exec/ |
main.c | 117 char *const argv[] = {"cc", "-c", file, 0}; local 122 FORK(execv(compiler, argv);) 130 char *const argv[] = {compiler, "-c", file, 0}; local 136 FORK(execve(compiler, argv, envp);) 144 char *const argv[] = {compiler, "-c", file, 0}; local 149 FORK(execvp(compiler, argv);) 157 char *const argv[] = {compiler, "-c", file, 0}; local 162 FORK(execvP(compiler, _PATH_DEFPATH, argv);) 170 char *const argv[] = {"/usr/bin/cc", "-c", file, 0}; local 176 FORK(execvpe(compiler, argv, envp); 184 char *const argv[] = {compiler, "-c", file, 0}; local 235 char *const argv[] = {compiler, "-c", file, 0}; local 253 char *const argv[] = {compiler, "-c", file, 0}; local [all...] |
/external/elfutils/tests/ |
addrcfi.c | 179 main (int argc, char *argv[]) 187 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local 221 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); 222 if (endp != argv[remaining])
|
addrscopes.c | 142 main (int argc, char *argv[]) 150 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local 184 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); 185 if (endp != argv[remaining])
|
dwfllines.c | 33 main (int argc, char *argv[]) 38 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &cnt, &dwfl); local
|
funcscopes.c | 101 char **argv; member in struct:args 110 char **argv = a->argv; local 111 if (argv[0] != NULL) 115 match = fnmatch (*argv, name, 0) == 0; 116 while (!match && *++argv); 173 main (int argc, char *argv[]) 182 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, local 185 a.argv = &argv[remaining] [all...] |
/external/google-breakpad/src/client/mac/tests/ |
crash_generation_server_test.cc | 295 const char* argv[] = { local 301 pid_t pid = spawn_child_process(argv);
|
minidump_generator_test.cc | 244 const char* argv[] = { local 249 pid_t pid = spawn_child_process(argv);
|
/external/iproute2/tc/ |
m_ife.c | 58 char **argv = *argv_p; local 80 if (matches(*argv, "ife") == 0) { 83 } else if (matches(*argv, "decode") == 0) { 86 } else if (matches(*argv, "encode") == 0) { 89 } else if (matches(*argv, "allow") == 0) { 91 if (matches(*argv, "mark") == 0) { 93 } else if (matches(*argv, "prio") == 0) { 95 } else if (matches(*argv, "tcindex") == 0) { 99 *argv); 102 } else if (matches(*argv, "use") == 0) [all...] |
m_tunnel_key.c | 88 char **argv = *argv_p; local 98 if (matches(*argv, "tunnel_key") != 0) 107 if (matches(*argv, "unset") == 0) { 110 *argv); 115 } else if (matches(*argv, "set") == 0) { 118 *argv); 123 } else if (matches(*argv, "src_ip") == 0) { 125 ret = tunnel_key_parse_ip_addr(*argv, 134 } else if (matches(*argv, "dst_ip") == 0) { 136 ret = tunnel_key_parse_ip_addr(*argv, [all...] |
m_xt.c | 156 char **argv = *argv_p; local 171 if (!argv[argc] || !strcmp(argv[argc], "action")) 182 c = getopt_long(argc, argv, "j:", tmp_tcipt_globals.opts, NULL); 213 xtables_option_tpcall(c, argv, 0, m, &fw); 216 m->parse(c - m->option_offset, argv, 0, 231 if (matches(argv[optind], "index") == 0) { 232 if (get_u32(&index, argv[optind + 1], 10)) { 244 fprintf(stderr, " ipt Parser BAD!! (%s)\n", *argv); 296 argv += optind [all...] |
q_hfsc.c | 74 hfsc_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 79 if (matches(*argv, "default") == 0) { 85 if (get_u16(&qopt.defcls, *argv, 16) < 0) { 89 } else if (matches(*argv, "help") == 0) { 93 fprintf(stderr, "HFSC: What is \"%s\" ?\n", *argv); 97 argc--, argv++; 144 hfsc_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, 152 if (matches(*argv, "rt") == 0) { 154 if (hfsc_get_sc(&argc, &argv, &rsc) < 0) { 159 } else if (matches(*argv, "ls") == 0) 287 char **argv = *argvp; local 330 char **argv = *argvp; local [all...] |
/external/libchrome/base/ |
command_line_unittest.cc | 31 const CommandLine::CharType* argv[] = { local 50 CommandLine cl(arraysize(argv), argv); local 176 EXPECT_EQ(1U, cl_from_string.argv().size()); 182 EXPECT_EQ(1U, cl_from_argv.argv().size()); 299 // switches to argv. 319 CommandLine::StringVector cl_argv = cl.argv(); 415 EXPECT_EQ(6u, cl.argv().size()); 416 EXPECT_EQ(FILE_PATH_LITERAL("wrapper"), cl.argv()[0]); 417 EXPECT_EQ(FILE_PATH_LITERAL("--foo"), cl.argv()[1]) [all...] |
/external/libedit/src/ |
eln.c | 87 el_parse(EditLine *el, int argc, const char *argv[]) 93 ct_decode_argv(argc, argv, &el->el_lgcyconv); 149 const char *argv[20]; local 152 for (i = 1; i < (int)__arraycount(argv); ++i) 153 if ((argv[i] = va_arg(ap, char *)) == NULL) 155 argv[0] = NULL; 157 ct_decode_argv(i + 1, argv, &el->el_lgcyconv); 306 char *argv[20]; local 309 for (i = 1; i < (int)__arraycount(argv); ++i) 310 if ((argv[i] = va_arg(ap, char *)) == NULL [all...] |
tokenizer.c | 77 Char **argv; /* Argument list */ local 98 tok->argv[tok->argc++] = tok->wstart; 99 tok->argv[tok->argc] = NULL; 123 tok->argv = tok_malloc(sizeof(*tok->argv) * tok->amax); 124 if (tok->argv == NULL) { 129 tok->argv[0] = NULL; 132 tok_free(tok->argv); 171 tok_free(tok->argv); 190 * argv argument arra [all...] |
/external/libxml2/ |
xmlcatalog.c | 101 char *argv[20]; local 148 memset(argv, 0, sizeof(argv)); 153 argv[i] = cur; 163 argv[i] = cur; 172 argv[i] = cur; 196 ans = xmlCatalogResolvePublic((const xmlChar *) argv[0]); 198 printf("No entry for PUBLIC %s\n", argv[0]); 208 ans = xmlCatalogResolveSystem((const xmlChar *) argv[0]); 210 printf("No entry for SYSTEM %s\n", argv[0]) [all...] |
/external/llvm/unittests/Support/ |
ProgramTest.cpp | 130 const char *ArgV[] = { 152 int RC = ExecuteAndWait(MyExe, ArgV, getEnviron(), Redirects, 175 const char *argv[] = { local 195 int rc = ExecuteAndWait(my_exe, argv, getEnviron(), redirects, 212 const char *argv[] = { local 223 ProcessInfo PI1 = ExecuteNoWait(Executable, argv, getEnviron(), nullptr, 0, 242 ProcessInfo PI2 = ExecuteNoWait(Executable, argv, getEnviron(), nullptr, 0, 270 const char *argv[] = { local 282 ExecuteAndWait(Executable, argv, getEnviron(), nullptr, /*secondsToWait=*/1, 0, 289 const char *argv[] = { Executable.c_str(), nullptr } local [all...] |
/external/ltp/testcases/kernel/input/ |
input_helper.c | 90 const char *argv[] = {"modprobe", "uinput", NULL}; local 95 ret = tst_run_cmd(NULL, argv, NULL, NULL, 1); 106 const char *argv[] = {"modprobe", "-r", "uinput", NULL}; local 111 ret = tst_run_cmd(NULL, argv, NULL, NULL, 1);
|
/external/protobuf/conformance/ |
conformance_test_runner.cc | 190 char *const argv[] = {executable.get(), NULL}; local 191 CHECK_SYSCALL(execv(executable.get(), argv)); // Never returns. 279 int main(int argc, char *argv[]) { 286 if (strcmp(argv[arg], "--failure_list") == 0) { 288 ParseFailureList(argv[arg], &failure_list); 289 } else if (strcmp(argv[arg], "--verbose") == 0) { 291 } else if (argv[arg][0] == '-') { 292 fprintf(stderr, "Unknown option: %s\n", argv[arg]); 299 program = argv[arg];
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
metadata_test.cc | 105 const char* argv[] = {"protoc", proto_path.c_str(), cpp_out.c_str(), local 108 if (cli.Run(5, argv) != 0) {
|