Home
last modified time | relevance | path

Searched refs:UnicodeEncoding (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dstring_util.cc22 Status ParseUnicodeEncoding(const string& str, UnicodeEncoding* encoding) { in ParseUnicodeEncoding()
24 *encoding = UnicodeEncoding::UTF8; in ParseUnicodeEncoding()
26 *encoding = UnicodeEncoding::UTF16BE; in ParseUnicodeEncoding()
28 *encoding = UnicodeEncoding::UTF32BE; in ParseUnicodeEncoding()
Dunicode_ops.cc54 void Encode(const UnicodeEncoding encoding, const icu::UnicodeString& in, in Encode()
56 if (encoding == UnicodeEncoding::UTF8) { in Encode()
59 } else if (encoding == UnicodeEncoding::UTF16BE) { in Encode()
71 } else if (encoding == UnicodeEncoding::UTF32BE) { in Encode()
347 UnicodeEncoding output_encoding_ = UnicodeEncoding::UTF8;
557 UnicodeEncoding encoding_;
Dstring_util.h24 enum class UnicodeEncoding { UTF8, UTF16BE, UTF32BE }; enum
35 Status ParseUnicodeEncoding(const string& str, UnicodeEncoding* encoding);
/external/v8/src/compiler/
Dsimplified-operator.cc597 UnicodeEncoding UnicodeEncodingOf(const Operator* op) { in UnicodeEncodingOf()
600 return OpParameter<UnicodeEncoding>(op); in UnicodeEncodingOf()
868 template <UnicodeEncoding kEncoding>
869 struct StringCodePointAtOperator final : public Operator1<UnicodeEncoding> {
871 : Operator1<UnicodeEncoding>(IrOpcode::kStringCodePointAt, in StringCodePointAtOperator()
876 StringCodePointAtOperator<UnicodeEncoding::UTF16>
878 StringCodePointAtOperator<UnicodeEncoding::UTF32>
881 template <UnicodeEncoding kEncoding>
883 : public Operator1<UnicodeEncoding> {
885 : Operator1<UnicodeEncoding>( in StringFromSingleCodePointOperator()
[all …]
Dsimplified-operator.h501 UnicodeEncoding UnicodeEncodingOf(const Operator*) V8_WARN_UNUSED_RESULT;
623 const Operator* StringCodePointAt(UnicodeEncoding encoding); in NON_EXPORTED_BASE()
625 const Operator* StringFromSingleCodePoint(UnicodeEncoding encoding); in NON_EXPORTED_BASE()
Deffect-control-linearizer.h128 Node* LowerStringCodePointAt(Node* node, UnicodeEncoding encoding);
Deffect-control-linearizer.cc2965 Node* node, UnicodeEncoding encoding) { in LowerStringCodePointAt()
2969 Builtins::Name builtin = encoding == UnicodeEncoding::UTF16 in LowerStringCodePointAt()
3200 case UnicodeEncoding::UTF16: in LowerStringFromSingleCodePoint()
3203 case UnicodeEncoding::UTF32: { in LowerStringFromSingleCodePoint()
Djs-call-reducer.cc3630 simplified()->StringCodePointAt(UnicodeEncoding::UTF32), node); in ReduceJSCall()
5352 simplified()->StringFromSingleCodePoint(UnicodeEncoding::UTF32), input); in ReduceStringFromCodePoint()
5404 simplified()->StringCodePointAt(UnicodeEncoding::UTF16), string, in ReduceStringIteratorPrototypeNext()
5407 simplified()->StringFromSingleCodePoint(UnicodeEncoding::UTF16), in ReduceStringIteratorPrototypeNext()
/external/v8/src/
Dglobals.h1368 enum class UnicodeEncoding : uint8_t { enum
1374 inline size_t hash_value(UnicodeEncoding encoding) { in hash_value()
1378 inline std::ostream& operator<<(std::ostream& os, UnicodeEncoding encoding) {
1380 case UnicodeEncoding::UTF16:
1382 case UnicodeEncoding::UTF32:
Dcode-stub-assembler.h1928 UnicodeEncoding encoding);
Dcode-stub-assembler.cc6567 TNode<Int32T> codepoint, UnicodeEncoding encoding) { in StringFromSingleCodePoint()
6584 case UnicodeEncoding::UTF16: in StringFromSingleCodePoint()
6586 case UnicodeEncoding::UTF32: { in StringFromSingleCodePoint()
/external/v8/src/builtins/
Dbuiltins-string-gen.h72 UnicodeEncoding encoding);
Dbuiltins-string-gen.cc608 LoadSurrogatePairAt(receiver, length, position, UnicodeEncoding::UTF16); in TF_BUILTIN()
623 LoadSurrogatePairAt(receiver, length, position, UnicodeEncoding::UTF32); in TF_BUILTIN()
786 UnicodeEncoding::UTF32); in TF_BUILTIN()
2426 SloppyTNode<IntPtrT> index, UnicodeEncoding encoding) { in LoadSurrogatePairAt()
2458 case UnicodeEncoding::UTF16: in LoadSurrogatePairAt()
2468 case UnicodeEncoding::UTF32: { in LoadSurrogatePairAt()
2514 UnicodeEncoding encoding = UnicodeEncoding::UTF16; in TF_BUILTIN()