Searched defs:data_source (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_5/ext/pdo/ |
| H A D | pdo.c | 215 PDO_API int php_pdo_parse_data_source(const char *data_source, argument 231 if (data_source[i] == '\0') { 235 if (data_source[i] != '=') { 246 if (data_source[i] == '\0') { 250 if (data_source[i] == ';') { 251 if ((i + 1 >= data_source_len) || data_source[i+1] != ';') { 270 if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\0') { 277 parsed[j].optval = estrndup(data_source + valstart, semi - valstart - n_semicolumns); 280 const char *orig_val = data_source + valstart; 306 while (i < data_source_len && isspace(data_source[ [all...] |
| H A D | pdo_dbh.c | 206 char *data_source; local 216 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!s!a!", &data_source, &data_source_len, 223 colon = strchr(data_source, ':'); 229 snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source); 237 data_source = ini_dsn; 238 colon = strchr(data_source, ':'); 247 if (!strncmp(data_source, "uri:", sizeof("uri:")-1)) { 249 data_source = dsn_from_uri(data_source + sizeof("uri:")-1, alt_dsn, sizeof(alt_dsn) TSRMLS_CC); 250 if (!data_source) { [all...] |
| H A D | php_pdo_driver.h | 477 const char *data_source; member in struct:_pdo_dbh_t 645 PDO_API int php_pdo_parse_data_source(const char *data_source,
|
Completed in 20 milliseconds