| /PHP_TRUNK/ext/oci8/ |
| H A D | oci8.c | 1929 if (connection && connection->is_persistent && connection->is_stub) { 1943 if (connection->is_persistent) { 2054 connection->is_persistent = 0; 2065 connection->is_persistent = 1; 2070 connection->is_persistent = 0; 2081 if (use_spool && !connection->is_persistent) { 2123 if (connection->is_persistent) { 2164 if (connection->is_persistent) { 2322 if (connection->is_persistent) { 2395 if (!connection->is_persistent) { [all...] |
| /PHP_TRUNK/ext/pdo/ |
| H A D | pdo_dbh.c | 205 zend_bool is_persistent = FALSE; local 290 is_persistent = 1; 293 is_persistent = Z_LVAL_PP(v) ? 1 : 0; 300 if (is_persistent) { 325 pdbh->is_persistent = 1; 363 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); 364 dbh->username = username ? pestrdup(username, is_persistent) : NULL; 365 dbh->password = password ? pestrdup(password, is_persistent) : NULL; 383 if (is_persistent) { 787 if (dbh->is_persistent) { [all...] |
| H A D | php_pdo_driver.h | 230 * instance. You MUST respect dbh->is_persistent and pass that flag to 446 unsigned is_persistent:1; member in struct:_pdo_dbh_t
|
| /PHP_TRUNK/ext/pdo_dblib/ |
| H A D | dblib_driver.c | 85 pefree(H, dbh->is_persistent); 277 H = pecalloc(1, sizeof(*H), dbh->is_persistent);
|
| /PHP_TRUNK/ext/pdo_firebird/ |
| H A D | firebird_driver.c | 130 pefree(H, dbh->is_persistent); 657 pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent);
|
| /PHP_TRUNK/ext/pdo_mysql/ |
| H A D | mysql_driver.c | 74 pefree(einfo->errmsg, dbh->is_persistent); 85 dbh->is_persistent); 90 dbh->is_persistent); 93 einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent); 153 pefree(H->einfo.errmsg, dbh->is_persistent); 156 pefree(H, dbh->is_persistent); 571 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent); 579 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
|
| /PHP_TRUNK/ext/pdo_odbc/ |
| H A D | odbc_driver.c | 139 pefree(H, dbh->is_persistent); 398 H = pecalloc(1, sizeof(*H), dbh->is_persistent); 452 pefree((char*)dbh->data_source, dbh->is_persistent);
|
| /PHP_TRUNK/ext/pdo_pgsql/ |
| H A D | pgsql_driver.c | 75 pefree(einfo->errmsg, dbh->is_persistent); 87 einfo->errmsg = _pdo_pgsql_trim_message(errmsg, dbh->is_persistent); 203 pefree(H->einfo.errmsg, dbh->is_persistent); 206 pefree(H, dbh->is_persistent); 1044 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent);
|
| /PHP_TRUNK/ext/pdo_sqlite/ |
| H A D | sqlite_driver.c | 46 pefree(einfo->errmsg, dbh->is_persistent); 48 einfo->errmsg = pestrdup((char*)sqlite3_errmsg(H->db), dbh->is_persistent); 168 pefree(einfo->errmsg, dbh->is_persistent); 171 pefree(H, dbh->is_persistent); 817 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent);
|
| /PHP_TRUNK/ext/soap/ |
| H A D | php_sdl.h | 64 zend_bool is_persistent; member in struct:_sdl
|
| /PHP_TRUNK/ext/standard/ |
| H A D | proc_open.h | 49 int is_persistent; member in struct:php_process_handle
|
| H A D | user_filters.c | 466 bucket->buf = perealloc(bucket->buf, Z_STRLEN_PP(pzdata), bucket->is_persistent);
|
| H A D | proc_open.c | 75 static php_process_env_t _php_array_to_envp(zval *environment, int is_persistent TSRMLS_DC) 99 env.envarray = (char **) pecalloc(1, sizeof(char *), is_persistent); 101 env.envp = (char *) pecalloc(4, 1, is_persistent); 134 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent); 136 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent); 189 static void _php_free_envp(php_process_env_t env, int is_persistent) argument 193 pefree(env.envarray, is_persistent); 197 pefree(env.envp, is_persistent); 255 _php_free_envp(proc->env, proc->is_persistent); 256 pefree(proc->command, proc->is_persistent); 464 int is_persistent = 0; /* TODO: ensure that persistent procs will work */ local [all...] |
| /PHP_TRUNK/main/streams/ |
| H A D | filter.c | 75 int is_persistent = php_stream_is_persistent(stream); local 78 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent); 86 if (is_persistent && !buf_persistent) { 103 bucket->is_persistent = is_persistent; 127 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent); 130 retval->buf = pemalloc(retval->buflen, retval->is_persistent); 143 *left = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent); 144 *right = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent); 150 (*left)->buf = pemalloc(length, in->is_persistent); [all...] |
| H A D | php_stream_filter_api.h | 52 int is_persistent; member in struct:_php_stream_bucket 113 int is_persistent; member in struct:_php_stream_filter
|
| H A D | streams.c | 305 ret->is_persistent = persistent_id ? 1 : 0; 516 pefree(stream->readbuf, stream->is_persistent); 520 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) { 533 pefree(stream->orig_path, stream->is_persistent); 545 pefree(stream->orig_path, stream->is_persistent); 549 pefree(stream, stream->is_persistent); 553 pefree(stream->orig_path, stream->is_persistent); 557 pefree(stream, stream->is_persistent); 637 stream->is_persistent); 689 stream->is_persistent); [all...] |
| /PHP_TRUNK/ext/phar/ |
| H A D | phar.c | 212 pefree(phar->alias, phar->is_persistent); 217 pefree(phar->fname, phar->is_persistent); 222 pefree(phar->signature, phar->is_persistent); 242 if (phar->is_persistent) { 266 pefree(phar, phar->is_persistent); 275 if (phar->is_persistent) { 398 if (entry->is_persistent) { 417 pefree(entry->filename, entry->is_persistent); 420 pefree(entry->link, entry->is_persistent); 425 pefree(entry->tmp, entry->is_persistent); [all...] |
| H A D | phar_internal.h | 300 unsigned int is_persistent:1; member in struct:_phar_entry_info 347 unsigned int is_persistent:1; member in struct:_phar_archive_data 364 if (!entry->is_persistent) { 372 if (!entry->is_persistent) { 380 if (!entry->phar->is_persistent) { 390 if (!entry->phar->is_persistent) { 400 if (!phar->is_persistent) { 408 if (!phar->is_persistent) { 416 if (!phar->is_persistent) { 426 if (!phar->is_persistent) { [all...] |
| H A D | stream.c | 127 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) { 273 if (!phar->is_persistent) { 856 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
|
| H A D | phar_object.c | 1115 if (!phar->is_persistent) { 1130 if (!phar_data->is_persistent) { 1252 if (!phar_data->is_persistent) { 1274 if (!phar_data->is_persistent) { 1378 if (phar->is_persistent) { 1418 if (phar_obj->arc.archive && phar_obj->arc.archive->is_persistent) { 1885 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) { 1950 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) { 2685 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) { 2800 if (phar_obj->arc.archive->is_persistent [all...] |
| H A D | tar.c | 226 myphar->is_persistent = PHAR_G(persist); 229 zend_get_hash_value, destroy_phar_manifest_entry, (zend_bool)myphar->is_persistent); 231 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); 233 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); 350 entry.filename = pemalloc(entry.filename_len+1, myphar->is_persistent); 415 entry.filename = pestrndup(name, entry.filename_len, myphar->is_persistent); 426 entry.filename = pestrndup(hdr->name, i, myphar->is_persistent); 442 pefree(entry.filename, myphar->is_persistent); 453 entry.is_persistent = myphar->is_persistent; [all...] |
| H A D | util.c | 628 if (for_write && phar->is_persistent) { 670 if (!phar->is_persistent) { 724 if (!phar->is_persistent) { 767 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) { 1190 if (phar->refcount || phar->is_persistent) { 2268 entry->is_persistent = 0; 2305 phar->is_persistent = 0;
|
| H A D | zip.c | 222 mydata->is_persistent = PHAR_G(persist); 234 pefree(mydata, mydata->is_persistent); 244 if (entry.is_persistent) { 251 metadata = pestrndup(metadata, PHAR_GET_16(locator.comment_len), mydata->is_persistent); 270 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); 293 zend_get_hash_value, destroy_phar_manifest_entry, (zend_bool)mydata->is_persistent); 295 zend_get_hash_value, NULL, (zend_bool)mydata->is_persistent); 297 zend_get_hash_value, NULL, (zend_bool)mydata->is_persistent); 301 entry.is_persistent = mydata->is_persistent; [all...] |
| /PHP_TRUNK/ext/pdo_oci/ |
| H A D | oci_driver.c | 79 pefree(einfo->errmsg, dbh->is_persistent); 90 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 100 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 105 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 109 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 113 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 117 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 121 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 125 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); 181 pefree(H->einfo.errmsg, dbh->is_persistent); [all...] |
| /PHP_TRUNK/ext/openssl/ |
| H A D | xp_ssl.c | 856 static char * get_sni(php_stream_context *ctx, char *resourcename, long resourcenamelen, int is_persistent TSRMLS_DC) { 868 return pestrdup(Z_STRVAL_PP(val), is_persistent); 892 sni = pestrndup(host, len, is_persistent);
|