Home
last modified time | relevance | path

Searched refs:utf8_text (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/utils/java/
Djni-cache.cc274 const char* utf8_text, const int utf8_text_size_bytes) const { in ConvertToJavaString() argument
284 reinterpret_cast<const jbyte*>(utf8_text)); in ConvertToJavaString()
295 StringPiece utf8_text) const { in ConvertToJavaString()
296 return ConvertToJavaString(utf8_text.data(), utf8_text.size()); in ConvertToJavaString()
Djni-cache.h140 const char* utf8_text, const int utf8_text_size_bytes) const;
141 ScopedLocalRef<jstring> ConvertToJavaString(StringPiece utf8_text) const;
/external/llvm/unittests/Support/
DProgramTest.cpp321 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DProgramTest.cpp306 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/libtextclassifier/utils/
Dtokenizer_test.cc92 std::vector<Token> Tokenize(const std::string& utf8_text) const { in Tokenize()
93 return tokenizer_->Tokenize(utf8_text); in Tokenize()