Home
last modified time | relevance | path

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

123456

/ndk/tests/device/test-gnustl-full/unit/
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 …]
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 …]
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-stlport/unit/
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 …]
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 …]
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/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/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/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/build/tools/toolchain-patches/binutils/
D0001-Fix-older-binutils-to-ignore-tag_DIV_use.patch14 + is one then the output attribute's value remains unchanged. If
15 + the input attribute's value is zero or two then if the output
16 + attribute's value is one the output value is set to the input
17 + value, otherwise the output value must be the same as the
83 + // is one then the output attribute's value remains unchanged. If
84 + // the input attribute's value is zero or two then if the output
85 + // attribute's value is one the output value is set to the input
86 + // value, otherwise the output value must be the same as the
/ndk/sources/host-tools/sed-4.2.1/sed/
Dsed.h44 struct output { struct
48 struct output *link; argument
126 struct output *outf; /* 'w' option given */
177 struct output *outf;
/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
Den@boldquot.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
Den@boldquot.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