Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DScopedStringChars.h33 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars()
38 chars_ = env->GetStringChars(string_, NULL); in ScopedStringChars()
40 size_ = env->GetStringLength(string_); in ScopedStringChars()
47 env_->ReleaseStringChars(string_, chars_); in ~ScopedStringChars()
65 jstring string_; variable
DScopedUtfChars.h34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
45 env_->ReleaseStringUTFChars(string_, utf_chars_); in ~ScopedUtfChars()
63 jstring string_; variable