Searched refs:zf (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/ext/zip/lib/
H A Dzip_file_error_clear.c43 zip_file_error_clear(struct zip_file *zf)
45 if (zf == NULL)
48 _zip_error_clear(&zf->error);
41 zip_file_error_clear(struct zip_file *zf) argument
H A Dzip_file_error_get.c43 zip_file_error_get(struct zip_file *zf, int *zep, int *sep)
45 _zip_error_get(&zf->error, zep, sep);
41 zip_file_error_get(struct zip_file *zf, int *zep, int *sep) argument
H A Dzip_file_strerror.c43 zip_file_strerror(struct zip_file *zf)
45 return _zip_error_strerror(&zf->error);
41 zip_file_strerror(struct zip_file *zf) argument
H A Dzip_fread.c43 zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread)
47 if (!zf)
50 if (zf->error.zip_err != 0)
54 _zip_error_set(&zf->error, ZIP_ER_INVAL, 0);
58 if ((zf->eof) || (toread == 0))
61 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) {
62 _zip_error_set_from_source(&zf->error, zf->src);
41 zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread) argument
H A Dzip_fclose.c45 zip_fclose(struct zip_file *zf)
50 if (zf->src)
51 zip_source_free(zf->src);
53 if (zf->za) {
54 for (i=0; i<zf->za->nfile; i++) {
55 if (zf->za->file[i] == zf) {
56 zf->za->file[i] = zf->za->file[zf
43 zip_fclose(struct zip_file *zf) argument
[all...]
H A Dzip_fopen_index_encrypted.c52 struct zip_file *zf;
64 if ((zf=_zip_file_new(za)) == NULL) {
69 zf->src = src;
71 return zf;
80 struct zip_file *zf, **file;
82 if ((zf=(struct zip_file *)malloc(sizeof(struct zip_file))) == NULL) {
94 free(zf);
101 za->file[za->nfile++] = zf;
103 zf->za = za;
104 _zip_error_init(&zf
50 struct zip_file *zf; local
77 struct zip_file *zf, **file; local
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h69 struct zip_file *zf; member in struct:_ze_zip_read_rsrc
H A Dphp_zip.c139 struct zip_file *zf; local
249 zf = zip_fopen(za, file, 0);
250 if (zf == NULL) {
258 while ((n=zip_fread(zf, b, sizeof(b))) > 0) {
263 n = zip_fclose(zf);
1055 if (zr_rsrc->zf) {
1056 zip_fclose(zr_rsrc->zf);
1057 zr_rsrc->zf = NULL;
1183 zr_rsrc->zf = zip_fopen_index(rsrc_int->za, rsrc_int->index_current, 0);
1184 if (zr_rsrc->zf) {
2579 struct zip_file *zf; local
[all...]
H A Dzip_stream.c37 struct zip_file *zf; member in struct:php_zip_stream_data_t
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));
89 if (self->zf) {
90 zip_fclose(self->zf);
91 self->zf = NULL;
205 struct zip_file *zf = NULL; local
227 zf
265 struct zip_file *zf = NULL; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c1561 php_stream_filter *zf = NULL; local
1579 zf = php_stream_filter_create("zlib.inflate", &filter_params, 0 TSRMLS_CC);
1582 if (zf) {
1583 php_stream_filter_append(&SG(request_info).request_body->readfilters, zf);
1599 if (zf) {
1600 php_stream_filter_remove(zf, 1 TSRMLS_CC);
/PHP_TRUNK/Zend/
H A Dzend_execute.c561 ZEND_API void zend_verify_arg_error(int error_type, const zend_function *zf, uint32_t arg_num, const char *need_msg, const char *need_kind, const char *given_msg, const char *given_kind, zval *arg TSRMLS_DC) argument
564 const char *fname = zf->common.function_name->val;
569 if (zf->common.scope) {
571 fclass = zf->common.scope->name->val;
577 if (zf->common.type == ZEND_USER_FUNCTION) {
612 static void zend_verify_internal_arg_type(zend_function *zf, uint32_t arg_num, zval *arg TSRMLS_DC) argument
618 if (UNEXPECTED(!zf->internal_function.arg_info)) {
622 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
623 cur_arg_info = &zf->internal_function.arg_info[arg_num-1];
624 } else if (zf
661 zend_verify_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zval *default_value TSRMLS_DC) argument
710 zend_verify_missing_arg_type(zend_function *zf, uint32_t arg_num TSRMLS_DC) argument
[all...]
H A Dzend_execute.h52 ZEND_API void zend_verify_arg_error(int error_type, const zend_function *zf, uint32_t arg_num, const char *need_msg, const char *need_kind, const char *given_msg, const char *given_kind, zval *arg TSRMLS_DC);
H A Dzend_compile.h833 static zend_always_inline int zend_check_arg_send_type(const zend_function *zf, uint32_t arg_num, uint32_t mask) argument
835 if (UNEXPECTED(zf->common.arg_info == NULL)) {
838 if (UNEXPECTED(arg_num > zf->common.num_args)) {
839 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) {
842 arg_num = zf->common.num_args;
844 return UNEXPECTED((zf->common.arg_info[arg_num-1].pass_by_reference & mask) != 0);
847 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \
848 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF)
850 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \
851 zend_check_arg_send_type(zf, arg_nu
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c413 zend_function *zf; local
419 ZEND_HASH_FOREACH_PTR(EG(function_table), zf) {
420 if (zf->type == ZEND_USER_FUNCTION) {
421 zend_hash_next_index_insert_ptr(&functions, zf);
430 ZEND_HASH_FOREACH_PTR(&functions, zf) {
431 zend_op_array *op_array = &zf->op_array;

Completed in 44 milliseconds