/PHP-7.4/main/streams/ |
H A D | filter.c | 75 int is_persistent = php_stream_is_persistent(stream); in php_stream_bucket_new() local 81 if (is_persistent && !buf_persistent) { in php_stream_bucket_new() 92 bucket->is_persistent = is_persistent; in php_stream_bucket_new() 119 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable() 135 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split() 140 (*left)->is_persistent = in->is_persistent; in php_stream_bucket_split() 147 (*right)->is_persistent = in->is_persistent; in php_stream_bucket_split() 156 pefree(bucket->buf, bucket->is_persistent); in php_stream_bucket_delref() 158 pefree(bucket, bucket->is_persistent); in php_stream_bucket_delref() 275 filter->is_persistent = persistent; in _php_stream_filter_alloc() [all …]
|
H A D | php_stream_filter_api.h | 50 uint8_t is_persistent; member 111 int is_persistent; member
|
H A D | streams.c | 295 ret->is_persistent = persistent_id ? 1 : 0; in _php_stream_alloc() 513 pefree(stream->readbuf, stream->is_persistent); in _php_stream_free() 517 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) { in _php_stream_free() 523 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free() 527 pefree(stream, stream->is_persistent); in _php_stream_free() 612 stream->is_persistent); in _php_stream_fill_read_buffer() 665 stream->is_persistent); in _php_stream_fill_read_buffer() 2133 if (stream && (options & STREAM_OPEN_PERSISTENT) && !stream->is_persistent) {
|
/PHP-7.4/ext/phar/ |
H A D | zip.c | 251 mydata->is_persistent = PHAR_G(persist); in phar_parse_zipfile() 263 pefree(mydata, mydata->is_persistent); in phar_parse_zipfile() 321 entry.is_persistent = mydata->is_persistent; in phar_parse_zipfile() 341 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile() 363 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile() 381 if (entry.is_persistent) { in phar_parse_zipfile() 407 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 429 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 489 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile() 737 if (entry.is_persistent) { in phar_parse_zipfile() [all …]
|
H A D | phar_internal.h | 328 if (!entry->is_persistent) { in phar_get_entrypfp() 336 if (!entry->is_persistent) { in phar_get_entrypufp() 344 if (!entry->phar->is_persistent) { in phar_set_entrypfp() 354 if (!entry->phar->is_persistent) { in phar_set_entrypufp() 364 if (!phar->is_persistent) { in phar_get_pharfp() 372 if (!phar->is_persistent) { in phar_get_pharufp() 380 if (!phar->is_persistent) { in phar_set_pharfp() 390 if (!phar->is_persistent) { in phar_set_pharufp() 402 if (!entry->is_persistent) { in phar_set_fp_type() 414 if (!entry->is_persistent) { in phar_get_fp_type() [all …]
|
H A D | tar.c | 245 myphar->is_persistent = PHAR_G(persist); in phar_parse_tarfile() 250 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); in phar_parse_tarfile() 252 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); in phar_parse_tarfile() 462 entry.filename = pestrndup(hdr->name, i, myphar->is_persistent); in phar_parse_tarfile() 478 pefree(entry.filename, myphar->is_persistent); in phar_parse_tarfile() 489 entry.is_persistent = myphar->is_persistent; in phar_parse_tarfile() 510 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile() 524 if (entry.is_persistent) { in phar_parse_tarfile() 571 actual_alias = pestrndup(buf, size, myphar->is_persistent); in phar_parse_tarfile() 630 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile() [all …]
|
H A D | phar.c | 233 if (phar->is_persistent) { in PHP_INI_END() 266 if (phar->is_persistent) { in phar_archive_delref() 387 if (entry->is_persistent) { in destroy_phar_manifest_entry_int() 1030 if (mydata->is_persistent) { in phar_parse_pharfile() 1061 entry.is_persistent = mydata->is_persistent; in phar_parse_pharfile() 1074 if (entry.is_persistent) { in phar_parse_pharfile() 1115 if (entry.is_persistent) { in phar_parse_pharfile() 1179 if (mydata->is_persistent) { in phar_parse_pharfile() 1244 if (mydata->is_persistent) { in phar_parse_pharfile() 2522 if (phar->is_persistent) { in phar_flush() [all …]
|
H A D | phar_object.c | 1094 if (!phar->is_persistent) { in phar_spl_foreign_dtor() 1109 if (!phar_data->is_persistent) { in phar_spl_foreign_clone() 1225 if (!phar_data->is_persistent) { in PHP_METHOD() 1247 if (!phar_data->is_persistent) { in PHP_METHOD() 1349 if (phar->is_persistent) { in PHP_METHOD() 3503 if (phar_obj->archive->is_persistent) { in PHP_METHOD() 4684 if (entry_obj->entry->is_persistent) { in PHP_METHOD() 4750 if (entry_obj->entry->is_persistent) { in PHP_METHOD() 4787 if (entry_obj->entry->is_persistent) { in PHP_METHOD() 4959 if (entry_obj->entry->is_persistent) { in PHP_METHOD() [all …]
|
H A D | util.c | 394 if (for_write && phar->is_persistent) { in phar_get_entry_data() 436 if (!phar->is_persistent) { in phar_get_entry_data() 495 if (!phar->is_persistent) { in phar_get_entry_data() 538 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_get_or_create_entry_data() 933 if (phar->refcount || phar->is_persistent) { in phar_free_alias() 1973 entry->is_persistent = 0; in phar_update_cached_entry() 2007 phar->is_persistent = 0; in phar_copy_cached_phar()
|
H A D | stream.c | 130 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_parse_url() 275 if (!phar->is_persistent) { in phar_wrapper_open_url() 827 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_wrapper_rename()
|
/PHP-7.4/ext/standard/ |
H A D | proc_open.c | 93 env.envp = (char *) pecalloc(4, 1, is_persistent); in _php_array_to_envp() 156 pefree(env.envarray, is_persistent); in _php_free_envp() 160 pefree(env.envp, is_persistent); in _php_free_envp() 219 _php_free_envp(proc->env, proc->is_persistent); in proc_open_rsrc_dtor() 220 pefree(proc->pipes, proc->is_persistent); in proc_open_rsrc_dtor() 221 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor() 222 pefree(proc, proc->is_persistent); in proc_open_rsrc_dtor() 613 env = _php_array_to_envp(environment, is_persistent); in PHP_FUNCTION() 1094 proc->is_persistent = is_persistent; in PHP_FUNCTION() 1188 _php_free_envp(env, is_persistent); in PHP_FUNCTION() [all …]
|
H A D | proc_open.h | 46 int is_persistent; member
|
H A D | user_filters.c | 464 bucket->buf = perealloc(bucket->buf, Z_STRLEN_P(pzdata), bucket->is_persistent); in php_stream_bucket_attach()
|
/PHP-7.4/ext/pdo_oci/ |
H A D | oci_driver.c | 77 pefree(einfo->errmsg, dbh->is_persistent); in _oci_error() 88 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error() 98 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error() 103 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error() 107 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error() 111 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error() 115 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error() 173 pefree(H->einfo.errmsg, dbh->is_persistent); in _oci_error() 233 pefree(H->einfo.errmsg, dbh->is_persistent); in oci_handle_closer() 237 pefree(H, dbh->is_persistent); in oci_handle_closer() [all …]
|
/PHP-7.4/ext/pdo/ |
H A D | pdo_dbh.c | 227 zend_bool is_persistent = 0; in PHP_METHOD() local 310 is_persistent = 1; in PHP_METHOD() 312 is_persistent = zval_get_long(v) ? 1 : 0; in PHP_METHOD() 319 if (is_persistent) { in PHP_METHOD() 342 pdbh->is_persistent = 1; in PHP_METHOD() 387 if (is_persistent) { in PHP_METHOD() 768 if (dbh->is_persistent) { in pdo_dbh_attribute_set() 881 RETURN_BOOL(dbh->is_persistent); in PHP_METHOD() 1297 dbh->is_persistent? cls_method_pdtor : cls_method_dtor, dbh->is_persistent, 0); in pdo_hash_methods() 1503 if (dbh->is_persistent) { in dbh_free() [all …]
|
H A D | php_pdo_driver.h | 445 unsigned is_persistent:1; member
|
/PHP-7.4/ext/pdo_mysql/ |
H A D | mysql_driver.c | 72 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_mysql_error() 83 dbh->is_persistent); in _pdo_mysql_error() 88 dbh->is_persistent); in _pdo_mysql_error() 94 einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent); in _pdo_mysql_error() 153 pefree(H->einfo.errmsg, dbh->is_persistent); in mysql_handle_closer() 155 pefree(H, dbh->is_persistent); in mysql_handle_closer() 625 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent); 633 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) { 638 if (dbh->is_persistent) { 843 dbh->username = pestrdup(vars[5].optval, dbh->is_persistent); [all …]
|
/PHP-7.4/ext/pdo_dblib/ |
H A D | dblib_driver.c | 93 pefree(H, dbh->is_persistent); in dblib_handle_closer() 470 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_dblib_handle_factory() 525 dbh->username = pestrdup(vars[6].optval, dbh->is_persistent); in pdo_dblib_handle_factory() 535 dbh->password = pestrdup(vars[7].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
|
/PHP-7.4/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 44 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_sqlite_error() 46 einfo->errmsg = pestrdup((char*)sqlite3_errmsg(H->db), dbh->is_persistent); in _pdo_sqlite_error() 169 pefree(einfo->errmsg, dbh->is_persistent); in sqlite_handle_closer() 172 pefree(H, dbh->is_persistent); in sqlite_handle_closer() 803 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent); in pdo_sqlite_handle_factory()
|
/PHP-7.4/ext/pdo_firebird/ |
H A D | firebird_driver.c | 79 pefree(H, dbh->is_persistent); in firebird_handle_closer() 645 pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent); in pdo_firebird_handle_factory() 650 dbh->username = pestrdup(vars[4].optval, dbh->is_persistent); in pdo_firebird_handle_factory() 654 dbh->password = pestrdup(vars[5].optval, dbh->is_persistent); in pdo_firebird_handle_factory()
|
/PHP-7.4/ext/pdo_odbc/ |
H A D | odbc_driver.c | 137 pefree(H, dbh->is_persistent); in odbc_handle_closer() 397 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_odbc_handle_factory() 451 pefree((char*)dbh->data_source, dbh->is_persistent); in pdo_odbc_handle_factory()
|
/PHP-7.4/ext/oci8/ |
H A D | oci8.c | 1853 if (connection->is_persistent) { in php_oci_do_connect_ex() 1967 connection->is_persistent = 0; in php_oci_do_connect_ex() 1982 connection->is_persistent = 1; in php_oci_do_connect_ex() 1991 connection->is_persistent = 0; in php_oci_do_connect_ex() 2006 if (use_spool && !connection->is_persistent) { in php_oci_do_connect_ex() 2049 if (connection->is_persistent) { in php_oci_do_connect_ex() 2263 pefree(connection->hash_key, connection->is_persistent); in php_oci_connection_close() 2268 pefree(connection->client_id, connection->is_persistent); in php_oci_connection_close() 2281 pefree(connection, connection->is_persistent); in php_oci_connection_close() 2345 if (!connection->is_persistent) { in php_oci_connection_release() [all …]
|
/PHP-7.4/ext/soap/ |
H A D | php_sdl.h | 63 zend_bool is_persistent; member
|
/PHP-7.4/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 80 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_pgsql_error() 95 einfo->errmsg = _pdo_pgsql_trim_message(errmsg, dbh->is_persistent); in _pdo_pgsql_error() 213 pefree(H->einfo.errmsg, dbh->is_persistent); in pgsql_handle_closer() 216 pefree(H, dbh->is_persistent); in pgsql_handle_closer() 1196 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent); in pdo_pgsql_handle_factory()
|
/PHP-7.4/main/ |
H A D | php_streams.h | 198 uint8_t is_persistent:1; member 504 #define php_stream_is_persistent(stream) (stream)->is_persistent
|