/dports/net/libunp/unpv12e/xtiopt/ |
H A D | negotiateopts.c | 22 struct t_opthdr *topt; in xti_set_uchar_opt() local 26 topt->level = level; in xti_set_uchar_opt() 27 topt->name = name; in xti_set_uchar_opt() 29 req->opt.len = topt->len; in xti_set_uchar_opt() 46 topt->status = 0; in xti_set_uchar_opt() 54 if (topt->status == T_SUCCESS || topt->status == T_READONLY) in xti_set_uchar_opt() 62 topt->status = 0; in xti_set_uchar_opt() 95 if (topt->status == T_SUCCESS || topt->status == T_READONLY) in xti_set_uchar_opt() 110 topt->level = level; in xti_set_ulong_opt() 111 topt->name = name; in xti_set_ulong_opt() [all …]
|
H A D | setbufs.c | 7 struct t_opthdr *topt; in main() local 22 topt->name = XTI_RCVBUF; in main() 29 topt = OPT_NEXTHDR(req->opt.buf, req->opt.maxlen, topt); in main() 31 topt->name = XTI_SNDBUF; in main() 41 for (topt = (struct t_opthdr *) ret->opt.buf; topt != NULL; in main() 42 topt = OPT_NEXTHDR(ret->opt.buf, ret->opt.len, topt)) { in main() 44 if (topt->level == XTI_GENERIC && topt->name == XTI_RCVBUF) { in main() 46 *((u_long *) (topt + 1)), topt->status); in main() 48 } else if (topt->level == XTI_GENERIC && topt->name == XTI_SNDBUF) { in main() 50 *((u_long *) (topt + 1)), topt->status); in main() [all …]
|
H A D | prtbufs.c | 7 struct t_opthdr *topt; in main() local 22 topt->name = XTI_RCVBUF; in main() 26 topt = OPT_NEXTHDR(req->opt.buf, req->opt.maxlen, topt); in main() 28 topt->name = XTI_SNDBUF; in main() 37 for (topt = (struct t_opthdr *) ret->opt.buf; topt != NULL; in main() 38 topt = OPT_NEXTHDR(ret->opt.buf, ret->opt.len, topt)) { in main() 40 if (topt->level == XTI_GENERIC && topt->name == XTI_RCVBUF) { in main() 42 *((u_long *) (topt + 1)), topt->status); in main() 44 } else if (topt->level == XTI_GENERIC && topt->name == XTI_SNDBUF) { in main() 46 *((u_long *) (topt + 1)), topt->status); in main() [all …]
|
H A D | defaultopts.c | 8 struct t_opthdr *topt; in xti_def_uchar_opt() local 11 topt->level = level; in xti_def_uchar_opt() 12 topt->name = name; in xti_def_uchar_opt() 14 req->opt.len = topt->len; in xti_def_uchar_opt() 22 printf("len = %d, ", topt->len); in xti_def_uchar_opt() 23 if (topt->status == T_SUCCESS || topt->status == T_READONLY) in xti_def_uchar_opt() 33 struct t_opthdr *topt; in xti_def_uscalar_opt() local 36 topt->level = level; in xti_def_uscalar_opt() 37 topt->name = name; in xti_def_uscalar_opt() 39 req->opt.len = topt->len; in xti_def_uscalar_opt() [all …]
|
H A D | daytimeudpsrv1.hpux.c | 10 struct t_opthdr *topt; in main() local 34 topt->level = T_INET_IP; in main() 35 topt->name = T_IP_TTL; in main() 37 *((u_char *) (topt + 1)) = 137; in main() 39 topt = OPT_NEXTHDR(tud->opt.buf, tud->opt.maxlen, topt); in main() 40 topt->level = T_INET_IP; in main() 41 topt->name = T_IP_TOS; in main() 45 topt = OPT_NEXTHDR(tud->opt.buf, tud->opt.maxlen, topt); in main() 46 topt->level = T_INET_UDP; in main() 47 topt->name = T_UDP_CHECKSUM; in main() [all …]
|
H A D | checkopts.c | 37 struct t_opthdr *topt; in main() local 51 topt = (struct t_opthdr *) req->opt.buf; in main() 52 topt->level = ptr->opt_level; in main() 53 topt->name = ptr->opt_name; in main() 54 topt->len = sizeof(struct t_opthdr); in main() 55 req->opt.len = topt->len; in main() 62 topt = (struct t_opthdr *) ret->opt.buf; in main() 63 printf("%s", xti_str_flags(topt->status)); in main() 65 if (topt->status == T_SUCCESS || topt->status == T_READONLY) { in main() 70 topt = (struct t_opthdr *) ret->opt.buf; in main() [all …]
|
H A D | tcp_connect.c | 15 struct t_opthdr *topt; in tcp_connect() local 47 topt = (struct t_opthdr *) req->opt.buf; in tcp_connect() 48 topt->level = T_INET_TCP; in tcp_connect() 49 topt->name = T_TCP_MAXSEG; in tcp_connect() 50 topt->len = sizeof(struct t_opthdr) + sizeof(u_long); in tcp_connect() 51 req->opt.len = topt->len; in tcp_connect() 53 topt = OPT_NEXTHDR(req->opt.buf, req->opt.maxlen, topt); in tcp_connect() 54 topt->level = XTI_GENERIC; in tcp_connect() 55 topt->name = XTI_SNDBUF; in tcp_connect() 56 topt->len = sizeof(struct t_opthdr) + sizeof(u_long); in tcp_connect() [all …]
|
/dports/net/libunp/unpv12e/libxti/ |
H A D | xti_str_opts.c | 19 topt->len - sizeof(struct t_opthdr)); in xti_str_lend() 27 return(xti_str_lend(topt)); in xti_str_uscalard() 36 return(xti_str_lend(topt)); in xti_str_uchard() 45 return(xti_str_lend(topt)); in xti_str_ucharx() 82 return(xti_str_lend(topt)); in xti_str_uiyn() 90 return(xti_str_lend(topt)); in xti_str_usyn() 91 return(xti_str_yn(*((t_uscalar_t *) (topt+1)))); in xti_str_usyn() 100 return(xti_str_lend(topt)); in xti_str_linger() 101 tl = (struct t_linger *) (topt+1); in xti_str_linger() 120 return(xti_str_lend(topt)); in xti_str_kpalive() [all …]
|
H A D | xti_getopt.c | 8 struct t_opthdr *topt; in xti_getopt() local 15 topt = (struct t_opthdr *) req->opt.buf; in xti_getopt() 16 topt->level = level; in xti_getopt() 17 topt->name = name; in xti_getopt() 18 topt->len = sizeof(struct t_opthdr); /* just a t_opthdr{} */ in xti_getopt() 19 req->opt.len = topt->len; in xti_getopt() 31 topt = (struct t_opthdr *) ret->opt.buf; in xti_getopt() 32 len = topt->len - sizeof(struct t_opthdr); in xti_getopt() 34 memcpy(optval, topt+1, len); in xti_getopt()
|
H A D | xti_setopt.c | 8 struct t_opthdr *topt; in xti_setopt() local 15 topt = (struct t_opthdr *) req->opt.buf; in xti_setopt() 16 topt->level = level; in xti_setopt() 17 topt->name = name; in xti_setopt() 18 topt->len = sizeof(struct t_opthdr) + optlen; in xti_setopt() 19 if (topt->len > req->opt.maxlen) in xti_setopt() 21 req->opt.len = topt->len; in xti_setopt() 22 memcpy(topt+1, optval, optlen); /* copy option value */ in xti_setopt()
|
/dports/games/heroes/heroes-0.21/src/ |
H A D | sprtext.c | 39 enum text_option topt, unsigned int maxwidth, in compile_sprtext() argument 48 if (topt & T_FLUSHED_RIGHT) { /* JUSTIFIED */ in compile_sprtext() 51 topt &= ~T_JUSTIFIED; in compile_sprtext() 52 topt |= T_FLUSHED_LEFT; in compile_sprtext() 68 if ((topt & T_JUSTIFIED) == T_JUSTIFIED) { in compile_sprtext() 86 if (topt & T_WAVING) in compile_sprtext() 109 topt &= ~T_JUSTIFIED; in compile_sprtext_color() 110 topt |= T_FLUSHED_LEFT; in compile_sprtext_color() 126 if ((topt & T_JUSTIFIED) == T_JUSTIFIED) { in compile_sprtext_color() 171 if (topt & T_WAVING) in compile_sprtext_color() [all …]
|
/dports/math/octave/octave-6.4.0/scripts/plot/util/ |
H A D | __pltopt__.m | 151 if (topt == "-" || topt == ":") 154 elseif (topt == "+" || topt == "o" || topt == "*" 155 || topt == "." || topt == "x" || topt == "s" 156 || topt == "d" || topt == "^" || topt == "v" 157 || topt == ">" || topt == "<" || topt == "p" 178 elseif (topt == "k" || topt == "0") 180 elseif (topt == "r" || topt == "1") 182 elseif (topt == "g" || topt == "2") 184 elseif (topt == "b" || topt == "3") 188 elseif (topt == "m" || topt == "4") [all …]
|
/dports/www/mod_tidy/mod_tidy-0.5.5/tidy/console/ |
H A D | tidy.c | 552 if (isAutoBool(topt)) in GetOption() 585 TidyOption topt[N_TIDY_OPTIONS]; member 605 tOption->topt[i] = topt; in getSortedOption() 610 qsort(tOption->topt, in getSortedOption() 612 sizeof(tOption->topt)/sizeof(tOption->topt[0])-1, in getSortedOption() 613 sizeof(tOption->topt[0]), in getSortedOption() 620 const TidyOption *topt; in ForEachSortedOption() local 623 for( topt = tOption.topt; *topt; ++topt) in ForEachSortedOption() 702 if ( tidyOptIsReadOnly(topt) ) in printXMLOption() 723 printXMLCrossRef( tdoc, topt ); in printXMLOption() [all …]
|
/dports/textproc/tidyp/tidyp-1.04/src/ |
H A D | tidyp.c | 562 if (isAutoBool(topt)) in GetOption() 595 TidyOption topt[N_TIDY_OPTIONS]; member 615 tOption->topt[i] = topt; in getSortedOption() 620 qsort(tOption->topt, in getSortedOption() 622 sizeof(tOption->topt)/sizeof(tOption->topt[0])-1, in getSortedOption() 623 sizeof(tOption->topt[0]), in getSortedOption() 630 const TidyOption *topt; in ForEachSortedOption() local 633 for( topt = tOption.topt; *topt; ++topt) in ForEachSortedOption() 712 if ( tidyOptIsReadOnly(topt) ) in printXMLOption() 733 printXMLCrossRef( tdoc, topt ); in printXMLOption() [all …]
|
/dports/www/tidy-lib/tidy/console/ |
H A D | tidy.c | 567 if (isAutoBool(topt)) in GetOption() 600 TidyOption topt[N_TIDY_OPTIONS]; member 620 tOption->topt[i] = topt; in getSortedOption() 625 qsort(tOption->topt, in getSortedOption() 627 sizeof(tOption->topt)/sizeof(tOption->topt[0])-1, in getSortedOption() 628 sizeof(tOption->topt[0]), in getSortedOption() 635 const TidyOption *topt; in ForEachSortedOption() local 638 for( topt = tOption.topt; *topt; ++topt) in ForEachSortedOption() 717 if ( tidyOptIsReadOnly(topt) ) in printXMLOption() 738 printXMLCrossRef( tdoc, topt ); in printXMLOption() [all …]
|
/dports/www/tidy-devel/tidy/console/ |
H A D | tidy.c | 567 if (isAutoBool(topt)) in GetOption() 600 TidyOption topt[N_TIDY_OPTIONS]; member 620 tOption->topt[i] = topt; in getSortedOption() 625 qsort(tOption->topt, in getSortedOption() 627 sizeof(tOption->topt)/sizeof(tOption->topt[0])-1, in getSortedOption() 628 sizeof(tOption->topt[0]), in getSortedOption() 635 const TidyOption *topt; in ForEachSortedOption() local 638 for( topt = tOption.topt; *topt; ++topt) in ForEachSortedOption() 717 if ( tidyOptIsReadOnly(topt) ) in printXMLOption() 738 printXMLCrossRef( tdoc, topt ); in printXMLOption() [all …]
|
/dports/mail/anubis/anubis-4.2/src/ |
H A D | log.c | 52 if ((topt & T_DAEMON) && !(topt & T_FOREGROUND)) in info() 54 if (!(topt & T_DISABLE_SYSLOG)) in info() 59 else if (topt & T_FOREGROUND) in info() 96 if (!(topt & (T_TRACEFILE_SYS | T_TRACEFILE_USR))) in tracefile() 101 if (topt & T_LOCATION_COLUMN) in tracefile() 113 if ((topt & T_TRACEFILE_SYS) && options.termlevel != SILENT) in tracefile() 115 if ((topt & T_DAEMON) && !(topt & T_FOREGROUND)) in tracefile() 117 else if (topt & T_FOREGROUND) in tracefile() 123 if (topt & T_TRACEFILE_USR) in tracefile()
|
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/bin/psql/ |
H A D | command.c | 2866 popt->topt.expanded = !popt->topt.expanded; in do_pset() 2875 popt->topt.numericLocale = !popt->topt.numericLocale; in do_pset() 2930 popt->topt.tuples_only = !popt->topt.tuples_only; in do_pset() 2957 popt->topt.pager = 2; in do_pset() 2961 popt->topt.pager = 1; in do_pset() 2963 popt->topt.pager = 0; in do_pset() 2966 popt->topt.pager = 0; in do_pset() 2968 popt->topt.pager = 1; in do_pset() 2984 popt->topt.default_footer = !popt->topt.default_footer; in do_pset() 3018 if (!popt->topt.columns) in printPsetInfo() [all …]
|
/dports/databases/postgresql96-server/postgresql-9.6.24/src/bin/psql/ |
H A D | command.c | 2866 popt->topt.expanded = !popt->topt.expanded; in do_pset() 2875 popt->topt.numericLocale = !popt->topt.numericLocale; in do_pset() 2930 popt->topt.tuples_only = !popt->topt.tuples_only; in do_pset() 2957 popt->topt.pager = 2; in do_pset() 2961 popt->topt.pager = 1; in do_pset() 2963 popt->topt.pager = 0; in do_pset() 2966 popt->topt.pager = 0; in do_pset() 2968 popt->topt.pager = 1; in do_pset() 2984 popt->topt.default_footer = !popt->topt.default_footer; in do_pset() 3018 if (!popt->topt.columns) in printPsetInfo() [all …]
|
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/bin/psql/ |
H A D | command.c | 2866 popt->topt.expanded = !popt->topt.expanded; in do_pset() 2875 popt->topt.numericLocale = !popt->topt.numericLocale; in do_pset() 2930 popt->topt.tuples_only = !popt->topt.tuples_only; in do_pset() 2957 popt->topt.pager = 2; in do_pset() 2961 popt->topt.pager = 1; in do_pset() 2963 popt->topt.pager = 0; in do_pset() 2966 popt->topt.pager = 0; in do_pset() 2968 popt->topt.pager = 1; in do_pset() 2984 popt->topt.default_footer = !popt->topt.default_footer; in do_pset() 3018 if (!popt->topt.columns) in printPsetInfo() [all …]
|
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/bin/psql/ |
H A D | command.c | 2866 popt->topt.expanded = !popt->topt.expanded; in do_pset() 2875 popt->topt.numericLocale = !popt->topt.numericLocale; in do_pset() 2930 popt->topt.tuples_only = !popt->topt.tuples_only; in do_pset() 2957 popt->topt.pager = 2; in do_pset() 2961 popt->topt.pager = 1; in do_pset() 2963 popt->topt.pager = 0; in do_pset() 2966 popt->topt.pager = 0; in do_pset() 2968 popt->topt.pager = 1; in do_pset() 2984 popt->topt.default_footer = !popt->topt.default_footer; in do_pset() 3018 if (!popt->topt.columns) in printPsetInfo() [all …]
|
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/bin/psql/ |
H A D | command.c | 2866 popt->topt.expanded = !popt->topt.expanded; in do_pset() 2875 popt->topt.numericLocale = !popt->topt.numericLocale; in do_pset() 2930 popt->topt.tuples_only = !popt->topt.tuples_only; in do_pset() 2957 popt->topt.pager = 2; in do_pset() 2961 popt->topt.pager = 1; in do_pset() 2963 popt->topt.pager = 0; in do_pset() 2966 popt->topt.pager = 0; in do_pset() 2968 popt->topt.pager = 1; in do_pset() 2984 popt->topt.default_footer = !popt->topt.default_footer; in do_pset() 3018 if (!popt->topt.columns) in printPsetInfo() [all …]
|
/dports/databases/postgresql96-client/postgresql-9.6.24/src/bin/psql/ |
H A D | command.c | 2866 popt->topt.expanded = !popt->topt.expanded; in do_pset() 2875 popt->topt.numericLocale = !popt->topt.numericLocale; in do_pset() 2930 popt->topt.tuples_only = !popt->topt.tuples_only; in do_pset() 2957 popt->topt.pager = 2; in do_pset() 2961 popt->topt.pager = 1; in do_pset() 2963 popt->topt.pager = 0; in do_pset() 2966 popt->topt.pager = 0; in do_pset() 2968 popt->topt.pager = 1; in do_pset() 2984 popt->topt.default_footer = !popt->topt.default_footer; in do_pset() 3018 if (!popt->topt.columns) in printPsetInfo() [all …]
|
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/bin/psql/ |
H A D | command.c | 2866 popt->topt.expanded = !popt->topt.expanded; in do_pset() 2875 popt->topt.numericLocale = !popt->topt.numericLocale; in do_pset() 2930 popt->topt.tuples_only = !popt->topt.tuples_only; in do_pset() 2957 popt->topt.pager = 2; in do_pset() 2961 popt->topt.pager = 1; in do_pset() 2963 popt->topt.pager = 0; in do_pset() 2966 popt->topt.pager = 0; in do_pset() 2968 popt->topt.pager = 1; in do_pset() 2984 popt->topt.default_footer = !popt->topt.default_footer; in do_pset() 3018 if (!popt->topt.columns) in printPsetInfo() [all …]
|
/dports/audio/mpg123/mpg123-1.29.3/src/ |
H A D | getlopt.h | 21 struct topt; 22 typedef struct topt topt; typedef 23 struct topt { struct 27 void (*func)(char *, topt *); /* called if != 0 (after setting of var) */ argument 70 int getlopt (int argc, char *argv[], topt *opts); 72 void getlopt_set_char(topt *opts, char *name, char *value);
|