Searched refs:OS_STRDUP (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/nvi/common/ |
H A D | options.c | 437 OS_DEF | OS_NOFREE | OS_STRDUP, O_STR(sp, cnt), 0)) in opts_init() 741 if (o_set(sp, offset, OS_STRDUP, np, 0)) in opts_set() 769 if (LF_ISSET(OS_STRDUP) && (str = strdup(str)) == NULL) { in o_set() 776 if (LF_ISSET(OS_STR | OS_STRDUP)) { in o_set() 783 if (LF_ISSET(OS_STR | OS_STRDUP)) { in o_set() 1137 if (o_set(sp, cnt, OS_NOFREE | OS_STRDUP, O_STR(sp, cnt), 0)) { in opts_copy() 1144 OS_DEF | OS_NOFREE | OS_STRDUP, O_D_STR(sp, cnt), 0)) { in opts_copy()
|
H A D | options.h | 47 #define OS_STRDUP 0x08 /* Copy then set to string argument. */ macro
|
H A D | options_f.c | 155 } else if (o_set(sp, offset, OS_STRDUP, str, 0)) in f_print()
|
H A D | conv.c | 354 o_set(sp, O_INPUTENCODING, OS_STRDUP, codeset(), 0); in conv_init()
|
H A D | exf.c | 1245 o_set(sp, O_FILEENCODING, OS_STRDUP, "utf-8", 0); 1248 o_set(sp, O_FILEENCODING, OS_STRDUP, codeset(), 0);
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_edit.c | 136 o_set(new, O_FILEENCODING, OS_STRDUP, in ex_N_edit()
|
/freebsd/contrib/nvi/vi/ |
H A D | v_ex.c | 529 o_set(new, O_FILEENCODING, OS_STRDUP, codeset(), 0); in v_ecl()
|