Searched refs:utf8_text (Results 1 – 8 of 8) sorted by relevance
/external/libtextclassifier/native/utils/java/ |
D | jni-cache.cc | 285 const char* utf8_text, const int utf8_text_size_bytes) const { in ConvertToJavaString() argument 293 reinterpret_cast<const jbyte*>(utf8_text))); in ConvertToJavaString() 305 StringPiece utf8_text) const { in ConvertToJavaString() 306 return ConvertToJavaString(utf8_text.data(), utf8_text.size()); in ConvertToJavaString()
|
D | jni-cache.h | 138 const char* utf8_text, const int utf8_text_size_bytes) const; 140 StringPiece utf8_text) const;
|
/external/llvm/unittests/Support/ |
D | ProgramTest.cpp | 321 const char utf8_text[] = "\x6c\x69\x6e\x67\xc3\xbc\x69\xc3\xa7\x61"; variable 331 ASSERT_NO_ERROR(sys::writeFileWithEncoding(file_pathname.c_str(), utf8_text, in TEST() 348 ASSERT_EQ(strncmp(buf, utf8_text, 10), 0); in TEST()
|
/external/llvm-project/llvm/unittests/Support/ |
D | ProgramTest.cpp | 306 const char utf8_text[] = "\x6c\x69\x6e\x67\xc3\xbc\x69\xc3\xa7\x61"; variable 316 ASSERT_NO_ERROR(sys::writeFileWithEncoding(file_pathname.c_str(), utf8_text, in TEST() 333 ASSERT_EQ(strncmp(buf, utf8_text, 10), 0); in TEST()
|
/external/icing/icing/jni/ |
D | jni-cache.h | 78 ConvertToJavaString(const char* utf8_text,
|
D | jni-cache.cc | 197 JniCache::ConvertToJavaString(const char* utf8_text, in ConvertToJavaString() argument 206 reinterpret_cast<const jbyte*>(utf8_text)); in ConvertToJavaString()
|
/external/libtextclassifier/native/utils/ |
D | tokenizer_test.cc | 94 std::vector<Token> Tokenize(const std::string& utf8_text) const { in Tokenize() 95 return tokenizer_->Tokenize(utf8_text); in Tokenize()
|
/external/protobuf/python/google/protobuf/internal/ |
D | text_format_test.py | 465 utf8_text = text_format.MessageToBytes(message, as_utf8=True) 467 self.CompareToGoldenText(utf8_text, golden_bytes) 469 text_format.Parse(utf8_text, parsed_message)
|