/ndk/sources/host-tools/nawk-20071023/ |
D | main.c | 56 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/ |
D | echo_win.c | 44 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()
|
D | cmp_win.c | 43 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/ |
D | getopt1.c | 69 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()
|
D | getopt.c | 264 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 …]
|
D | getopt.h | 106 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/ |
D | cond1.cpp | 19 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/ |
D | cond1.cpp | 19 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/ |
D | unit_test.hpp | 46 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/ |
D | ndk-stack.c | 35 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.c | 3 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/ |
D | gtest_no_test_unittest.cc | 37 int main(int argc, char **argv) { in main() argument 38 testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest_throw_on_failure_test_.cc | 53 int main(int argc, char** argv) { in main() argument 57 testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest_color_test_.cc | 58 int main(int argc, char** argv) { in main() argument 59 testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest_env_var_test_.cc | 116 int main(int argc, char** argv) { in main() argument 117 testing::InitGoogleTest(&argc, argv); in main() 119 if (argc != 2) { in main()
|
D | gtest_break_on_failure_unittest_.cc | 66 int main(int argc, char **argv) { in main() argument 85 testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest_throw_on_failure_ex_test.cc | 81 int main(int argc, char** argv) { in main() argument 82 testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest-death-test_ex_test.cc | 89 int main(int argc, char** argv) { in main() argument 90 testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest_xml_output_unittest_.cc | 172 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/ |
D | gtest_main.cc | 34 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/ |
D | sample10_unittest.cc | 112 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()
|
D | sample9_unittest.cc | 108 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/ |
D | main.cpp | 27 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/ |
D | argv_traverser.ipp | 50 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;
|
D | argv_traverser.hpp | 49 void init( int argc, char_type** argv ); 50 void remainder( int& argc, char_type** argv );
|