Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 50) sorted by relevance

12

/ndk/tests/device/test-gnustl-full/unit/
Dctype_facets_test.cpp46 ctype_base::mask res[sizeof(values)]; in _ctype_facet() local
47 ct.is(values, values + sizeof(values), res); in _ctype_facet()
49 CPPUNIT_ASSERT( (res[0] & ctype_base::print) != 0 ); in _ctype_facet()
50 CPPUNIT_ASSERT( (res[0] & ctype_base::digit) != 0 ); in _ctype_facet()
51 CPPUNIT_ASSERT( (res[0] & ctype_base::xdigit) != 0 ); in _ctype_facet()
53 CPPUNIT_ASSERT( (res[1] & ctype_base::print) != 0 ); in _ctype_facet()
54 CPPUNIT_ASSERT( (res[1] & ctype_base::alpha) != 0 ); in _ctype_facet()
55 CPPUNIT_ASSERT( (res[1] & ctype_base::xdigit) != 0 ); in _ctype_facet()
56 CPPUNIT_ASSERT( (res[1] & ctype_base::upper) != 0 ); in _ctype_facet()
58 CPPUNIT_ASSERT( (res[2] & ctype_base::print) != 0 ); in _ctype_facet()
[all …]
Dcodecvt_test.cpp400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from, in in_out_test() local
402 CPPUNIT_ASSERT( res == cdecvt_type::ok ); in in_out_test()
414 … cdecvt_type::result res = cdect.out(state, from.data(), from.data() + from.size(), next_from, in in_out_test() local
416 CPPUNIT_ASSERT( res == cdecvt_type::ok ); in in_out_test()
444 int res = cdect.length(state, from.data(), from.data() + from.size(), from.size()); in length_test() local
445 CPPUNIT_ASSERT( (size_t)res == from.size() ); in length_test()
536 codecvt_base::result res; in special_encodings() local
546 res = cvt.in(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), from_next, in special_encodings()
548 CPPUNIT_ASSERT( res == codecvt_base::ok ); in special_encodings()
557 res = cvt.out(state, cp936_wstr.data(), cp936_wstr.data() + cp936_wstr.size(), from_next, in special_encodings()
[all …]
Dtransform_test.cpp68 string res; in trnsfrm2() local
69 transform(n, n + count, trans, back_inserter(res), map_char); in trnsfrm2()
70 CPPUNIT_ASSERT( res == "Hello World!" ) in trnsfrm2()
/ndk/tests/device/test-stlport/unit/
Dctype_facets_test.cpp46 ctype_base::mask res[sizeof(values)]; in _ctype_facet() local
47 ct.is(values, values + sizeof(values), res); in _ctype_facet()
49 CPPUNIT_ASSERT( (res[0] & ctype_base::print) != 0 ); in _ctype_facet()
50 CPPUNIT_ASSERT( (res[0] & ctype_base::digit) != 0 ); in _ctype_facet()
51 CPPUNIT_ASSERT( (res[0] & ctype_base::xdigit) != 0 ); in _ctype_facet()
53 CPPUNIT_ASSERT( (res[1] & ctype_base::print) != 0 ); in _ctype_facet()
54 CPPUNIT_ASSERT( (res[1] & ctype_base::alpha) != 0 ); in _ctype_facet()
55 CPPUNIT_ASSERT( (res[1] & ctype_base::xdigit) != 0 ); in _ctype_facet()
56 CPPUNIT_ASSERT( (res[1] & ctype_base::upper) != 0 ); in _ctype_facet()
58 CPPUNIT_ASSERT( (res[2] & ctype_base::print) != 0 ); in _ctype_facet()
[all …]
Dcodecvt_test.cpp400 cdecvt_type::result res = cdect.in(state, from.data(), from.data() + from.size(), next_from, in in_out_test() local
402 CPPUNIT_ASSERT( res == cdecvt_type::ok ); in in_out_test()
414 … cdecvt_type::result res = cdect.out(state, from.data(), from.data() + from.size(), next_from, in in_out_test() local
416 CPPUNIT_ASSERT( res == cdecvt_type::ok ); in in_out_test()
444 int res = cdect.length(state, from.data(), from.data() + from.size(), from.size()); in length_test() local
445 CPPUNIT_ASSERT( (size_t)res == from.size() ); in length_test()
536 codecvt_base::result res; in special_encodings() local
546 res = cvt.in(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), from_next, in special_encodings()
548 CPPUNIT_ASSERT( res == codecvt_base::ok ); in special_encodings()
557 res = cvt.out(state, cp936_wstr.data(), cp936_wstr.data() + cp936_wstr.size(), from_next, in special_encodings()
[all …]
Dtransform_test.cpp68 string res; in trnsfrm2() local
69 transform(n, n + count, trans, back_inserter(res), map_char); in trnsfrm2()
70 CPPUNIT_ASSERT( res == "Hello World!" ) in trnsfrm2()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/
Dinterpret_argument_value.hpp46 static bool _( cstring source, boost::optional<T>& res ) in _()
50 res = lexical_cast<T>( source ); in _()
52 BOOST_RT_PARAM_TRACE( "String " << source << " is interpreted as " << *res ); in _()
63 static bool _( cstring source, boost::optional<dstring>& res ) in _()
67 res = dstring(); in _()
68 assign_op( *res, source, 0 ); in _()
79 static bool _( cstring source, boost::optional<cstring>& res ) in _()
83 res = source; in _()
94 static bool _( cstring source, boost::optional<bool>& res ) in _()
108 res = true; in _()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/detail/
Dcheck.hpp30 # define BOOST_PP_CHECK_2(res, _) res argument
36 # define BOOST_PP_CHECK_4(res, _) res argument
37 # define BOOST_PP_CHECK_5(res) res argument
43 # define BOOST_PP_CHECK_2(res, _) res argument
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
Dinteraction_based.hpp133 std::string const& res = return_value( (ws << dv).str() ); in generic_return() local
135 if( res.empty() ) in generic_return()
138 return lexical_cast<T>( res ); in generic_return()
211 void* res = std::malloc(s ? s : 1); in operator new() local
213 if( res ) in operator new()
214 ::boost::itest::manager::instance().allocated( l.m_file_name, l.m_line_num, res, s ); in operator new()
218 return res; in operator new()
226 void* res = std::malloc(s ? s : 1); in operator new[]() local
228 if( res ) in operator new[]()
229 ::boost::itest::manager::instance().allocated( l.m_file_name, l.m_line_num, res, s ); in operator new[]()
[all …]
Dtest_tools.hpp635 predicate_result res( true ); in equal_coll_impl() local
640 res = false; in equal_coll_impl()
641res.message() << "\nMismatch in a position " << pos << ": " << *left_begin << " != " << *right_be… in equal_coll_impl()
652 res = false; in equal_coll_impl()
653 res.message() << "\nCollections size mismatch: " << pos << " != " << r_size; in equal_coll_impl()
663 res = false; in equal_coll_impl()
664 res.message() << "\nCollections size mismatch: " << l_size << " != " << pos; in equal_coll_impl()
667 return res; in equal_coll_impl()
676 predicate_result res( true ); in bitwise_equal_impl() local
688 res = false; in bitwise_equal_impl()
[all …]
Dfloating_point_comparison.hpp191 predicate_result res( p_strong_or_weak in operator ()() local
195 if( !res ) in operator ()()
196 res.message() << (( d1 <= p_fraction_tolerance.get() ? d2 : d1 ) * m_report_modifier); in operator ()()
198 return res; in operator ()()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/detail/
Dworkaround.hpp38 std::ptrdiff_t res = 0; in distance() local
40 std::distance( x_, y_, res ); in distance()
42 return res; in distance()
/ndk/sources/android/support/src/stdio/
Dvfscanf.c580 uintmax_t res; in VFSCANF() local
584 res = strtoumax(buf, NULL, base); in VFSCANF()
586 res = strtoimax(buf, NULL, base); in VFSCANF()
589 (void *)(uintptr_t)res; in VFSCANF()
591 *va_arg(ap, intmax_t *) = res; in VFSCANF()
593 *va_arg(ap, long long *) = res; in VFSCANF()
595 *va_arg(ap, ssize_t *) = res; in VFSCANF()
597 *va_arg(ap, ptrdiff_t *) = res; in VFSCANF()
599 *va_arg(ap, long *) = res; in VFSCANF()
601 *va_arg(ap, short *) = res; in VFSCANF()
[all …]
/ndk/sources/host-tools/sed-4.2.1/lib/
Dmbrtowc.c99 int res = mbtowc (pwc, p, m); in mbrtowc() local
101 if (res >= 0) in mbrtowc()
103 if (pwc != NULL && ((*pwc == 0) != (res == 0))) in mbrtowc()
105 if (nstate >= (res > 0 ? res : 1)) in mbrtowc()
107 res -= nstate; in mbrtowc()
109 return res; in mbrtowc()
Derror.c145 size_t res; in error_tail() local
173 res = mbsrtowcs (wmessage, &tmp, len, &st); in error_tail()
174 if (res != len) in error_tail()
180 res = (size_t) -1; in error_tail()
187 if (res == (size_t) -1) in error_tail()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/env/
Dvariable.hpp69 void value( boost::optional<T>& res ) const in value()
72 res = arg_value<T>( *m_data->m_value ); in value()
74 res.reset(); in value()
110 void value( boost::optional<T>& res ) const { variable_base::value( res ); } in value()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/
Dcat.hpp32 # define BOOST_PP_CAT_II(p, res) res argument
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/logical/
Dbitand.hpp30 # define BOOST_PP_BITAND_ID(res) res argument
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/
Dparser.hpp115 void get( cstring string_id, boost::optional<T>& res ) const in get()
120 res = arg_value<T>( *actual_arg ); in get()
122 res.reset(); in get()
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Druntests.c126 int res = 0; in main() local
143 res |= run_a_test (x, &the_tests[x]); in main()
145 return res != 0; in main()
/ndk/sources/cxx-stl/stlport/src/
Dmessages.cpp73 messages_base::catalog &res = Mr[cat]; in insert() local
74 if ( res == 0 ) { in insert()
76 res = __STATIC_CAST(int, _STLP_ATOMIC_INCREMENT(&_count)); in insert()
81 res = __STATIC_CAST(int, ++_count); in insert()
84 M[res] = cat; in insert()
86 return res; in insert()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dtest_tools.ipp424 char res;
426 m_pattern.get( res );
427 } while( m_text_or_binary && res == '\r' && !m_pattern.fail() && !m_pattern.eof() );
429 return res;
432 void check_and_fill( predicate_result& res )
434 if( !res.p_predicate_value )
435 res.message() << "Output content: \"" << m_synced_string << '\"';
474 result_type res( m_pimpl->m_synced_string.empty() );
476 m_pimpl->check_and_fill( res );
481 return res;
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/list/
Dtransform.hpp38 # define BOOST_PP_LIST_TRANSFORM_O_D(d, op, data, res, elem) (op, data, (op(d, data, elem), res)) argument
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/seq/
Dtransform.hpp37 # define BOOST_PP_SEQ_TRANSFORM_O_I(s, op, data, res, elem) (op, data, res (op(s, data, elem))) argument
/ndk/sources/host-tools/make-3.81/
Dstrcache.c62 const char *res; in add_string() local
84 res = best->end; in add_string()
91 return res; in add_string()

12