Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86AutoConfig.c104 char *str, *newstr, *p; in AppendToList() local
110 newstr = xnfalloc(strlen(p) + 2); in AppendToList()
111 strcpy(newstr, p); in AppendToList()
112 strcat(newstr, "\n"); in AppendToList()
113 (*list)[*lines - 1] = newstr; in AppendToList()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dsiggen.py744 def worddiff_str(oldstr, newstr, colors=None): argument
747 diff = simplediff.diff(oldstr.split(' '), newstr.split(' '))
760 if oldstr != newstr and ' '.join(oldstr.split()) == ' '.join(newstr.split()):