Lines Matching defs:heapName
33 static bool IsHeapNameValid(const char *heapName)
35 if (heapName == NULL) {
38 size_t len = strlen(heapName);
64 int DmabufHeapOpen(const char *heapName)
66 if (!IsHeapNameValid(heapName)) {
67 HILOG_ERROR(LOG_CORE, "heapName is wrong, name = %s.", (heapName == NULL) ? "NULL" : heapName);
71 errno_t ret = strcat_s(heapPath, HEAP_PATH_LEN, heapName);
73 HILOG_ERROR(LOG_CORE, "strcat_s is wrong, heapName = %s, ret = %d.", heapName, ret);