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

12

/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h230 * instance. You MUST respect dbh->is_persistent and pass that flag to
446 unsigned is_persistent:1; member in struct:_pdo_dbh_t
H A Dpdo_dbh.c205 zend_bool is_persistent = FALSE; local
290 is_persistent = 1;
293 is_persistent = Z_LVAL_PP(v) ? 1 : 0;
300 if (is_persistent) {
325 pdbh->is_persistent = 1;
366 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent);
367 dbh->username = username ? pestrdup(username, is_persistent) : NULL;
368 dbh->password = password ? pestrdup(password, is_persistent) : NULL;
386 if (is_persistent) {
778 if (dbh->is_persistent) {
[all...]
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c88 pefree(H, dbh->is_persistent);
304 H = pecalloc(1, sizeof(*H), 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_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);
817 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent);
/PHP_TRUNK/ext/phar/
H A Dphar.c210 pefree(phar->alias, phar->is_persistent);
215 pefree(phar->fname, phar->is_persistent);
220 pefree(phar->signature, phar->is_persistent);
240 if (phar->is_persistent) {
264 pefree(phar, phar->is_persistent);
273 if (phar->is_persistent) {
396 if (entry->is_persistent) {
415 pefree(entry->filename, entry->is_persistent);
418 pefree(entry->link, entry->is_persistent);
423 pefree(entry->tmp, entry->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...]
H A Dstream.c127 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
273 if (!phar->is_persistent) {
848 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
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 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) {
1992 entry->is_persistent = 0;
2025 phar->is_persistent = 0;
H A Dzip.c222 mydata->is_persistent = PHAR_G(persist);
234 pefree(mydata, mydata->is_persistent);
244 if (entry.is_persistent) {
251 metadata = pestrndup(metadata, PHAR_GET_16(locator.comment_len), mydata->is_persistent);
270 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent);
293 zend_get_hash_value, destroy_phar_manifest_entry, (zend_bool)mydata->is_persistent);
295 zend_get_hash_value, NULL, (zend_bool)mydata->is_persistent);
297 zend_get_hash_value, NULL, (zend_bool)mydata->is_persistent);
301 entry.is_persistent = mydata->is_persistent;
[all...]
H A Dphar_object.c1102 if (!phar->is_persistent) {
1117 if (!phar_data->is_persistent) {
1235 if (!phar_data->is_persistent) {
1257 if (!phar_data->is_persistent) {
1361 if (phar->is_persistent) {
1401 if (phar_obj->arc.archive && phar_obj->arc.archive->is_persistent) {
1835 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) {
1900 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) {
2629 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) {
2744 if (phar_obj->arc.archive->is_persistent
[all...]
/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.h49 int is_persistent; member in struct:php_process_handle
H A Dproc_open.c76 static php_process_env_t _php_array_to_envp(zval *environment, int is_persistent TSRMLS_DC)
100 env.envarray = (char **) pecalloc(1, sizeof(char *), is_persistent);
102 env.envp = (char *) pecalloc(4, 1, is_persistent);
144 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
146 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent);
211 static void _php_free_envp(php_process_env_t env, int is_persistent) argument
215 pefree(env.envarray, is_persistent);
219 pefree(env.envp, is_persistent);
277 _php_free_envp(proc->env, proc->is_persistent);
278 pefree(proc->command, proc->is_persistent);
486 int is_persistent = 0; /* TODO: ensure that persistent procs will work */ local
[all...]
H A Duser_filters.c471 bucket->buf = perealloc(bucket->buf, Z_STRLEN_PP(pzdata), bucket->is_persistent);
/PHP_TRUNK/main/
H A Dphp_streams.h197 int is_persistent; member in struct:_php_stream
485 #define php_stream_is_persistent(stream) (stream)->is_persistent
/PHP_TRUNK/main/streams/
H A Dfilter.c75 int is_persistent = php_stream_is_persistent(stream); local
78 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent);
86 if (is_persistent && !buf_persistent) {
103 bucket->is_persistent = is_persistent;
127 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent);
130 retval->buf = pemalloc(retval->buflen, retval->is_persistent);
143 *left = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent);
144 *right = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent);
150 (*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.c305 ret->is_persistent = persistent_id ? 1 : 0;
516 pefree(stream->readbuf, stream->is_persistent);
520 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) {
533 pefree(stream->orig_path, stream->is_persistent);
545 pefree(stream->orig_path, stream->is_persistent);
549 pefree(stream, stream->is_persistent);
553 pefree(stream->orig_path, stream->is_persistent);
557 pefree(stream, stream->is_persistent);
637 stream->is_persistent);
689 stream->is_persistent);
[all...]
/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);
208 pefree(H->einfo.errmsg, dbh->is_persistent);
211 pefree(H, dbh->is_persistent);
1157 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent);
/PHP_TRUNK/ext/oci8/
H A Doci8.c1964 if (connection && connection->is_persistent && connection->is_stub) {
1978 if (connection->is_persistent) {
2085 connection->is_persistent = 0;
2099 connection->is_persistent = 1;
2107 connection->is_persistent = 0;
2121 if (use_spool && !connection->is_persistent) {
2164 if (connection->is_persistent) {
2193 DTRACE_OCI8_CONNECT_TYPE(connection->is_persistent ? 1 : 0, exclusive ? 1 : 0, connection, OCI_G(num_persistent), OCI_G(num_links));
2367 pefree(connection->hash_key, connection->is_persistent);
2371 pefree(connection->client_id, connection->is_persistent);
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c128 pefree(H, dbh->is_persistent);
655 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);
571 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent);
579 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {

Completed in 63 milliseconds

12