Home
last modified time | relevance | path

Searched refs:initial_string (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/src/
Dstring.cpp380 struct initial_string;
383 struct initial_string<string, V, b> struct
395 struct initial_string<wstring, V, false> struct
410 struct initial_string<wstring, V, true> struct
438 return as_string(snprintf, initial_string<string, int>()(), "%d", val); in to_string()
443 return as_string(snprintf, initial_string<string, unsigned>()(), "%u", val); in to_string()
448 return as_string(snprintf, initial_string<string, long>()(), "%ld", val); in to_string()
453 return as_string(snprintf, initial_string<string, unsigned long>()(), "%lu", val); in to_string()
458 return as_string(snprintf, initial_string<string, long long>()(), "%lld", val); in to_string()
463 return as_string(snprintf, initial_string<string, unsigned long long>()(), "%llu", val); in to_string()
[all …]
/external/llvm-project/libcxx/src/
Dstring.cpp386 struct initial_string;
389 struct initial_string<string> struct
401 struct initial_string<wstring> struct
455 string to_string (float val) { return as_string(snprintf, initial_string< string>()(),… in to_string()
456 string to_string (double val) { return as_string(snprintf, initial_string< string>()(),… in to_string()
457 string to_string (long double val) { return as_string(snprintf, initial_string< string>()(),… in to_string()
459 wstring to_wstring(float val) { return as_string(get_swprintf(), initial_string<wstring>()(),… in to_wstring()
460 wstring to_wstring(double val) { return as_string(get_swprintf(), initial_string<wstring>()(),… in to_wstring()
461 wstring to_wstring(long double val) { return as_string(get_swprintf(), initial_string<wstring>()(),… in to_wstring()
/external/libchrome/base/i18n/
Dbreak_iterator_unittest.cc467 const string16 initial_string(ASCIIToUTF16("str")); in TEST() local
468 BreakIterator iter(initial_string, BreakIterator::BREAK_WORD); in TEST()
477 EXPECT_LT(initial_string.size(), iter.pos()); in TEST()
484 const string16 initial_string(ASCIIToUTF16("some string")); in TEST() local
485 BreakIterator iter(initial_string, BreakIterator::BREAK_WORD); in TEST()