Searched refs:optname (Results 1 - 25 of 61) sorted by relevance

123

/macosx-10.9.5/less-23/less/
H A Dopttbl.c65 static struct optname a_optname = { "search-skip-screen", NULL };
66 static struct optname b_optname = { "buffers", NULL };
67 static struct optname B__optname = { "auto-buffers", NULL };
68 static struct optname c_optname = { "clear-screen", NULL };
69 static struct optname d_optname = { "dumb", NULL };
71 static struct optname D__optname = { "color", NULL };
73 static struct optname e_optname = { "quit-at-eof", NULL };
74 static struct optname f_optname = { "force", NULL };
75 static struct optname F__optname = { "quit-if-one-screen", NULL };
77 static struct optname g_optnam
550 char *optname = *p_optname; local
[all...]
H A Doption.h47 struct optname struct
50 struct optname *onext; /* List of synonymous option names */
56 struct optname *onames; /* Long (GNU-style) option name */
H A Doption.c47 char *optname; local
82 optname = NULL;
101 optname = ++s;
165 if (optname == NULL)
172 printopt = optname;
173 lc = ASCII_IS_LOWER(optname[0]);
174 o = findopt_name(&optname, NULL, &err);
175 s = optname;
176 optname = NULL;
/macosx-10.9.5/ruby-104/ruby/ext/socket/
H A Dconstants.c69 rsock_optname_arg(int family, int level, VALUE optname) argument
74 return constant_arg(optname, rsock_so_optname_to_int, "unknown socket level option name");
76 return constant_arg(optname, rsock_ip_optname_to_int, "unknown IP level option name");
79 return constant_arg(optname, rsock_ipv6_optname_to_int, "unknown IPv6 level option name");
82 return constant_arg(optname, rsock_tcp_optname_to_int, "unknown TCP level option name");
84 return constant_arg(optname, rsock_udp_optname_to_int, "unknown UDP level option name");
86 return NUM2INT(optname);
92 return constant_arg(optname, rsock_so_optname_to_int, "unknown socket level option name");
94 return NUM2INT(optname);
H A Doption.c17 optname_to_sym(int level, int optname) argument
21 return constant_to_sym(optname, rsock_intern_so_optname);
23 return constant_to_sym(optname, rsock_intern_ip_optname);
26 return constant_to_sym(optname, rsock_intern_ipv6_optname);
29 return constant_to_sym(optname, rsock_intern_tcp_optname);
31 return constant_to_sym(optname, rsock_intern_udp_optname);
33 return INT2NUM(optname);
39 * Socket::Option.new(family, level, optname, data) => sockopt
52 int optname = rsock_optname_arg(family, level, voptname); local
56 rb_ivar_set(self, rb_intern("optname"), INT2NU
62 rsock_sockopt_new(int family, int level, int optname, VALUE data) argument
160 int optname = rsock_optname_arg(family, level, voptname); local
208 int optname = rsock_optname_arg(family, level, voptname); local
276 int optname = sockopt_optname(self); local
297 inspect_int(int level, int optname, VALUE data, VALUE ret) argument
311 inspect_errno(int level, int optname, VALUE data, VALUE ret) argument
328 inspect_uint(int level, int optname, VALUE data, VALUE ret) argument
344 inspect_linger(int level, int optname, VALUE data, VALUE ret) argument
365 inspect_socktype(int level, int optname, VALUE data, VALUE ret) argument
385 inspect_timeval_as_interval(int level, int optname, VALUE data, VALUE ret) argument
478 inspect_ipv4_mreq(int level, int optname, VALUE data, VALUE ret) argument
502 inspect_ipv4_mreqn(int level, int optname, VALUE data, VALUE ret) argument
528 inspect_ipv4_add_drop_membership(int level, int optname, VALUE data, VALUE ret) argument
543 inspect_ipv4_multicast_if(int level, int optname, VALUE data, VALUE ret) argument
566 inspect_ipv6_multicast_if(int level, int optname, VALUE data, VALUE ret) argument
584 inspect_ipv6_mreq(int level, int optname, VALUE data, VALUE ret) argument
611 inspect_peercred(int level, int optname, VALUE data, VALUE ret) argument
629 inspect_local_peercred(int level, int optname, VALUE data, VALUE ret) argument
671 int optname = NUM2INT(sockopt_optname_m(self)); local
[all...]
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/common/
H A Dsockbuf.c49 int optname = read ? SO_RCVBUF : SO_SNDBUF; local
56 if(getsockopt(fd, SOL_SOCKET, optname, (void *)&curr, &optlen) == 0) {
65 setsockopt(fd, SOL_SOCKET, optname, (void *)&size, sizeof(size)) < 0)
/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itk/generic/
H A Ditk_util.c88 char *swname, *optname;
113 optname = Tcl_GetHashKey(olist->options, olist->list[pos]) + 1;
114 if (*swname == *optname) {
115 cmp = strcmp(swname, optname);
120 else if (*swname < *optname) {
167 char *swname, *optname;
175 optname = Tcl_GetHashKey(olist->options, olist->list[pos]) + 1;
176 if (*swname == *optname) {
177 cmp = strcmp(swname, optname);
182 else if (*swname < *optname) {
85 char *swname, *optname; local
163 char *swname, *optname; local
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/generic/templates/
H A Dopt_template.c50 CONST char* optname,
56 CONST char* optname,
213 SetOption (options, interp, optname, optvalue, clientData)
216 CONST char* optname;
229 int len = strlen (optname + 1);
238 switch (optname [1]) {
248 ADD_RES (interp, optname);
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/generic/
H A Dzip_opt.c49 CONST char* optname,
236 SetOption (options, interp, optname, optvalue, clientData)
239 CONST char* optname;
253 int len = strlen (optname + 1);
256 switch (optname [1]) {
258 if (0 != strncmp (optname, "-level", len))
290 if (0 != strncmp (optname, "-mode", len))
322 if (0 != strncmp (optname, "-nowrap", len))
352 Tcl_AppendResult (interp, optname, (char*) NULL);
H A Dbz2_opt.c49 CONST char* optname,
235 SetOption (options, interp, optname, optvalue, clientData)
238 CONST char* optname;
250 int len = strlen (optname + 1);
253 switch (optname [1]) {
255 if (0 != strncmp (optname, "-level", len))
287 if (0 != strncmp (optname, "-mode", len))
327 Tcl_AppendResult (interp, optname, (char*) NULL);
H A Dconvert.c51 CONST char* optname,
229 SetOption (options, interp, optname, optvalue, clientData)
232 CONST char* optname;
240 len = strlen (optname+1);
242 switch (optname [1]) {
244 if (0 != strncmp (optname, "-mode", len))
284 Tcl_AppendResult (interp, optname, (char*) NULL);
H A Ddig_opt.c46 CONST char* optname,
347 SetOption (options, interp, optname, optvalue, clientData)
350 CONST char* optname;
365 int len = strlen (optname);
369 switch (optname [1]) {
374 if (0 == strncmp (optname, "-mode", len)) {
377 } else if (0 == strncmp (optname, "-matchflag", len)) {
393 if (0 == strncmp (optname, "-write-destination", len)) {
401 } else if (0 == strncmp (optname, "-write-type", len)) {
411 if (0 == strncmp (optname, "
[all...]
H A Dref_opt.c52 CONST char* optname,
253 SetOption (options, interp, optname, optvalue, clientData)
256 CONST char* optname;
264 len = strlen (optname+1);
266 switch (optname [1]) {
268 if (0 != strncmp (optname, "-mode", len))
300 if (0 != strncmp (optname, "-command", len))
323 Tcl_AppendResult (interp, optname, (char*) NULL);
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dsocket_wrapper.h46 int swrap_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen);
47 int swrap_setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen);
92 #define getsockopt(s,level,optname,optval,optlen) swrap_getsockopt(s,level,optname,optval,optlen)
97 #define setsockopt(s,level,optname,optval,optlen) swrap_setsockopt(s,level,optname,optval,optlen)
/macosx-10.9.5/apr-30/apr/apr/network_io/unix/
H A Dsockopt.c202 int optname = TCP_DEFER_ACCEPT; local
204 if (setsockopt(sock->socketdes, optlevel, optname,
218 int optname = TCP_NODELAY; local
223 optname = SCTP_NODELAY;
226 if (setsockopt(sock->socketdes, optlevel, optname, (void *)&on, sizeof(int)) == -1) {
254 int optname = TCP_NODELAY; local
259 optname = SCTP_NODELAY;
267 if (setsockopt(sock->socketdes, optlevel, optname,
290 if (setsockopt(sock->socketdes, optlevel, optname,
/macosx-10.9.5/ruby-104/ruby/test/socket/
H A Dtest_sockopt.rb10 assert_equal(Socket::SO_KEEPALIVE, sockopt.optname)
11 assert_equal(Socket::SO_KEEPALIVE, sockopt.optname)
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/network_io/unix/
H A Dsockopt.c202 int optname = TCP_DEFER_ACCEPT; local
204 if (setsockopt(sock->socketdes, optlevel, optname,
218 int optname = TCP_NODELAY; local
223 optname = SCTP_NODELAY;
226 if (setsockopt(sock->socketdes, optlevel, optname, (void *)&on, sizeof(int)) == -1) {
254 int optname = TCP_NODELAY; local
259 optname = SCTP_NODELAY;
267 if (setsockopt(sock->socketdes, optlevel, optname,
290 if (setsockopt(sock->socketdes, optlevel, optname,
/macosx-10.9.5/tcl-102/tcl_ext/tclsoap/tclsoap/
H A DSOAP-domain.tcl87 set optname [namespace current]::opts$opts(-prefix)
90 if { [info exists $optname] } {
107 {} [namespace current]::domain_handler $optname
/macosx-10.9.5/Libc-997.90.3/net/FreeBSD/
H A Dsourcefilter.c290 int level, optname; local
307 optname = IP_MSFILTER;
318 optname = IPV6_MSFILTER;
333 return (_setsockopt(s, level, optname, &msfr, sizeof(msfr)));
347 int err, level, nsrcs, optname; local
370 optname = IP_MSFILTER;
381 optname = IPV6_MSFILTER;
403 err = _getsockopt(s, level, optname, &msfr, &optlen);
/macosx-10.9.5/network_cmds-433/mtest.tproj/
H A Dmtest.c377 int af, error, i, level, n = 0, optname; local
435 optname = (*cmd == 'j') ?
447 optname = (*cmd == 'j') ?
456 if (setsockopt(s, level, optname, optval,
475 optname = (*cmd == 'j') ?
487 optname = (*cmd == 'j') ?
498 if (setsockopt(s6, level, optname, optval,
621 optname = (*cmd == 't') ?
629 optname = (*cmd == 't') ?
636 if (setsockopt(s, level, optname, optva
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/network_io/win32/
H A Dsockopt.c177 int optname = TCP_DEFER_ACCEPT; local
179 if (setsockopt(sock->socketdes, optlevel, optname,
191 int optname = TCP_NODELAY; local
196 optname = SCTP_NODELAY;
199 if (setsockopt(sock->socketdes, optlevel, optname,
/macosx-10.9.5/apr-30/apr/apr/network_io/win32/
H A Dsockopt.c177 int optname = TCP_DEFER_ACCEPT; local
179 if (setsockopt(sock->socketdes, optlevel, optname,
191 int optname = TCP_NODELAY; local
196 optname = SCTP_NODELAY;
199 if (setsockopt(sock->socketdes, optlevel, optname,
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/libipsec/
H A Dtest-policy.c154 int proto = 0, optname = 0; local
161 optname = IP_IPSEC_POLICY;
165 optname = IPV6_IPSEC_POLICY;
177 if (setsockopt(so, proto, optname, policy, len) < 0) {
185 if (getsockopt(so, proto, optname, getbuf, &len) < 0) {
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/win32/
H A Dnet.c218 int optname; local
242 optname = IPV6_RECVPKTINFO;
244 optname = IPV6_PKTINFO;
247 if (setsockopt(s, IPPROTO_IPV6, optname, (const char *) &on,
/macosx-10.9.5/ntp-88/lib/isc/win32/
H A Dnet.c221 int optname; local
245 optname = IPV6_RECVPKTINFO;
247 optname = IPV6_PKTINFO;
250 if (setsockopt(s, IPPROTO_IPV6, optname, (const char *) &on,

Completed in 163 milliseconds

123