/ndk/tests/device/test-stlport/unit/ |
D | merge_test.cpp | 40 int result[10]; in merge0() local 41 merge((int*)numbers1, (int*)numbers1 + 5, (int*)numbers2, (int*)numbers2 + 5, (int*)result); in merge0() 43 CPPUNIT_ASSERT(result[0]==-5); in merge0() 44 CPPUNIT_ASSERT(result[1]==1); in merge0() 45 CPPUNIT_ASSERT(result[2]==6); in merge0() 46 CPPUNIT_ASSERT(result[3]==13); in merge0() 47 CPPUNIT_ASSERT(result[4]==25); in merge0() 48 CPPUNIT_ASSERT(result[5]==26); in merge0() 49 CPPUNIT_ASSERT(result[6]==36); in merge0() 50 CPPUNIT_ASSERT(result[7]==46); in merge0() [all …]
|
D | rm_cp_test.cpp | 71 int result[6]; in revcopy1() local 72 reverse_copy((int*)numbers, (int*)numbers + 6, (int*)result); in revcopy1() 74 CPPUNIT_ASSERT(result[0]==5); in revcopy1() 75 CPPUNIT_ASSERT(result[1]==4); in revcopy1() 76 CPPUNIT_ASSERT(result[2]==3); in revcopy1() 77 CPPUNIT_ASSERT(result[3]==2); in revcopy1() 78 CPPUNIT_ASSERT(result[4]==1); in revcopy1() 79 CPPUNIT_ASSERT(result[5]==0); in revcopy1() 106 int result[6] = { 0, 0, 0, 0, 0, 0 }; in replcpy1() local 108 replace_copy((int*)numbers, (int*)numbers + 6, (int*)result, 2, 42); in replcpy1() [all …]
|
D | mismatch_test.cpp | 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); in mismatch0() local 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); in mismatch0() 47 result = mismatch((int*)n1, (int*)n1 + 5, (int*)n3); in mismatch0() 48 CPPUNIT_ASSERT(!(result.first ==(n1 + 5) && result.second ==(n3 + 5))); in mismatch0() 49 CPPUNIT_ASSERT((result.first - n1)==3); in mismatch0() 58 pair <IntVec::iterator, IntVec::iterator> result = mismatch(v1.begin(), v1.end(), v2.begin()); in mismatch1() local 60 CPPUNIT_ASSERT(result.first == v1.end() && result.second == v2.end()); in mismatch1() 63 result = mismatch(v1.begin(), v1.end(), v2.begin()); in mismatch1() 64 CPPUNIT_ASSERT(!(result.first == v1.end() && result.second == v2.end())); in mismatch1() 65 CPPUNIT_ASSERT((result.first - v1.begin())==5); in mismatch1() [all …]
|
D | partial_test.cpp | 127 int result[3]; in parsrtc0() local 128 partial_sort_copy((int*)numbers, (int*)numbers + 6, (int*)result, (int*)result + 3); in parsrtc0() 130 CPPUNIT_ASSERT(result[0]==1); in parsrtc0() 131 CPPUNIT_ASSERT(result[1]==2); in parsrtc0() 132 CPPUNIT_ASSERT(result[2]==3); in parsrtc0() 143 vector <int> result(5); in parsrtc1() local 145 partial_sort_copy(v1.begin(), v1.end(), result.begin(), result.end()); in parsrtc1() 146 CPPUNIT_ASSERT(result[0]==0); in parsrtc1() 147 CPPUNIT_ASSERT(result[1]==2); in parsrtc1() 148 CPPUNIT_ASSERT(result[2]==2); in parsrtc1() [all …]
|
D | adj_test.cpp | 101 vector<int> result(v.size()); in adjdiff1() local 102 adjacent_difference(v.begin(), v.end(), result.begin()); in adjdiff1() 103 CPPUNIT_ASSERT(result[0]==0) in adjdiff1() 104 CPPUNIT_ASSERT(result[1]==1) in adjdiff1() 105 CPPUNIT_ASSERT(result[2]==3) in adjdiff1() 106 CPPUNIT_ASSERT(result[3]==5) in adjdiff1() 107 CPPUNIT_ASSERT(result[4]==7) in adjdiff1() 108 CPPUNIT_ASSERT(result[5]==9) in adjdiff1() 109 CPPUNIT_ASSERT(result[6]==11) in adjdiff1() 110 CPPUNIT_ASSERT(result[7]==13) in adjdiff1() [all …]
|
D | setdiff_test.cpp | 47 int result[4] = { 0, 0, 0, 0 }; in setsymd0() local 49 set_symmetric_difference((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); in setsymd0() 50 CPPUNIT_ASSERT(result[0]==10); in setsymd0() 51 CPPUNIT_ASSERT(result[1]==17); in setsymd0() 52 CPPUNIT_ASSERT(result[2]==18); in setsymd0() 53 CPPUNIT_ASSERT(result[3]==0); in setsymd0() 91 int result[4] = { 0, 0, 0, 0 }; in setdiff0() local 95 set_difference((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); in setdiff0() 96 CPPUNIT_ASSERT( result[0] == 18 ); in setdiff0() 97 CPPUNIT_ASSERT( result[1] == 0 ); in setdiff0() [all …]
|
D | unique_test.cpp | 71 int result[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; in uniqcpy1() local 73 unique_copy((int*)numbers, (int*)numbers + 8, (int*)result); in uniqcpy1() 76 CPPUNIT_ASSERT(result[0]==0); in uniqcpy1() 77 CPPUNIT_ASSERT(result[1]==1); in uniqcpy1() 78 CPPUNIT_ASSERT(result[2]==2); in uniqcpy1() 79 CPPUNIT_ASSERT(result[3]==3); in uniqcpy1() 80 CPPUNIT_ASSERT(result[4]==4); in uniqcpy1() 81 CPPUNIT_ASSERT(result[5]==0); in uniqcpy1() 82 CPPUNIT_ASSERT(result[6]==0); in uniqcpy1() 83 CPPUNIT_ASSERT(result[7]==0); in uniqcpy1()
|
D | setunion_test.cpp | 41 int result[7] = { 0, 0, 0, 0, 0, 0, 0 }; in setunon0() local 43 set_union((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); in setunon0() 45 CPPUNIT_ASSERT(result[0]==10); in setunon0() 46 CPPUNIT_ASSERT(result[1]==13); in setunon0() 47 CPPUNIT_ASSERT(result[2]==17); in setunon0() 48 CPPUNIT_ASSERT(result[3]==18); in setunon0() 49 CPPUNIT_ASSERT(result[4]==23); in setunon0() 50 CPPUNIT_ASSERT(result[5]==0); in setunon0() 51 CPPUNIT_ASSERT(result[6]==0); in setunon0()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | merge_test.cpp | 40 int result[10]; in merge0() local 41 merge((int*)numbers1, (int*)numbers1 + 5, (int*)numbers2, (int*)numbers2 + 5, (int*)result); in merge0() 43 CPPUNIT_ASSERT(result[0]==-5); in merge0() 44 CPPUNIT_ASSERT(result[1]==1); in merge0() 45 CPPUNIT_ASSERT(result[2]==6); in merge0() 46 CPPUNIT_ASSERT(result[3]==13); in merge0() 47 CPPUNIT_ASSERT(result[4]==25); in merge0() 48 CPPUNIT_ASSERT(result[5]==26); in merge0() 49 CPPUNIT_ASSERT(result[6]==36); in merge0() 50 CPPUNIT_ASSERT(result[7]==46); in merge0() [all …]
|
D | rm_cp_test.cpp | 71 int result[6]; in revcopy1() local 72 reverse_copy((int*)numbers, (int*)numbers + 6, (int*)result); in revcopy1() 74 CPPUNIT_ASSERT(result[0]==5); in revcopy1() 75 CPPUNIT_ASSERT(result[1]==4); in revcopy1() 76 CPPUNIT_ASSERT(result[2]==3); in revcopy1() 77 CPPUNIT_ASSERT(result[3]==2); in revcopy1() 78 CPPUNIT_ASSERT(result[4]==1); in revcopy1() 79 CPPUNIT_ASSERT(result[5]==0); in revcopy1() 106 int result[6] = { 0, 0, 0, 0, 0, 0 }; in replcpy1() local 108 replace_copy((int*)numbers, (int*)numbers + 6, (int*)result, 2, 42); in replcpy1() [all …]
|
D | mismatch_test.cpp | 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); in mismatch0() local 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); in mismatch0() 47 result = mismatch((int*)n1, (int*)n1 + 5, (int*)n3); in mismatch0() 48 CPPUNIT_ASSERT(!(result.first ==(n1 + 5) && result.second ==(n3 + 5))); in mismatch0() 49 CPPUNIT_ASSERT((result.first - n1)==3); in mismatch0() 58 pair <IntVec::iterator, IntVec::iterator> result = mismatch(v1.begin(), v1.end(), v2.begin()); in mismatch1() local 60 CPPUNIT_ASSERT(result.first == v1.end() && result.second == v2.end()); in mismatch1() 63 result = mismatch(v1.begin(), v1.end(), v2.begin()); in mismatch1() 64 CPPUNIT_ASSERT(!(result.first == v1.end() && result.second == v2.end())); in mismatch1() 65 CPPUNIT_ASSERT((result.first - v1.begin())==5); in mismatch1() [all …]
|
D | partial_test.cpp | 127 int result[3]; in parsrtc0() local 128 partial_sort_copy((int*)numbers, (int*)numbers + 6, (int*)result, (int*)result + 3); in parsrtc0() 130 CPPUNIT_ASSERT(result[0]==1); in parsrtc0() 131 CPPUNIT_ASSERT(result[1]==2); in parsrtc0() 132 CPPUNIT_ASSERT(result[2]==3); in parsrtc0() 143 vector <int> result(5); in parsrtc1() local 145 partial_sort_copy(v1.begin(), v1.end(), result.begin(), result.end()); in parsrtc1() 146 CPPUNIT_ASSERT(result[0]==0); in parsrtc1() 147 CPPUNIT_ASSERT(result[1]==2); in parsrtc1() 148 CPPUNIT_ASSERT(result[2]==2); in parsrtc1() [all …]
|
D | adj_test.cpp | 101 vector<int> result(v.size()); in adjdiff1() local 102 adjacent_difference(v.begin(), v.end(), result.begin()); in adjdiff1() 103 CPPUNIT_ASSERT(result[0]==0) in adjdiff1() 104 CPPUNIT_ASSERT(result[1]==1) in adjdiff1() 105 CPPUNIT_ASSERT(result[2]==3) in adjdiff1() 106 CPPUNIT_ASSERT(result[3]==5) in adjdiff1() 107 CPPUNIT_ASSERT(result[4]==7) in adjdiff1() 108 CPPUNIT_ASSERT(result[5]==9) in adjdiff1() 109 CPPUNIT_ASSERT(result[6]==11) in adjdiff1() 110 CPPUNIT_ASSERT(result[7]==13) in adjdiff1() [all …]
|
D | setdiff_test.cpp | 47 int result[4] = { 0, 0, 0, 0 }; in setsymd0() local 49 set_symmetric_difference((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); in setsymd0() 50 CPPUNIT_ASSERT(result[0]==10); in setsymd0() 51 CPPUNIT_ASSERT(result[1]==17); in setsymd0() 52 CPPUNIT_ASSERT(result[2]==18); in setsymd0() 53 CPPUNIT_ASSERT(result[3]==0); in setsymd0() 91 int result[4] = { 0, 0, 0, 0 }; in setdiff0() local 95 set_difference((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); in setdiff0() 96 CPPUNIT_ASSERT( result[0] == 18 ); in setdiff0() 97 CPPUNIT_ASSERT( result[1] == 0 ); in setdiff0() [all …]
|
D | unique_test.cpp | 71 int result[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; in uniqcpy1() local 73 unique_copy((int*)numbers, (int*)numbers + 8, (int*)result); in uniqcpy1() 76 CPPUNIT_ASSERT(result[0]==0); in uniqcpy1() 77 CPPUNIT_ASSERT(result[1]==1); in uniqcpy1() 78 CPPUNIT_ASSERT(result[2]==2); in uniqcpy1() 79 CPPUNIT_ASSERT(result[3]==3); in uniqcpy1() 80 CPPUNIT_ASSERT(result[4]==4); in uniqcpy1() 81 CPPUNIT_ASSERT(result[5]==0); in uniqcpy1() 82 CPPUNIT_ASSERT(result[6]==0); in uniqcpy1() 83 CPPUNIT_ASSERT(result[7]==0); in uniqcpy1()
|
D | setunion_test.cpp | 41 int result[7] = { 0, 0, 0, 0, 0, 0, 0 }; in setunon0() local 43 set_union((int*)v1, (int*)v1 + 3, (int*)v2, (int*)v2 + 4, (int*)result); in setunon0() 45 CPPUNIT_ASSERT(result[0]==10); in setunon0() 46 CPPUNIT_ASSERT(result[1]==13); in setunon0() 47 CPPUNIT_ASSERT(result[2]==17); in setunon0() 48 CPPUNIT_ASSERT(result[3]==18); in setunon0() 49 CPPUNIT_ASSERT(result[4]==23); in setunon0() 50 CPPUNIT_ASSERT(result[5]==0); in setunon0() 51 CPPUNIT_ASSERT(result[6]==0); in setunon0()
|
D | transform_test.cpp | 48 int result[6]; in trnsfrm1() local 49 transform((int*)numbers, (int*)numbers + 6, (int*)result, negate_int); in trnsfrm1() 51 CPPUNIT_ASSERT(result[0]==5); in trnsfrm1() 52 CPPUNIT_ASSERT(result[1]==1); in trnsfrm1() 53 CPPUNIT_ASSERT(result[2]==0); in trnsfrm1() 54 CPPUNIT_ASSERT(result[3]==-1); in trnsfrm1() 55 CPPUNIT_ASSERT(result[4]==-6); in trnsfrm1() 56 CPPUNIT_ASSERT(result[5]==-11); in trnsfrm1()
|
/ndk/tests/abcc/jni/mman-win32/ |
D | test.c | 26 int result = munmap(map, 1024); in test_anon_map_readwrite() local 28 if (result != 0) in test_anon_map_readwrite() 31 return result; in test_anon_map_readwrite() 46 int result = munmap(map, 1024); in test_anon_map_readonly() local 48 if (result != 0) in test_anon_map_readonly() 51 return result; in test_anon_map_readonly() 66 int result = munmap(map, 1024); in test_anon_map_writeonly() local 68 if (result != 0) in test_anon_map_writeonly() 71 return result; in test_anon_map_writeonly() 88 int result = munmap(map, 1024); in test_anon_map_readonly_nowrite() local [all …]
|
/ndk/tests/build/issue22345-ICE-postreload/jni/ |
D | issue22345-ICE-postreload.cpp | 8 float32x4_t result = vmulq_f32(vec1, vec2); in dot4VecResult() local 9 result = vaddq_f32(result, _IOS_SHUFFLE_1032(result)); in dot4VecResult() 10 result = vaddq_f32(result, _IOS_SHUFFLE_2301(result)); in dot4VecResult() 11 return result; in dot4VecResult() 15 float32x4_t result; in fastRSqrt() local 16 result = vrsqrteq_f32(vec); in fastRSqrt() 17 result = vmulq_f32(vrsqrtsq_f32(vmulq_f32(result, result), vec), result); in fastRSqrt() 18 return result; in fastRSqrt() 32 Vector3 result; in normalize() local 33 result = vmulq_f32(v1, internal::fastRSqrt(dot)); in normalize() [all …]
|
/ndk/sources/cxx-stl/gabi++/src/ |
D | dwarf_helper.cc | 57 uintptr_t result = 0; in readULEB128() local 63 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; in readULEB128() 67 return result; in readULEB128() 71 uintptr_t result = 0; in readSLEB128() local 77 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; in readSLEB128() 81 if ((byte & 0x40) && (shift < (sizeof(result) << 3))) { in readSLEB128() 82 result |= static_cast<uintptr_t>(~0) << shift; in readSLEB128() 84 return static_cast<intptr_t>(result); in readSLEB128() 145 uintptr_t result = 0; in readEncodedPointer() local 147 return result; in readEncodedPointer() [all …]
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/detail/ |
D | type_trait_def.hpp | 17 #define BOOST_TT_AUX_TYPE_TRAIT_DEF1(trait,T,result) \ argument 21 typedef result type; \ 28 #define BOOST_TT_AUX_TYPE_TRAIT_SPEC1(trait,spec,result) \ argument 32 typedef result type; \ 37 #define BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(trait,spec,result) \ argument 41 typedef result type; \ 45 #define BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(param,trait,spec,result) \ argument 49 typedef result type; \ 53 #define BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(param1,param2,trait,spec,result) \ argument 57 typedef result; \ [all …]
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-test-part.cc | 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { in operator <<() argument 60 << result.file_name() << ":" << result.line_number() << ": " in operator <<() 61 << (result.type() == TestPartResult::kSuccess ? "Success" : in operator <<() 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : in operator <<() 64 << result.message() << std::endl; in operator <<() 68 void TestPartResultArray::Append(const TestPartResult& result) { in Append() argument 69 array_.push_back(result); in Append() 102 const TestPartResult& result) { in ReportTestPartResult() argument 103 if (result.fatally_failed()) in ReportTestPartResult() 105 original_reporter_->ReportTestPartResult(result); in ReportTestPartResult()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/ |
D | support.cpp | 24 int result; in asprintf() local 25 result = vasprintf(sptr, format, ap); in asprintf() 27 return result; in asprintf() 73 size_t result = 0; in mbsnrtowcs() local 91 result = char_size; in mbsnrtowcs() 96 if ( have_result && result == terminated_sequence ) in mbsnrtowcs() 101 if ( have_result && result != terminated_sequence && result != incomplete_sequence ) in mbsnrtowcs() 125 errno_t result = ( errno_t ) 0; in wcsnrtombs() local 134 result = wcrtomb_s( &char_size, dst + dest_converted, dest_remaining, c, ps); in wcsnrtombs() 136 result = wcrtomb_s( &char_size, NULL, 0, c, ps); in wcsnrtombs() [all …]
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
D | bug-regex7.c | 40 int result = 0; in main() local 49 result = 1; in main() 58 result = 1; in main() 63 result = 1; in main() 74 result = 1; in main() 83 result = 1; in main() 88 result = 1; in main() 92 if (result == 0) in main() 95 return result; in main()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | collate.cpp | 36 unsigned long result = 0; in do_hash() local 38 result = 5 * result + *low; in do_hash() 39 return result; in do_hash() 56 unsigned long result = 0; in do_hash() local 58 result = 5 * result + *low; in do_hash() 59 return result; in do_hash()
|