Home
last modified time | relevance | path

Searched refs:CharUnit (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dstring_length_op.cc41 case CharUnit::BYTE: in Compute()
46 case CharUnit::UTF8_CHAR: in Compute()
55 CharUnit unit_ = CharUnit::BYTE;
Dsubstr_op.cc80 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;
Dstring_util.cc38 Status ParseCharUnit(const string& str, CharUnit* unit) { in ParseCharUnit()
40 *unit = CharUnit::BYTE; in ParseCharUnit()
42 *unit = CharUnit::UTF8_CHAR; in ParseCharUnit()
Dstring_util.h29 enum class CharUnit { BYTE, UTF8_CHAR }; enum
38 Status ParseCharUnit(const string& str, CharUnit* unit);