Home
last modified time | relevance | path

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

/libnativehelper/header_only_include/nativehelper/
Dscoped_utf_chars.h35 class ScopedUtfChars {
37 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars() function
46 ScopedUtfChars(ScopedUtfChars&& rhs) noexcept : in ScopedUtfChars() function
53 ~ScopedUtfChars() { in ~ScopedUtfChars()
59 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) noexcept {
62 this->~ScopedUtfChars();
92 DISALLOW_COPY_AND_ASSIGN(ScopedUtfChars);
/libnativehelper/tests_mts/jni/
Djni_helper_jni.cpp34 ScopedUtfChars c(env, className); in throwException()
35 ScopedUtfChars m(env, message); in throwException()
44 ScopedUtfChars c(env, className); in throwExceptionWithIntFormat()
45 ScopedUtfChars f(env, format); in throwExceptionWithIntFormat()
52 ScopedUtfChars m(env, message); in throwNullPointerException()
57 ScopedUtfChars m(env, message); in throwRuntimeException()
66 ScopedUtfChars m(env, functionName); in throwErrnoException()
/libnativehelper/tests/
Dscoped_utf_chars_test.cpp22 ScopedUtfChars suc(env, s); in TestCompilationScopedUtfChars()
/libnativehelper/
DREADME.md30 manage the lifetime of local references and `ScopedUtfChars` to manage
73 * [nativehelper/ScopedUtfChars.h](include/nativehelper/ScopedUtfChars.h)
92 * [nativehelper/ScopedUtfChars.h](include/nativehelper/ScopedUtfChars.h)