Lines Matching refs:icu
16 using icu::UnicodeString;
23 icu::StringPiece(str.data(), base::checked_cast<int32_t>(str.size()))); in UnicodeStringFromStringPiece()
31 : formattable(new icu::Formattable(UnicodeStringFromStringPiece(s))) {} in MessageArg()
34 : formattable(new icu::Formattable(UnicodeStringFromStringPiece(s))) {} in MessageArg()
37 : formattable(new icu::Formattable(UnicodeString::fromUTF8(s))) {} in MessageArg()
40 : formattable(new icu::Formattable(UnicodeString(s.data(), s.size()))) {} in MessageArg()
42 MessageArg::MessageArg(int i) : formattable(new icu::Formattable(i)) {} in MessageArg()
44 MessageArg::MessageArg(int64_t i) : formattable(new icu::Formattable(i)) {} in MessageArg()
46 MessageArg::MessageArg(double d) : formattable(new icu::Formattable(d)) {} in MessageArg()
49 : formattable(new icu::Formattable(static_cast<UDate>(t.ToJsTime()))) {} in MessageArg()
74 icu::Formattable args[] = { in FormatWithNumberedArgs()
75 arg0.has_value(&args_count) ? *arg0.formattable : icu::Formattable(), in FormatWithNumberedArgs()
76 arg1.has_value(&args_count) ? *arg1.formattable : icu::Formattable(), in FormatWithNumberedArgs()
77 arg2.has_value(&args_count) ? *arg2.formattable : icu::Formattable(), in FormatWithNumberedArgs()
78 arg3.has_value(&args_count) ? *arg3.formattable : icu::Formattable(), in FormatWithNumberedArgs()
79 arg4.has_value(&args_count) ? *arg4.formattable : icu::Formattable(), in FormatWithNumberedArgs()
80 arg5.has_value(&args_count) ? *arg5.formattable : icu::Formattable(), in FormatWithNumberedArgs()
81 arg6.has_value(&args_count) ? *arg6.formattable : icu::Formattable(), in FormatWithNumberedArgs()
86 icu::MessageFormat format(msg_string, error); in FormatWithNumberedArgs()
87 icu::UnicodeString formatted; in FormatWithNumberedArgs()
88 icu::FieldPosition ignore(icu::FieldPosition::DONT_CARE); in FormatWithNumberedArgs()
107 icu::UnicodeString names[] = { in FormatWithNamedArgs()
117 icu::Formattable args[] = { in FormatWithNamedArgs()
118 arg0.has_value(&args_count) ? *arg0.formattable : icu::Formattable(), in FormatWithNamedArgs()
119 arg1.has_value(&args_count) ? *arg1.formattable : icu::Formattable(), in FormatWithNamedArgs()
120 arg2.has_value(&args_count) ? *arg2.formattable : icu::Formattable(), in FormatWithNamedArgs()
121 arg3.has_value(&args_count) ? *arg3.formattable : icu::Formattable(), in FormatWithNamedArgs()
122 arg4.has_value(&args_count) ? *arg4.formattable : icu::Formattable(), in FormatWithNamedArgs()
123 arg5.has_value(&args_count) ? *arg5.formattable : icu::Formattable(), in FormatWithNamedArgs()
124 arg6.has_value(&args_count) ? *arg6.formattable : icu::Formattable(), in FormatWithNamedArgs()
129 icu::MessageFormat format(msg_string, error); in FormatWithNamedArgs()
131 icu::UnicodeString formatted; in FormatWithNamedArgs()