Searched refs:OS_STRDUP (Results 1 - 7 of 7) sorted by relevance

/freebsd-11.0-release/contrib/nvi/common/
H A Doptions.h49 #define OS_STRDUP 0x08 /* Copy then set to string argument. */ macro
H A Doptions.c435 OS_DEF | OS_NOFREE | OS_STRDUP, O_STR(sp, cnt), 0))
741 if (o_set(sp, offset, OS_STRDUP, np, 0))
774 if (LF_ISSET(OS_STRDUP) && (str = strdup(str)) == NULL) {
781 if (LF_ISSET(OS_STR | OS_STRDUP)) {
788 if (LF_ISSET(OS_STR | OS_STRDUP)) {
1153 if (o_set(sp, cnt, OS_NOFREE | OS_STRDUP, O_STR(sp, cnt), 0)) {
1160 OS_DEF | OS_NOFREE | OS_STRDUP, O_D_STR(sp, cnt), 0)) {
H A Doptions_f.c183 } else if (o_set(sp, offset, OS_STRDUP, str, 0))
H A Dconv.c358 o_set(sp, O_INPUTENCODING, OS_STRDUP, codeset(), 0);
H A Dexf.c1248 o_set(sp, O_FILEENCODING, OS_STRDUP, "utf-8", 0);
1251 o_set(sp, O_FILEENCODING, OS_STRDUP, codeset(), 0);
/freebsd-11.0-release/contrib/nvi/ex/
H A Dex_edit.c140 o_set(new, O_FILEENCODING, OS_STRDUP,
/freebsd-11.0-release/contrib/nvi/vi/
H A Dv_ex.c533 o_set(new, O_FILEENCODING, OS_STRDUP, codeset(), 0);

Completed in 122 milliseconds