Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 41) 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/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()
Denvironment.hpp149 get( cstring var_name, boost::optional<T>& res ) in get() argument
152 v.value( res ); in get()
/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/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()
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Deval100 rev=$(eval res:=)$(foreach word,$1,$(eval res:=${word} ${res}))${res}
/ndk/sources/host-tools/ndk-stack/elff/
Dmapfile.c145 ssize_t res = lseek((int)(ptrdiff_t)handle, offset, SEEK_SET); in mapfile_read_at()
146 return res >= 0 ? mapfile_read(handle, buf, nbyte) : res; in mapfile_read_at()
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_wlocale_win32.c47 wchar_t res; in _WLocale_tolower() local
49 LCMapStringW(ltype->lc.id, LCMAP_LOWERCASE, &in_c, 1, &res, 1); in _WLocale_tolower()
50 return res; in _WLocale_tolower()
55 wchar_t res; in _WLocale_toupper() local
57 LCMapStringW(ltype->lc.id, LCMAP_UPPERCASE, &in_c, 1, &res, 1); in _WLocale_toupper()
58 return res; in _WLocale_toupper()

12