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

/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c8119 ** of SQLite to unexpected behavior - to make the code "self-healing"
19117 ** is atomic - that it cannot be deceived into thinking self
19119 ** that are not equal to self while the comparison is taking place.
19126 pthread_t self = pthread_self(); local
19127 if( p->nRef>0 && pthread_equal(p->owner, self) ){
19132 p->owner = self;
19160 ** is atomic - that it cannot be deceived into thinking self
19162 ** that are not equal to self while the comparison is taking place.
19169 pthread_t self = pthread_self(); local
19170 if( p->nRef>0 && pthread_equal(p->owner, self) ){
[all...]
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c444 HANDLE copy, self = GetCurrentProcess(); local
445 if (!DuplicateHandle(self, fh, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {
/PHP_TRUNK/ext/bz2/
H A Dbz2.c140 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract; local
148 just_read = BZ2_bzread(self->bz_file, buf, to_read);
164 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract; local
172 just_wrote = BZ2_bzwrite(self->bz_file, (char*)buf, to_write);
187 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract; local
191 BZ2_bzclose(self->bz_file);
194 if (self->stream) {
195 php_stream_free(self->stream, PHP_STREAM_FREE_CLOSE | (close_handle == 0 ? PHP_STREAM_FREE_PRESERVE_HANDLE : 0));
198 efree(self);
205 struct php_bz2_stream_data_t *self local
224 struct php_bz2_stream_data_t *self; local
625 struct php_bz2_stream_data_t *self; local
[all...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c2535 static void php_iconv_stream_filter_dtor(php_iconv_stream_filter *self) argument
2537 iconv_close(self->cd);
2538 pefree(self->to_charset, self->persistent);
2539 pefree(self->from_charset, self->persistent);
2544 static php_iconv_err_t php_iconv_stream_filter_ctor(php_iconv_stream_filter *self, argument
2548 if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) {
2551 self->to_charset_len = to_charset_len;
2552 if (NULL == (self
2575 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) argument
2791 php_iconv_stream_filter *self = (php_iconv_stream_filter *)Z_PTR(filter->abstract); local
[all...]
/PHP_TRUNK/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
568 mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, argument
/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c613 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
618 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob,
619 &amt, self->offset, (char*)buf, count,
627 self->offset += amt;
633 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
638 r = OCILobRead(self->S->H->svc, self->S->err, self
655 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
669 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
676 struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; local
701 struct oci_lob_self *self = ecalloc(1, sizeof(*self)); local
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c127 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local
128 return lo_write(self->conn, self->lfd, (char*)buf, count);
133 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local
134 return lo_read(self->conn, self->lfd, buf, count);
139 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local
142 lo_close(self->conn, self->lfd);
144 zval_ptr_dtor(&self
157 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stream->abstract; local
178 struct pdo_pgsql_lob_self *self = ecalloc(1, sizeof(*self)); local
[all...]
H A Dpgsql_statement.c321 struct pdo_pgsql_lob_self *self = (struct pdo_pgsql_lob_self*)stm->abstract; local
328 P->oid = htonl(self->oid);
/PHP_TRUNK/ext/standard/
H A Dproc_open.c385 HANDLE copy, self = GetCurrentProcess(); local
387 if (!DuplicateHandle(self, src, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS |
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c700 zval *self = getThis(); local
702 if (self) {
706 XMLWRITER_FROM_OBJECT(intern, self);
737 zval *self = getThis(); local
739 if (self) {
740 XMLWRITER_FROM_OBJECT(intern, self);
774 zval *self = getThis(); local
776 if (self) {
780 XMLWRITER_FROM_OBJECT(intern, self);
838 zval *self local
880 zval *self = getThis(); local
923 zval *self = getThis(); local
973 zval *self = getThis(); local
1031 zval *self = getThis(); local
1083 zval *self = getThis(); local
1152 zval *self = getThis(); local
1191 zval *self = getThis(); local
1256 zval *self = getThis(); local
1309 zval *self = getThis(); local
1354 zval *self = getThis(); local
1400 zval *self = getThis(); local
1455 zval *self = getThis(); local
1512 zval *self = getThis(); local
1553 zval *self = getThis(); local
1604 zval *self = getThis(); local
1648 zval *self = getThis(); local
1699 zval *self = getThis(); local
1744 zval *self = getThis(); local
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c1384 zval *self = getThis(); local
1391 if (self) {
1393 ze_obj = Z_ZIP_P(self);
1440 zval *self = getThis(); local
1444 if (!self) {
1448 ZIP_FROM_OBJECT(intern, self);
1472 zval *self = getThis(); local
1475 if (!self) {
1479 ZIP_FROM_OBJECT(intern, self);
1481 ze_obj = Z_ZIP_P(self);
1501 zval *self = getThis(); local
1523 zval *self = getThis(); local
1574 zval *self = getThis(); local
1699 zval *self = getThis(); local
1739 zval *self = getThis(); local
1801 zval *self = getThis(); local
1827 zval *self = getThis(); local
1855 zval *self = getThis(); local
1889 zval *self = getThis(); local
1919 zval *self = getThis(); local
1945 zval *self = getThis(); local
1973 zval *self = getThis(); local
2006 zval *self = getThis(); local
2036 zval *self = getThis(); local
2074 zval *self = getThis(); local
2103 zval *self = getThis(), *z_opsys, *z_attr; local
2147 zval *self = getThis(), *z_opsys, *z_attr; local
2183 zval *self = getThis(); local
2221 zval *self = getThis(); local
2249 zval *self = getThis(); local
2279 zval *self = getThis(); local
2310 zval *self = getThis(); local
2346 zval *self = getThis(); local
2380 zval *self = getThis(); local
2410 zval *self = getThis(); local
2444 zval *self = getThis(); local
2465 zval *self = getThis(); local
2492 zval *self = getThis(); local
2576 zval *self = getThis(); local
2660 zval *self = getThis(); local
[all...]
H A Dzip_stream.c43 struct php_zip_stream_data_t *self = (struct php_zip_stream_data_t *) stream->abstract;
52 if (self->za && self->zf) {
53 n = zip_fread(self->zf, buf, count);
56 zip_file_error_get(self->zf, &ze, &se);
58 php_error_docref(NULL, E_WARNING, "Zip stream error: %s", zip_file_strerror(self->zf));
66 self->cursor += n;
89 if (self->zf) {
90 zip_fclose(self->zf);
91 self
209 struct php_zip_stream_data_t *self; local
271 struct php_zip_stream_data_t *self; local
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c37 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local
41 read = gzread(self->gz_file, buf, count);
43 if (gzeof(self->gz_file)) {
52 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local
56 wrote = gzwrite(self->gz_file, (char *) buf, count);
63 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local
65 assert(self != NULL);
71 *newoffs = gzseek(self->gz_file, offset, whence);
78 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local
82 if (self
98 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract; local
116 struct php_gz_stream_data_t *self; local
[all...]
/PHP_TRUNK/main/
H A Drfc1867.c245 static int fill_buffer(multipart_buffer *self) argument
250 if (self->bytes_in_buffer > 0 && self->buf_begin != self->buffer) {
251 memmove(self->buffer, self->buf_begin, self->bytes_in_buffer);
254 self->buf_begin = self->buffer;
257 bytes_to_read = self
281 multipart_buffer_eof(multipart_buffer *self) argument
293 multipart_buffer *self = (multipart_buffer *) ecalloc(1, sizeof(multipart_buffer)); local
331 next_line(multipart_buffer *self) argument
366 get_line(multipart_buffer *self) argument
390 find_boundary(multipart_buffer *self, char *boundary) argument
408 multipart_buffer_headers(multipart_buffer *self, zend_llist *header) argument
614 multipart_buffer_read(multipart_buffer *self, char *buf, size_t bytes, int *end) argument
660 multipart_buffer_read_body(multipart_buffer *self, size_t *len) argument
[all...]
/PHP_TRUNK/main/streams/
H A Dmemory.c295 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;
305 stream = php_stream_alloc_rel(&php_stream_memory_ops, self, 0, mode & TEMP_STREAM_READONLY ? "rb" : "w+b");
560 php_stream_temp_data *self; local
[all...]
H A Dplain_wrapper.c163 php_stdio_stream_data *self; local
165 self = pemalloc_rel_orig(sizeof(*self), persistent_id);
166 memset(self, 0, sizeof(*self));
167 self->file = NULL;
168 self->is_pipe = 0;
169 self->lock_flag = LOCK_UN;
170 self->is_process_pipe = 0;
171 self
179 php_stdio_stream_data *self; local
208 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local
236 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local
275 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local
304 php_stdio_stream_data *self; local
357 php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; local
999 php_stdio_stream_data *self = (php_stdio_stream_data*)ret->abstract; local
[all...]

Completed in 150 milliseconds