Home
last modified time | relevance | path

Searched refs:value (Results 1 – 6 of 6) sorted by relevance

/libnativehelper/tests_mts/jni/
Djni_helper_jni.cpp43 jint value) { in throwExceptionWithIntFormat() argument
46 jniThrowExceptionFmt(env, c.c_str(), f.c_str(), value); in throwExceptionWithIntFormat()
86 static jstring createString(JNIEnv* env, jclass /*clazz*/, jstring value) { in createString() argument
87 ScopedStringChars ssc(env, value); in createString()
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h242 constexpr void push_back(const T& value) { in push_back()
245 _array[_size]._value = value; in push_back()
307 constexpr ConstexprOptional(const T& value) // NOLINT(google-explicit-constructor) in ConstexprOptional()
308 : _has_value(true), _value(value) { in ConstexprOptional()
319 constexpr const T& value() const { in value() function
325 return &(value());
329 return value();
346 return lhs.value() == rhs.value();
360 os << val.value();
496 ParseTypeDescriptorResult res = maybe_res.value();
[all …]
/libnativehelper/include_jni/
Djni.h714 void SetObjectField(jobject obj, jfieldID fieldID, jobject value) in SetObjectField()
715 { functions->SetObjectField(this, obj, fieldID, value); } in SetObjectField()
716 void SetBooleanField(jobject obj, jfieldID fieldID, jboolean value) in SetBooleanField()
717 { functions->SetBooleanField(this, obj, fieldID, value); } in SetBooleanField()
718 void SetByteField(jobject obj, jfieldID fieldID, jbyte value) in SetByteField()
719 { functions->SetByteField(this, obj, fieldID, value); } in SetByteField()
720 void SetCharField(jobject obj, jfieldID fieldID, jchar value) in SetCharField()
721 { functions->SetCharField(this, obj, fieldID, value); } in SetCharField()
722 void SetShortField(jobject obj, jfieldID fieldID, jshort value) in SetShortField()
723 { functions->SetShortField(this, obj, fieldID, value); } in SetShortField()
[all …]
/libnativehelper/include_platform/nativehelper/
DJNIPlatformHelp.h107 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD() argument
112 AFileDescriptor_setFd(env, fileDescriptor, value); in jniSetFileDescriptorOfFD()
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp234 …LID_JNI_ARGUMENT_TYPE(true,(is_valid_jni_argument_type<kNormalNative, /*pos*/0u, JNIEnv*>::value)); in TEST()
235 …LID_JNI_ARGUMENT_TYPE(true,(is_valid_jni_argument_type<kNormalNative, /*pos*/1u, jobject>::value)); in TEST()
236 …ALID_JNI_ARGUMENT_TYPE(true,(is_valid_jni_argument_type<kNormalNative, /*pos*/1u, jclass>::value)); in TEST()
237 …ID_JNI_ARGUMENT_TYPE(false,(is_valid_jni_argument_type<kNormalNative, /*pos*/1u, jstring>::value)); in TEST()
491 EXPECT_STRINGIFY_EQ("args={jint}, ret=void", cvrt.value()); in TEST()
507 EXPECT_STRINGIFY_EQ("args={jdoubleArray,jobject}, ret=jdoubleArray", cvrt.value()); in TEST()
516 EXPECT_STRINGIFY_EQ("args={jshort,jchar}, ret=jshort", cvrt.value()); in TEST()
547 int value; member
551 return i.value; in GetTestValue()
586 EXPECT_EQ(12345, int_opt.value()); in TEST()
[all …]
/libnativehelper/tests_mts/src/com/android/art/libnativehelper/
DJniHelpTest.java40 int value); in throwExceptionWithIntFormat() argument