Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 81) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/
D__scan_keyword.pass.cpp47 const char input[] = "a"; in main() local
48 const char* in = input; in main()
51 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
55 assert(in == input+1); in main()
59 const char input[] = "abc"; in main() local
60 const char* in = input; in main()
63 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
67 assert(in == input+2); in main()
71 const char input[] = "abb"; in main() local
72 const char* in = input; in main()
[all …]
/ndk/tests/device/test-libc++-shared-full/
DDATA5 input.output___file.streams___fstreams___ifstream.cons___move sources/cxx-stl/llvm-libc++/libcxx…
6 input.output___file.streams___fstreams___ifstream.cons___pointer sources/cxx-stl/llvm-libc++/libcxx…
7 input.output___file.streams___fstreams___ifstream.cons___string sources/cxx-stl/llvm-libc++/libcxx…
9 input.output___file.streams___fstreams___filebuf.virtuals___pbackfail sources/cxx-stl/llvm-libc++/l…
10 input.output___file.streams___fstreams___filebuf.virtuals___underflow sources/cxx-stl/llvm-libc++/l…
12 input.output___file.streams___fstreams___ifstream.members___close sources/cxx-stl/llvm-libc+…
13 input.output___file.streams___fstreams___ifstream.members___open_pointer sources/cxx-stl/llvm-libc+…
14 input.output___file.streams___fstreams___ifstream.members___open_string sources/cxx-stl/llvm-libc+…
15 input.output___file.streams___fstreams___ifstream.members___rdbuf sources/cxx-stl/llvm-libc+…
17 input.output___file.streams___fstreams___ifstream.assign___member_swap sources/cxx-stl/llvm-libc…
[all …]
/ndk/tests/device/test-libc++-static-full/
DDATA5 input.output___file.streams___fstreams___ifstream.cons___move sources/cxx-stl/llvm-libc++/libcxx…
6 input.output___file.streams___fstreams___ifstream.cons___pointer sources/cxx-stl/llvm-libc++/libcxx…
7 input.output___file.streams___fstreams___ifstream.cons___string sources/cxx-stl/llvm-libc++/libcxx…
9 input.output___file.streams___fstreams___filebuf.virtuals___pbackfail sources/cxx-stl/llvm-libc++/l…
10 input.output___file.streams___fstreams___filebuf.virtuals___underflow sources/cxx-stl/llvm-libc++/l…
12 input.output___file.streams___fstreams___ifstream.members___close sources/cxx-stl/llvm-libc+…
13 input.output___file.streams___fstreams___ifstream.members___open_pointer sources/cxx-stl/llvm-libc+…
14 input.output___file.streams___fstreams___ifstream.members___open_string sources/cxx-stl/llvm-libc+…
15 input.output___file.streams___fstreams___ifstream.members___rdbuf sources/cxx-stl/llvm-libc+…
17 input.output___file.streams___fstreams___ifstream.assign___member_swap sources/cxx-stl/llvm-libc…
[all …]
/ndk/sources/android/support/tests/
Dwchar_unittest.cc62 const wchar_t* input; in TEST() member
76 const char* text = to_cstr(kData[n].input); in TEST()
79 EXPECT_EQ(kData[n].expected, wcstof(kData[n].input, &end)); in TEST()
81 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST()
87 const wchar_t* input; in TEST() member
102 const char* text = to_cstr(kData[n].input); in TEST()
105 EXPECT_EQ(kData[n].expected, wcstod(kData[n].input, &end)); in TEST()
107 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST()
113 const wchar_t* input; in TEST() member
128 const char* text = to_cstr(kData[n].input); in TEST()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/
Dxsgetn.pass.cpp36 char input[7] = "123456"; in main() local
37 t.setg(input, input, input+7); in main()
38 char output[sizeof(input)] = {0}; in main()
40 assert(strcmp(input, output) == 0); in main()
/ndk/sources/host-tools/nawk-20071023/
Dlex.c96 int c = input(); in peek()
108 c = input(); in gettok()
118 for ( ; (c = input()) != 0; ) { in gettok()
135 for ( ; (c = input()) != 0; ) { in gettok()
207 while ((c = input()) != '\n' && c != 0) in yylex()
215 input(); in yylex()
217 input(); input(); /* \n */ in yylex()
225 input(); RET(AND); in yylex()
230 input(); RET(BOR); in yylex()
235 input(); yylval.i = NE; RET(NE); in yylex()
[all …]
Dmaketab.c119 const char* input; in main() local
128 input = "ytab.h"; in main()
130 input = argv[1]; in main()
131 if (!strcmp(input,"-")) in main()
132 input = NULL; in main()
134 if (input == NULL) { in main()
137 if ((fp = fopen(input, "rt")) == NULL) { in main()
138 fprintf(stderr, "maketab can't open %s!\n", input); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.sort/partial.sort.copy/
Dpartial_sort_copy.pass.cpp29 int* input = new int[N]; in test_larger_sorts() local
32 input[i] = i; in test_larger_sorts()
33 std::random_shuffle(input, input+N); in test_larger_sorts()
34 int* r = std::partial_sort_copy(Iter(input), Iter(input+N), output, output+M); in test_larger_sorts()
41 delete [] input; in test_larger_sorts()
Dpartial_sort_copy_comp.pass.cpp32 int* input = new int[N]; in test_larger_sorts() local
35 input[i] = i; in test_larger_sorts()
36 std::random_shuffle(input, input+N); in test_larger_sorts()
37 int* r = std::partial_sort_copy(Iter(input), Iter(input+N), output, output+M, in test_larger_sorts()
45 delete [] input; in test_larger_sorts()
/ndk/tests/device/test-stlport/unit/
Dunary_test.cpp76 int input [3] = { -1, -4, -16 }; in ucompos1() local
79 …transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1()
89 int input [3] = { -1, -4, -16 }; in ucompos2() local
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
Dtimes_test.cpp31 int input [4] = { 1, 5, 7, 2 }; in times() local
32 int total = accumulate(input, input + 4, 1, multiplies<int>()); in times()
Ddivides_test.cpp30 int input [3] = { 2, 3, 4 }; in div() local
31 int result = accumulate(input, input + 3, 48, divides<int>()); in div()
Dstrstream_test.cpp19 CPPUNIT_TEST(input);
23 void input();
31 void StrstreamTest::input() in input() function in StrstreamTest
Dneq_test.cpp33 int input [3] = { 1, 2, 3 }; in negate0() local
36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
Dlogic_test.cpp48 bool input [7] = { 1, 0, 0, 1, 1, 1, 1 }; in logicnot() local
50 int n = count_if(input, input + 7, logical_not<bool>()); in logicnot()
/ndk/tests/device/test-gnustl-full/unit/
Dunary_test.cpp76 int input [3] = { -1, -4, -16 }; in ucompos1() local
79 …transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1()
89 int input [3] = { -1, -4, -16 }; in ucompos2() local
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
Dtimes_test.cpp31 int input [4] = { 1, 5, 7, 2 }; in times() local
32 int total = accumulate(input, input + 4, 1, multiplies<int>()); in times()
Ddivides_test.cpp30 int input [3] = { 2, 3, 4 }; in div() local
31 int result = accumulate(input, input + 3, 48, divides<int>()); in div()
Dstrstream_test.cpp19 CPPUNIT_TEST(input);
23 void input();
31 void StrstreamTest::input() in input() function in StrstreamTest
Dneq_test.cpp33 int input [3] = { 1, 2, 3 }; in negate0() local
36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
Dlogic_test.cpp48 bool input [7] = { 1, 0, 0, 1, 1, 1, 1 }; in logicnot() local
50 int n = count_if(input, input + 7, logical_not<bool>()); in logicnot()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/
Dvalidation.ipp12 // Description : input validation helpers implementation
44 msg << BOOST_RT_PARAM_LITERAL( " at the end of input" );
48 if( tr.input().size() > 5 )
49 msg << tr.input().substr( 0, 5 ) << BOOST_RT_PARAM_LITERAL( "..." );
51 msg << tr.input();
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0011-Fix-tests-for-Android.patch15 test/input.output/file.streams/c.files/cstdio.pass.cpp | 6 ++++++
18 test/input.output/iostream.format/ext.manip/get_money.pass.cpp | 4 ++++
19 test/input.output/iostream.format/ext.manip/get_time.pass.cpp | 4 ++++
20 test/input.output/iostream.format/ext.manip/put_money.pass.cpp | 4 ++++
194 diff --git a/test/input.output/file.streams/c.files/cstdio.pass.cpp b/test/input.output/file.stream…
196 --- a/test/input.output/file.streams/c.files/cstdio.pass.cpp
197 +++ b/test/input.output/file.streams/c.files/cstdio.pass.cpp
212 diff --git a/test/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp b/test/inpu…
214 --- a/test/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp
215 +++ b/test/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Dtest_demangle.pass.cpp29674 std::string input; in main()
29677 std::getline(std::cin, input); in main()
29683 char* demang = abi::__cxa_demangle(input.c_str(), 0, &len, &status); in main()
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk1458 $(call gen-test, input.output/file.streams/c.files/cinttypes)
1459 $(call gen-test, input.output/file.streams/c.files/cstdio)
1460 $(call gen-test, input.output/file.streams/c.files/version_ccstdio)
1461 $(call gen-test, input.output/file.streams/c.files/version_cinttypes)
1462 $(call gen-test, input.output/file.streams/fstreams/filebuf.assign/member_swap)
1463 $(call gen-test, input.output/file.streams/fstreams/filebuf.assign/move_assign)
1464 $(call gen-test, input.output/file.streams/fstreams/filebuf.assign/nonmember_swap)
1465 $(call gen-test, input.output/file.streams/fstreams/filebuf.cons/default)
1466 $(call gen-test, input.output/file.streams/fstreams/filebuf.cons/move)
1467 $(call gen-test, input.output/file.streams/fstreams/filebuf.members/open_pointer)
[all …]

1234