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.c1565 php_stream_filter *zf = NULL; local
1583 zf = php_stream_filter_create("zlib.inflate", &filter_params, 0 TSRMLS_CC);
1586 if (zf) {
1587 php_stream_filter_append(&SG(request_info).request_body->readfilters, zf);
1600 if (zf) {
1601 php_stream_filter_remove(zf, 1 TSRMLS_CC);
/PHP_TRUNK/ext/zip/
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;
206 struct zip_file *zf = NULL; local
228 zf
267 struct zip_file *zf = NULL; local
[all...]
H A Dphp_zip.h73 struct zip_file *zf; member in struct:_ze_zip_read_rsrc
H A Dphp_zip.c167 struct zip_file *zf; local
294 zf = zip_fopen(za, file, 0);
295 if (zf == NULL) {
303 while ((n=zip_fread(zf, b, sizeof(b))) > 0) {
308 n = zip_fclose(zf);
1198 if (zr_rsrc->zf) {
1199 zip_fclose(zr_rsrc->zf);
1200 zr_rsrc->zf = NULL;
1326 zr_rsrc->zf = zip_fopen_index(rsrc_int->za, rsrc_int->index_current, 0);
1327 if (zr_rsrc->zf) {
2725 struct zip_file *zf; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c322 zend_function *zf, **pzf; local
328 zend_hash_get_current_data_ex(EG(function_table), (void**)&zf, &position) == SUCCESS;
331 if (zf->type == ZEND_USER_FUNCTION) {
333 &functions, (void**) &zf, sizeof(zend_function), NULL);
/PHP_TRUNK/Zend/
H A Dzend_compile.h840 #define CHECK_ARG_SEND_TYPE(zf, arg_num, m) \
841 ((zf)->common.arg_info && \
842 (arg_num <= (zf)->common.num_args \
843 ? ((zf)->common.arg_info[arg_num-1].pass_by_reference & (m)) \
844 : ((zf)->common.fn_flags & ZEND_ACC_VARIADIC) \
845 ? ((zf)->common.arg_info[(zf)->common.num_args-1].pass_by_reference & (m)) : 0))
847 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \
848 CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_BY_REF)
850 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_nu
[all...]
H A Dzend_execute.c588 ZEND_API int zend_verify_arg_error(int error_type, const zend_function *zf, zend_uint arg_num, const char *need_msg, const char *need_kind, const char *given_msg, const char *given_kind TSRMLS_DC) argument
591 const char *fname = zf->common.function_name;
595 if (zf->common.scope) {
597 fclass = zf->common.scope->name;
611 static inline int zend_verify_arg_type(zend_function *zf, zend_uint arg_num, zval *arg, ulong fetch_type TSRMLS_DC) argument
617 if (!zf->common.arg_info) {
621 if (arg_num <= zf->common.num_args) {
622 cur_arg_info = &zf->common.arg_info[arg_num-1];
623 } else if (zf->common.fn_flags & ZEND_ACC_VARIADIC) {
624 cur_arg_info = &zf
[all...]
H A Dzend_execute.h72 ZEND_API int zend_verify_arg_error(int error_type, const zend_function *zf, zend_uint arg_num, const char *need_msg, const char *need_kind, const char *given_msg, const char *given_kind TSRMLS_DC);

Completed in 23 milliseconds