Home
last modified time | relevance | path

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

12

/PHP-8.0/main/streams/
H A Dfilter.c73 int is_persistent = php_stream_is_persistent(stream); in php_stream_bucket_new() local
79 if (is_persistent && !buf_persistent) { in php_stream_bucket_new()
90 bucket->is_persistent = is_persistent; in php_stream_bucket_new()
117 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable()
133 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split()
138 (*left)->is_persistent = in->is_persistent; in php_stream_bucket_split()
145 (*right)->is_persistent = in->is_persistent; in php_stream_bucket_split()
154 pefree(bucket->buf, bucket->is_persistent); in php_stream_bucket_delref()
156 pefree(bucket, bucket->is_persistent); in php_stream_bucket_delref()
273 filter->is_persistent = persistent; in _php_stream_filter_alloc()
[all …]
H A Dphp_stream_filter_api.h48 uint8_t is_persistent; member
109 int is_persistent; member
H A Dstreams.c293 ret->is_persistent = persistent_id ? 1 : 0; in _php_stream_alloc()
511 pefree(stream->readbuf, stream->is_persistent); in _php_stream_free()
515 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) { in _php_stream_free()
521 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
525 pefree(stream, stream->is_persistent); in _php_stream_free()
610 stream->is_persistent); in _php_stream_fill_read_buffer()
663 stream->is_persistent); in _php_stream_fill_read_buffer()
2106 if (stream && (options & STREAM_OPEN_PERSISTENT) && !stream->is_persistent) {
/PHP-8.0/ext/phar/
H A Dzip.c251 mydata->is_persistent = PHAR_G(persist); in phar_parse_zipfile()
263 pefree(mydata, mydata->is_persistent); in phar_parse_zipfile()
314 entry.is_persistent = mydata->is_persistent; in phar_parse_zipfile()
334 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile()
356 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile()
377 if (entry.is_persistent) { in phar_parse_zipfile()
403 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
425 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
485 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
731 if (entry.is_persistent) { in phar_parse_zipfile()
[all …]
H A Dphar_internal.h336 if (!entry->is_persistent) { in phar_get_entrypfp()
344 if (!entry->is_persistent) { in phar_get_entrypufp()
352 if (!entry->phar->is_persistent) { in phar_set_entrypfp()
362 if (!entry->phar->is_persistent) { in phar_set_entrypufp()
372 if (!phar->is_persistent) { in phar_get_pharfp()
380 if (!phar->is_persistent) { in phar_get_pharufp()
388 if (!phar->is_persistent) { in phar_set_pharfp()
398 if (!phar->is_persistent) { in phar_set_pharufp()
410 if (!entry->is_persistent) { in phar_set_fp_type()
422 if (!entry->is_persistent) { in phar_get_fp_type()
[all …]
H A Dtar.c242 myphar->is_persistent = PHAR_G(persist); in phar_parse_tarfile()
247 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); in phar_parse_tarfile()
249 zend_get_hash_value, NULL, (zend_bool)myphar->is_persistent); in phar_parse_tarfile()
459 entry.filename = pestrndup(hdr->name, i, myphar->is_persistent); in phar_parse_tarfile()
475 pefree(entry.filename, myphar->is_persistent); in phar_parse_tarfile()
486 entry.is_persistent = myphar->is_persistent; in phar_parse_tarfile()
507 pefree(entry.filename, entry.is_persistent); in phar_parse_tarfile()
521 if (entry.is_persistent) { in phar_parse_tarfile()
568 actual_alias = pestrndup(buf, size, myphar->is_persistent); in phar_parse_tarfile()
627 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
[all …]
H A Dphar.c245 pefree(phar, phar->is_persistent); in PHP_INI_END()
254 if (phar->is_persistent) { in phar_archive_delref()
394 pefree(entry, entry->is_persistent); in destroy_phar_manifest_entry()
1105 if (mydata->is_persistent) { in phar_parse_pharfile()
1134 entry.is_persistent = mydata->is_persistent; in phar_parse_pharfile()
1147 if (entry.is_persistent) { in phar_parse_pharfile()
1230 if (mydata->is_persistent) { in phar_parse_pharfile()
1284 if (mydata->is_persistent) { in phar_parse_pharfile()
1295 if (mydata->is_persistent) { in phar_parse_pharfile()
2573 if (phar->is_persistent) { in phar_flush()
[all …]
H A Dphar_object.c1070 if (!phar->is_persistent) { in phar_spl_foreign_dtor()
1085 if (!phar_data->is_persistent) { in phar_spl_foreign_clone()
1200 if (!phar_data->is_persistent) { in PHP_METHOD()
1222 if (!phar_data->is_persistent) { in PHP_METHOD()
1318 if (phar->is_persistent) { in PHP_METHOD()
3456 if (phar_obj->archive->is_persistent) { in PHP_METHOD()
4627 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
4722 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
4772 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
4888 if (entry_obj->entry->is_persistent) { in PHP_METHOD()
[all …]
H A Dutil.c394 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()
1976 entry->is_persistent = 0; in phar_update_cached_entry()
2001 phar->is_persistent = 0; in phar_copy_cached_phar()
H A Dstream.c130 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_parse_url()
226 …etadata_tracker_free(&idata->internal_file->metadata_tracker, idata->internal_file->is_persistent); in phar_wrapper_open_url()
272 if (!phar->is_persistent) { in phar_wrapper_open_url()
824 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_wrapper_rename()
/PHP-8.0/ext/pdo_oci/
H A Doci_driver.c75 pefree(einfo->errmsg, dbh->is_persistent); in _oci_error()
86 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
96 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
101 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()
171 pefree(H->einfo.errmsg, dbh->is_persistent); in _oci_error()
231 pefree(H->einfo.errmsg, dbh->is_persistent); in oci_handle_closer()
235 pefree(H, dbh->is_persistent); in oci_handle_closer()
[all …]
/PHP-8.0/ext/pdo/
H A Dpdo_dbh.c228 zend_bool is_persistent = 0; in PHP_METHOD() local
311 is_persistent = 1; in PHP_METHOD()
313 is_persistent = zval_get_long(v) ? 1 : 0; in PHP_METHOD()
320 if (is_persistent) { in PHP_METHOD()
343 pdbh->is_persistent = 1; in PHP_METHOD()
389 if (is_persistent) { in PHP_METHOD()
760 if (dbh->is_persistent) { in pdo_dbh_attribute_set()
867 RETURN_BOOL(dbh->is_persistent); in PHP_METHOD()
1215 dbh->is_persistent? cls_method_pdtor : cls_method_dtor, dbh->is_persistent); in pdo_hash_methods()
1422 if (dbh->is_persistent) { in dbh_free()
[all …]
H A Dphp_pdo_driver.h443 unsigned is_persistent:1; member
/PHP-8.0/ext/pdo_mysql/
H A Dmysql_driver.c70 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_mysql_error()
81 dbh->is_persistent); in _pdo_mysql_error()
88 dbh->is_persistent); in _pdo_mysql_error()
94 dbh->is_persistent); in _pdo_mysql_error()
159 pefree(H->einfo.errmsg, dbh->is_persistent); in mysql_handle_closer()
161 pefree(H, dbh->is_persistent); in mysql_handle_closer()
643 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent);
651 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
656 if (dbh->is_persistent) {
854 dbh->username = pestrdup(vars[5].optval, dbh->is_persistent);
[all …]
/PHP-8.0/ext/pdo_dblib/
H A Ddblib_driver.c91 pefree(H, dbh->is_persistent); in dblib_handle_closer()
468 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_dblib_handle_factory()
523 dbh->username = pestrdup(vars[6].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
533 dbh->password = pestrdup(vars[7].optval, dbh->is_persistent); in pdo_dblib_handle_factory()
/PHP-8.0/ext/pdo_sqlite/
H A Dsqlite_driver.c43 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_sqlite_error()
45 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()
776 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent); in pdo_sqlite_handle_factory()
/PHP-8.0/ext/oci8/
H A Doci8.c1090 if (connection->is_persistent) { in php_oci_do_connect_ex()
1204 connection->is_persistent = 0; in php_oci_do_connect_ex()
1219 connection->is_persistent = 1; in php_oci_do_connect_ex()
1228 connection->is_persistent = 0; in php_oci_do_connect_ex()
1243 if (use_spool && !connection->is_persistent) { in php_oci_do_connect_ex()
1286 if (connection->is_persistent) { in php_oci_do_connect_ex()
1492 pefree(connection->hash_key, connection->is_persistent); in php_oci_connection_close()
1497 pefree(connection->client_id, connection->is_persistent); in php_oci_connection_close()
1510 pefree(connection, connection->is_persistent); in php_oci_connection_close()
1574 if (!connection->is_persistent) { in php_oci_connection_release()
[all …]
H A Dphp_oci8_int.h153 unsigned is_persistent:1; /* self-descriptive */ member
/PHP-8.0/ext/pdo_pgsql/
H A Dpgsql_driver.c80 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_pgsql_error()
92 einfo->errmsg = pestrdup(msg, dbh->is_persistent); in _pdo_pgsql_error()
95 einfo->errmsg = _pdo_pgsql_trim_message(errmsg, dbh->is_persistent); in _pdo_pgsql_error()
231 pefree(H->lob_streams, dbh->is_persistent); in pgsql_handle_closer()
239 pefree(H->einfo.errmsg, dbh->is_persistent); in pgsql_handle_closer()
242 pefree(H, dbh->is_persistent); in pgsql_handle_closer()
1231 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent); in pdo_pgsql_handle_factory()
1271 H->lob_streams = (HashTable *) pemalloc(sizeof(HashTable), dbh->is_persistent); in pdo_pgsql_handle_factory()
/PHP-8.0/ext/pdo_odbc/
H A Dodbc_driver.c135 pefree(H, dbh->is_persistent); in odbc_handle_closer()
397 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-8.0/ext/pdo_firebird/
H A Dfirebird_driver.c499 pefree(H, dbh->is_persistent); in firebird_handle_closer()
1037 pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent); in pdo_firebird_handle_factory()
1042 dbh->username = pestrdup(vars[4].optval, dbh->is_persistent); in pdo_firebird_handle_factory()
1046 dbh->password = pestrdup(vars[5].optval, dbh->is_persistent); in pdo_firebird_handle_factory()
/PHP-8.0/ext/soap/
H A Dphp_sdl.h61 zend_bool is_persistent; member
H A Dphp_sdl.c146 encodePtr new_enc = pemalloc(sizeof(encode), sdl->is_persistent); in get_encoder()
148 if (sdl->is_persistent) { in get_encoder()
156 sdl->encoders = pemalloc(sizeof(HashTable), sdl->is_persistent); in get_encoder()
157 zend_hash_init(sdl->encoders, 0, NULL, delete_encoder, sdl->is_persistent); in get_encoder()
3320 sdl->is_persistent = 0; in get_sdl()
3367 psdl->is_persistent = 1; in get_sdl()
3426 if (!tmp->is_persistent) { in delete_sdl()
/PHP-8.0/main/
H A Dphp_streams.h200 uint8_t is_persistent:1; member
506 #define php_stream_is_persistent(stream) (stream)->is_persistent
/PHP-8.0/ext/standard/
H A Duser_filters.c457 bucket->buf = perealloc(bucket->buf, Z_STRLEN_P(pzdata), bucket->is_persistent); in php_stream_bucket_attach()

Completed in 130 milliseconds

12