Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DScopedUtfChars.h36 utf_chars_ = nullptr; in ScopedUtfChars()
39 utf_chars_ = env->GetStringUTFChars(s, nullptr); in ScopedUtfChars()
44 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars()
47 rhs.utf_chars_ = nullptr; in ScopedUtfChars()
51 if (utf_chars_) { in ~ScopedUtfChars()
52 env_->ReleaseStringUTFChars(string_, utf_chars_); in ~ScopedUtfChars()
64 utf_chars_ = rhs.utf_chars_;
67 rhs.utf_chars_ = nullptr;
73 return utf_chars_; in c_str()
77 return strlen(utf_chars_); in size()
[all …]