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

/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h669 const char *optname; member in struct:pdo_data_src_parser
/PHP_TRUNK/ext/sockets/
H A Dmulticast.c150 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4 TSRMLS_DC) 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 TSRMLS_CC) == 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 TSRMLS_DC) argument
316 php_do_setsockopt_ipv6_mcast(php_socket *php_sock, int level, int optname, zval *arg4 TSRMLS_DC) argument
[all...]
H A Dsendrecvmsg.c315 int php_do_setsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *arg4 TSRMLS_DC) argument
325 switch (optname) {
357 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);
366 int php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result TSRMLS_DC) argument
376 switch (optname) {
388 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)
1830 /* {{{ proto mixed socket_get_option(resource socket, int level, int optname)
1843 zend_long level, optname; local
1845 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &arg1, &level, &optname) == FAILURE) {
1852 switch (optname) {
1857 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1871 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optname, return_value TSRMLS_CC);
1881 switch(optname) {
1885 if (getsockopt(php_sock->bsd_socket, level, optname, (cha
1951 zend_long level, optname; local
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c329 ZEND_ARG_INFO(0, optname)
494 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value TSRMLS_DC) argument
496 TidyOption opt = tidyGetOptionByName(doc, optname);
502 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unknown Tidy Configuration Option '%s'", optname);
507 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Attempting to set read-only option '%s'", optname);
1333 /* {{{ proto string tidy_get_opt_doc(tidy resource, string optname)
1338 char *optval, *optname; local
1345 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &optname, &optname_len) == FAILURE) {
1349 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, NULL, "Os", &object, tidy_ce_doc, &optname, &optname_len) == FAILURE) {
1356 opt = tidyGetOptionByName(obj->ptdoc->doc, optname);
1499 char *optname; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4221 char *optname; local
4331 optname = opts[php_optidx].opt_name;
4337 optname = opt;
4348 optname_len = (int)strlen(optname);
4349 if (!(optname_len > 1 && optname[0] == '0') && is_numeric_string(optname, optname_len, NULL, NULL, 0) == IS_LONG) {
4351 int optname_int = atoi(optname);
4362 if ((args = zend_hash_str_find(HASH_OF(return_value), optname, strlen(optname))) != NULL) {
4368 zend_hash_str_add(HASH_OF(return_value), optname, strle local
[all...]

Completed in 21 milliseconds