Home
last modified time | relevance | path

Searched refs:LengthMod (Results 1 – 6 of 6) sorted by relevance

/third_party/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc21 using LM = LengthMod;
206 using str_format_internal::LengthMod; in ConsumeConversion()
207 LengthMod length_mod = tag.as_length(); in ConsumeConversion()
209 if (c == 'h' && length_mod == LengthMod::h) { in ConsumeConversion()
210 conv->length_mod = LengthMod::hh; in ConsumeConversion()
212 } else if (c == 'l' && length_mod == LengthMod::l) { in ConsumeConversion()
213 conv->length_mod = LengthMod::ll; in ConsumeConversion()
232 std::string LengthModToString(LengthMod v) { in LengthModToString()
234 case LengthMod::h: in LengthModToString()
236 case LengthMod::hh: in LengthModToString()
[all …]
Dparser_test.cc20 LengthMod mod; in TEST()
24 {__LINE__, LengthMod::none, "" }, in TEST()
25 {__LINE__, LengthMod::h, "h" }, in TEST()
26 {__LINE__, LengthMod::hh, "hh"}, in TEST()
27 {__LINE__, LengthMod::l, "l" }, in TEST()
28 {__LINE__, LengthMod::ll, "ll"}, in TEST()
29 {__LINE__, LengthMod::L, "L" }, in TEST()
30 {__LINE__, LengthMod::j, "j" }, in TEST()
31 {__LINE__, LengthMod::z, "z" }, in TEST()
32 {__LINE__, LengthMod::t, "t" }, in TEST()
[all …]
Dparser.h24 enum class LengthMod : std::uint8_t { h, hh, l, ll, L, j, z, t, q, none }; enum
26 std::string LengthModToString(LengthMod v);
69 LengthMod length_mod = LengthMod::none;
90 constexpr ConvTag(LengthMod length_mod) // NOLINT in ConvTag()
101 LengthMod as_length() const { in as_length()
103 return static_cast<LengthMod>(~tag_); in as_length()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc35 using LM = LengthMod;
209 using str_format_internal::LengthMod; in ConsumeConversion()
210 LengthMod length_mod = tag.as_length(); in ConsumeConversion()
212 if (c == 'h' && length_mod == LengthMod::h) { in ConsumeConversion()
213 conv->length_mod = LengthMod::hh; in ConsumeConversion()
215 } else if (c == 'l' && length_mod == LengthMod::l) { in ConsumeConversion()
216 conv->length_mod = LengthMod::ll; in ConsumeConversion()
235 std::string LengthModToString(LengthMod v) { in LengthModToString()
237 case LengthMod::h: in LengthModToString()
239 case LengthMod::hh: in LengthModToString()
[all …]
Dparser_test.cc34 LengthMod mod; in TEST()
38 {__LINE__, LengthMod::none, "" }, in TEST()
39 {__LINE__, LengthMod::h, "h" }, in TEST()
40 {__LINE__, LengthMod::hh, "hh"}, in TEST()
41 {__LINE__, LengthMod::l, "l" }, in TEST()
42 {__LINE__, LengthMod::ll, "ll"}, in TEST()
43 {__LINE__, LengthMod::L, "L" }, in TEST()
44 {__LINE__, LengthMod::j, "j" }, in TEST()
45 {__LINE__, LengthMod::z, "z" }, in TEST()
46 {__LINE__, LengthMod::t, "t" }, in TEST()
[all …]
Dparser.h38 enum class LengthMod : std::uint8_t { h, hh, l, ll, L, j, z, t, q, none }; enum
40 std::string LengthModToString(LengthMod v);
80 LengthMod length_mod = LengthMod::none;
99 constexpr ConvTag(LengthMod length_mod) // NOLINT in ConvTag()
115 LengthMod as_length() const { in as_length()
119 return static_cast<LengthMod>(tag_ & 0x3F); in as_length()