Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/ncurses/ncurses/base/
H A Dlib_getstr.c82 char *oldstr; in wgetnstr_events() local
105 oldstr = str; in wgetnstr_events()
137 if (str > oldstr) { in wgetnstr_events()
138 str = WipeOut(win, y, x, oldstr, str, oldecho); in wgetnstr_events()
141 while (str > oldstr) { in wgetnstr_events()
142 str = WipeOut(win, y, x, oldstr, str, oldecho); in wgetnstr_events()
145 || (maxlen >= 0 && str - oldstr >= maxlen)) { in wgetnstr_events()
159 str = WipeOut(win, y, x, oldstr, str, oldecho); in wgetnstr_events()
201 T(("wgetnstr returns %s", _nc_visbuf(oldstr))); in wgetnstr_events()
/freebsd-12.1/contrib/ncurses/ncurses/widechar/
H A Dlib_get_wstr.c93 wint_t *oldstr = str; in wgetn_wstr() local
157 if (tmpstr > oldstr) { in wgetn_wstr()
158 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr()
161 while (tmpstr > oldstr) { in wgetn_wstr()
162 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr()
167 } else if (maxlen >= 0 && tmpstr - oldstr >= maxlen) { in wgetn_wstr()
182 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr()
221 if (tmpstr == oldstr) { in wgetn_wstr()
228 T(("wgetn_wstr returns %s", _nc_viswibuf(oldstr))); in wgetn_wstr()
/freebsd-12.1/cddl/usr.sbin/zfsd/
H A Dcase_file.cc1056 string oldstr(VdevGUIDString()); in Replace() local
1083 oldstr = replaced.GUIDString(); in Replace()
1086 path, oldstr.c_str()); in Replace()
1100 "configuration data.", poolname, oldstr.c_str()); in Replace()
1111 "configuration data.", poolname, oldstr.c_str()); in Replace()
1120 retval = (zpool_vdev_attach(zhp, oldstr.c_str(), path, nvroot, in Replace()
1124 poolname, oldstr.c_str(), path); in Replace()
1127 poolname, oldstr.c_str(), libzfs_error_action(g_zfsHandle), in Replace()
/freebsd-12.1/usr.bin/sdiff/
H A Dsdiff.c911 static const char *oldstr = NULL; in astrcat() local
923 oldstr = *s; in astrcat()
937 if (oldstr != *s) { in astrcat()
939 oldstr = *s; in astrcat()
959 oldstr = *s; in astrcat()
/freebsd-12.1/contrib/subversion/subversion/libsvn_subr/
H A Dhash.c277 svn_string_t *oldstr = apr_hash_get(oldhash, item->key, item->klen); in hash_write() local
279 if (oldstr && svn_string_compare(valstr, oldstr)) in hash_write()
/freebsd-12.1/usr.sbin/ppp/
H A Dcommand.c440 subst(char *tgt, const char *oldstr, const char *newstr) in subst() argument
446 if ((word = strstrword(tgt, oldstr)) == NULL) in subst()
450 loldstr = strlen(oldstr); in subst()
466 } while ((word = strstrword(word, oldstr))); in subst()
472 substip(char *tgt, const char *oldstr, struct in_addr ip) in substip() argument
474 return subst(tgt, oldstr, inet_ntoa(ip)); in substip()
478 substlong(char *tgt, const char *oldstr, long l) in substlong() argument
484 return subst(tgt, oldstr, buf); in substlong()
494 return subst(tgt, oldstr, buf); in substull()
502 return subst(tgt, oldstr, ncpaddr_ntoa(ip)); in substipv6()
[all …]
/freebsd-12.1/contrib/gdb/gdb/
H A Dmonitor.c69 static void monitor_printable_string (char *newstr, char *oldstr, int len);
177 monitor_printable_string (char *newstr, char *oldstr, int len) in monitor_printable_string() argument
183 len = strlen (oldstr); in monitor_printable_string()
187 ch = oldstr[i]; in monitor_printable_string()