Searched defs:optname (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/sockets/
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 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
/PHP_TRUNK/ext/tidy/
H A Dtidy.c329 ZEND_ARG_INFO(0, optname)
496 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value) argument
498 TidyOption opt = tidyGetOptionByName(doc, optname);
504 php_error_docref(NULL, E_NOTICE, "Unknown Tidy Configuration Option '%s'", optname);
509 php_error_docref(NULL, E_NOTICE, "Attempting to set read-only option '%s'", optname);
1339 /* {{{ proto string tidy_get_opt_doc(tidy resource, string optname)
1344 char *optval, *optname; local
1351 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &optname, &optname_len) == FAILURE) {
1355 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), NULL, "Os", &object, tidy_ce_doc, &optname, &optname_len) == FAILURE) {
1362 opt = tidyGetOptionByName(obj->ptdoc->doc, optname);
1505 char *optname; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4229 char *optname; local
4339 optname = opts[php_optidx].opt_name;
4345 optname = opt;
4356 optname_len = (int)strlen(optname);
4357 if (!(optname_len > 1 && optname[0] == '0') && is_numeric_string(optname, optname_len, NULL, NULL, 0) == IS_LONG) {
4359 int optname_int = atoi(optname);
4370 if ((args = zend_hash_str_find(HASH_OF(return_value), optname, strlen(optname))) != NULL) {
4376 zend_hash_str_add(HASH_OF(return_value), optname, strle local
[all...]

Completed in 28 milliseconds