Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 147) sorted by relevance

123456

/ndk/tests/device/test-stlport/unit/
Dneq_test.cpp35 int output[3]; in negate0() local
36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
38 CPPUNIT_ASSERT(output[0]==-1); in negate0()
39 CPPUNIT_ASSERT(output[1]==-2); in negate0()
40 CPPUNIT_ASSERT(output[2]==-3); in negate0()
47 int output [4]; in nequal0() local
48 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, not_equal_to<int>()); in nequal0()
50 CPPUNIT_ASSERT(output[0]==0); in nequal0()
51 CPPUNIT_ASSERT(output[1]==1); in nequal0()
52 CPPUNIT_ASSERT(output[2]==0); in nequal0()
[all …]
Dlogic_test.cpp38 bool output [4]; in logicand() local
39 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_and<bool>()); in logicand()
41 CPPUNIT_ASSERT(output[0]==false); in logicand()
42 CPPUNIT_ASSERT(output[1]==true); in logicand()
43 CPPUNIT_ASSERT(output[2]==false); in logicand()
44 CPPUNIT_ASSERT(output[3]==false); in logicand()
58 bool output [4]; in logicor() local
59 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_or<bool>()); in logicor()
61 CPPUNIT_ASSERT(output[0]==true); in logicor()
62 CPPUNIT_ASSERT(output[1]==true); in logicor()
[all …]
Dptr2_test.cpp48 int output [4]; in ptrbin1() local
49 …transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, pointer_to_binary_function<i… in ptrbin1()
51 CPPUNIT_ASSERT(output[0]==8); in ptrbin1()
52 CPPUNIT_ASSERT(output[1]==7); in ptrbin1()
53 CPPUNIT_ASSERT(output[2]==8); in ptrbin1()
54 CPPUNIT_ASSERT(output[3]==13); in ptrbin1()
61 int output [4]; in ptrbin2() local
62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum)); in ptrbin2()
64 CPPUNIT_ASSERT(output[0]==8); in ptrbin2()
65 CPPUNIT_ASSERT(output[1]==7); in ptrbin2()
[all …]
Dunary_test.cpp78 double output[3]; in ucompos1() local
79 …transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1()
81 CPPUNIT_ASSERT(output[0]==1); in ucompos1()
82 CPPUNIT_ASSERT(output[1]==2); in ucompos1()
83 CPPUNIT_ASSERT(output[2]==4); in ucompos1()
91 double output [3]; in ucompos2() local
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
94 CPPUNIT_ASSERT(output[0]==1); in ucompos2()
95 CPPUNIT_ASSERT(output[1]==2); in ucompos2()
96 CPPUNIT_ASSERT(output[2]==4); in ucompos2()
Dmodulus_test.cpp33 int output [4]; in modulus0() local
35 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, modulus<int>()); in modulus0()
36 CPPUNIT_ASSERT(output[0]==2); in modulus0()
37 CPPUNIT_ASSERT(output[1]==0); in modulus0()
38 CPPUNIT_ASSERT(output[2]==10); in modulus0()
39 CPPUNIT_ASSERT(output[3]==2); in modulus0()
Dplusminus_test.cpp45 int output [4]; in minus0() local
47 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, minus<int>()); in minus0()
48 CPPUNIT_ASSERT(output[0]==0); in minus0()
49 CPPUNIT_ASSERT(output[1]==1); in minus0()
50 CPPUNIT_ASSERT(output[2]==-1); in minus0()
51 CPPUNIT_ASSERT(output[3]==5); in minus0()
Dnum_put_get_test.cpp400 string output, digits; in num_put_float() local
406 output = reset_stream(ostr); in num_put_float()
409 CPPUNIT_CHECK(output == string("1.23457e+") + digits ); in num_put_float()
416 output = reset_stream(ostr); in num_put_float()
417 CPPUNIT_CHECK( output.size() < 200 ); in num_put_float()
424 output = reset_stream(ostr); in num_put_float()
425 CPPUNIT_CHECK( output.size() < 200 ); in num_put_float()
432 output = reset_stream(ostr); in num_put_float()
433 CPPUNIT_CHECK(output.size() == 25); in num_put_float()
434 CPPUNIT_CHECK(output.substr(0, 5) == "12345"); in num_put_float()
[all …]
Dequal_test.cpp167 int output [4]; in equalto() local
168 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, equal_to<int>()); in equalto()
169 CPPUNIT_ASSERT( output[0] == 1 ); in equalto()
170 CPPUNIT_ASSERT( output[1] == 0 ); in equalto()
171 CPPUNIT_ASSERT( output[2] == 1 ); in equalto()
172 CPPUNIT_ASSERT( output[3] == 0 ); in equalto()
/ndk/tests/device/test-gnustl-full/unit/
Dneq_test.cpp35 int output[3]; in negate0() local
36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
38 CPPUNIT_ASSERT(output[0]==-1); in negate0()
39 CPPUNIT_ASSERT(output[1]==-2); in negate0()
40 CPPUNIT_ASSERT(output[2]==-3); in negate0()
47 int output [4]; in nequal0() local
48 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, not_equal_to<int>()); in nequal0()
50 CPPUNIT_ASSERT(output[0]==0); in nequal0()
51 CPPUNIT_ASSERT(output[1]==1); in nequal0()
52 CPPUNIT_ASSERT(output[2]==0); in nequal0()
[all …]
Dlogic_test.cpp38 bool output [4]; in logicand() local
39 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_and<bool>()); in logicand()
41 CPPUNIT_ASSERT(output[0]==false); in logicand()
42 CPPUNIT_ASSERT(output[1]==true); in logicand()
43 CPPUNIT_ASSERT(output[2]==false); in logicand()
44 CPPUNIT_ASSERT(output[3]==false); in logicand()
58 bool output [4]; in logicor() local
59 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_or<bool>()); in logicor()
61 CPPUNIT_ASSERT(output[0]==true); in logicor()
62 CPPUNIT_ASSERT(output[1]==true); in logicor()
[all …]
Dptr2_test.cpp48 int output [4]; in ptrbin1() local
49 …transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, pointer_to_binary_function<i… in ptrbin1()
51 CPPUNIT_ASSERT(output[0]==8); in ptrbin1()
52 CPPUNIT_ASSERT(output[1]==7); in ptrbin1()
53 CPPUNIT_ASSERT(output[2]==8); in ptrbin1()
54 CPPUNIT_ASSERT(output[3]==13); in ptrbin1()
61 int output [4]; in ptrbin2() local
62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum)); in ptrbin2()
64 CPPUNIT_ASSERT(output[0]==8); in ptrbin2()
65 CPPUNIT_ASSERT(output[1]==7); in ptrbin2()
[all …]
Dunary_test.cpp78 double output[3]; in ucompos1() local
79 …transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1()
81 CPPUNIT_ASSERT(output[0]==1); in ucompos1()
82 CPPUNIT_ASSERT(output[1]==2); in ucompos1()
83 CPPUNIT_ASSERT(output[2]==4); in ucompos1()
91 double output [3]; in ucompos2() local
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
94 CPPUNIT_ASSERT(output[0]==1); in ucompos2()
95 CPPUNIT_ASSERT(output[1]==2); in ucompos2()
96 CPPUNIT_ASSERT(output[2]==4); in ucompos2()
Dmodulus_test.cpp33 int output [4]; in modulus0() local
35 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, modulus<int>()); in modulus0()
36 CPPUNIT_ASSERT(output[0]==2); in modulus0()
37 CPPUNIT_ASSERT(output[1]==0); in modulus0()
38 CPPUNIT_ASSERT(output[2]==10); in modulus0()
39 CPPUNIT_ASSERT(output[3]==2); in modulus0()
Dplusminus_test.cpp45 int output [4]; in minus0() local
47 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, minus<int>()); in minus0()
48 CPPUNIT_ASSERT(output[0]==0); in minus0()
49 CPPUNIT_ASSERT(output[1]==1); in minus0()
50 CPPUNIT_ASSERT(output[2]==-1); in minus0()
51 CPPUNIT_ASSERT(output[3]==5); in minus0()
Dnum_put_get_test.cpp400 string output, digits; in num_put_float() local
406 output = reset_stream(ostr); in num_put_float()
409 CPPUNIT_CHECK(output == string("1.23457e+") + digits ); in num_put_float()
416 output = reset_stream(ostr); in num_put_float()
417 CPPUNIT_CHECK( output.size() < 200 ); in num_put_float()
424 output = reset_stream(ostr); in num_put_float()
425 CPPUNIT_CHECK( output.size() < 200 ); in num_put_float()
432 output = reset_stream(ostr); in num_put_float()
433 CPPUNIT_CHECK(output.size() == 25); in num_put_float()
434 CPPUNIT_CHECK(output.substr(0, 5) == "12345"); in num_put_float()
[all …]
Dequal_test.cpp167 int output [4]; in equalto() local
168 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, equal_to<int>()); in equalto()
169 CPPUNIT_ASSERT( output[0] == 1 ); in equalto()
170 CPPUNIT_ASSERT( output[1] == 0 ); in equalto()
171 CPPUNIT_ASSERT( output[2] == 1 ); in equalto()
172 CPPUNIT_ASSERT( output[3] == 0 ); in equalto()
/ndk/tests/build/ndk-out/
Dbuild.sh2 rm -rf obj output-dir
3 export NDK_OUT=output-dir
9 if [ ! -d output-dir ]; then
13 rm -rf output-dir
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.sort/partial.sort.copy/
Dpartial_sort_copy.pass.cpp30 int* output = new int[M]; in test_larger_sorts() local
34 int* r = std::partial_sort_copy(Iter(input), Iter(input+N), output, output+M); in test_larger_sorts()
35 int* e = output + std::min(N, M); in test_larger_sorts()
38 for (int* x = output; x < e; ++x, ++i) in test_larger_sorts()
40 delete [] output; in test_larger_sorts()
Dpartial_sort_copy_comp.pass.cpp33 int* output = new int[M]; in test_larger_sorts() local
37 int* r = std::partial_sort_copy(Iter(input), Iter(input+N), output, output+M, in test_larger_sorts()
39 int* e = output + std::min(N, M); in test_larger_sorts()
42 for (int* x = output; x < e; ++x, ++i) in test_larger_sorts()
44 delete [] output; in test_larger_sorts()
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-f8 ."rules in one call to make and checks that the output\n"
19 print MAKEFILE "\t\@echo This is the output from the original makefile\n";
28 print MAKEFILE "\t\@echo This is the output from makefile 2\n";
34 print MAKEFILE "\t\@echo This is the output from makefile 3\n";
39 $answer = "This is the output from the original makefile\n";
48 $answer = "This is the output from makefile 2\n";
57 $answer = "This is the output from makefile 3\n";
68 $answer = "This is the output from makefile 2\n";
69 $answer .= "This is the output from the original makefile\n";
70 $answer .= "This is the output from makefile 3\n";
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/
Dxsgetn.pass.cpp38 char output[sizeof(input)] = {0}; in main() local
39 assert(t.sgetn(output, 10) == 7); in main()
40 assert(strcmp(input, output) == 0); in main()
/ndk/
Dndk-gdb.py329 text = e.output
337 adb_ret,output = adb_cmd(redirect_stderr=redirect_stderr,
339 output = output.splitlines()
340 retcode = int(output.pop())
341 return retcode,'\n'.join(output)
361 retcode,output = adb_cmd(False, ['shell', 'readlink $(which ps)'])
362 if output:
363 output = output.replace('\r', '').splitlines()[0]
364 if output == 'busybox':
366 retcode,output = adb_cmd(False,['shell', ps_command])
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dmult_targets7 ."is called twice, once for each target, and the output which \n"
10 ."the word output with nothing in the target name giving either\n"
11 ."an output of \"I am little\" or \"I am big\"";
18 print MAKEFILE "\t\@echo I am \$(subst output,,\$@)\n";
/ndk/sources/host-tools/sed-4.2.1/po/
Den@quot.header14 # When output to an UTF-8 terminal, the quotation characters appear perfectly.
15 # When output to an ISO-8859-1 terminal, the single quotation marks are
19 # When output to an ASCII terminal, the single quotation marks are
/ndk/sources/host-tools/make-3.81/po/
Den@quot.header14 # When output to an UTF-8 terminal, the quotation characters appear perfectly.
15 # When output to an ISO-8859-1 terminal, the single quotation marks are
19 # When output to an ASCII terminal, the single quotation marks are

123456