Searched refs:j_string (Results 1 – 5 of 5) sorted by relevance
25 jstring j_string = static_cast<jstring>( in GetStringFromJava() local27 return j_environment_->JavaToStdString(j_string); in GetStringFromJava()
195 std::string JNIEnvironment::JavaToStdString(const jstring& j_string) { in JavaToStdString() argument197 const char* jchars = jni_->GetStringUTFChars(j_string, nullptr); in JavaToStdString()199 const int size = jni_->GetStringUTFLength(j_string); in JavaToStdString()202 jni_->ReleaseStringUTFChars(j_string, jchars); in JavaToStdString()
236 std::string JavaToStdString(JNIEnv* jni, const jstring& j_string) { in JavaToStdString() argument237 const char* chars = jni->GetStringUTFChars(j_string, NULL); in JavaToStdString()239 std::string str(chars, jni->GetStringUTFLength(j_string)); in JavaToStdString()241 jni->ReleaseStringUTFChars(j_string, chars); in JavaToStdString()
101 std::string JavaToStdString(JNIEnv* jni, const jstring& j_string);
104 std::string JavaToStdString(const jstring& j_string);