Lines Matching refs:mBuff
112 char *mBuff; member in DebugCommand
129 : WifiCommand("DebugCommand", iface, 0), mBuff(buffer), mBuffSize(buffer_size), mType in DebugCommand()
132 memset(mBuff, 0, *mBuffSize); in DebugCommand()
216 result = request.put(LOGGER_ATTRIBUTE_FW_VER, mBuff, 0); in createRequest()
237 result = request.put(LOGGER_ATTRIBUTE_DRIVER_VER, mBuff, 0); in createRequest()
328 memcpy(mBuff, data, min(len, *mBuffSize)); in handleResponse()
621 char *mBuff; member in SetAlertHandler
626 : WifiCommand("SetAlertHandler", iface, id), mHandler(handler), mBuffSize(0), mBuff(NULL), in SetAlertHandler()
667 (*mHandler.on_alert)(id(), mBuff, mBuffSize, mErrCode); in handleResponse()
669 if (mBuff) { in handleResponse()
670 free(mBuff); in handleResponse()
671 mBuff = NULL; in handleResponse()
712 if (mBuff) free(mBuff); in handleEvent()
713 mBuff = (char *)malloc(mBuffSize + buffer_size); in handleEvent()
714 if (!mBuff) { in handleEvent()
718 memcpy(mBuff, buffer, buffer_size); in handleEvent()
724 free(mBuff); in handleEvent()
735 (uint64_t)(mBuff+buffer_size)); in handleEvent()
804 char *mBuff; member in MemoryDumpCommand
808 : WifiCommand("MemoryDumpCommand", iface, 0), mHandler(handler), mBuffSize(0), mBuff(NULL) in MemoryDumpCommand()
849 if (mBuff) in handleResponse()
850 free(mBuff); in handleResponse()
851 mBuff = (char *)malloc(mBuffSize); in handleResponse()
852 if (!mBuff) { in handleResponse()
860 free(mBuff); in handleResponse()
871 result = request.put_u64(LOGGER_ATTRIBUTE_FW_DUMP_DATA, (uint64_t)mBuff); in handleResponse()
885 (*mHandler.on_firmware_memory_dump)(mBuff, mBuffSize); in handleResponse()
887 if (mBuff) { in handleResponse()
888 free(mBuff); in handleResponse()
889 mBuff = NULL; in handleResponse()