Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 11 of 11) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/test/strings/string.conversions/
Dto_string.pass.cpp31 std::string s = std::to_string(T(0)); in test_signed()
37 std::string s = std::to_string(T(12345)); in test_signed()
43 std::string s = std::to_string(T(-12345)); in test_signed()
49 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_signed()
57 std::string s = std::to_string(std::numeric_limits<T>::min()); in test_signed()
70 std::string s = std::to_string(T(0)); in test_unsigned()
76 std::string s = std::to_string(T(12345)); in test_unsigned()
82 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_unsigned()
96 std::string s = std::to_string(T(0)); in test_float()
102 std::string s = std::to_string(T(12345)); in test_float()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/template.bitset/bitset.members/
Dto_string.pass.cpp47 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string()
55 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >(); in test_to_string()
63 std::string s = v.template to_string<char>(); in test_to_string()
71 std::string s = v.to_string(); in test_to_string()
82 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string()
90 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >('0'); in test_to_string()
98 std::string s = v.template to_string<char>('0'); in test_to_string()
106 std::string s = v.to_string('0'); in test_to_string()
117 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string()
125 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >('0', '1'); in test_to_string()
[all …]
/ndk/tests/device/test-stlport/unit/
Dbitset_test.cpp67 string representation = b2.to_string<char, char_traits<char>, allocator<char> >(); in bitset1()
70 wstring wrepresentation = b2.to_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >(); in bitset1()
74 CPPUNIT_ASSERT( b2.to_string() == "1000100010001" ); in bitset1()
Dsstream_test.cpp474 string to_string( const T& v ) in to_string() function
483 CPPUNIT_CHECK( to_string<int>(-1) == "-1" ); in negative()
484 CPPUNIT_CHECK( to_string<long>(-1) == "-1" ); in negative()
/ndk/tests/device/test-gnustl-full/unit/
Dbitset_test.cpp67 string representation = b2.to_string<char, char_traits<char>, allocator<char> >(); in bitset1()
70 wstring wrepresentation = b2.to_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >(); in bitset1()
74 CPPUNIT_ASSERT( b2.to_string() == "1000100010001" ); in bitset1()
Dsstream_test.cpp474 string to_string( const T& v ) in to_string() function
483 CPPUNIT_CHECK( to_string<int>(-1) == "-1" ); in negative()
484 CPPUNIT_CHECK( to_string<long>(-1) == "-1" ); in negative()
/ndk/sources/cxx-stl/llvm-libc++/src/
Dstring.cpp369 string to_string(int val) in to_string() function
386 string to_string(unsigned val) in to_string() function
403 string to_string(long val) in to_string() function
420 string to_string(unsigned long val) in to_string() function
437 string to_string(long long val) in to_string() function
454 string to_string(unsigned long long val) in to_string() function
471 string to_string(float val) in to_string() function
488 string to_string(double val) in to_string() function
505 string to_string(long double val) in to_string() function
/ndk/sources/cxx-stl/llvm-libc++/include/
Dbitset74 …basic_string<charT, traits, Allocator> to_string(charT zero = charT('0'), charT one = charT('1')) …
76 …basic_string<charT, traits, allocator<charT> > to_string(charT zero = charT('0'), charT one = char…
78 …basic_string<charT, char_traits<charT>, allocator<charT> > to_string(charT zero = charT('0'), char…
79 …basic_string<char, char_traits<char>, allocator<char> > to_string(char zero = '0', char one = '1')…
679 basic_string<_CharT, _Traits, _Allocator> to_string(_CharT __zero = _CharT('0'),
682 basic_string<_CharT, _Traits, allocator<_CharT> > to_string(_CharT __zero = _CharT('0'),
685 …basic_string<_CharT, char_traits<_CharT>, allocator<_CharT> > to_string(_CharT __zero = _CharT('0'…
687 basic_string<char, char_traits<char>, allocator<char> > to_string(char __zero = '0',
915 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const
930 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const
[all …]
Dstring390 string to_string(int val);
391 string to_string(unsigned val);
392 string to_string(long val);
393 string to_string(unsigned long val);
394 string to_string(long long val);
395 string to_string(unsigned long long val);
396 string to_string(float val);
397 string to_string(double val);
398 string to_string(long double val);
3884 string to_string(int __val);
[all …]
Dostream1276 return __os << __x.template to_string<_CharT, _Traits>
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_bitset.h568 basic_string<_CharT, _Traits, _Alloc> to_string() const {
574 string to_string() const {