Searched refs:OS_STRDUP (Results 1 – 7 of 7) sorted by relevance
/dragonfly/contrib/nvi2/common/ |
H A D | options.c | 433 OS_DEF | OS_NOFREE | OS_STRDUP, O_STR(sp, cnt), 0)) in opts_init() 736 if (o_set(sp, offset, OS_STRDUP, np, 0)) in opts_set() 764 if (LF_ISSET(OS_STRDUP) && (str = strdup(str)) == NULL) { in o_set() 771 if (LF_ISSET(OS_STR | OS_STRDUP)) { in o_set() 778 if (LF_ISSET(OS_STR | OS_STRDUP)) { in o_set() 1132 if (o_set(sp, cnt, OS_NOFREE | OS_STRDUP, O_STR(sp, cnt), 0)) { in opts_copy() 1139 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 | exf.c | 1216 o_set(sp, O_FILEENCODING, OS_STRDUP, "utf-8", 0); in file_encinit() 1219 o_set(sp, O_FILEENCODING, OS_STRDUP, codeset(), 0); in file_encinit()
|
H A D | conv.c | 358 o_set(sp, O_INPUTENCODING, OS_STRDUP, codeset(), 0); in conv_init()
|
/dragonfly/contrib/nvi2/ex/ |
H A D | ex_edit.c | 136 o_set(new, O_FILEENCODING, OS_STRDUP, in ex_N_edit()
|
/dragonfly/contrib/nvi2/vi/ |
H A D | v_ex.c | 529 o_set(new, O_FILEENCODING, OS_STRDUP, codeset(), 0); in v_ecl()
|