/external/valgrind/none/tests/mips64/ |
allexec.c | 26 /* Solaris requires that the argv parameter to execve() isn't NULL, so 28 char *const argv[] = {exec, NULL}; local 29 FORKEXECWAIT (execve(exec, argv, environ)); 42 int main(int argc, char **argv, char **envp) 44 if ( (argc == 2) && (strcmp (argv[1], "exec") == 0)) { 45 S("%s will exec ./allexec32\n", argv[0]); 47 S("%s will exec ./allexec64\n", argv[0]); 52 for (i = 0; i < argc; i++) S(" %s", argv[i]);
|
/external/valgrind/none/tests/ppc32/ |
allexec.c | 26 /* Solaris requires that the argv parameter to execve() isn't NULL, so 28 char *const argv[] = {exec, NULL}; local 29 FORKEXECWAIT (execve(exec, argv, environ)); 42 int main(int argc, char **argv, char **envp) 44 if ( (argc == 2) && (strcmp (argv[1], "exec") == 0)) { 45 S("%s will exec ./allexec32\n", argv[0]); 47 S("%s will exec ./allexec64\n", argv[0]); 52 for (i = 0; i < argc; i++) S(" %s", argv[i]);
|
/external/valgrind/none/tests/ppc64/ |
allexec.c | 26 /* Solaris requires that the argv parameter to execve() isn't NULL, so 28 char *const argv[] = {exec, NULL}; local 29 FORKEXECWAIT (execve(exec, argv, environ)); 42 int main(int argc, char **argv, char **envp) 44 if ( (argc == 2) && (strcmp (argv[1], "exec") == 0)) { 45 S("%s will exec ./allexec32\n", argv[0]); 47 S("%s will exec ./allexec64\n", argv[0]); 52 for (i = 0; i < argc; i++) S(" %s", argv[i]);
|
/external/valgrind/none/tests/s390x/ |
allexec.c | 26 /* Solaris requires that the argv parameter to execve() isn't NULL, so 28 char *const argv[] = {exec, NULL}; local 29 FORKEXECWAIT (execve(exec, argv, environ)); 42 int main(int argc, char **argv, char **envp) 44 if ( (argc == 2) && (strcmp (argv[1], "exec") == 0)) { 45 S("%s will exec ./allexec32\n", argv[0]); 47 S("%s will exec ./allexec64\n", argv[0]); 52 for (i = 0; i < argc; i++) S(" %s", argv[i]);
|
/external/valgrind/none/tests/x86/ |
allexec.c | 26 /* Solaris requires that the argv parameter to execve() isn't NULL, so 28 char *const argv[] = {exec, NULL}; local 29 FORKEXECWAIT (execve(exec, argv, environ)); 42 int main(int argc, char **argv, char **envp) 44 if ( (argc == 2) && (strcmp (argv[1], "exec") == 0)) { 45 S("%s will exec ./allexec32\n", argv[0]); 47 S("%s will exec ./allexec64\n", argv[0]); 52 for (i = 0; i < argc; i++) S(" %s", argv[i]);
|
/external/webrtc/webrtc/examples/relayserver/ |
relayserver_main.cc | 17 int main(int argc, char **argv) { 25 if (!int_addr.FromString(argv[1])) { 26 std::cerr << "Unable to parse IP address: " << argv[1]; local 31 if (!ext_addr.FromString(argv[2])) { 32 std::cerr << "Unable to parse IP address: " << argv[2]; local
|
/external/webrtc/webrtc/examples/stunserver/ |
stunserver_main.cc | 22 int main(int argc, char* argv[]) { 29 if (!server_addr.FromString(argv[1])) { 30 std::cerr << "Unable to parse IP address: " << argv[1]; local
|
/frameworks/rs/script_api/ |
Generator.cpp | 157 static bool parseCommandLine(int argc, char* argv[], unsigned int* maxApiLevel, 160 if (argv[i][0] == '-') { 161 if (argv[i][1] == 'v') { 165 *maxApiLevel = strtol(argv[i], &end, 10); 167 cerr << "Error. Can't parse the version number" << argv[i] << "\n"; local 175 cerr << "Unrecognized flag %s\n" << argv[i] << "\n"; local 179 specFileNames->push_back(argv[i]); 189 int main(int argc, char* argv[]) { 193 if (!parseCommandLine(argc, argv, &maxApiLevel, &specFileNames)) {
|
/system/bt/main/ |
bte_init_cpp_logging.cc | 33 const char* argv[] = {"bt_stack", NULL, NULL}; local 36 argv[argc] = loggingV->c_str(); 41 argv[argc] = loggingVModule->c_str(); 46 base::CommandLine::Init(argc, argv);
|
/bionic/libc/private/ |
KernelArgumentBlock.h | 30 // of memory containing argc, the argv array, the environment variable array, 38 argv = reinterpret_cast<char**>(args + 1); 39 envp = argv + argc + 1; 64 char** argv; member in class:KernelArgumentBlock
|
/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...] |
/external/googletest/googlemock/test/ |
gmock_test.cc | 47 // Verifies that calling InitGoogleMock() on argv results in new_argv, 50 void TestInitGoogleMock(const Char* (&argv)[M], const Char* (&new_argv)[N], 55 InitGoogleMock(&argc, const_cast<Char**>(argv)); 56 ASSERT_EQ(N, argc) << "The new argv has wrong number of elements."; 59 EXPECT_STREQ(new_argv[i], argv[i]); 67 const char* argv[] = { local 75 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); 79 const char* argv[] = { local 89 TestInitGoogleMock(argv, new_argv, GMOCK_FLAG(verbose)); 93 const char* argv[] = local 109 const wchar_t* argv[] = { local 128 const char* argv[] = { local 144 const char* argv[] = { local 161 const wchar_t* argv[] = { local 173 const wchar_t* argv[] = { local 187 const wchar_t* argv[] = { local 203 const wchar_t* argv[] = { local 222 const wchar_t* argv[] = { local 238 const wchar_t* argv[] = { local [all...] |
/external/iproute2/tc/ |
tc_stab.c | 53 char **argv = *argvp; local 58 if (matches(*argv, "help") == 0) { 63 if (matches(*argv, "mtu") == 0) { 66 duparg("mtu", *argv); 67 if (get_u32(&s.mtu, *argv, 10)) 69 } else if (matches(*argv, "mpu") == 0) { 72 duparg("mpu", *argv); 73 if (get_u32(&s.mpu, *argv, 10)) 75 } else if (matches(*argv, "overhead") == 0) { 78 duparg("overhead", *argv); [all...] |
/external/ltp/lib/ |
tst_mkfs.c | 31 const char *argv[OPTS_MAX] = {mkfs}; local 50 argv[pos++] = fs_opts[i]; 65 argv[pos++] = dev; 68 argv[pos++] = extra_opt; 77 argv[pos] = NULL; 84 ret = tst_run_cmd(cleanup_fn, argv, "/dev/null", NULL, 1);
|
/external/perfetto/src/ftrace_reader/ |
atrace_wrapper.cc | 36 // Args should include "atrace" for argv[0]. 40 std::vector<char*> argv; local 42 argv.reserve(1 + args.size()); 44 argv.push_back(const_cast<char*>(arg.c_str())); 45 argv.push_back(nullptr); 54 execv("/system/bin/atrace", &argv[0]);
|
/external/testng/src/test/java/test/mixed/ |
MixedTest.java | 17 String[] argv = { local 26 TestNG.privateMain(argv, tla); 35 String[] argv = { local 42 TestNG.privateMain(argv, tla); 50 String[] argv = { local 57 TestNG.privateMain(argv, tla);
|
/external/valgrind/memcheck/tests/solaris/ |
execx.c | 39 char *argv[] = {"printf", "PASSED\n", NULL}; local 41 if (fexecve(fd, argv, envp) < 0) { 52 int main(int argc, const char *argv[], char * const *envp) {
|
/external/valgrind/none/tests/solaris/ |
proc_psinfo.c | 46 char **argv = (char **) psinfo.pr_argv; local 48 printf("argv[%u]: %s\n", i, argv[i]); 54 int main(int argc, const char *argv[])
|
/external/webrtc/webrtc/examples/peerconnection/client/ |
main.cc | 28 char **argv = win_args.argv(); local 30 rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true);
|
/external/xmlrpcpp/test/ |
TestBase64Client.cpp | 15 int main(int argc, char* argv[])
21 int port = atoi(argv[2]);
24 XmlRpcClient c(argv[1], port);
30 std::ofstream outfile(argv[3], std::ios::binary | std::ios::trunc);
32 std::cerr << "Error opening " << argv[3] << " for output.\n";
local
|
/system/netd/netutils_wrappers/ |
NetUtilsWrapperTest-1.0.cpp | 59 char *argv[MAX_ARGS]; local 63 ASSERT_LE(pieces.size(), ARRAY_SIZE(argv)); 65 argv[i] = const_cast<char*>(pieces[i].c_str()); 67 EXPECT_EQ(cmd.valid, checkExpectedCommand(pieces.size(), argv)) <<
|
/external/clang/test/OpenMP/ |
distribute_dist_schedule_messages.cpp | 15 char ** argv; local 30 #pragma omp distribute dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 36 #pragma omp distribute dist_schedule (static, argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error3 {{expression must have integral or unscoped enumeration type, not 'char *'}} 41 int main(int argc, char **argv) { 54 #pragma omp distribute dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} 60 #pragma omp distribute dist_schedule (static, argv[1]=2) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 62 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0])); // expected-note {{in instantiation of function template specialization 'tmain<int, 5>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<char, 1>' requested here}}
|
distribute_parallel_for_dist_schedule_messages.cpp | 15 char ** argv; local 44 #pragma omp distribute parallel for dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 56 #pragma omp distribute parallel for dist_schedule (static, argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error3 {{expression must have integral or unscoped enumeration type, not 'char *'}} 61 int main(int argc, char **argv) { 88 #pragma omp distribute parallel for dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} 100 #pragma omp distribute parallel for dist_schedule (static, argv[1]=2) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 102 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0])); // expected-note {{in instantiation of function template specialization 'tmain<int, 5>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<char, 1>' requested here}}
|
distribute_parallel_for_simd_dist_schedule_messages.cpp | 15 char ** argv; local 44 #pragma omp distribute parallel for simd dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 56 #pragma omp distribute parallel for simd dist_schedule (static, argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error3 {{expression must have integral or unscoped enumeration type, not 'char *'}} 61 int main(int argc, char **argv) { 88 #pragma omp distribute parallel for simd dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} 100 #pragma omp distribute parallel for simd dist_schedule (static, argv[1]=2) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 102 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0])); // expected-note {{in instantiation of function template specialization 'tmain<int, 5>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<char, 1>' requested here}}
|
distribute_simd_dist_schedule_messages.cpp | 15 char ** argv; local 51 #pragma omp distribute simd dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 64 #pragma omp distribute simd dist_schedule (static, argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error3 {{expression must have integral or unscoped enumeration type, not 'char *'}} 69 int main(int argc, char **argv) { 102 #pragma omp distribute simd dist_schedule (static, argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} 117 #pragma omp distribute simd dist_schedule (static, argv[1]=2) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 119 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0])); // expected-note {{in instantiation of function template specialization 'tmain<int, 5>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<char, 1>' requested here}}
|