/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
rtpcat.cc | 22 int main(int argc, char* argv[]) { 23 if (argc < 3) { 30 RtpFileWriter::Create(RtpFileWriter::kRtpDump, argv[argc - 1])); 32 printf("Output RTP file: %s\n", argv[argc - 1]); 34 for (int i = 1; i < argc - 1; i++) {
|
/system/core/logwrapper/ |
logwrapper.c | 51 int main(int argc, char* argv[]) { 59 while ((ch = getopt(argc, argv, "adk")) != -1) { 76 argc -= optind; 79 if (argc < 1) { 83 rc = android_fork_execvp_ext(argc, &argv[0], &status, true,
|
/external/clang/test/OpenMP/ |
parallel_for_ast_print.cpp | 12 T tmain(T argc) { 13 T b = argc, c, d, e, f, h; 24 #pragma omp parallel for private(argc, b), firstprivate(c, d), lastprivate(d, f) collapse(N) schedule(static, N) ordered(N) if (parallel :argc) num_threads(N) default(shared) shared(e) reduction(+ : h) linear(a:N) 36 // CHECK-NEXT: #pragma omp parallel for private(argc,b) firstprivate(c,d) lastprivate(d,f) collapse(N) schedule(static, N) ordered(N) if(parallel: argc) num_threads(N) default(shared) shared(e) reduction(+: h) linear(a: N) 51 int main(int argc, char **argv) { 52 int b = argc, c, d, e, f, h; 57 #pragma omp parallel for schedule(guided, argc) default(none) copyin(g) linear(a) 58 // CHECK: #pragma omp parallel for schedule(guided, argc) default(none) copyin(g) linear(a [all...] |
parallel_for_simd_aligned_messages.cpp | 107 template<class I, class C> int foomain(I argc, C **argv) { 108 I e(argc); 109 I g(argc); 115 for (I k = 0; k < argc; ++k) ++k; 117 for (I k = 0; k < argc; ++k) ++k; 119 for (I k = 0; k < argc; ++k) ++k; 120 #pragma omp parallel for simd aligned (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 121 for (I k = 0; k < argc; ++k) ++k; 122 #pragma omp parallel for simd aligned (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 123 for (I k = 0; k < argc; ++k) ++k [all...] |
taskloop_simd_aligned_messages.cpp | 107 template<class I, class C> int foomain(I argc, C **argv) { 108 I e(argc); 109 I g(argc); 115 for (I k = 0; k < argc; ++k) ++k; 117 for (I k = 0; k < argc; ++k) ++k; 119 for (I k = 0; k < argc; ++k) ++k; 120 #pragma omp taskloop simd aligned (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 121 for (I k = 0; k < argc; ++k) ++k; 122 #pragma omp taskloop simd aligned (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 123 for (I k = 0; k < argc; ++k) ++k [all...] |
taskloop_simd_final_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 13 int tmain(T argc, S **argv) { 23 #pragma omp taskloop simd final(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 26 #pragma omp taskloop simd final(argc)) // expected-warning {{extra tokens at the end of '#pragma omp taskloop simd' are ignored}} 29 #pragma omp taskloop simd final(argc > 0 ? argv[1] : argv[2]) 32 #pragma omp taskloop simd final(foobool(argc)), final(true) // expected-error {{directive '#pragma omp taskloop simd' cannot contain more than one 'final' clause}} 41 #pragma omp taskloop simd final(argc argc) // expected-error {{expected ')'}} expected-note {{to match this '('}} 44 #pragma omp taskloop simd final(argc) [all...] |
task_depend_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 17 int main(int argc, char **argv, char *env[]) { 26 #pragma omp task depend (argc // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-warning {{missing ':' after dependency type - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 27 #pragma omp task depend (source : argc) // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} 29 #pragma omp task depend (in : argc)) // expected-warning {{extra tokens at the end of '#pragma omp task' are ignored}} 31 #pragma omp task depend (inout : foobool(argc)), depend (in, argc) // expected-error {{expected variable name, array element or array section}} expected-warning {{missing ':' after dependency type - ignoring}} expected-error {{expected expression}} 43 #pragma omp task depend (in : argv[argc: // expected-error {{expected expression}} expected-error {{expected ']'}} expected-error {{expected ')'}} expected-note {{to match this '['}} expected-note {{to match this '('}} 44 #pragma omp task depend (in : argv[argc:argc] // expected-error {{expected ')'}} expected-note {{to match this '('} [all...] |
target_ast_print.cpp | 12 T tmain(T argc, T *argv) { 16 #pragma omp target if (target:argc > 0) 31 // CHECK: template <typename T = int, int C = 5> int tmain(int argc, int *argv) { 35 // CHECK-NEXT: #pragma omp target if(target: argc > 0) 47 // CHECK: template <typename T = char, int C = 1> char tmain(char argc, char *argv) { 51 // CHECK-NEXT: #pragma omp target if(target: argc > 0) 63 // CHECK: template <typename T, int C> T tmain(T argc, T *argv) { 67 // CHECK-NEXT: #pragma omp target if(target: argc > 0) 80 // CHECK-LABEL: int main(int argc, char **argv) { 81 int main (int argc, char **argv) [all...] |
parallel_proc_bind_messages.cpp | 5 int main(int argc, char **argv) { 15 ++argc; 19 ++argc;
|
parallel_sections_proc_bind_messages.cpp | 5 int main(int argc, char **argv) { 20 { ++argc; } 25 { ++argc; }
|
taskloop_simd_ast_print.cpp | 12 T tmain(T argc) { 13 T b = argc, c, d, e, f, g; 17 #pragma omp taskloop simd if(taskloop: argc > N) default(shared) untied priority(N) safelen(N) linear(c) aligned(ptr) grainsize(N) 18 // CHECK-NEXT: #pragma omp taskloop simd if(taskloop: argc > N) default(shared) untied priority(N) safelen(N) linear(c) aligned(ptr) grainsize(N) 24 #pragma omp taskloop simd private(argc, b), firstprivate(c, d), lastprivate(d, f) collapse(N) shared(g) if (c) final(d) mergeable priority(f) simdlen(N) nogroup num_tasks(N) 37 // CHECK-NEXT: #pragma omp taskloop simd private(argc,b) firstprivate(c,d) lastprivate(d,f) collapse(N) shared(g) if(c) final(d) mergeable priority(f) simdlen(N) nogroup num_tasks(N) 52 int main(int argc, char **argv) { 53 int b = argc, c, d, e, f, g; 56 #pragma omp taskloop simd if(taskloop: a) default(none) shared(a) final(b) priority(5) safelen(8) linear(b), aligned(argv) nogroup num_tasks(argc) 57 // CHECK-NEXT: #pragma omp taskloop simd if(taskloop: a) default(none) shared(a) final(b) priority(5) safelen(8) linear(b) aligned(argv) nogroup num_tasks(argc) [all...] |
/external/clang/tools/c-arcmt-test/ |
c-arcmt-test.c | 74 int carcmttest_main(int argc, const char **argv) { 76 if (argc == 3 && strncmp(argv[1], "-mt-migrate-directory", 21) == 0) 79 if (argc > 1) 80 return print_remappings_filelist(argv+1, argc-1); 93 int argc; member in struct:thread_info 99 client_data->result = carcmttest_main(client_data->argc, client_data->argv); 109 int main(int argc, const char **argv) { 123 return carcmttest_main(argc, argv); 125 client_data.argc = argc; [all...] |
/external/gmock/src/ |
gmock.cc | 127 void InitGoogleMockImpl(int* argc, CharType** argv) { 130 InitGoogleTest(argc, argv); 131 if (*argc <= 0) return; 133 for (int i = 1; i != *argc; i++) { 142 // that argv has (*argc + 1) elements, the last one always being 145 for (int j = i; j != *argc; j++) { 150 (*argc)--; 164 // removed from argv, and *argc is decremented. 172 GTEST_API_ void InitGoogleMock(int* argc, char** argv) { 173 internal::InitGoogleMockImpl(argc, argv) [all...] |
/external/wpa_supplicant_8/hostapd/ |
hostapd_cli.c | 226 static int write_cmd(char *buf, size_t buflen, const char *cmd, int argc, 240 for (i = 0; i < argc; i++) { 257 int min_args, int argc, char *argv[]) 261 if (argc < min_args) { 266 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0) 272 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) 278 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) 284 static int hostapd_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) 286 if (argc > 0 && os_strcmp(argv[0], "driver") == 0) 292 static int hostapd_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[] 1282 int argc = 0; local 1342 int argc; 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[]) 70 int amount=(*argc)-(*position)-count; 73 (*argc)-=count; 77 rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[]) 81 if(!argc) return TRUE; 83 for (i = i1 = 1; i < *argc;) { 88 if (i + 1 >= *argc) { 95 if (i + 1 >= *argc) { 102 if (i + 1 >= *argc) { [all...] |
/bootable/recovery/applypatch/ |
main.cpp | 29 static int CheckMode(int argc, char** argv) { 30 if (argc < 3) { 33 return applypatch_check(argv[2], argc-3, argv+3); 36 static int SpaceMode(int argc, char** argv) { 37 if (argc != 3) { 52 static bool ParsePatchArgs(int argc, char** argv, std::vector<char*>* sha1s, 56 for (int i = 0; i < argc; ++i) { 84 static int PatchMode(int argc, char** argv) { 89 if (argc >= 3 && strcmp(argv[1], "-b") == 0) { 98 argc -= 2 [all...] |
/external/iproute2/tc/ |
p_ip.c | 30 int argc = *argc_p; local 33 if (argc < 2) 39 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey); 45 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey); 55 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 61 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 67 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 74 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 81 res = parse_cmd(&argc, &argv, 1, TU32,0x3F,sel,tkey); 88 res = parse_cmd(&argc, &argv, 1, TU32,0x1F,sel,tkey) [all...] |
/external/eigen/bench/spbench/ |
spbenchsolver.cpp | 22 int main(int argc, char ** args) 25 bool help = ( get_options(argc, args, "-h") || get_options(argc, args, "--help") ); 33 if (!get_options(argc, args, "-d", &matrix_dir)) 47 bool statFileExists = get_options(argc, args, "-o", &statFile); 64 if (get_options(argc, args, "--eps", &inval)) 66 if(get_options(argc, args, "--maxits", &inval))
|
/external/google-breakpad/src/processor/ |
minidump_stackwalk.cc | 115 int main(int argc, char **argv) { 116 BPLOG_INIT(&argc, &argv); 118 if (argc < 2) { 129 if (argc < 3) { 138 if (argc < 3) { 153 if (argc > symbol_path_arg) { 154 for (int argi = symbol_path_arg; argi < argc; ++argi)
|
/external/skia/tools/ |
iOSShell.cpp | 25 ShellWindow::ShellWindow(void* hwnd, int argc, char** argv) 27 SkCommandLineFlags::Parse(argc, argv); 62 IOS_launch_type set_cmd_line_args(int argc, char *argv[], const char* resourceDir) { 63 SkCommandLineFlags::Parse(argc, argv); 74 SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv); 75 SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { 76 return new ShellWindow(hwnd, argc, argv);
|
pinspect.cpp | 58 int tool_main(int argc, char** argv); 59 int tool_main(int argc, char** argv) { 61 if (argc < 2) { 74 for (; index < argc; ++index) { 79 if (index < argc - 1) { 87 int main(int argc, char * const argv[]) { 88 return tool_main(argc, (char**) argv);
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
cond1.cpp | 19 int main(int argc, char *argv[]) 21 (argc+1 ? has_destructor() : throw 0); 22 CI((argc+1 ? throw 0 : has_destructor())); 28 (argc+1 ? no_destructor() : throw 0); 29 CI((argc+1 ? throw 0 : no_destructor())); 47 (argc+1 ? has_destructor() : throw PI(i)); 62 (argc+1 ? has_destructor() : throw i++);
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
cond1.cpp | 19 int main(int argc, char *argv[]) 21 (argc+1 ? has_destructor() : throw 0); 22 CI((argc+1 ? throw 0 : has_destructor())); 28 (argc+1 ? no_destructor() : throw 0); 29 CI((argc+1 ? throw 0 : no_destructor())); 47 (argc+1 ? has_destructor() : throw PI(i)); 62 (argc+1 ? has_destructor() : throw i++);
|
/system/vold/ |
CryptCommandListener.cpp | 62 void CryptCommandListener::dumpArgs(int argc, char **argv, int argObscure) { 68 for (i = 0; i < argc; i++) { 82 if (i != (argc -1)) { 90 void CryptCommandListener::dumpArgs(int /*argc*/, char ** /*argv*/, int /*argObscure*/) { } 128 static bool check_argc(SocketClient *cli, const std::string &subcommand, int argc, 137 if (argc == expected) { 173 int argc, char **argv) { 179 if (argc < 2) { 188 if (!check_argc(cli, subcommand, argc, 3, "<passwd>")) return 0; 189 dumpArgs(argc, argv, 2) [all...] |
/build/kati/ |
find_test.cc | 23 int main(int argc, char* argv[]) { 24 if (argc == 1) { 31 for (int i = 1; i < argc; i++) {
|