Home
last modified time | relevance | path

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

/libnativehelper/
DDlHelp.c58 static char buffer[256]; in DlGetError() local
62 DWORD length = FormatMessageA(flags, NULL, cause, 0, buffer, sizeof(buffer), NULL); in DlGetError()
64 snprintf(buffer, sizeof(buffer), in DlGetError()
67 length = strlen(buffer); in DlGetError()
72 if (!isspace(buffer[i])) { in DlGetError()
75 buffer[i] = '\0'; in DlGetError()
78 return buffer; in DlGetError()
DJniInvocation.c78 static int GetLibrarySystemProperty(char* buffer) { in GetLibrarySystemProperty() argument
80 return __system_property_get("persist.sys.dalvik.vm.lib.2", buffer); in GetLibrarySystemProperty()
83 UNUSED(buffer); in GetLibrarySystemProperty()
151 const char* JniInvocationGetLibrary(const char* library, char* buffer) { in JniInvocationGetLibrary() argument
154 if (buffer != NULL && (GetLibrarySystemProperty(buffer) > 0)) { in JniInvocationGetLibrary()
155 system_preferred_library = buffer; in JniInvocationGetLibrary()
170 char buffer[PROP_VALUE_MAX]; in JniInvocationInit() local
172 char* buffer = NULL; in JniInvocationInit()
174 library_name = JniInvocationGetLibrary(library_name, buffer); in JniInvocationInit()
Dlibnativehelper_lazy.c272 const char* JniInvocationGetLibrary(const char* library, char* buffer) { in JniInvocationGetLibrary() argument
274 INVOKE_METHOD(JniInvocationGetLibrary, M, library, buffer); in JniInvocationGetLibrary()
DJNIHelp.c379 char buffer[80]; in jniThrowIOException() local
380 const char* message = platformStrError(errno_value, buffer, sizeof(buffer)); in jniThrowIOException()
/libnativehelper/include_platform/nativehelper/
DJniInvocation.h79 const char* JniInvocationGetLibrary(const char* library, char* buffer);
114 static const char* GetLibrary(const char* library, char* buffer) { in GetLibrary() argument
115 return JniInvocationGetLibrary(library, buffer); in GetLibrary()
/libnativehelper/include/nativehelper/
DJNIHelp.h469 char buffer[80]; in jniThrowIOException() local
470 const char* message = platformStrError(errno_value, buffer, sizeof(buffer)); in jniThrowIOException()