Searched refs:jstr (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/modules/androidkit/src/ |
D | Utils.h | 21 CString(JNIEnv* env, const jstring& jstr) in CString() argument 23 , fJString(jstr) in CString() 24 , fCString(env->GetStringUTFChars(jstr, nullptr)) in CString() 48 U16String(JNIEnv* env, const jstring& jstr) in U16String() argument 50 , fJString(jstr) in U16String() 51 , fU16String(env->GetStringChars(jstr, nullptr)) in U16String()
|
D | Text.cpp | 19 static std::u16string JStringToU16String(JNIEnv* env, const jstring& jstr) { in JStringToU16String() argument 20 const jchar* u16 = env->GetStringChars(jstr, nullptr); in JStringToU16String() 21 std::u16string str(reinterpret_cast<const char16_t*>(u16), env->GetStringLength(jstr)); in JStringToU16String() 22 env->ReleaseStringChars(jstr, u16); in JStringToU16String()
|
/third_party/skia/tools/skqp/src/ |
D | jni_skqp.cpp | 67 jstring jstr = env->NewStringUTF(s); in set_string_array_element() local 68 jassert(env, jstr != nullptr,); in set_string_array_element() 69 env->SetObjectArrayElement(a, (jsize)i, jstr); in set_string_array_element() 70 env->DeleteLocalRef(jstr); in set_string_array_element()
|
/third_party/flutter/skia/tools/skqp/src/ |
D | jni_skqp.cpp | 67 jstring jstr = env->NewStringUTF(s); in set_string_array_element() local 68 jassert(env, jstr != nullptr,); in set_string_array_element() 69 env->SetObjectArrayElement(a, (jsize)i, jstr); in set_string_array_element() 70 env->DeleteLocalRef(jstr); in set_string_array_element()
|
/third_party/skia/experimental/skrive/src/reader/ |
D | JsonReader.cpp | 116 const auto* jstr = this->readProp<skjson::StringValue>(label); in readString() local 118 return SkString(jstr ? jstr->begin() : nullptr); in readString()
|
/third_party/flutter/skia/tools/sk_app/android/ |
D | surface_glue_android.cpp | 102 jstring jstr = fPThreadEnv->NewStringUTF(state); in setUIState() local 103 fPThreadEnv->CallVoidMethod(fAndroidApp, fSetStateMethodID, jstr); in setUIState() 104 fPThreadEnv->DeleteLocalRef(jstr); in setUIState()
|
/third_party/skia/tools/sk_app/android/ |
D | surface_glue_android.cpp | 102 jstring jstr = fPThreadEnv->NewStringUTF(state); in setUIState() local 103 fPThreadEnv->CallVoidMethod(fAndroidApp, fSetStateMethodID, jstr); in setUIState() 104 fPThreadEnv->DeleteLocalRef(jstr); in setUIState()
|
/third_party/jsoncpp/src/test_lib_json/ |
D | main.cpp | 3860 const Json::Value jstr = "hello world"; in JSONTEST_FIXTURE_LOCAL() local 3861 JSONTEST_ASSERT_STRING_EQUAL(jstr.as<const char*>(), jstr.asCString()); in JSONTEST_FIXTURE_LOCAL() 3862 JSONTEST_ASSERT_STRING_EQUAL(jstr.as<Json::String>(), jstr.asString()); in JSONTEST_FIXTURE_LOCAL()
|