Searched refs:jstr (Results 1 – 5 of 5) sorted by relevance
83 char* JNU_GetStringNativeChars(JNIEnv* env, jstring jstr) { in JNU_GetStringNativeChars() argument84 if (jstr == NULL) { in JNU_GetStringNativeChars()96 bytes = (jbyteArray) env->CallObjectMethod(jstr, MID_String_getBytes); in JNU_GetStringNativeChars()
33 bool JStringToUtf8String(JNIEnv* env, const jstring& jstr, in JStringToUtf8String() argument35 if (jstr == nullptr) { in JStringToUtf8String()46 env->CallObjectMethod(jstr, get_bytes_id, encoding)); in JStringToUtf8String()
137 jstring jstr; /* resulting Java string or 0 */ member195 jstrlen(const jchar *jstr) in jstrlen() argument199 if (jstr) { in jstrlen()200 while (*jstr++) { in jstrlen()418 dest->jstr = 0; in trans2utf()420 return dest->jstr; in trans2utf()423 dest->jstr = (*env)->NewStringUTF(env, src); in trans2utf()424 return dest->jstr; in trans2utf()431 dest->jstr = in trans2utf()435 dest->jstr = in trans2utf()[all …]
75 jstring jstr = fPThreadEnv->NewStringUTF(state.toStyledString().c_str()); in setUIState() local76 fPThreadEnv->CallVoidMethod(fAndroidApp, fSetStateMethodID, jstr); in setUIState()77 fPThreadEnv->DeleteLocalRef(jstr); in setUIState()
230 jstring jstr = jni->NewStringUTF(native.c_str()); in JavaStringFromStdString() local232 return jstr; in JavaStringFromStdString()