Home | History | Annotate | Download | only in utils

Lines Matching defs:msg

38 static void LocMsgDestroy(void* msg) {
39 delete (LocMsg*)msg;
75 void MsgTask::sendMsg(const LocMsg* msg) const {
76 if (msg) {
77 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy);
79 LOC_LOGE("%s: msg is NULL", __func__);
89 LocMsg* msg;
90 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg);
92 LOC_LOGE("%s:%d] fail receiving msg: %s\n", __func__, __LINE__,
97 msg->log();
98 // there is where each individual msg handling is invoked
99 msg->proc();
101 delete msg;