Lines Matching refs:data_source
202 char *data_source; in PHP_METHOD() local
214 "s|s!s!a!", &data_source, &data_source_len, in PHP_METHOD()
220 colon = strchr(data_source, ':'); in PHP_METHOD()
226 snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source); in PHP_METHOD()
232 data_source = ini_dsn; in PHP_METHOD()
233 colon = strchr(data_source, ':'); in PHP_METHOD()
241 if (!strncmp(data_source, "uri:", sizeof("uri:")-1)) { in PHP_METHOD()
243 data_source = dsn_from_uri(data_source + sizeof("uri:")-1, alt_dsn, sizeof(alt_dsn)); in PHP_METHOD()
244 if (!data_source) { in PHP_METHOD()
248 colon = strchr(data_source, ':'); in PHP_METHOD()
255 driver = pdo_find_driver(data_source, colon - data_source); in PHP_METHOD()
278 plen = spprintf(&hashkey, 0, "PDO:DBH:DSN=%s:%s:%s:%s", data_source, in PHP_METHOD()
285 plen = spprintf(&hashkey, 0, "PDO:DBH:DSN=%s:%s:%s", data_source, in PHP_METHOD()
337 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); in PHP_METHOD()
345 if (!dbh->data_source || (username && !dbh->username) || (password && !dbh->password)) { in PHP_METHOD()
1522 if (dbh->data_source) { in dbh_free()
1523 pefree((char *)dbh->data_source, dbh->is_persistent); in dbh_free()