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

/PHP_TRUNK/ext/zip/lib/
H A Dzip_fclose.c41 zip_fclose(zip_file_t *zf) argument
45 if (zf->src)
46 zip_source_free(zf->src);
49 if (zf->error.zip_err)
50 ret = zf->error.zip_err;
52 zip_error_fini(&zf->error);
53 free(zf);
H A Dzip_file_error_clear.c39 zip_file_error_clear(zip_file_t *zf) argument
41 if (zf == NULL)
44 _zip_error_clear(&zf->error);
H A Dzip_file_error_get.c39 zip_file_error_get(zip_file_t *zf, int *zep, int *sep) argument
41 _zip_error_get(&zf->error, zep, sep);
H A Dzip_file_strerror.c39 zip_file_strerror(zip_file_t *zf) argument
41 return zip_error_strerror(&zf->error);
H A Dzip_fopen_index_encrypted.c48 zip_file_t *zf; local
60 if ((zf=_zip_file_new(za)) == NULL) {
65 zf->src = src;
67 return zf;
74 zip_file_t *zf; local
76 if ((zf=(zip_file_t *)malloc(sizeof(struct zip_file))) == NULL) {
81 zf->za = za;
82 zip_error_init(&zf->error);
83 zf->eof = 0;
84 zf
[all...]
H A Dzip_fread.c39 zip_fread(zip_file_t *zf, void *outbuf, zip_uint64_t toread) argument
43 if (!zf)
46 if (zf->error.zip_err != 0)
50 zip_error_set(&zf->error, ZIP_ER_INVAL, 0);
54 if ((zf->eof) || (toread == 0))
57 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) {
58 _zip_error_set_from_source(&zf->error, zf->src);
/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);
57 zip_file_error_get(self->zf, &ze, &se);
59 php_error_docref(NULL, E_WARNING, "Zip stream error: %s", zip_file_strerror(self->zf));
62 err = zip_file_get_error(self->zf);
97 if (self->zf) {
98 zip_fclose(self->zf);
99 self->zf = NULL;
214 struct zip_file *zf local
274 struct zip_file *zf = NULL; local
[all...]
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);
1063 if (zr_rsrc->zf) {
1064 zip_fclose(zr_rsrc->zf);
1065 zr_rsrc->zf = NULL;
1196 zr_rsrc->zf = zip_fopen_index(rsrc_int->za, rsrc_int->index_current, 0);
1197 if (zr_rsrc->zf) {
2680 struct zip_file *zf; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c1595 php_stream_filter *zf = NULL; local
1613 zf = php_stream_filter_create("zlib.inflate", &filter_params, 0);
1616 if (zf) {
1617 php_stream_filter_append(&SG(request_info).request_body->readfilters, zf);
1633 if (zf) {
1634 php_stream_filter_remove(zf, 1);
/PHP_TRUNK/Zend/
H A Dzend_execute.h53 ZEND_API void zend_verify_arg_error(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);
54 ZEND_API void zend_verify_return_error(const zend_function *zf, const char *need_msg, const char *need_kind, const char *returned_msg, const char *returned_kind);
55 ZEND_API void zend_verify_internal_return_error(const zend_function *zf, const char *need_msg, const char *need_kind, const char *returned_msg, const char *returned_kind);
H A Dzend_compile.h891 static zend_always_inline int zend_check_arg_send_type(const zend_function *zf, uint32_t arg_num, uint32_t mask) argument
894 if (UNEXPECTED(arg_num >= zf->common.num_args)) {
895 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) {
898 arg_num = zf->common.num_args;
900 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0);
903 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \
904 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF)
906 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \
907 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF)
909 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_nu
[all...]
H A Dzend_execute.c592 ZEND_API void zend_verify_arg_error(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) argument
595 const char *fname = ZSTR_VAL(zf->common.function_name);
599 if (zf->common.scope) {
601 fclass = ZSTR_VAL(zf->common.scope->name);
607 if (zf->common.type == ZEND_USER_FUNCTION) {
698 static void zend_verify_internal_arg_type(zend_function *zf, uint32_t arg_num, zval *arg) argument
704 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
705 cur_arg_info = &zf->internal_function.arg_info[arg_num-1];
706 } else if (zf->internal_function.fn_flags & ZEND_ACC_VARIADIC) {
707 cur_arg_info = &zf
739 zend_verify_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zval *default_value, void **cache_slot) argument
813 zend_verify_missing_arg_type(zend_function *zf, uint32_t arg_num, void **cache_slot) argument
872 zend_verify_return_error(const zend_function *zf, const char *need_msg, const char *need_kind, const char *returned_msg, const char *returned_kind) argument
896 zend_verify_internal_return_error(const zend_function *zf, const char *need_msg, const char *need_kind, const char *returned_msg, const char *returned_kind) argument
915 zend_verify_internal_return_type(zend_function *zf, zval *ret) argument
954 zend_verify_return_type(zend_function *zf, zval *ret, void **cache_slot) argument
1010 zend_verify_missing_return_type(zend_function *zf, void **cache_slot) argument
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c423 zend_function *zf; local
429 ZEND_HASH_FOREACH_PTR(EG(function_table), zf) {
430 if (zf->type == ZEND_USER_FUNCTION) {
431 zend_hash_next_index_insert_ptr(&functions, zf);
440 ZEND_HASH_FOREACH_PTR(&functions, zf) {
441 zend_op_array *op_array = &zf->op_array;

Completed in 66 milliseconds