Home
last modified time | relevance | path

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

/linux/drivers/accessibility/speakup/
H A Di18n.c552 char *newstr = NULL; in spk_msg_set() local
558 newstr = kmemdup_nul(text, length, GFP_KERNEL); in spk_msg_set()
559 if (!newstr) in spk_msg_set()
564 !fmt_validate(speakup_default_msgs[index], newstr)) { in spk_msg_set()
565 kfree(newstr); in spk_msg_set()
571 speakup_msgs[index] = newstr; in spk_msg_set()
/linux/tools/perf/tests/
H A Dtests-scripts.c144 char *newstr; in strdup_check() local
146 newstr = strdup(str); in strdup_check()
147 if (!newstr) { in strdup_check()
151 return newstr; in strdup_check()