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

/PHP_TRUNK/ext/sockets/
H A Dsendrecvmsg.h15 int php_do_setsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *arg4);
16 int php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result);
H A Dmulticast.c150 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) argument
162 switch (optname) {
233 "This is a bug.", level, optname);
248 int optname,
258 switch (optname) {
267 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) {
307 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);
318 int optname,
327 switch (optname) {
336 if (php_do_mcast_opt(php_sock, level, optname, arg
246 php_do_setsockopt_ip_mcast(php_socket *php_sock, int level, int optname, zval *arg4) argument
316 php_do_setsockopt_ipv6_mcast(php_socket *php_sock, int level, int optname, zval *arg4) argument
[all...]
H A Dmulticast.h50 int optname,
55 int optname,
H A Dsendrecvmsg.c319 int php_do_setsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *arg4) argument
329 switch (optname) {
361 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);
370 int php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result) argument
380 switch (optname) {
392 res = getsockopt(php_sock->bsd_socket, level, optname, buffer, &size);
H A Dsockets.c216 ZEND_ARG_INFO(0, optname)
222 ZEND_ARG_INFO(0, optname)
1868 /* {{{ proto mixed socket_get_option(resource socket, int level, int optname)
1881 zend_long level, optname; local
1883 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &arg1, &level, &optname) == FAILURE) {
1892 switch (optname) {
1897 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1911 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optname, return_value);
1921 switch(optname) {
1925 if (getsockopt(php_sock->bsd_socket, level, optname, (cha
1991 zend_long level, optname; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h669 const char *optname; member in struct:pdo_data_src_parser
H A Dpdo.c260 if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\0') {
/PHP_TRUNK/win32/build/
H A Dconfutils.js218 function ConfigureArg(type, optname, helptext, defval)
223 this.arg = "--" + opptype + "-" + optname;
224 this.imparg = "--" + type + "-" + optname;
226 this.arg = "--" + type + "-" + optname;
227 this.imparg = "--" + opptype + "-" + optname;
230 this.optname = optname;
233 this.symval = optname.toUpperCase().replace(new RegExp("-", "g"), "_");
238 function ARG_WITH(optname, helptext, defval)
240 configure_args[configure_args.length] = new ConfigureArg("with", optname, helptex
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4227 char *optname; local
4337 optname = opts[php_optidx].opt_name;
4343 optname = opt;
4354 optname_len = (int)strlen(optname);
4355 if (!(optname_len > 1 && optname[0] == '0') && is_numeric_string(optname, optname_len, NULL, NULL, 0) == IS_LONG) {
4357 int optname_int = atoi(optname);
4368 if ((args = zend_hash_str_find(HASH_OF(return_value), optname, strlen(optname))) != NULL) {
4374 zend_hash_str_add(HASH_OF(return_value), optname, strle local
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c327 ZEND_ARG_INFO(0, optname)
494 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value) argument
496 TidyOption opt = tidyGetOptionByName(doc, optname);
502 php_error_docref(NULL, E_NOTICE, "Unknown Tidy Configuration Option '%s'", optname);
507 php_error_docref(NULL, E_NOTICE, "Attempting to set read-only option '%s'", optname);
1337 /* {{{ proto string tidy_get_opt_doc(tidy resource, string optname)
1342 char *optval, *optname; local
1349 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &optname, &optname_len) == FAILURE) {
1353 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), NULL, "Os", &object, tidy_ce_doc, &optname, &optname_len) == FAILURE) {
1360 opt = tidyGetOptionByName(obj->ptdoc->doc, optname);
1503 char *optname; local
[all...]

Completed in 33 milliseconds