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

12

/PHP_5_3/ext/oci8/
H A Doci8.c1929 if (connection && connection->is_persistent && connection->is_stub) {
1943 if (connection->is_persistent) {
2054 connection->is_persistent = 0;
2065 connection->is_persistent = 1;
2070 connection->is_persistent = 0;
2081 if (use_spool && !connection->is_persistent) {
2123 if (connection->is_persistent) {
2164 if (connection->is_persistent) {
2322 if (connection->is_persistent) {
2395 if (!connection->is_persistent) {
[all...]
/PHP_5_3/ext/openssl/
H A Dxp_ssl.c840 static char * get_sni(php_stream_context *ctx, char *resourcename, long resourcenamelen, int is_persistent TSRMLS_DC) {
852 return pestrdup(Z_STRVAL_PP(val), is_persistent);
876 sni = pestrndup(host, len, is_persistent);
/PHP_5_3/ext/pdo/
H A Dpdo_dbh.c205 zend_bool is_persistent = FALSE; local
289 is_persistent = 1;
292 is_persistent = Z_LVAL_PP(v) ? 1 : 0;
299 if (is_persistent) {
324 pdbh->is_persistent = 1;
361 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent);
362 dbh->username = username ? pestrdup(username, is_persistent) : NULL;
363 dbh->password = password ? pestrdup(password, is_persistent) : NULL;
381 if (is_persistent) {
781 if (dbh->is_persistent) {
[all...]
H A Dphp_pdo_driver.h230 * instance. You MUST respect dbh->is_persistent and pass that flag to
448 unsigned is_persistent:1; member in struct:_pdo_dbh_t
/PHP_5_3/ext/pdo_dblib/
H A Ddblib_driver.c85 pefree(H, dbh->is_persistent);
199 H = pecalloc(1, sizeof(*H), dbh->is_persistent);
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_driver.c130 pefree(H, dbh->is_persistent);
657 pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent);
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_driver.c89 pefree(einfo->errmsg, dbh->is_persistent);
100 dbh->is_persistent);
105 dbh->is_persistent);
108 einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent);
175 pefree(H->einfo.errmsg, dbh->is_persistent);
178 pefree(H, dbh->is_persistent);
599 H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent);
607 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
/PHP_5_3/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_5_3/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_5_3/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);
822 H = pecalloc(1, sizeof(pdo_sqlite_db_handle), dbh->is_persistent);
/PHP_5_3/ext/soap/
H A Dphp_sdl.h64 zend_bool is_persistent; member in struct:_sdl
/PHP_5_3/ext/sqlite/
H A Dpdo_sqlite2.c76 pefree(S->einfo.errmsg, stmt->dbh->is_persistent);
248 pefree(einfo->errmsg, dbh->is_persistent);
254 einfo->errmsg = pestrdup(errmsg, dbh->is_persistent);
257 einfo->errmsg = pestrdup(sqlite_error_string(einfo->errcode), dbh->is_persistent);
330 pefree(H->einfo.errmsg, dbh->is_persistent);
333 pefree(H, dbh->is_persistent);
578 H = pecalloc(1, sizeof(pdo_sqlite2_db_handle), dbh->is_persistent);
/PHP_5_3/ext/standard/
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);
135 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
137 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent);
217 static void _php_free_envp(php_process_env_t env, int is_persistent) argument
221 pefree(env.envarray, is_persistent);
225 pefree(env.envp, is_persistent);
273 _php_free_envp(proc->env, proc->is_persistent);
274 pefree(proc->command, proc->is_persistent);
525 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
/PHP_5_3/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.c296 ret->is_persistent = persistent_id ? 1 : 0;
450 pefree(stream->readbuf, stream->is_persistent);
454 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) {
467 pefree(stream->orig_path, stream->is_persistent);
479 pefree(stream->orig_path, stream->is_persistent);
483 pefree(stream, stream->is_persistent);
487 pefree(stream->orig_path, stream->is_persistent);
491 pefree(stream, stream->is_persistent);
571 stream->is_persistent);
623 stream->is_persistent);
[all...]
/PHP_5_3/ext/phar/
H A Dphar.c212 pefree(phar->alias, phar->is_persistent);
217 pefree(phar->fname, phar->is_persistent);
222 pefree(phar->signature, phar->is_persistent);
242 if (phar->is_persistent) {
266 pefree(phar, phar->is_persistent);
275 if (phar->is_persistent) {
398 if (entry->is_persistent) {
417 pefree(entry->filename, entry->is_persistent);
420 pefree(entry->link, entry->is_persistent);
425 pefree(entry->tmp, entry->is_persistent);
[all...]
H A Dphar_internal.h300 unsigned int is_persistent:1; member in struct:_phar_entry_info
347 unsigned int is_persistent:1; member in struct:_phar_archive_data
364 if (!entry->is_persistent) {
372 if (!entry->is_persistent) {
380 if (!entry->phar->is_persistent) {
390 if (!entry->phar->is_persistent) {
400 if (!phar->is_persistent) {
408 if (!phar->is_persistent) {
416 if (!phar->is_persistent) {
426 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) {
856 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
H A Dphar_object.c1113 if (!phar->is_persistent) {
1128 if (!phar_data->is_persistent) {
1250 if (!phar_data->is_persistent) {
1272 if (!phar_data->is_persistent) {
1376 if (phar->is_persistent) {
1416 if (phar_obj->arc.archive && phar_obj->arc.archive->is_persistent) {
1905 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) {
1970 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) {
2704 if (phar_obj->arc.archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->arc.archive) TSRMLS_CC)) {
2819 if (phar_obj->arc.archive->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 Dutil.c629 if (for_write && phar->is_persistent) {
671 if (!phar->is_persistent) {
725 if (!phar->is_persistent) {
768 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar TSRMLS_CC)) {
1191 if (phar->refcount || phar->is_persistent) {
2269 entry->is_persistent = 0;
2306 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...]
/PHP_5_3/ext/pdo_pgsql/
H A Dpgsql_driver.c75 pefree(einfo->errmsg, dbh->is_persistent);
87 einfo->errmsg = _pdo_pgsql_trim_message(errmsg, dbh->is_persistent);
203 pefree(H->einfo.errmsg, dbh->is_persistent);
206 pefree(H, dbh->is_persistent);
1034 H = pecalloc(1, sizeof(pdo_pgsql_db_handle), dbh->is_persistent);

Completed in 43 milliseconds

12