Home
last modified time | relevance | path

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

/libnativehelper/header_only_include/nativehelper/
Dscoped_utf_chars.h38 utf_chars_ = nullptr; in ScopedUtfChars()
41 utf_chars_ = env->GetStringUTFChars(s, nullptr); in ScopedUtfChars()
46 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars()
49 rhs.utf_chars_ = nullptr; in ScopedUtfChars()
53 if (utf_chars_) { in ~ScopedUtfChars()
54 env_->ReleaseStringUTFChars(string_, utf_chars_); in ~ScopedUtfChars()
66 utf_chars_ = rhs.utf_chars_;
69 rhs.utf_chars_ = nullptr;
75 return utf_chars_; in c_str()
79 return strlen(utf_chars_); in size()
[all …]