Home
last modified time | relevance | path

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

/PHP-5.6/ext/pdo_dblib/
H A Ddblib_driver.c320 if(vars[5].optval) { in pdo_dblib_handle_factory()
322 if(strcmp(vars[5].optval,tdsver[i].key) == 0) { in pdo_dblib_handle_factory()
332 printf("Invalid version '%s'\n", vars[5].optval); in pdo_dblib_handle_factory()
351 if (vars[0].optval) { in pdo_dblib_handle_factory()
352 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
356 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
360 if (vars[3].optval) { in pdo_dblib_handle_factory()
365 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
376 if (vars[3].optval) { in pdo_dblib_handle_factory()
377 if(FAIL == dbuse(H->link, vars[3].optval)) goto cleanup; in pdo_dblib_handle_factory()
[all …]
/PHP-5.6/ext/pdo_mysql/
H A Dmysql_driver.c737 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
743 dbname = vars[1].optval;
744 host = vars[2].optval;
745 if(vars[3].optval) {
746 port = atoi(vars[3].optval);
750 if (vars[2].optval && !strcmp(".", vars[2].optval)) {
752 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
754 unix_socket = vars[4].optval;
791 efree(vars[i].optval);
/PHP-5.6/ext/sockets/tests/
H A Dsocket_set_option_seolinger.phpt41 Warning: socket_set_option(): no key "l_onoff" passed in optval in %s on line %d
43 Warning: socket_set_option(): no key "l_linger" passed in optval in %s on line %d
H A Dsocket_set_option_rcvtimeo.phpt34 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
H A Dsocket_set_option_sndtimeo.phpt34 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
/PHP-5.6/ext/pdo/
H A Dpdo.c273 efree(parsed[j].optval); in php_pdo_parse_data_source()
277 parsed[j].optval = estrndup(data_source + valstart, semi - valstart - n_semicolumns); in php_pdo_parse_data_source()
283 parsed[j].optval = new_val; in php_pdo_parse_data_source()
H A Dphp_pdo_driver.h651 char *optval; member
/PHP-5.6/ext/pdo_oci/
H A Doci_driver.c607 if (vars[0].optval) { in pdo_oci_handle_factory()
608 H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval); in pdo_oci_handle_factory()
631 H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval, in pdo_oci_handle_factory()
632 strlen(vars[1].optval), OCI_DEFAULT); in pdo_oci_handle_factory()
706 efree(vars[i].optval); in pdo_oci_handle_factory()
/PHP-5.6/ext/pdo_firebird/
H A Dfirebird_driver.c660 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval }; in pdo_firebird_handle_factory()
676 …if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buff… in pdo_firebird_handle_factory()
690 efree(vars[i].optval); in pdo_firebird_handle_factory()
/PHP-5.6/ext/tidy/
H A Dtidy.c1371 char *optval, *optname; in PHP_FUNCTION() local
1396 if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { in PHP_FUNCTION()
1397 RETURN_STRING(optval, 1); in PHP_FUNCTION()
1531 void *optval; in PHP_FUNCTION() local
1557 optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt TSRMLS_CC); in PHP_FUNCTION()
1560 RETURN_STRING((char *)optval, 0); in PHP_FUNCTION()
1564 RETURN_LONG((long)optval); in PHP_FUNCTION()
1568 if (optval) { in PHP_FUNCTION()
/PHP-5.6/ext/sockets/
H A Dsockets.c223 ZEND_ARG_INFO(0, optval)

Completed in 37 milliseconds