Searched refs:func (Results 1 – 2 of 2) sorted by relevance
/libnativehelper/tests/ |
D | JniSafeRegisterNativeMethods_test.cpp | 382 #define IS_VALID_JNI_FUNCTION_TYPE(native_kind, func) \ in TEST() argument 383 (IsValidJniFunctionType<native_kind, decltype(func), (func)>()) in TEST() 384 #define IS_VALID_NORMAL_JNI_FUNCTION_TYPE(func) IS_VALID_JNI_FUNCTION_TYPE(kNormalNative, func) in TEST() argument 385 #define IS_VALID_CRITICAL_JNI_FUNCTION_TYPE(func) IS_VALID_JNI_FUNCTION_TYPE(kCriticalNative, func) in TEST() argument 387 #define EXPECT_ILLEGAL_JNI_FUNCTION_TYPE(func) \ in TEST() argument 389 EXPECT_FALSE(IS_VALID_CRITICAL_JNI_FUNCTION_TYPE(func)); \ in TEST() 390 EXPECT_FALSE(IS_VALID_NORMAL_JNI_FUNCTION_TYPE(func)); \ in TEST() 393 #define EXPECT_NORMAL_JNI_FUNCTION_TYPE(func) \ in TEST() argument 395 EXPECT_FALSE(IS_VALID_CRITICAL_JNI_FUNCTION_TYPE(func)); \ in TEST() 396 EXPECT_TRUE(IS_VALID_NORMAL_JNI_FUNCTION_TYPE(func)); \ in TEST() [all …]
|
/libnativehelper/ |
D | JNIHelp.cpp | 294 inline const char* realJniStrError(GNUStrError func, int errnum, char* buf, size_t buflen) { in realJniStrError() argument 295 return func(errnum, buf, buflen); in realJniStrError() 298 inline const char* realJniStrError(POSIXStrError func, int errnum, char* buf, size_t buflen) { in realJniStrError() argument 299 int rc = func(errnum, buf, buflen); in realJniStrError()
|