Searched refs:newstr (Results 1 – 3 of 3) sorted by relevance
113 char *newstr; in strdup_check() local115 newstr = strdup(str); in strdup_check()116 if (!newstr) { in strdup_check()120 return newstr; in strdup_check()
552 char *newstr = NULL; in spk_msg_set() local558 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()
927 def worddiff_str(oldstr, newstr, colors=None): argument930 diff = simplediff.diff(oldstr.split(' '), newstr.split(' '))943 if oldstr != newstr and ' '.join(oldstr.split()) == ' '.join(newstr.split()):