| /netbsd-src/external/bsd/nvi/dist/common/ |
| H A D | options.c | 471 if (O_STR(sp, cnt) != NULL && o_set(sp, cnt, in opts_init() 472 OS_DEF | OS_NOFREE | OS_STRDUP, O_STR(sp, cnt), 0)) in opts_init() 495 (void)sp->gp->scr_optchange(sp, cnt, O_STR(sp, cnt), &isset); in opts_init() 769 O_STR(sp, offset) != NULL && in opts_set() 770 !strcmp(O_STR(sp, offset), np)) in opts_set() 846 if ((p = O_STR(sp, off)) == NULL || p[0] == '\0') { in opts_empty() 916 if (O_STR(sp, cnt) == O_D_STR(sp, cnt) || in opts_dump() 918 !strcmp(O_STR(sp, cnt), O_D_STR(sp, cnt)))) in opts_dump() 946 if (O_STR(sp, cnt) != NULL) in opts_dump() 947 curlen += strlen(O_STR(sp, cnt)); in opts_dump() [all …]
|
| H A D | recover.c | 156 dp = O_STR(sp, O_RECDIR); in rcv_tmp() 311 dp = O_STR(sp, O_RECDIR); in rcv_sync() 373 dp = O_STR(sp, O_RECDIR); in rcv_mailfile() 535 d = O_STR(sp, O_RECDIR); in rcv_list() 644 rp = O_STR(sp, O_RECDIR); in rcv_read()
|
| H A D | api.c | 440 if (O_STR(sp, offset) == NULL) { in api_opts_get() 445 *value, char *, strlen(O_STR(sp, offset)) + 1); in api_opts_get() 446 (void)sprintf(*value, "%s", O_STR(sp, offset)); in api_opts_get()
|
| H A D | conv.c | 189 return default_char2int(sp, str, len, cw, tolen, dst, O_STR(sp, O_FILEENCODING)); in fe_char2int() 196 return default_char2int(sp, str, len, cw, tolen, dst, O_STR(sp, O_INPUTENCODING)); in ie_char2int() 360 return default_int2char(sp, str, len, cw, tolen, dst, O_STR(sp, O_FILEENCODING)); in fe_int2char()
|
| H A D | options.h | 59 #define O_STR(sp, o) O_V(sp, o, o_cur.str) macro
|
| H A D | key.c | 255 if ((chp = O_STR(sp, O_PRINT)) != NULL) in v_key_name() 259 if ((chp = O_STR(sp, O_NOPRINT)) != NULL) in v_key_name()
|
| H A D | exf.c | 204 "%s/vi.XXXXXX", O_STR(sp, O_TMP_DIRECTORY)); in file_init() 493 for (found = 0, p = t = O_STR(sp, O_PATH);; ++p) in file_spath() 863 file_backup(sp, name, O_STR(sp, O_BACKUP)) && !LF_ISSET(FS_FORCE)) in file_write()
|
| H A D | vi_db.c | 711 (void)snprintf(path, sizeof(path), "%s/vi.XXXXXX", O_STR(sp, O_RECDIR)); in db_setup()
|
| /netbsd-src/external/bsd/unbound/dist/util/ |
| H A D | config_file.c | 966 #define O_STR(opt, str, var) if(strcmp(opt, str)==0) \ macro 1035 else O_STR(opt, "log-identity", log_identity) in config_get_option() 1041 else O_STR(opt, "interface-automatic-ports", if_automatic_ports) in config_get_option() 1094 else O_STR(opt, "ssl-service-key", ssl_service_key) in config_get_option() 1095 else O_STR(opt, "tls-service-key", ssl_service_key) in config_get_option() 1096 else O_STR(opt, "ssl-service-pem", ssl_service_pem) in config_get_option() 1097 else O_STR(opt, "tls-service-pem", ssl_service_pem) in config_get_option() 1100 else O_STR(opt, "ssl-cert-bundle", tls_cert_bundle) in config_get_option() 1101 else O_STR(opt, "tls-cert-bundle", tls_cert_bundle) in config_get_option() 1109 else O_STR(opt, "tls-ciphers", tls_ciphers) in config_get_option() [all …]
|
| /netbsd-src/external/bsd/nvi/dist/ex/ |
| H A D | ex_shell.c | 61 (void)snprintf(buf, sizeof(buf), "%s -i", O_STR(sp, O_SHELL)); in ex_shell() 127 if ((name = strrchr(O_STR(sp, O_SHELL), '/')) == NULL) in ex_exec_proc() 128 name = O_STR(sp, O_SHELL); in ex_exec_proc() 131 execl(O_STR(sp, O_SHELL), name, "-c", cmd, (char *)NULL); in ex_exec_proc() 132 msgq_str(sp, M_SYSERR, O_STR(sp, O_SHELL), "execl: %s"); in ex_exec_proc()
|
| H A D | ex_filter.c | 71 if ((name = strrchr(O_STR(sp, O_SHELL), '/')) == NULL) in runcmd() 72 name = O_STR(sp, O_SHELL); in runcmd() 76 execl(O_STR(sp, O_SHELL), name, "-c", np, (char *)NULL); in runcmd() 77 msgq_str(sp, M_SYSERR, O_STR(sp, O_SHELL), "execl: %s"); in runcmd()
|
| H A D | ex_cd.c | 106 for (p = t = O_STR(sp, O_CDPATH);; ++p) in ex_cd()
|
| H A D | ex_argv.c | 180 for (np = mp = O_STR(sp, O_SHELLMETA); *np != '\0'; ++np) in argv_exp2() 670 sh_path = O_STR(sp, O_SHELL); in argv_sexp()
|
| H A D | ex_script.c | 196 sh_path = O_STR(sp, O_SHELL); in sscr_init()
|
| /netbsd-src/external/bsd/nvi/dist/vi/ |
| H A D | v_init.c | 119 return (v_buildps(sp, str, O_STR(sp, O_SECTIONS))); in v_optchange() 121 return (v_buildps(sp, O_STR(sp, O_PARAGRAPHS), str)); in v_optchange()
|
| H A D | v_section.c | 79 if ((list = O_STR(sp, O_SECTIONS)) == NULL) in v_sectionf() 193 if ((list = O_STR(sp, O_SECTIONS)) == NULL) in v_sectionb()
|
| H A D | vi.c | 246 ex_continue: if (strchr(O_STR(sp, O_IMKEY), vp->key)) in vi() 249 if (strchr(O_STR(sp, O_IMKEY), vp->key)) in vi() 732 if (strchr(O_STR(sp, O_IMKEY), vp->key)) in v_cmd() 735 if (strchr(O_STR(sp, O_IMKEY), vp->key)) in v_cmd() 902 if (strchr(O_STR(sp, O_IMKEY), motion.key)) in v_motion() 905 if (strchr(O_STR(sp, O_IMKEY), motion.key)) in v_motion()
|
| H A D | v_match.c | 61 match_chars = O_STR(sp, O_MATCHCHARS); in v_match()
|
| H A D | v_txt.c | 571 if (LF_ISSET(TXT_CEDIT) && O_STR(sp, O_CEDIT) != NULL && in v_txt() 572 O_STR(sp, O_CEDIT)[0] == evp->e_c) in v_txt() 574 if (LF_ISSET(TXT_FILEC) && O_STR(sp, O_FILEC) != NULL && in v_txt() 575 O_STR(sp, O_FILEC)[0] == evp->e_c) in v_txt() 2594 if (strchr(O_STR(sp, O_SHELLMETA), tp->lb[tp->cno - 1]) != NULL && in txt_isrch()
|
| H A D | v_ex.c | 389 if (O_STR(sp, O_CEDIT) != NULL) in v_ex()
|
| /netbsd-src/external/bsd/nvi/dist/cl/ |
| H A D | cl_screen.c | 235 ttype = O_STR(sp, O_TERM); in cl_vi_init() 489 ttype = O_STR(sp, O_TERM); in cl_ex_init()
|