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

12

/PHP_TRUNK/ext/phar/
H A Dstream.c127 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
272 if (!phar->is_persistent) {
839 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
H A Dutil.c406 if (for_write && phar->is_persistent) {
448 if (!phar->is_persistent) {
502 if (!phar->is_persistent) {
545 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
940 if (phar->refcount || phar->is_persistent) {
1951 entry->is_persistent = 0;
1985 phar->is_persistent = 0;
H A Dphar.c209 pefree(phar->alias, phar->is_persistent);
214 pefree(phar->fname, phar->is_persistent);
219 pefree(phar->signature, phar->is_persistent);
239 if (phar->is_persistent) {
263 pefree(phar, phar->is_persistent);
272 if (phar->is_persistent) {
394 if (entry->is_persistent) {
413 pefree(entry->filename, entry->is_persistent);
416 pefree(entry->link, entry->is_persistent);
421 pefree(entry->tmp, entry->is_persistent);
[all...]
H A Dtar.c226 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 Dphar_object.c1073 if (!phar->is_persistent) {
1088 if (!phar_data->is_persistent) {
1207 if (!phar_data->is_persistent) {
1229 if (!phar_data->is_persistent) {
1334 if (phar->is_persistent) {
1376 if (phar_obj->archive && phar_obj->archive->is_persistent) {
1806 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive) TSRMLS_CC)) {
1871 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive) TSRMLS_CC)) {
2577 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive) TSRMLS_CC)) {
2693 if (phar_obj->archive->is_persistent
[all...]
H A Dzip.c222 mydata->is_persistent = PHAR_G(persist);
234 pefree(mydata, mydata->is_persistent);
244 ZVAL_NEW_STR(&mydata->metadata, zend_string_init(metadata, PHAR_GET_16(locator.comment_len), mydata->is_persistent));
262 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent);
285 zend_get_hash_value, destroy_phar_manifest_entry, (zend_bool)mydata->is_persistent);
287 zend_get_hash_value, NULL, (zend_bool)mydata->is_persistent);
289 zend_get_hash_value, NULL, (zend_bool)mydata->is_persistent);
293 entry.is_persistent = mydata->is_persistent;
309 pefree(mydata->fname, mydata->is_persistent); \
[all...]
H A Dphar_internal.h284 unsigned int is_persistent:1; member in struct:_phar_entry_info
331 unsigned int is_persistent:1; member in struct:_phar_archive_data
348 if (!entry->is_persistent) {
356 if (!entry->is_persistent) {
364 if (!entry->phar->is_persistent) {
374 if (!entry->phar->is_persistent) {
384 if (!phar->is_persistent) {
392 if (!phar->is_persistent) {
400 if (!phar->is_persistent) {
410 if (!phar->is_persistent) {
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c201 zend_bool is_persistent = 0; local
286 is_persistent = 1;
289 is_persistent = Z_LVAL_P(v) ? 1 : 0;
296 if (is_persistent) {
323 pdbh->is_persistent = 1;
347 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent);
348 dbh->username = username ? pestrdup(username, is_persistent) : NULL;
349 dbh->password = password ? pestrdup(password, is_persistent) : NULL;
367 if (is_persistent) {
756 if (dbh->is_persistent) {
[all...]
H A Dphp_pdo_driver.h232 * instance. You MUST respect dbh->is_persistent and pass that flag to
440 unsigned is_persistent:1; member in struct:_pdo_dbh_t
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c90 pefree(H, dbh->is_persistent);
306 H = pecalloc(1, sizeof(*H), dbh->is_persistent);
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c128 pefree(H, dbh->is_persistent);
654 pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent);
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c74 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);
576 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent);
584 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c79 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/pdo_odbc/
H A Dodbc_driver.c139 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 Dpgsql_driver.c77 pefree(einfo->errmsg, dbh->is_persistent);
92 einfo->errmsg = _pdo_pgsql_trim_message(errmsg, dbh->is_persistent);
207 pefree(H->einfo.errmsg, dbh->is_persistent);
210 pefree(H, dbh->is_persistent);
1163 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent);
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c46 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);
798 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent);
/PHP_TRUNK/ext/soap/
H A Dphp_sdl.h64 zend_bool is_persistent; member in struct:_sdl
/PHP_TRUNK/ext/standard/
H A Dproc_open.c76 static php_process_env_t _php_array_to_envp(zval *environment, int is_persistent TSRMLS_DC)
98 env.envarray = (char **) pecalloc(1, sizeof(char *), is_persistent);
100 env.envp = (char *) pecalloc(4, 1, is_persistent);
130 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
132 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent);
175 static void _php_free_envp(php_process_env_t env, int is_persistent) argument
179 pefree(env.envarray, is_persistent);
183 pefree(env.envp, is_persistent);
242 _php_free_envp(proc->env, proc->is_persistent);
243 pefree(proc->command, proc->is_persistent);
452 int is_persistent = 0; /* TODO: ensure that persistent procs will work */ local
[all...]
H A Dproc_open.h49 int is_persistent; member in struct:php_process_handle
H A Duser_filters.c457 bucket->buf = perealloc(bucket->buf, Z_STRLEN_P(pzdata), bucket->is_persistent);
/PHP_TRUNK/main/
H A Dphp_streams.h199 int is_persistent; member in struct:_php_stream
486 #define php_stream_is_persistent(stream) (stream)->is_persistent
/PHP_TRUNK/main/streams/
H A Dfilter.c73 int is_persistent = php_stream_is_persistent(stream); local
76 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent);
84 if (is_persistent && !buf_persistent) {
101 bucket->is_persistent = is_persistent;
125 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent);
128 retval->buf = pemalloc(retval->buflen, retval->is_persistent);
141 *left = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent);
142 *right = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent);
148 (*left)->buf = pemalloc(length, in->is_persistent);
[all...]
H A Dphp_stream_filter_api.h52 int is_persistent; member in struct:_php_stream_bucket
113 int is_persistent; member in struct:_php_stream_filter
H A Dstreams.c304 ret->is_persistent = persistent_id ? 1 : 0;
518 pefree(stream->readbuf, stream->is_persistent);
522 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) {
536 pefree(stream->orig_path, stream->is_persistent);
549 pefree(stream->orig_path, stream->is_persistent);
553 pefree(stream, stream->is_persistent);
557 pefree(stream->orig_path, stream->is_persistent);
561 pefree(stream, stream->is_persistent);
641 stream->is_persistent);
693 stream->is_persistent);
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8.c1972 if (connection && connection->is_persistent && connection->is_stub) {
1986 if (connection->is_persistent) {
2093 connection->is_persistent = 0;
2107 connection->is_persistent = 1;
2115 connection->is_persistent = 0;
2129 if (use_spool && !connection->is_persistent) {
2172 if (connection->is_persistent) {
2201 DTRACE_OCI8_CONNECT_TYPE(connection->is_persistent ? 1 : 0, exclusive ? 1 : 0, connection, OCI_G(num_persistent), OCI_G(num_links));
2375 pefree(connection->hash_key, connection->is_persistent);
2379 pefree(connection->client_id, connection->is_persistent);
[all...]

Completed in 45 milliseconds

12