Searched refs:CharUnit (Results 1 – 4 of 4) sorted by relevance
41 case CharUnit::BYTE: in Compute()46 case CharUnit::UTF8_CHAR: in Compute()55 CharUnit unit_ = CharUnit::BYTE;
80 case CharUnit::UTF8_CHAR: in Compute()86 case CharUnit::BYTE: in Compute()107 case CharUnit::UTF8_CHAR: in Compute()113 case CharUnit::BYTE: in Compute()186 case CharUnit::UTF8_CHAR: in Compute()192 case CharUnit::BYTE: in Compute()252 case CharUnit::UTF8_CHAR: in Compute()258 case CharUnit::BYTE: in Compute()349 CharUnit unit_ = CharUnit::BYTE;
38 Status ParseCharUnit(const string& str, CharUnit* unit) { in ParseCharUnit()40 *unit = CharUnit::BYTE; in ParseCharUnit()42 *unit = CharUnit::UTF8_CHAR; in ParseCharUnit()
29 enum class CharUnit { BYTE, UTF8_CHAR }; enum38 Status ParseCharUnit(const string& str, CharUnit* unit);