Home
last modified time | relevance | path

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

12

/PHP-5.5/main/streams/
H A Dfilter.c86 if (is_persistent && !buf_persistent) { in php_stream_bucket_new()
103 bucket->is_persistent = is_persistent; in php_stream_bucket_new()
155 (*left)->is_persistent = in->is_persistent; in php_stream_bucket_split()
162 (*right)->is_persistent = in->is_persistent; in php_stream_bucket_split()
169 pefree((*right)->buf, in->is_persistent); in php_stream_bucket_split()
171 pefree(*right, in->is_persistent); in php_stream_bucket_split()
175 pefree((*left)->buf, in->is_persistent); in php_stream_bucket_split()
177 pefree(*left, in->is_persistent); in php_stream_bucket_split()
188 pefree(bucket, bucket->is_persistent); in php_stream_bucket_delref()
304 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.c305 ret->is_persistent = persistent_id ? 1 : 0; in _php_stream_alloc()
516 pefree(stream->readbuf, stream->is_persistent); in _php_stream_free()
520 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) { in _php_stream_free()
533 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
545 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
549 pefree(stream, stream->is_persistent); in _php_stream_free()
553 pefree(stream->orig_path, stream->is_persistent); in _php_stream_free()
557 pefree(stream, stream->is_persistent); in _php_stream_free()
637 stream->is_persistent); in _php_stream_fill_read_buffer()
689 stream->is_persistent); in _php_stream_fill_read_buffer()
[all …]
/PHP-5.5/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()
244 if (entry.is_persistent) { in phar_parse_zipfile()
301 entry.is_persistent = mydata->is_persistent; in phar_parse_zipfile()
323 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile()
347 pefree(mydata, mydata->is_persistent); \ in phar_parse_zipfile()
365 if (entry.is_persistent) { in phar_parse_zipfile()
391 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
546 if (entry.is_persistent) { in phar_parse_zipfile()
681 if (entry.is_persistent) { in phar_parse_zipfile()
[all …]
H A Dphar_internal.h366 if (!entry->is_persistent) { in phar_get_entrypfp()
374 if (!entry->is_persistent) { in phar_get_entrypufp()
382 if (!entry->phar->is_persistent) { in phar_set_entrypfp()
392 if (!entry->phar->is_persistent) { in phar_set_entrypufp()
402 if (!phar->is_persistent) { in phar_get_pharfp()
410 if (!phar->is_persistent) { in phar_get_pharufp()
418 if (!phar->is_persistent) { in phar_set_pharfp()
428 if (!phar->is_persistent) { in phar_set_pharufp()
440 if (!entry->is_persistent) { in phar_set_fp_type()
452 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()
493 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.c240 if (phar->is_persistent) { in PHP_INI_END()
273 if (phar->is_persistent) { in phar_archive_delref()
396 if (entry->is_persistent) { in destroy_phar_manifest_entry()
1024 if (mydata->is_persistent) {
1055 entry.is_persistent = mydata->is_persistent;
1068 if (entry.is_persistent) {
1109 if (entry.is_persistent) {
1131 if (entry.is_persistent) {
1144 if (entry.is_persistent) {
2590 if (phar->is_persistent) {
[all …]
H A Dphar_object.c1103 if (!phar->is_persistent) { in phar_spl_foreign_dtor()
1118 if (!phar_data->is_persistent) { in phar_spl_foreign_clone()
1236 if (!phar_data->is_persistent) { in PHP_METHOD()
1258 if (!phar_data->is_persistent) { in PHP_METHOD()
1362 if (phar->is_persistent) { in PHP_METHOD()
3487 if (phar_obj->arc.archive->is_persistent) { in PHP_METHOD()
4656 if (entry_obj->ent.entry->is_persistent) { in PHP_METHOD()
4722 if (entry_obj->ent.entry->is_persistent) { in PHP_METHOD()
4760 if (entry_obj->ent.entry->is_persistent) { in PHP_METHOD()
4933 if (entry_obj->ent.entry->is_persistent) { in PHP_METHOD()
[all …]
H A Dutil.c406 if (for_write && phar->is_persistent) { in phar_get_entry_data()
448 if (!phar->is_persistent) { in phar_get_entry_data()
507 if (!phar->is_persistent) { in phar_get_entry_data()
550 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) { in phar_get_or_create_entry_data()
945 if (phar->refcount || phar->is_persistent) { in phar_free_alias()
2004 entry->is_persistent = 0;
2037 phar->is_persistent = 0;
H A Dstream.c127 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) { in phar_parse_url()
273 if (!phar->is_persistent) { in phar_wrapper_open_url()
856 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) { in phar_wrapper_rename()
/PHP-5.5/ext/standard/
H A Dproc_open.c101 env.envp = (char *) pecalloc(4, 1, is_persistent); in _php_array_to_envp()
145 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent); in _php_array_to_envp()
214 pefree(env.envarray, is_persistent); in _php_free_envp()
218 pefree(env.envp, is_persistent); in _php_free_envp()
276 _php_free_envp(proc->env, proc->is_persistent); in proc_open_rsrc_dtor()
277 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor()
278 pefree(proc, proc->is_persistent); in proc_open_rsrc_dtor()
501 command = pestrdup(command, is_persistent); in PHP_FUNCTION()
910 proc->is_persistent = is_persistent; in PHP_FUNCTION()
992 _php_free_envp(env, is_persistent); in PHP_FUNCTION()
[all …]
H A Dproc_open.h49 int is_persistent; member
/PHP-5.5/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-5.5/ext/pdo/
H A Dpdo_dbh.c205 zend_bool is_persistent = FALSE; in PHP_METHOD() local
290 is_persistent = 1; in PHP_METHOD()
293 is_persistent = Z_LVAL_PP(v) ? 1 : 0; in PHP_METHOD()
300 if (is_persistent) { in PHP_METHOD()
325 pdbh->is_persistent = 1; in PHP_METHOD()
386 if (is_persistent) { in PHP_METHOD()
790 if (dbh->is_persistent) { in pdo_dbh_attribute_set()
905 RETURN_BOOL(dbh->is_persistent); in PHP_METHOD()
1535 pefree(dbh->username, dbh->is_persistent); in dbh_free()
1538 pefree(dbh->password, dbh->is_persistent); in dbh_free()
[all …]
H A Dphp_pdo_driver.h446 unsigned is_persistent:1; member
/PHP-5.5/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()
153 pefree(H->einfo.errmsg, dbh->is_persistent); in mysql_handle_closer()
156 pefree(H, dbh->is_persistent); in mysql_handle_closer()
577 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent);
585 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
/PHP-5.5/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()
817 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent); in pdo_sqlite_handle_factory()
/PHP-5.5/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-5.5/ext/pdo_dblib/
H A Ddblib_driver.c88 pefree(H, dbh->is_persistent); in dblib_handle_closer()
304 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_dblib_handle_factory()
/PHP-5.5/ext/soap/
H A Dphp_sdl.h64 zend_bool is_persistent; member
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_driver.c87 pefree(einfo->errmsg, dbh->is_persistent); in _pdo_pgsql_error()
99 einfo->errmsg = _pdo_pgsql_trim_message(errmsg, dbh->is_persistent); in _pdo_pgsql_error()
215 pefree(H->einfo.errmsg, dbh->is_persistent); in pgsql_handle_closer()
218 pefree(H, dbh->is_persistent); in pgsql_handle_closer()
1073 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent); in pdo_pgsql_handle_factory()
/PHP-5.5/ext/oci8/
H A Doci8.c1943 if (connection->is_persistent) { in php_oci_do_connect_ex()
2054 connection->is_persistent = 0; in php_oci_do_connect_ex()
2065 connection->is_persistent = 1; in php_oci_do_connect_ex()
2070 connection->is_persistent = 0; in php_oci_do_connect_ex()
2081 if (use_spool && !connection->is_persistent) { in php_oci_do_connect_ex()
2123 if (connection->is_persistent) { in php_oci_do_connect_ex()
2164 if (connection->is_persistent) { in php_oci_do_connect_ex()
2322 if (connection->is_persistent) { in php_oci_connection_close()
2395 if (!connection->is_persistent) { in php_oci_connection_release()
3126 if (connection->is_persistent && !connection->private_spool && in php_oci_create_session()
[all …]
/PHP-5.5/ext/pdo_firebird/
H A Dfirebird_driver.c128 pefree(H, dbh->is_persistent); in firebird_handle_closer()
653 pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent); in pdo_firebird_handle_factory()
/PHP-5.5/ext/openssl/
H A Dxp_ssl.c993 …i(php_stream_context *ctx, char *resourcename, long resourcenamelen, int is_persistent TSRMLS_DC) { in get_sni()
1005 return pestrdup(Z_STRVAL_PP(val), is_persistent); in get_sni()
1029 sni = pestrndup(host, len, is_persistent); in get_sni()
/PHP-5.5/main/
H A Dphp_streams.h197 int is_persistent; member
489 #define php_stream_is_persistent(stream) (stream)->is_persistent

Completed in 180 milliseconds

12