• Home
  • Raw
  • Download

Lines Matching refs:message

34 static void freeDumbAllocMessage(void *message, size_t messageSize) {  in freeDumbAllocMessage()  argument
40 if (!gDumbAlloc.free(message)) { in freeDumbAllocMessage()
42 reinterpret_cast<size_t>(message) & UINT32_C(0xFFFFFFFF); in freeDumbAllocMessage()
48 static void freeHeapMessage(void *message, size_t /* messageSize */) { in freeHeapMessage() argument
49 if (gDumbAlloc.contains(message)) { in freeHeapMessage()
51 reinterpret_cast<size_t>(message) & UINT32_C(0xFFFFFFFF); in freeHeapMessage()
55 chreHeapFree(message); in freeHeapMessage()
135 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() argument
137 if (message == nullptr) { in sendStringToHost()
141 const size_t messageStrlen = strlen(message); in sendStringToHost()
154 memcpy(ptr, message, messageStrlen); in sendStringToHost()
169 static void logFatalMessage(const char *message, const uint32_t *value) { in logFatalMessage() argument
171 chreLog(CHRE_LOG_ERROR, "TEST ABORT: %s0x%08" PRIX32, message, *value); in logFatalMessage()
173 chreLog(CHRE_LOG_ERROR, "TEST ABORT: %s", message); in logFatalMessage()
177 void sendFatalFailureToHost(const char *message, const uint32_t *value, in sendFatalFailureToHost() argument
179 sendFailureToHost(message, value); in sendFatalFailureToHost()
180 logFatalMessage(message, value); in sendFatalFailureToHost()
184 void sendInternalFailureToHost(const char *message, const uint32_t *value, in sendInternalFailureToHost() argument
186 sendStringToHost(MessageType::kInternalFailure, message, value); in sendInternalFailureToHost()
187 logFatalMessage(message, value); in sendInternalFailureToHost()