Lines Matching refs:vars
608 struct pdo_data_src_parser vars[] = { local
641 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 7);
834 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
839 dbname = vars[1].optval;
840 host = vars[2].optval;
841 if(vars[3].optval) {
842 port = atoi(vars[3].optval);
846 if (vars[2].optval && !strcmp(".", vars[2].optval)) {
848 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
850 unix_socket = vars[4].optval;
853 if (!dbh->username && vars[5].optval) {
854 dbh->username = pestrdup(vars[5].optval, dbh->is_persistent);
857 if (!dbh->password && vars[6].optval) {
858 dbh->password = pestrdup(vars[6].optval, dbh->is_persistent);
893 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) {
894 if (vars[i].freeme) {
895 efree(vars[i].optval);