Searched refs:buffer (Results 1 – 5 of 5) sorted by relevance
/libnativehelper/ |
D | JniInvocation.cpp | 53 int GetLibrarySystemProperty(char* buffer) { in GetLibrarySystemProperty() argument 55 return __system_property_get("persist.sys.dalvik.vm.lib.2", buffer); in GetLibrarySystemProperty() 57 UNUSED(buffer); in GetLibrarySystemProperty() 115 char* buffer, 117 … int (*get_library_system_property)(char* buffer) = GetLibrarySystemProperty); 169 char* buffer, in GetLibrary() argument 171 int (*get_library_system_property)(char* buffer)) { in GetLibrary() argument 186 if (buffer != NULL) { in GetLibrary() 187 if (get_library_system_property(buffer) > 0) { in GetLibrary() 188 default_library = buffer; in GetLibrary() [all …]
|
D | JNIHelp.cpp | 306 char buffer[80]; in jniThrowIOException() local 307 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); in jniThrowIOException()
|
/libnativehelper/tests/ |
D | JniInvocation_test.cpp | 47 auto get_library_system_property = [](char* buffer) -> int { in TEST() argument 48 strcpy(buffer, kTestNonNull2); in TEST() 52 char buffer[PROPERTY_VALUE_MAX]; in TEST() local 54 JniInvocation::GetLibrary(NULL, buffer, is_debuggable, get_library_system_property); in TEST() 62 JniInvocation::GetLibrary(kTestNonNull, buffer, is_debuggable, get_library_system_property); in TEST() 77 char buffer[PROPERTY_VALUE_MAX]; in TEST() local 78 const char* result = JniInvocation::GetLibrary(NULL, buffer, is_debuggable, nullptr); in TEST() 86 result = JniInvocation::GetLibrary(kTestNonNull, buffer, is_debuggable, nullptr); in TEST()
|
/libnativehelper/include/nativehelper/ |
D | JniInvocation.h | 53 static const char* GetLibrary(const char* library, char* buffer) { in GetLibrary() argument 54 return JniInvocationGetLibrary(library, buffer); in GetLibrary() 61 static const char* GetLibrary(const char* library, char* buffer, bool (*is_debuggable)(), 62 int (*get_library_system_property)(char* buffer));
|
D | libnativehelper_api.h | 237 const char* JniInvocationGetLibrary(const char* library, char* buffer);
|