Lines Matching refs:vars
668 struct pdo_data_src_parser vars[] = { local
701 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 7);
913 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) {
933 dbh->username = pestrdup(vars[5].optval, dbh->is_persistent);
936 if (!dbh->password && vars[6].optval) {
937 dbh->password = pestrdup(vars[6].optval, dbh->is_persistent);
972 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) {
973 if (vars[i].freeme) {
974 efree(vars[i].optval);