Searched defs:self (Results 1 - 14 of 14) sorted by relevance

/PHP_5_5/ext/zip/
H A Dzip_stream.c27 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/ext/pdo_oci/
H A Doci_statement.c616 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
621 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob,
622 &amt, self->offset, (char*)buf, count,
630 self->offset += amt;
636 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
641 r = OCILobRead(self->S->H->svc, self->S->err, self
658 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
672 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
679 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
704 struct oci_lob_self *self = ecalloc(1, sizeof(*self)); local
[all...]
/PHP_5_5/ext/pdo_pgsql/
H A Dpgsql_statement.c308 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stm->abstract; local
315 P->oid = htonl(self->oid);
H A Dpgsql_driver.c122 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...]
/PHP_5_5/ext/zlib/
H A Dzlib_fopen_wrapper.c35 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 Drfc1867.c235 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 Dmemory.c291 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 Dplain_wrapper.c156 php_stdio_stream_data *self; local
158 self = pemalloc_rel_orig(sizeof(*self), persistent_id);
159 memset(self, 0, sizeof(*self));
160 self->file = NULL;
161 self->is_pipe = 0;
162 self->lock_flag = LOCK_UN;
163 self->is_process_pipe = 0;
164 self
172 php_stdio_stream_data *self; local
212 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local
235 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local
274 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local
303 php_stdio_stream_data *self; local
966 php_stdio_stream_data *self = (php_stdio_stream_data*)ret->abstract; local
[all...]
/PHP_5_5/TSRM/
H A Dtsrm_win32.c443 HANDLE copy, self = GetCurrentProcess(); local
444 if (!DuplicateHandle(self, fh, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {
/PHP_5_5/ext/bz2/
H A Dbz2.c139 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 Diconv.c2484 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/mysqlnd/
H A Dmysqlnd_auth.c358 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 Dproc_open.c419 HANDLE copy, self = GetCurrentProcess(); local
421 if (!DuplicateHandle(self, src, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS |
/PHP_5_5/ext/sqlite3/libsqlite/
H A Dsqlite3.c7950 ** of SQLite to unexpected behavior - to make the code "self-healing"
18758 ** is atomic - that it cannot be deceived into thinking self
18760 ** that are not equal to self while the comparison is taking place.
18767 pthread_t self = pthread_self(); local
18768 if( p->nRef>0 && pthread_equal(p->owner, self) ){
18773 p->owner = self;
18801 ** is atomic - that it cannot be deceived into thinking self
18803 ** that are not equal to self while the comparison is taking place.
18810 pthread_t self = pthread_self(); local
18811 if( p->nRef>0 && pthread_equal(p->owner, self) ){
[all...]

Completed in 147 milliseconds