Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 96) sorted by relevance

1234

/ndk/sources/host-tools/nawk-20071023/
Dmain.c56 int main(int argc, char *argv[]) in main() argument
63 if (argc == 1) { in main()
72 while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') { in main()
79 argc--; in main()
89 argc--; in main()
91 if (argc <= 1) in main()
104 argc--; argv++; in main()
105 if (argc > 1 && argv[1][0] == 't' && argv[1][1] == 0) /* wart: t=>\t */ in main()
107 else if (argc > 1 && argv[1][0] != 0) in main()
114 if (argv[1][2] == '\0' && --argc > 1 && isclvar((++argv)[1])) in main()
[all …]
/ndk/sources/host-tools/toolbox/
Decho_win.c44 int argc; in main() local
45 TCHAR** argv = CommandLineToArgvW(GetCommandLine(), &argc); in main()
52 if (argc > 1 && argv[1][0] == L'-' && argv[1][1] == L'n' && argv[1][2] == L'\0') { in main()
54 argc--; in main()
59 while (argc > 1) { in main()
62 argc--; in main()
Dcmp_win.c43 int argc; in main() local
44 TCHAR** argv = CommandLineToArgvW(GetCommandLine(), &argc); in main()
49 if (argc > 1 && argv[1][0] == L'-' && argv[1][1] == L's' && argv[1][2] == L'\0') { in main()
50 argc--; in main()
53 if (argc != 3) { in main()
/ndk/sources/host-tools/make-3.81/
Dgetopt1.c69 getopt_long (int argc, char *const *argv, const char *options, in getopt_long() argument
72 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long()
81 getopt_long_only (int argc, char *const *argv, const char *options, in getopt_long_only() argument
84 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only()
95 main (int argc, char **argv) in main() argument
115 c = getopt_long (argc, argv, "abc:d:0123456789", in main()
169 if (optind < argc) in main()
172 while (optind < argc) in main()
Dgetopt.c264 store_args_and_env (int argc, char *const *argv) in store_args_and_env() argument
268 original_argc = argc; in store_args_and_env()
384 _getopt_initialize (int argc, char *const *argv, const char *optstring) in _getopt_initialize() argument
415 && argc == original_argc && argv == original_argv) in _getopt_initialize()
426 if (nonoption_flags_max_len < argc) in _getopt_initialize()
427 nonoption_flags_max_len = argc; in _getopt_initialize()
503 _getopt_internal (int argc, char *const *argv, const char *optstring, in _getopt_internal() argument
512 optstring = _getopt_initialize (argc, argv, optstring); in _getopt_internal()
552 while (optind < argc && NONOPTION_P) in _getopt_internal()
562 if (optind != argc && !strcmp (argv[optind], "--")) in _getopt_internal()
[all …]
Dgetopt.h106 extern int getopt (int argc, char *const *argv, const char *shortopts);
110 extern int getopt_long (int argc, char *const *argv, const char *shortopts,
112 extern int getopt_long_only (int argc, char *const *argv,
117 extern int _getopt_internal (int argc, char *const *argv,
/ndk/tests/device/test-stlport_static-exception/jni/
Dcond1.cpp19 int main(int argc, char *argv[]) in main() argument
21 (argc+1 ? has_destructor() : throw 0); in main()
22 CI((argc+1 ? throw 0 : has_destructor())); in main()
28 (argc+1 ? no_destructor() : throw 0); in main()
29 CI((argc+1 ? throw 0 : no_destructor())); in main()
47 (argc+1 ? has_destructor() : throw PI(i)); in main()
62 (argc+1 ? has_destructor() : throw i++); in main()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dcond1.cpp19 int main(int argc, char *argv[]) in main() argument
21 (argc+1 ? has_destructor() : throw 0); in main()
22 CI((argc+1 ? throw 0 : has_destructor())); in main()
28 (argc+1 ? no_destructor() : throw 0); in main()
29 CI((argc+1 ? throw 0 : no_destructor())); in main()
47 (argc+1 ? has_destructor() : throw PI(i)); in main()
62 (argc+1 ? has_destructor() : throw i++); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
Dunit_test.hpp46 int BOOST_TEST_DECL unit_test_main( init_unit_test_func init_func, int argc, char* argv[] );
57 main( int argc, char* argv[] ) in main() argument
59 return ::boost::unit_test::unit_test_main( &init_unit_test, argc, argv ); in main()
/ndk/sources/host-tools/ndk-stack/
Dndk-stack.c35 int main(int argc, char **argv, char **envp) in main() argument
44 for (n = 1; n < argc; n++) { in main()
47 if (n < argc) { in main()
52 if (n < argc) { in main()
/ndk/tests/build/issue79114-__builtin___stpncpy_chk/jni/
D__builtin___stpncpy_chk.c3 int main(int argc, char *argv[]) in main() argument
5 stpncpy(argv[1], argv[2], argc); in main()
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_no_test_unittest.cc37 int main(int argc, char **argv) { in main() argument
38 testing::InitGoogleTest(&argc, argv); in main()
Dgtest_throw_on_failure_test_.cc53 int main(int argc, char** argv) { in main() argument
57 testing::InitGoogleTest(&argc, argv); in main()
Dgtest_color_test_.cc58 int main(int argc, char** argv) { in main() argument
59 testing::InitGoogleTest(&argc, argv); in main()
Dgtest_env_var_test_.cc116 int main(int argc, char** argv) { in main() argument
117 testing::InitGoogleTest(&argc, argv); in main()
119 if (argc != 2) { in main()
Dgtest_break_on_failure_unittest_.cc66 int main(int argc, char **argv) { in main() argument
85 testing::InitGoogleTest(&argc, argv); in main()
Dgtest_throw_on_failure_ex_test.cc81 int main(int argc, char** argv) { in main() argument
82 testing::InitGoogleTest(&argc, argv); in main()
Dgtest-death-test_ex_test.cc89 int main(int argc, char** argv) { in main() argument
90 testing::InitGoogleTest(&argc, argv); in main()
Dgtest_xml_output_unittest_.cc172 int main(int argc, char** argv) { in main() argument
173 InitGoogleTest(&argc, argv); in main()
175 if (argc > 1 && strcmp(argv[1], "--shut_down_xml") == 0) { in main()
/ndk/sources/third_party/googletest/googletest/src/
Dgtest_main.cc34 GTEST_API_ int main(int argc, char **argv) { in main() argument
36 testing::InitGoogleTest(&argc, argv); in main()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample10_unittest.cc112 int main(int argc, char **argv) { in main() argument
113 InitGoogleTest(&argc, argv); in main()
116 if (argc > 1 && strcmp(argv[1], "--check_for_leaks") == 0 ) in main()
Dsample9_unittest.cc108 int main(int argc, char **argv) { in main() argument
109 InitGoogleTest(&argc, argv); in main()
112 if (argc > 1 && strcmp(argv[1], "--terse_output") == 0 ) in main()
/ndk/tests/device/issue42891-boost-1_52/jni/
Dmain.cpp27 int main(int argc, char *argv[]) in main() argument
32 ::boost::unit_test::unit_test_main(::my_init_function, argc, argv); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/
Dargv_traverser.ipp50 argv_traverser::init( int argc, char_type** argv )
52 for( int index = 1; index < argc; ++index ) {
54 if( index != argc-1 )
71 argv_traverser::remainder( int& argc, char_type** argv )
73 argc = 1;
76 argv[argc++] = m_remainder.get() + pos;
Dargv_traverser.hpp49 void init( int argc, char_type** argv );
50 void remainder( int& argc, char_type** argv );

1234