| /PHP_5_3/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_3/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_3/TSRM/ |
| H A D | tsrm_win32.c | 445 HANDLE copy, self = GetCurrentProcess(); local 446 if (!DuplicateHandle(self, fh, self, ©, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {
|
| /PHP_5_3/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 600 struct php_bz2_stream_data_t *self; local [all...] |
| /PHP_5_3/ext/iconv/ |
| H A D | iconv.c | 2471 static void php_iconv_stream_filter_dtor(php_iconv_stream_filter *self) argument 2473 iconv_close(self->cd); 2474 pefree(self->to_charset, self->persistent); 2475 pefree(self->from_charset, self->persistent); 2480 static php_iconv_err_t php_iconv_stream_filter_ctor(php_iconv_stream_filter *self, argument 2484 if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) { 2487 self->to_charset_len = to_charset_len; 2488 if (NULL == (self 2511 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 2727 php_iconv_stream_filter *self = (php_iconv_stream_filter *)filter->abstract; local [all...] |
| /PHP_5_3/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 667 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local 674 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local 699 struct oci_lob_self *self = ecalloc(1, sizeof(*self)); local [all...] |
| /PHP_5_3/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_3/ext/standard/ |
| H A D | proc_open.c | 460 HANDLE copy, self = GetCurrentProcess(); local 462 if (!DuplicateHandle(self, src, self, ©, 0, inherit, DUPLICATE_SAME_ACCESS |
|
| /PHP_5_3/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_3/main/ |
| H A D | rfc1867.c | 308 static int fill_buffer(multipart_buffer *self TSRMLS_DC) 313 if (self->bytes_in_buffer > 0 && self->buf_begin != self->buffer) { 314 memmove(self->buffer, self->buf_begin, self->bytes_in_buffer); 317 self->buf_begin = self->buffer; 320 bytes_to_read = self 356 multipart_buffer *self = (multipart_buffer *) ecalloc(1, sizeof(multipart_buffer)); local 385 next_line(multipart_buffer *self) argument 444 find_boundary(multipart_buffer *self, char *boundary TSRMLS_DC) argument 462 multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC) argument 692 multipart_buffer_read(multipart_buffer *self, char *buf, int bytes, int *end TSRMLS_DC) argument 738 multipart_buffer_read_body(multipart_buffer *self, unsigned int *len TSRMLS_DC) argument [all...] |
| /PHP_5_3/main/streams/ |
| H A D | memory.c | 295 php_stream_memory_data *self; local 298 self = emalloc(sizeof(*self)); 299 self->data = NULL; 300 self->fpos = 0; 301 self->fsize = 0; 302 self->smax = ~0u; 303 self->mode = mode; 304 self->owner_ptr = NULL; 306 stream = php_stream_alloc_rel(&php_stream_memory_ops, self, 556 php_stream_temp_data *self; local [all...] |
| H A D | plain_wrapper.c | 149 php_stdio_stream_data *self; local 151 self = pemalloc_rel_orig(sizeof(*self), persistent_id); 152 memset(self, 0, sizeof(*self)); 153 self->file = NULL; 154 self->is_pipe = 0; 155 self->lock_flag = LOCK_UN; 156 self->is_process_pipe = 0; 157 self 165 php_stdio_stream_data *self; local 205 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local 228 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local 267 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local 296 php_stdio_stream_data *self; local 966 php_stdio_stream_data *self = (php_stdio_stream_data*)ret->abstract; local [all...] |