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/soap/
H A Dsoap.c1560 php_stream_filter *zf = NULL; local
1578 zf = php_stream_filter_create("zlib.inflate", &filter_params, 0 TSRMLS_CC);
1581 if (zf) {
1582 php_stream_filter_append(&SG(request_info).request_body->readfilters, zf);
1598 if (zf) {
1599 php_stream_filter_remove(zf, 1 TSRMLS_CC);
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h69 struct zip_file *zf; member in struct:_ze_zip_read_rsrc
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...]
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) {
2576 struct zip_file *zf; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c338 zend_function *zf, **pzf; local
344 zend_hash_get_current_data_ex(EG(function_table), (void**)&zf, &position) == SUCCESS;
347 if (zf->type == ZEND_USER_FUNCTION) {
349 &functions, (void**) &zf, sizeof(zend_function), NULL);
/PHP_TRUNK/Zend/
H A Dzend_compile.h659 #define CHECK_ARG_SEND_TYPE(zf, arg_num, m) \
660 (EXPECTED((zf)->common.arg_info != NULL) && \
661 (EXPECTED(arg_num <= (zf)->common.num_args) \
662 ? ((zf)->common.arg_info[arg_num-1].pass_by_reference & (m)) \
663 : (UNEXPECTED((zf)->common.fn_flags & ZEND_ACC_VARIADIC) != 0) && \
664 ((zf)->common.arg_info[(zf)->common.num_args-1].pass_by_reference & (m))))
666 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \
667 CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_BY_REF)
669 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_nu
[all...]
H A Dzend_execute.c545 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
548 const char *fname = zf->common.function_name->val;
553 if (zf->common.scope) {
555 fclass = zf->common.scope->name->val;
561 if (arg && zf->common.type == ZEND_USER_FUNCTION) {
566 if (zf->common.type == ZEND_USER_FUNCTION && ptr && ptr->func && ZEND_USER_CODE(ptr->func->common.type)) {
572 if (arg && zf->common.type == ZEND_USER_FUNCTION) {
577 static void zend_verify_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zend_ulong fetch_type TSRMLS_DC) argument
583 if (UNEXPECTED(!zf->common.arg_info)) {
587 if (EXPECTED(arg_num <= zf
626 zend_verify_missing_arg_type(zend_function *zf, uint32_t arg_num, zend_ulong fetch_type 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);

Completed in 34 milliseconds