Home
last modified time | relevance | path

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

/minix/lib/libmenu/
H A Ditem.c285 ITEM *new_one; in new_item() local
299 new_one->name.length = strlen(name); in new_item()
300 if ((new_one->name.string = (char *) in new_item()
303 free(new_one); in new_item()
307 strcpy(new_one->name.string, name); in new_item()
310 new_one->description.length = 0; in new_item()
315 if ((new_one->description.string = in new_item()
317 new_one->description.length + 1)) == NULL) { in new_item()
322 free(new_one->name.string); in new_item()
323 free(new_one); in new_item()
[all …]
/minix/lib/libcurses/
H A Dnewwin.c85 WINDOW *new_one; in dupwin() local
87 if ((new_one = __newwin(_cursesi_screen, win->maxy, win->maxx, in dupwin()
91 overwrite(win, new_one); in dupwin()
92 return new_one; in dupwin()
H A Dgetch.c522 key_entry_t *new_one; in new_key() local
525 if ((new_one = malloc(KEYMAP_ALLOC_CHUNK * sizeof(key_entry_t))) in new_key()
532 new_one[i].type = 0; in new_key()
533 new_one[i].value.next = NULL; in new_key()
536 return new_one; in new_key()