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

/PHP_TRUNK/ext/zip/lib/
H A Dzip_fclose.c43 zip_fclose(struct zip_file *zf) argument
48 if (zf->src)
49 zip_source_free(zf->src);
51 if (zf->za) {
52 for (i=0; i<zf->za->nfile; i++) {
53 if (zf->za->file[i] == zf) {
54 zf->za->file[i] = zf->za->file[zf
[all...]
H A Dzip_file_error_clear.c41 zip_file_error_clear(struct zip_file *zf) argument
43 if (zf == NULL)
46 _zip_error_clear(&zf->error);
H A Dzip_file_error_get.c41 zip_file_error_get(struct zip_file *zf, int *zep, int *sep) argument
43 _zip_error_get(&zf->error, zep, sep);
H A Dzip_file_strerror.c41 zip_file_strerror(struct zip_file *zf) argument
43 return _zip_error_strerror(&zf->error);
H A Dzip_fread.c41 zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread) argument
45 if (!zf)
48 if (zf->error.zip_err != 0)
52 _zip_error_set(&zf->error, ZIP_ER_INVAL, 0);
56 if ((zf->eof) || (toread == 0))
59 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) {
60 _zip_error_set_from_source(&zf->error, zf->src);
H A Dzip_fopen_index_encrypted.c50 struct zip_file *zf; local
62 if ((zf=_zip_file_new(za)) == NULL) {
67 zf->src = src;
69 return zf;
77 struct zip_file *zf, **file; local
79 if ((zf=(struct zip_file *)malloc(sizeof(struct zip_file))) == NULL) {
91 free(zf);
98 za->file[za->nfile++] = zf;
100 zf->za = za;
101 _zip_error_init(&zf
[all...]
/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, 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
266 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);
1054 if (zr_rsrc->zf) {
1055 zip_fclose(zr_rsrc->zf);
1056 zr_rsrc->zf = NULL;
1187 zr_rsrc->zf = zip_fopen_index(rsrc_int->za, rsrc_int->index_current, 0);
1188 if (zr_rsrc->zf) {
2594 struct zip_file *zf; local
[all...]
H A Dphp_zip.h69 struct zip_file *zf; member in struct:_ze_zip_read_rsrc
/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;
/PHP_TRUNK/Zend/
H A Dzend_execute.c589 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
592 const char *fname = zf->common.function_name->val;
597 if (zf->common.scope) {
599 fclass = zf->common.scope->name->val;
605 if (zf->common.type == ZEND_USER_FUNCTION) {
705 static void zend_verify_internal_arg_type(zend_function *zf, uint32_t arg_num, zval *arg) argument
711 if (EXPECTED(arg_num <= zf->internal_function.num_args)) {
712 cur_arg_info = &zf->internal_function.arg_info[arg_num-1];
713 } else if (zf->internal_function.fn_flags & ZEND_ACC_VARIADIC) {
714 cur_arg_info = &zf
746 zend_verify_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zval *default_value) argument
787 zend_verify_missing_arg_type(zend_function *zf, uint32_t arg_num) argument
835 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
859 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
878 zend_verify_internal_return_type(zend_function *zf, zval *ret) argument
917 zend_verify_return_type(zend_function *zf, zval *ret) argument
949 zend_verify_missing_return_type(zend_function *zf) argument
[all...]
H A Dzend_execute.h54 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);
55 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);
56 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.h898 static zend_always_inline int zend_check_arg_send_type(const zend_function *zf, uint32_t arg_num, uint32_t mask) argument
901 if (UNEXPECTED(arg_num >= zf->common.num_args)) {
902 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) {
905 arg_num = zf->common.num_args;
907 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0);
910 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \
911 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF)
913 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \
914 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF)
916 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_nu
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c1596 php_stream_filter *zf = NULL; local
1614 zf = php_stream_filter_create("zlib.inflate", &filter_params, 0);
1617 if (zf) {
1618 php_stream_filter_append(&SG(request_info).request_body->readfilters, zf);
1634 if (zf) {
1635 php_stream_filter_remove(zf, 1);

Completed in 36 milliseconds