Searched refs:UnicodeEncoding (Results 1 – 13 of 13) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | string_util.cc | 22 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()
|
D | unicode_ops.cc | 54 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_;
|
D | string_util.h | 24 enum class UnicodeEncoding { UTF8, UTF16BE, UTF32BE }; enum 35 Status ParseUnicodeEncoding(const string& str, UnicodeEncoding* encoding);
|
/external/v8/src/compiler/ |
D | simplified-operator.cc | 597 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 …]
|
D | simplified-operator.h | 501 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()
|
D | effect-control-linearizer.h | 128 Node* LowerStringCodePointAt(Node* node, UnicodeEncoding encoding);
|
D | effect-control-linearizer.cc | 2965 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()
|
D | js-call-reducer.cc | 3630 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/ |
D | globals.h | 1368 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:
|
D | code-stub-assembler.h | 1928 UnicodeEncoding encoding);
|
D | code-stub-assembler.cc | 6567 TNode<Int32T> codepoint, UnicodeEncoding encoding) { in StringFromSingleCodePoint() 6584 case UnicodeEncoding::UTF16: in StringFromSingleCodePoint() 6586 case UnicodeEncoding::UTF32: { in StringFromSingleCodePoint()
|
/external/v8/src/builtins/ |
D | builtins-string-gen.h | 72 UnicodeEncoding encoding);
|
D | builtins-string-gen.cc | 608 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()
|