File QnnModelPal.hpp

Parent directory (share/converter/jni)

Definition (share/converter/jni/QnnModelPal.hpp)

Included By

Full File Listing

Defines

DL_DEFAULT (void *)(0x4)
namespace qnn_wrapper_api

Functions

void *dlSym(void *handle, const char *symbol)

obtain address of a symbol in a shared object or executable @handle a handle of a dynamic loaded shared object returned by dlopen @symbol a null-terminated symbol name

Returns

On success, return the address associated with symbol On error, NULL

char *dlError(void)

obtain error diagnostic for functions in the dl-family APIs.

Returns

returns a human-readable, null-terminated string describing the most recent error that occurred from a call to one of the functions in the dl-family APIs.

char *strnDup(const char *source, size_t maxlen)

Returns a pointer to a null-terminated byte string, which contains copies of at most maxlen bytes from the string pointed to by str. If the null terminator is not encountered in the first maxlen bytes, it is added to the duplicated string. @source Null-terminated source string. @maxlen Max number of bytes to copy from str.

Returns

A pointer to the newly allocated string, or a null pointer if an error occurred.