Home
last modified time | relevance | path

Searched refs:is_persistent (Results 1 – 25 of 36) sorted by relevance

12

/PHP-7.1/main/streams/
H A Dfilter.c84 if (is_persistent && !buf_persistent) { in php_stream_bucket_new()
101 bucket->is_persistent = is_persistent; in php_stream_bucket_new()
153 (*left)->is_persistent = in->is_persistent; in php_stream_bucket_split()
160 (*right)->is_persistent = in->is_persistent; in php_stream_bucket_split()
167 pefree((*right)->buf, in->is_persistent); in php_stream_bucket_split()
169 pefree(*right, in->is_persistent); in php_stream_bucket_split()
173 pefree((*left)->buf, in->is_persistent); in php_stream_bucket_split()
175 pefree(*left, in->is_persistent); in php_stream_bucket_split()
186 pefree(bucket, bucket->is_persistent); in php_stream_bucket_delref()
302 filter->is_persistent = persistent; in _php_stream_filter_alloc()
[all …]
H A Dphp_stream_filter_api.h52 int is_persistent; member
113 int is_persistent; member
H A Dstreams.c286 ret->is_persistent = persistent_id ? 1 : 0; in _php_stream_alloc()
497 pefree(stream->readbuf, stream->is_persistent); in _php_stream_free()
501 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) { in _php_stream_free()
515 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
528 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
532 pefree(stream, stream->is_persistent); in _php_stream_free()
536 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
540 pefree(stream, stream->is_persistent); in _php_stream_free()
620 stream->is_persistent); in _php_stream_fill_read_buffer()
672 stream->is_persistent); in _php_stream_fill_read_buffer()
[all …]
/PHP-7.1/ext/phar/
H A Dzip.c222 mydata->is_persistent = PHAR_G(persist); in phar_parse_zipfile()
234 pefree(mydata, mydata->is_persistent); in phar_parse_zipfile()
293 entry.is_persistent = mydata->is_persistent; in phar_parse_zipfile()
313 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile()
335 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile()
353 if (entry.is_persistent) { in phar_parse_zipfile()
379 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
401 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
454 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
702 if (entry.is_persistent) { in phar_parse_zipfile()
[all …]
H A Dphar_internal.h335 if (!entry->is_persistent) { in phar_get_entrypfp()
343 if (!entry->is_persistent) { in phar_get_entrypufp()
351 if (!entry->phar->is_persistent) { in phar_set_entrypfp()
361 if (!entry->phar->is_persistent) { in phar_set_entrypufp()
371 if (!phar->is_persistent) { in phar_get_pharfp()
379 if (!phar->is_persistent) { in phar_get_pharufp()
387 if (!phar->is_persistent) { in phar_set_pharfp()
397 if (!phar->is_persistent) { in phar_set_pharufp()
409 if (!entry->is_persistent) { in phar_set_fp_type()
421 if (!entry->is_persistent) { in phar_get_fp_type()
[all …]
H A Dtar.c237 myphar->is_persistent = PHAR_G(persist); in phar_parse_tarfile()
242 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); in phar_parse_tarfile()
244 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); in phar_parse_tarfile()
443 entry.filename = pestrndup(hdr->name, i, myphar->is_persistent); in phar_parse_tarfile()
459 pefree(entry.filename, myphar->is_persistent); in phar_parse_tarfile()
470 entry.is_persistent = myphar->is_persistent; in phar_parse_tarfile()
491 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile()
505 if (entry.is_persistent) { in phar_parse_tarfile()
552 actual_alias = pestrndup(buf, size, myphar->is_persistent); in phar_parse_tarfile()
611 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
[all …]
H A Dphar.c239 if (phar->is_persistent) { in PHP_INI_END()
272 if (phar->is_persistent) { in phar_archive_delref()
393 if (entry->is_persistent) { in destroy_phar_manifest_entry_int()
1039 if (mydata->is_persistent) {
1070 entry.is_persistent = mydata->is_persistent;
1083 if (entry.is_persistent) {
1124 if (entry.is_persistent) {
1146 if (entry.is_persistent) {
1159 if (entry.is_persistent) {
2512 if (phar->is_persistent) {
[all …]
H A Dphar_object.c1109 if (!phar->is_persistent) { in phar_spl_foreign_dtor()
1124 if (!phar_data->is_persistent) { in phar_spl_foreign_clone()
1242 if (!phar_data->is_persistent) { in PHP_METHOD()
1264 if (!phar_data->is_persistent) { in PHP_METHOD()
1371 if (phar->is_persistent) { in PHP_METHOD()
3499 if (phar_obj->archive->is_persistent) { in PHP_METHOD()
4671 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
4737 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
4774 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
4946 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
[all …]
H A Dutil.c398 if (for_write && phar->is_persistent) { in phar_get_entry_data()
440 if (!phar->is_persistent) { in phar_get_entry_data()
499 if (!phar->is_persistent) { in phar_get_entry_data()
542 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_get_or_create_entry_data()
937 if (phar->refcount || phar->is_persistent) { in phar_free_alias()
1977 entry->is_persistent = 0; in phar_update_cached_entry()
2011 phar->is_persistent = 0; in phar_copy_cached_phar()
H A Dstream.c128 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_parse_url()
274 if (!phar->is_persistent) { in phar_wrapper_open_url()
844 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_wrapper_rename()
/PHP-7.1/ext/standard/
H A Dproc_open.c100 env.envp = (char *) pecalloc(4, 1, is_persistent); in _php_array_to_envp()
168 pefree(env.envarray, is_persistent); in _php_free_envp()
172 pefree(env.envp, is_persistent); in _php_free_envp()
231 _php_free_envp(proc->env, proc->is_persistent); in proc_open_rsrc_dtor()
232 pefree(proc->pipes, proc->is_persistent); in proc_open_rsrc_dtor()
233 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor()
234 pefree(proc, proc->is_persistent); in proc_open_rsrc_dtor()
467 command = pestrdup(command, is_persistent); in PHP_FUNCTION()
921 proc->is_persistent = is_persistent; in PHP_FUNCTION()
1008 _php_free_envp(env, is_persistent); in PHP_FUNCTION()
[all …]
H A Dproc_open.h47 int is_persistent; member
H A Duser_filters.c456 bucket->buf = perealloc(bucket->buf, Z_STRLEN_P(pzdata), bucket->is_persistent); in php_stream_bucket_attach()
/PHP-7.1/ext/pdo_oci/
H A Doci_driver.c79 pefree(einfo->errmsg, dbh->is_persistent); in _oci_error()
90 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
100 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
105 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
109 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
113 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
117 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
181 pefree(H->einfo.errmsg, dbh->is_persistent); in _oci_error()
241 pefree(H->einfo.errmsg, dbh->is_persistent); in oci_handle_closer()
245 pefree(H, dbh->is_persistent); in oci_handle_closer()
[all …]
/PHP-7.1/ext/pdo/
H A Dpdo_dbh.c201 zend_bool is_persistent = 0; in PHP_METHOD() local
282 is_persistent = 1; in PHP_METHOD()
284 is_persistent = zval_get_long(v) ? 1 : 0; in PHP_METHOD()
291 if (is_persistent) { in PHP_METHOD()
314 pdbh->is_persistent = 1; in PHP_METHOD()
359 if (is_persistent) { in PHP_METHOD()
747 if (dbh->is_persistent) { in pdo_dbh_attribute_set()
861 RETURN_BOOL(dbh->is_persistent); in PHP_METHOD()
1294 dbh->is_persistent? cls_method_pdtor : cls_method_dtor, dbh->is_persistent, 0); in pdo_hash_methods()
1509 if (dbh->is_persistent) { in dbh_free()
[all …]
H A Dphp_pdo_driver.h438 unsigned is_persistent:1; member
/PHP-7.1/ext/pdo_mysql/
H A Dmysql_driver.c74 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_mysql_error()
85 dbh->is_persistent); in _pdo_mysql_error()
90 dbh->is_persistent); in _pdo_mysql_error()
93 einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent); in _pdo_mysql_error()
152 pefree(H->einfo.errmsg, dbh->is_persistent); in mysql_handle_closer()
154 pefree(H, dbh->is_persistent); in mysql_handle_closer()
581 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent);
589 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
/PHP-7.1/ext/pdo_sqlite/
H A Dsqlite_driver.c46 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_sqlite_error()
48 einfo->errmsg = pestrdup((char*)sqlite3_errmsg(H->db), dbh->is_persistent); in _pdo_sqlite_error()
168 pefree(einfo->errmsg, dbh->is_persistent); in sqlite_handle_closer()
171 pefree(H, dbh->is_persistent); in sqlite_handle_closer()
789 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent); in pdo_sqlite_handle_factory()
/PHP-7.1/ext/pdo_odbc/
H A Dodbc_driver.c139 pefree(H, dbh->is_persistent); in odbc_handle_closer()
398 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_odbc_handle_factory()
452 pefree((char*)dbh->data_source, dbh->is_persistent); in pdo_odbc_handle_factory()
/PHP-7.1/ext/oci8/
H A Doci8.c1851 if (connection->is_persistent) { in php_oci_do_connect_ex()
1977 connection->is_persistent = 0; in php_oci_do_connect_ex()
1992 connection->is_persistent = 1; in php_oci_do_connect_ex()
2001 connection->is_persistent = 0; in php_oci_do_connect_ex()
2016 if (use_spool && !connection->is_persistent) { in php_oci_do_connect_ex()
2059 if (connection->is_persistent) { in php_oci_do_connect_ex()
2277 pefree(connection->hash_key, connection->is_persistent); in php_oci_connection_close()
2282 pefree(connection->client_id, connection->is_persistent); in php_oci_connection_close()
2295 pefree(connection, connection->is_persistent); in php_oci_connection_close()
2359 if (!connection->is_persistent) { in php_oci_connection_release()
[all …]
/PHP-7.1/ext/soap/
H A Dphp_sdl.h64 zend_bool is_persistent; member
/PHP-7.1/ext/pdo_dblib/
H A Ddblib_driver.c95 pefree(H, dbh->is_persistent); in dblib_handle_closer()
347 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_dblib_handle_factory()
/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_driver.c89 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_pgsql_error()
104 einfo->errmsg = _pdo_pgsql_trim_message(errmsg, dbh->is_persistent); in _pdo_pgsql_error()
223 pefree(H->einfo.errmsg, dbh->is_persistent); in pgsql_handle_closer()
226 pefree(H, dbh->is_persistent); in pgsql_handle_closer()
1195 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent); in pdo_pgsql_handle_factory()
/PHP-7.1/ext/pdo_firebird/
H A Dfirebird_driver.c126 pefree(H, dbh->is_persistent); in firebird_handle_closer()
669 pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent); in pdo_firebird_handle_factory()
/PHP-7.1/main/
H A Dphp_streams.h201 int is_persistent; member
500 #define php_stream_is_persistent(stream) (stream)->is_persistent

Completed in 128 milliseconds

12