Home
last modified time | relevance | path

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

1234

/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()
Dsstream_test.cpp22 CPPUNIT_TEST(output);
42 void output();
66 void SstreamTest::output() in output() function in SstreamTest
/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()
Dsstream_test.cpp22 CPPUNIT_TEST(output);
42 void output();
66 void SstreamTest::output() in output() function in SstreamTest
/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
Dsr.po325 " the output buffers more often\n"
338 msgid " --version output version information and exit\n"
540 #~ " the output buffers more often\n"
542 #~ " -V, --version output version information and exit\n"
/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;
Dcompile.c95 struct output outf;
187 static struct output *file_read = NULL;
188 static struct output *file_write = NULL;
376 static struct output *get_openfile P_((struct output **file_ptrs, const char *mode, int fail));
377 static struct output *
379 struct output **file_ptrs; in get_openfile()
385 struct output *p;
412 p = OB_MALLOC(&obs, 1, struct output);
1677 struct output *p;
1699 struct output *p; in rewind_read_files()
[all …]
/ndk/sources/host-tools/sed-4.2.1/m4/
Dgnulib-common.m4115 # output a spurious "(cached)" mark in the midst of other configure output.
/ndk/sources/host-tools/sed-4.2.1/doc/
Dsed.info149 produces output when explicitly told to via the `p' command.
164 `sed' does this by creating a temporary file and sending output to
165 this file rather than to the standard output.(1).
170 to the output file's original name. The extension, if supplied,
243 Buffer both input and output as minimally as practical. (This is
245 -f', and you wish to see the transformed output as soon as
261 You can still write to the standard output by using the `w' or `W'
265 output is actually changed.
313 use, the contents of pattern space are printed out to the output
326 text is sent to the same output stream, which gives the "least expected
[all …]

1234