Searched refs:buf (Results 1 – 3 of 3) sorted by relevance
/libnativehelper/include_jni/ |
D | jni.h | 498 jclass DefineClass(const char *name, jobject loader, const jbyte* buf, in DefineClass() 500 { return functions->DefineClass(this, name, loader, buf, bufLen); } in DefineClass() 926 jboolean* buf) in GetBooleanArrayRegion() 927 { functions->GetBooleanArrayRegion(this, array, start, len, buf); } in GetBooleanArrayRegion() 929 jbyte* buf) in GetByteArrayRegion() 930 { functions->GetByteArrayRegion(this, array, start, len, buf); } in GetByteArrayRegion() 932 jchar* buf) in GetCharArrayRegion() 933 { functions->GetCharArrayRegion(this, array, start, len, buf); } in GetCharArrayRegion() 935 jshort* buf) in GetShortArrayRegion() 936 { functions->GetShortArrayRegion(this, array, start, len, buf); } in GetShortArrayRegion() [all …]
|
/libnativehelper/ |
D | JNIHelp.c | 36 static const char* platformStrError(int errnum, char* buf, size_t buflen) { in platformStrError() argument 38 strerror_s(buf, buflen, errnum); in platformStrError() 39 return buf; in platformStrError() 42 return strerror_r(errnum, buf, buflen); in platformStrError() 45 int rc = strerror_r(errnum, buf, buflen); in platformStrError() 47 snprintf(buf, buflen, "errno %d", errnum); in platformStrError() 49 return buf; in platformStrError()
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 85 int errnum, char* buf, size_t buflen) { in safe_strerror() argument 86 return strerror_r_method(errnum, buf, buflen); in safe_strerror() 90 int errnum, char* buf, size_t buflen) { in safe_strerror() argument 91 int rc = strerror_r_method(errnum, buf, buflen); in safe_strerror() 93 snprintf(buf, buflen, "errno %d", errnum); in safe_strerror() 95 return buf; in safe_strerror() 98 [[maybe_unused]] static const char* platformStrError(int errnum, char* buf, size_t buflen) { in platformStrError() argument 99 return safe_strerror(strerror_r, errnum, buf, buflen); in platformStrError()
|