Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 3 of 3) sorted by relevance

/libnativehelper/include_jni/
Djni.h499 jclass DefineClass(const char *name, jobject loader, const jbyte* buf, in DefineClass()
501 { 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/
DJNIHelp.cpp294 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()
304 snprintf(buf, buflen, "errno %d", errnum); in realJniStrError()
306 return buf; in realJniStrError()
311 MODULE_API const char* jniStrError(int errnum, char* buf, size_t buflen) { in jniStrError() argument
313 strerror_s(buf, buflen, errnum); in jniStrError()
314 return buf; in jniStrError()
318 return impl::realJniStrError(strerror_r, errnum, buf, buflen); in jniStrError()
/libnativehelper/include/nativehelper/
DJNIHelp.h99 MODULE_API const char* jniStrError(int errnum, char* buf, size_t buflen);