Home
last modified time | relevance | path

Searched refs:optval (Results 1 – 11 of 11) sorted by relevance

/PHP-7.4/ext/pdo_dblib/
H A Ddblib_driver.c506 if(vars[5].optval) { in pdo_dblib_handle_factory()
508 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
524 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
534 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
545 if (vars[0].optval) { in pdo_dblib_handle_factory()
546 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
550 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
554 if (vars[3].optval) { in pdo_dblib_handle_factory()
559 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
570 if (vars[3].optval) { in pdo_dblib_handle_factory()
[all …]
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_driver.c822 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
828 dbname = vars[1].optval;
829 host = vars[2].optval;
830 if(vars[3].optval) {
831 port = atoi(vars[3].optval);
835 if (vars[2].optval && !strcmp(".", vars[2].optval)) {
837 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
839 unix_socket = vars[4].optval;
842 if (!dbh->username && vars[5].optval) {
846 if (!dbh->password && vars[6].optval) {
[all …]
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_driver.c649 if (!dbh->username && vars[4].optval) { in pdo_firebird_handle_factory()
650 dbh->username = pestrdup(vars[4].optval, dbh->is_persistent); in pdo_firebird_handle_factory()
653 if (!dbh->password && vars[5].optval) { in pdo_firebird_handle_factory()
654 dbh->password = pestrdup(vars[5].optval, dbh->is_persistent); in pdo_firebird_handle_factory()
660 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval }; in pdo_firebird_handle_factory()
676 if (vars[3].optval) { in pdo_firebird_handle_factory()
677 H->sql_dialect = atoi(vars[3].optval); in pdo_firebird_handle_factory()
681 …if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buff… in pdo_firebird_handle_factory()
695 efree(vars[i].optval); in pdo_firebird_handle_factory()
/PHP-7.4/ext/sockets/tests/
H A Dsocket_set_option_seolinger.phpt40 Warning: socket_set_option(): no key "l_onoff" passed in optval in %s on line %d
42 Warning: socket_set_option(): no key "l_linger" passed in optval in %s on line %d
H A Dsocket_set_option_rcvtimeo.phpt33 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
H A Dsocket_set_option_sndtimeo.phpt33 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
/PHP-7.4/ext/pdo/
H A Dpdo.c232 efree(parsed[j].optval); in php_pdo_parse_data_source()
236 parsed[j].optval = estrndup(data_source + valstart, semi - valstart - n_semicolumns); in php_pdo_parse_data_source()
242 parsed[j].optval = new_val; in php_pdo_parse_data_source()
H A Dphp_pdo_driver.h674 char *optval; member
/PHP-7.4/ext/pdo_oci/
H A Doci_driver.c700 if (vars[0].optval) { in pdo_oci_handle_factory()
701 H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval); in pdo_oci_handle_factory()
724 H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval, in pdo_oci_handle_factory()
725 (sb4) strlen(vars[1].optval), OCI_DEFAULT); in pdo_oci_handle_factory()
755 if (!dbh->username && vars[2].optval) { in pdo_oci_handle_factory()
756 dbh->username = pestrdup(vars[2].optval, dbh->is_persistent); in pdo_oci_handle_factory()
770 if (!dbh->password && vars[3].optval) { in pdo_oci_handle_factory()
771 dbh->password = pestrdup(vars[3].optval, dbh->is_persistent); in pdo_oci_handle_factory()
814 efree(vars[i].optval); in pdo_oci_handle_factory()
/PHP-7.4/ext/tidy/
H A Dtidy.c1416 char *optval, *optname; in PHP_FUNCTION() local
1441 if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { in PHP_FUNCTION()
1442 RETURN_STRING(optval); in PHP_FUNCTION()
1576 void *optval; in PHP_FUNCTION() local
1602 optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); in PHP_FUNCTION()
1605 RETVAL_STR((zend_string*)optval); in PHP_FUNCTION()
1609 RETURN_LONG((zend_long)optval); in PHP_FUNCTION()
1613 if (optval) { in PHP_FUNCTION()
/PHP-7.4/ext/sockets/
H A Dsockets.c233 ZEND_ARG_INFO(0, optval)

Completed in 46 milliseconds