Home
last modified time | relevance | path

Searched refs:newstr (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/accessibility/speakup/
H A Di18n.c545 char *newstr = NULL; in spk_msg_set() local
551 newstr = kmalloc(length + 1, GFP_KERNEL); in spk_msg_set()
552 if (!newstr) in spk_msg_set()
555 memcpy(newstr, text, length); in spk_msg_set()
556 newstr[length] = '\0'; in spk_msg_set()
559 !fmt_validate(speakup_default_msgs[index], newstr)) { in spk_msg_set()
560 kfree(newstr); in spk_msg_set()
566 speakup_msgs[index] = newstr; in spk_msg_set()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dbuiltin-test-list.c113 char *newstr; in strdup_check() local
115 newstr = strdup(str); in strdup_check()
116 if (!newstr) { in strdup_check()
120 return newstr; in strdup_check()
/kernel/linux/linux-6.6/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()

Completed in 3 milliseconds