Home
last modified time | relevance | path

Searched refs:newString (Results 1 – 1 of 1) sorted by relevance

/kernel/liteos_a/shell/full/src/cmds/
Ddmesg.c267 CHAR *newString = NULL; in OsDmesgChangeSize() local
274 newString = (CHAR *)malloc(size + sizeof(DmesgInfo)); in OsDmesgChangeSize()
275 if (newString == NULL) { in OsDmesgChangeSize()
283 copyLen = OsCopyToNew(newString, size + sizeof(DmesgInfo)); in OsDmesgChangeSize()
290 g_dmesgInfo = (DmesgInfo *)newString; in OsDmesgChangeSize()
291 g_dmesgInfo->logBuf = (CHAR *)newString + sizeof(DmesgInfo); in OsDmesgChangeSize()
299 g_mallocAddr = newString; in OsDmesgChangeSize()
305 free(newString); in OsDmesgChangeSize()
308 g_mallocAddr = newString; in OsDmesgChangeSize()