Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/java/
Djni-cache.cc285 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()
Djni-cache.h138 const char* utf8_text, const int utf8_text_size_bytes) const;
140 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/llvm-project/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/icing/icing/jni/
Djni-cache.h78 ConvertToJavaString(const char* utf8_text,
Djni-cache.cc197 JniCache::ConvertToJavaString(const char* utf8_text, in ConvertToJavaString() argument
206 reinterpret_cast<const jbyte*>(utf8_text)); in ConvertToJavaString()
/external/libtextclassifier/native/utils/
Dtokenizer_test.cc94 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/
Dtext_format_test.py465 utf8_text = text_format.MessageToBytes(message, as_utf8=True)
467 self.CompareToGoldenText(utf8_text, golden_bytes)
469 text_format.Parse(utf8_text, parsed_message)