Searched refs:o_set (Results 1 – 5 of 5) sorted by relevance
/netbsd-src/external/bsd/nvi/dist/common/ |
H A D | options_f.c | 110 o_set(sp, O_LINES, 0, NULL, *valp); in f_lines() 116 o_set(sp, O_WINDOW, 0, NULL, 1); in f_lines() 117 o_set(sp, O_WINDOW, OS_DEF, NULL, 1); in f_lines() 124 o_set(sp, O_WINDOW, 0, NULL, *valp - 1); in f_lines() 125 o_set(sp, O_WINDOW, OS_DEF, NULL, *valp - 1); in f_lines() 165 } else if (o_set(sp, offset, OS_STRDUP, str, 0)) in f_print()
|
H A D | options.h | 57 #define O_CLR(sp, o) o_set(sp, o, 0, NULL, 0) 58 #define O_SET(sp, o) o_set(sp, o, 0, NULL, 1) 67 #define O_D_CLR(sp, o) o_set(sp, o, OS_DEF, NULL, 0) 68 #define O_D_SET(sp, o) o_set(sp, o, OS_DEF, NULL, 1)
|
H A D | options.c | 370 if (o_set(sp, O_TERM, 0, NULL, GO_TERM)) in opts_init() 373 if (o_set(sp, O_LINES, 0, NULL, GO_LINES)) in opts_init() 376 if (o_set(sp, O_COLUMNS, 0, NULL, GO_COLUMNS)) in opts_init() 379 if (o_set(sp, O_SECURE, 0, NULL, GO_SECURE)) in opts_init() 468 o_set(sp, cnt, OS_DEF, NULL, O_VAL(sp, cnt)); in opts_init() 471 if (O_STR(sp, cnt) != NULL && o_set(sp, cnt, in opts_init() 738 if (o_set(sp, offset, 0, NULL, value)) in opts_set() 784 if (o_set(sp, offset, OS_STRDUP, np, 0)) in opts_set() 803 o_set(SCR *sp, int opt, u_int flags, const char *str, u_long val) in o_set() function 1170 o_set(sp, cnt, OS_NOFREE | OS_STR, NULL, 0); in opts_copy() [all …]
|
H A D | conv.c | 387 o_set(sp, O_FILEENCODING, OS_STRDUP, nl_langinfo(CODESET), 0); in conv_init() 388 o_set(sp, O_INPUTENCODING, OS_STRDUP, nl_langinfo(CODESET), 0); in conv_init()
|
/netbsd-src/external/bsd/nvi/dist/vi/ |
H A D | v_ex.c | 549 o_set(new, O_FILEENCODING, OS_STRDUP, "WCHAR_T", 0); in v_ecl()
|