| /PHP_5_5/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 504 ** of SQLite to unexpected behavior - to make the code "self-healing" 17537 ** is atomic - that it cannot be deceived into thinking self 17539 ** that are not equal to self while the comparison is taking place. 17546 pthread_t self = pthread_self(); local 17547 if( p->nRef>0 && pthread_equal(p->owner, self) ){ 17552 p->owner = self; 17580 ** is atomic - that it cannot be deceived into thinking self 17582 ** that are not equal to self while the comparison is taking place. 17589 pthread_t self = pthread_self(); local 17590 if( p->nRef>0 && pthread_equal(p->owner, self) ){ [all...] |
| /PHP_5_5/ext/zip/ |
| H A D | zip_stream.c | 27 struct php_zip_stream_data_t *self = (struct php_zip_stream_data_t *) stream->abstract; 36 if (self->za && self->zf) { 37 n = zip_fread(self->zf, buf, count); 40 zip_file_error_get(self->zf, &ze, &se); 42 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Zip stream error: %s", zip_file_strerror(self->zf)); 50 self->cursor += n; 73 if (self->zf) { 74 zip_fclose(self->zf); 75 self 194 struct php_zip_stream_data_t *self; local 257 struct php_zip_stream_data_t *self; local [all...] |
| /PHP_5_5/TSRM/ |
| H A D | tsrm_win32.c | 443 HANDLE copy, self = GetCurrentProcess(); local 444 if (!DuplicateHandle(self, fh, self, ©, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {
|
| /PHP_5_5/ext/bz2/ |
| H A D | bz2.c | 139 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *) stream->abstract; local 142 ret = BZ2_bzread(self->bz_file, buf, count); 153 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *) stream->abstract; local 155 return BZ2_bzwrite(self->bz_file, (char*)buf, count); 160 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract; local 164 BZ2_bzclose(self->bz_file); 167 if (self->stream) { 168 php_stream_free(self->stream, PHP_STREAM_FREE_CLOSE | (close_handle == 0 ? PHP_STREAM_FREE_PRESERVE_HANDLE : 0)); 171 efree(self); 178 struct php_bz2_stream_data_t *self local 197 struct php_bz2_stream_data_t *self; local 592 struct php_bz2_stream_data_t *self; local [all...] |
| /PHP_5_5/ext/iconv/ |
| H A D | iconv.c | 2484 static void php_iconv_stream_filter_dtor(php_iconv_stream_filter *self) argument 2486 iconv_close(self->cd); 2487 pefree(self->to_charset, self->persistent); 2488 pefree(self->from_charset, self->persistent); 2493 static php_iconv_err_t php_iconv_stream_filter_ctor(php_iconv_stream_filter *self, argument 2497 if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) { 2500 self->to_charset_len = to_charset_len; 2501 if (NULL == (self 2524 php_iconv_stream_filter_append_bucket( php_iconv_stream_filter *self, php_stream *stream, php_stream_filter *filter, php_stream_bucket_brigade *buckets_out, const char *ps, size_t buf_len, size_t *consumed, int persistent TSRMLS_DC) argument 2740 php_iconv_stream_filter *self = (php_iconv_stream_filter *)filter->abstract; local [all...] |
| /PHP_5_5/ext/pdo_pgsql/ |
| H A D | pgsql_driver.c | 122 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local 123 return lo_write(self->conn, self->lfd, (char*)buf, count); 128 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local 129 return lo_read(self->conn, self->lfd, buf, count); 134 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local 135 pdo_dbh_t *dbh = self->dbh; 138 lo_close(self->conn, self 153 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local 174 struct pdo_pgsql_lob_self *self = ecalloc(1, sizeof(*self)); local [all...] |
| H A D | pgsql_statement.c | 308 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stm->abstract; local 315 P->oid = htonl(self->oid);
|
| /PHP_5_5/ext/zlib/ |
| H A D | zlib_fopen_wrapper.c | 35 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local 38 read = gzread(self->gz_file, buf, count); 40 if (gzeof(self->gz_file)) { 49 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local 52 wrote = gzwrite(self->gz_file, (char *) buf, count); 59 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local 61 assert(self != NULL); 67 *newoffs = gzseek(self->gz_file, offset, whence); 74 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local 78 if (self 94 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local 112 struct php_gz_stream_data_t *self; local [all...] |
| /PHP_5_5/main/ |
| H A D | rfc1867.c | 235 static int fill_buffer(multipart_buffer *self TSRMLS_DC) 240 if (self->bytes_in_buffer > 0 && self->buf_begin != self->buffer) { 241 memmove(self->buffer, self->buf_begin, self->bytes_in_buffer); 244 self->buf_begin = self->buffer; 247 bytes_to_read = self 283 multipart_buffer *self = (multipart_buffer *) ecalloc(1, sizeof(multipart_buffer)); local 321 next_line(multipart_buffer *self) argument 380 find_boundary(multipart_buffer *self, char *boundary TSRMLS_DC) argument 398 multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC) argument 604 multipart_buffer_read(multipart_buffer *self, char *buf, int bytes, int *end TSRMLS_DC) argument 650 multipart_buffer_read_body(multipart_buffer *self, unsigned int *len TSRMLS_DC) argument [all...] |
| /PHP_5_5/main/streams/ |
| H A D | memory.c | 291 php_stream_memory_data *self; local 294 self = emalloc(sizeof(*self)); 295 self->data = NULL; 296 self->fpos = 0; 297 self->fsize = 0; 298 self->smax = ~0u; 299 self->mode = mode; 301 stream = php_stream_alloc_rel(&php_stream_memory_ops, self, 0, mode & TEMP_STREAM_READONLY ? "rb" : "w+b"); 553 php_stream_temp_data *self; local [all...] |
| H A D | plain_wrapper.c | 154 php_stdio_stream_data *self; local 156 self = pemalloc_rel_orig(sizeof(*self), persistent_id); 157 memset(self, 0, sizeof(*self)); 158 self->file = NULL; 159 self->is_pipe = 0; 160 self->lock_flag = LOCK_UN; 161 self->is_process_pipe = 0; 162 self 170 php_stdio_stream_data *self; local 210 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local 233 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local 272 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local 301 php_stdio_stream_data *self; local 964 php_stdio_stream_data *self = (php_stdio_stream_data*)ret->abstract; local [all...] |
| /PHP_5_5/ext/pdo_oci/ |
| H A D | oci_statement.c | 610 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local 615 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, 616 &amt, self->offset, (char*)buf, count, 624 self->offset += amt; 630 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local 635 r = OCILobRead(self->S->H->svc, self->S->err, self 652 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local 666 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local 673 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local 698 struct oci_lob_self *self = ecalloc(1, sizeof(*self)); local [all...] |
| /PHP_5_5/ext/mysqlnd/ |
| H A D | mysqlnd_auth.c | 358 mysqlnd_native_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, argument 418 mysqlnd_pam_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, argument 571 mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, argument
|
| /PHP_5_5/ext/standard/ |
| H A D | proc_open.c | 398 HANDLE copy, self = GetCurrentProcess(); local 400 if (!DuplicateHandle(self, src, self, ©, 0, inherit, DUPLICATE_SAME_ACCESS |
|