Home
last modified time | relevance | path

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

/PHP-8.1/ext/pdo_dblib/
H A Ddblib_driver.c529 if(vars[5].optval) { in pdo_dblib_handle_factory()
531 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
547 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
557 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
568 if (vars[0].optval) { in pdo_dblib_handle_factory()
569 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
573 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
577 if (vars[3].optval) { in pdo_dblib_handle_factory()
582 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
593 if (vars[3].optval) { in pdo_dblib_handle_factory()
[all …]
/PHP-8.1/ext/pdo_mysql/
H A Dmysql_driver.c913 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
918 dbname = vars[1].optval;
919 host = vars[2].optval;
920 if(vars[3].optval) {
921 port = atoi(vars[3].optval);
925 if (vars[2].optval && !strcmp(".", vars[2].optval)) {
927 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
929 unix_socket = vars[4].optval;
932 if (!dbh->username && vars[5].optval) {
936 if (!dbh->password && vars[6].optval) {
[all …]
/PHP-8.1/ext/pdo/
H A Dpdo.c199 efree(parsed[j].optval); in php_pdo_parse_data_source()
203 parsed[j].optval = estrndup(data_source + valstart, semi - valstart - n_semicolumns); in php_pdo_parse_data_source()
209 parsed[j].optval = new_val; in php_pdo_parse_data_source()
H A Dphp_pdo_driver.h661 char *optval; member
/PHP-8.1/ext/pdo_firebird/
H A Dfirebird_driver.c1054 if (!dbh->username && vars[4].optval) { in pdo_firebird_handle_factory()
1055 dbh->username = pestrdup(vars[4].optval, dbh->is_persistent); in pdo_firebird_handle_factory()
1058 if (!dbh->password && vars[5].optval) { in pdo_firebird_handle_factory()
1059 dbh->password = pestrdup(vars[5].optval, dbh->is_persistent); in pdo_firebird_handle_factory()
1065 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval }; in pdo_firebird_handle_factory()
1081 if (vars[3].optval) { in pdo_firebird_handle_factory()
1082 H->sql_dialect = atoi(vars[3].optval); in pdo_firebird_handle_factory()
1086 …if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buff… in pdo_firebird_handle_factory()
1100 efree(vars[i].optval); in pdo_firebird_handle_factory()
/PHP-8.1/ext/pdo_oci/
H A Doci_driver.c750 if (vars[0].optval) { in pdo_oci_handle_factory()
751 H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval); in pdo_oci_handle_factory()
774 H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval, in pdo_oci_handle_factory()
775 (sb4) strlen(vars[1].optval), OCI_DEFAULT); in pdo_oci_handle_factory()
805 if (!dbh->username && vars[2].optval) { in pdo_oci_handle_factory()
806 dbh->username = pestrdup(vars[2].optval, dbh->is_persistent); in pdo_oci_handle_factory()
820 if (!dbh->password && vars[3].optval) { in pdo_oci_handle_factory()
821 dbh->password = pestrdup(vars[3].optval, dbh->is_persistent); in pdo_oci_handle_factory()
869 efree(vars[i].optval); in pdo_oci_handle_factory()
/PHP-8.1/ext/tidy/
H A Dtidy.c1151 char *optval, *optname; in PHP_FUNCTION() local
1169 if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { in PHP_FUNCTION()
1170 RETURN_STRING(optval); in PHP_FUNCTION()
1294 void *optval; in PHP_FUNCTION() local
1313 optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); in PHP_FUNCTION()
1316 RETVAL_STR((zend_string*)optval); in PHP_FUNCTION()
1320 RETURN_LONG((zend_long)optval); in PHP_FUNCTION()
1324 if (optval) { in PHP_FUNCTION()

Completed in 46 milliseconds