Searched refs:string_ (Results 1 – 2 of 2) sorted by relevance
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_utf_chars.h | 36 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars() 46 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars() 48 rhs.string_ = nullptr; in ScopedUtfChars() 54 env_->ReleaseStringUTFChars(string_, utf_chars_); in ~ScopedUtfChars() 65 string_ = rhs.string_; 68 rhs.string_ = nullptr; 88 jstring string_; variable
|
D | scoped_string_chars.h | 34 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars() 39 chars_ = env->GetStringChars(string_, NULL); in ScopedStringChars() 41 size_ = env->GetStringLength(string_); in ScopedStringChars() 48 env_->ReleaseStringChars(string_, chars_); in ~ScopedStringChars() 66 const jstring string_; variable
|