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

/PHP_TRUNK/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...]
/PHP_TRUNK/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_TRUNK/ext/bz2/
H A Dbz2.c140 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract; local
143 ret = BZ2_bzread(self->bz_file, buf, count);
154 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract; local
156 return BZ2_bzwrite(self->bz_file, (char*)buf, count);
161 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract; local
165 BZ2_bzclose(self->bz_file);
168 if (self->stream) {
169 php_stream_free(self->stream, PHP_STREAM_FREE_CLOSE | (close_handle == 0 ? PHP_STREAM_FREE_PRESERVE_HANDLE : 0));
172 efree(self);
179 struct php_bz2_stream_data_t *self local
198 struct php_bz2_stream_data_t *self; local
599 struct php_bz2_stream_data_t *self; 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.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_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 TSRMLS_CC, 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 TSRMLS_DC)
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
293 multipart_buffer *self = (multipart_buffer *) ecalloc(1, sizeof(multipart_buffer)); local
331 next_line(multipart_buffer *self) argument
390 find_boundary(multipart_buffer *self, char *boundary TSRMLS_DC) argument
408 multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC) argument
614 multipart_buffer_read(multipart_buffer *self, char *buf, size_t bytes, int *end TSRMLS_DC) argument
660 multipart_buffer_read_body(multipart_buffer *self, size_t *len TSRMLS_DC) argument
[all...]
/PHP_TRUNK/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");
556 php_stream_temp_data *self; local
[all...]
H A Dplain_wrapper.c162 php_stdio_stream_data *self; local
164 self = pemalloc_rel_orig(sizeof(*self), persistent_id);
165 memset(self, 0, sizeof(*self));
166 self->file = NULL;
167 self->is_pipe = 0;
168 self->lock_flag = LOCK_UN;
169 self->is_process_pipe = 0;
170 self
178 php_stdio_stream_data *self; local
207 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_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c434 self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes); local
435 zend_op *opline = &EG(active_op_array)->opcodes[self];
437 for (next = self; next < EG(active_op_array)->last; next++) {
462 self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes); local
464 for (next = self; next < EG(active_op_array)->last; next++) {
495 self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes); local
497 for (next = self; next < EG(active_op_array)->last; next++) {
/PHP_TRUNK/ext/iconv/
H A Diconv.c2529 static void php_iconv_stream_filter_dtor(php_iconv_stream_filter *self) argument
2531 iconv_close(self->cd);
2532 pefree(self->to_charset, self->persistent);
2533 pefree(self->from_charset, self->persistent);
2538 static php_iconv_err_t php_iconv_stream_filter_ctor(php_iconv_stream_filter *self, argument
2542 if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) {
2545 self->to_charset_len = to_charset_len;
2546 if (NULL == (self
2569 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
2785 php_iconv_stream_filter *self = (php_iconv_stream_filter *)Z_PTR(filter->abstract); local
[all...]

Completed in 133 milliseconds