Home
last modified time | relevance | path

Searched refs:oldstr (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_getstr.c84 char *oldstr; in wgetnstr_events() local
106 oldstr = str; in wgetnstr_events()
138 if (str > oldstr) { in wgetnstr_events()
139 str = WipeOut(win, y, x, oldstr, str, save_flags._echo); in wgetnstr_events()
142 while (str > oldstr) { in wgetnstr_events()
143 str = WipeOut(win, y, x, oldstr, str, save_flags._echo); in wgetnstr_events()
146 || (str - oldstr >= maxlen)) { in wgetnstr_events()
160 str = WipeOut(win, y, x, oldstr, str, save_flags._echo); in wgetnstr_events()
198 T(("wgetnstr returns %s", _nc_visbuf(oldstr))); in wgetnstr_events()
/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_get_wstr.c94 wint_t *oldstr = str; in wgetn_wstr() local
157 if (tmpstr > oldstr) { in wgetn_wstr()
158 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, save_flags._echo); in wgetn_wstr()
161 while (tmpstr > oldstr) { in wgetn_wstr()
162 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, save_flags._echo); in wgetn_wstr()
167 } else if (tmpstr - oldstr >= maxlen) { in wgetn_wstr()
182 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, save_flags._echo); in wgetn_wstr()
217 if (tmpstr == oldstr) { in wgetn_wstr()
224 T(("wgetn_wstr returns %s", _nc_viswibuf(oldstr))); in wgetn_wstr()
/freebsd/cddl/usr.sbin/zfsd/
H A Dcase_file.cc1128 string oldstr(VdevGUIDString()); in Replace() local
1155 oldstr = replaced.GUIDString(); in Replace()
1158 path, oldstr.c_str()); in Replace()
1172 "configuration data.", poolname, oldstr.c_str()); in Replace()
1183 "configuration data.", poolname, oldstr.c_str()); in Replace()
1192 retval = (zpool_vdev_attach(zhp, oldstr.c_str(), path, nvroot, in Replace()
1196 poolname, oldstr.c_str(), path); in Replace()
1199 poolname, oldstr.c_str(), libzfs_error_action(g_zfsHandle), in Replace()
/freebsd/usr.bin/sdiff/
H A Dsdiff.c930 static const char *oldstr = NULL; in astrcat() local
942 oldstr = *s; in astrcat()
956 if (oldstr != *s) { in astrcat()
958 oldstr = *s; in astrcat()
978 oldstr = *s; in astrcat()
/freebsd/usr.sbin/ppp/
H A Dcommand.c438 subst(char *tgt, const char *oldstr, const char *newstr) in subst() argument
444 if ((word = strstrword(tgt, oldstr)) == NULL) in subst()
448 loldstr = strlen(oldstr); in subst()
464 } while ((word = strstrword(word, oldstr))); in subst()
470 substip(char *tgt, const char *oldstr, struct in_addr ip) in substip() argument
472 return subst(tgt, oldstr, inet_ntoa(ip)); in substip()
476 substlong(char *tgt, const char *oldstr, long l) in substlong() argument
482 return subst(tgt, oldstr, buf); in substlong()
486 substull(char *tgt, const char *oldstr, unsigned long long ull) in substull() argument
492 return subst(tgt, oldstr, buf); in substull()
[all …]