Home
last modified time | relevance | path

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

/PHP-5.5/ext/zip/lib/
H A Dzip_fclose.c43 zip_fclose(struct zip_file *zf) in zip_fclose() argument
47 if (zf->src) in zip_fclose()
48 zip_source_free(zf->src); in zip_fclose()
50 for (i=0; i<zf->za->nfile; i++) { in zip_fclose()
51 if (zf->za->file[i] == zf) { in zip_fclose()
52 zf->za->file[i] = zf->za->file[zf->za->nfile-1]; in zip_fclose()
53 zf->za->nfile--; in zip_fclose()
59 if (zf->error.zip_err) in zip_fclose()
60 ret = zf->error.zip_err; in zip_fclose()
62 free(zf); in zip_fclose()
H A Dzip_fread.c41 zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread) in zip_fread() argument
45 if (!zf) in zip_fread()
48 if (zf->error.zip_err != 0) in zip_fread()
52 _zip_error_set(&zf->error, ZIP_ER_INVAL, 0); in zip_fread()
56 if ((zf->eof) || (toread == 0)) in zip_fread()
59 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) { in zip_fread()
60 _zip_error_set_from_source(&zf->error, zf->src); in zip_fread()
H A Dzip_fopen_index_encrypted.c50 struct zip_file *zf; in zip_fopen_index_encrypted() local
150 zf = _zip_file_new(za); in zip_fopen_index_encrypted()
152 zf->src = src; in zip_fopen_index_encrypted()
154 return zf; in zip_fopen_index_encrypted()
162 struct zip_file *zf, **file; in _zip_file_new() local
176 free(zf); in _zip_file_new()
183 za->file[za->nfile++] = zf; in _zip_file_new()
185 zf->za = za; in _zip_file_new()
187 zf->eof = 0; in _zip_file_new()
188 zf->src = NULL; in _zip_file_new()
[all …]
H A Dzip_source_zip.c42 struct zip_file *zf; member
93 || (p->zf=zip_fopen_index(srcza, srcidx, flags)) == NULL) { in zip_source_zip()
134 if ((i=zip_fread(z->zf, b, i)) < 0) { in read_zip()
135 zip_fclose(z->zf); in read_zip()
136 z->zf = NULL; in read_zip()
149 if ((i=zip_fread(z->zf, buf, n)) < 0) in read_zip()
176 zip_file_error_get(z->zf, e, e+1); in read_zip()
181 zip_fclose(z->zf); in read_zip()
H A Dzip_file_error_clear.c41 zip_file_error_clear(struct zip_file *zf) in zip_file_error_clear() argument
43 _zip_error_clear(&zf->error); in zip_file_error_clear()
H A Dzip_file_strerror.c41 zip_file_strerror(struct zip_file *zf) in zip_file_strerror() argument
43 return _zip_error_strerror(&zf->error); in zip_file_strerror()
H A Dzip_file_error_get.c41 zip_file_error_get(struct zip_file *zf, int *zep, int *sep) in zip_file_error_get() argument
43 _zip_error_get(&zf->error, zep, sep); in zip_file_error_get()
/PHP-5.5/ext/zip/
H A Dzip_stream.c21 struct zip_file *zf; member
36 if (self->za && self->zf) { in php_zip_ops_read()
73 if (self->zf) { in php_zip_ops_close()
74 zip_fclose(self->zf); in php_zip_ops_close()
75 self->zf = NULL; in php_zip_ops_close()
190 struct zip_file *zf = NULL; in php_stream_zip_open() local
213 if (zf) { in php_stream_zip_open()
217 self->zf = zf; in php_stream_zip_open()
251 struct zip_file *zf = NULL; in php_stream_zip_opener() local
292 if (zf) { in php_stream_zip_opener()
[all …]
H A Dphp_zip.c141 struct zip_file *zf; in php_zip_extract_file() local
269 if (zf == NULL) { in php_zip_extract_file()
282 n = zip_fclose(zf); in php_zip_extract_file()
1169 if (zr_rsrc->zf) { in php_zip_free_entry()
1175 free(zr_rsrc->zf); in php_zip_free_entry()
1304 if (zr_rsrc->zf) { in PHP_NAMED_FUNCTION()
1382 if (zr_rsrc->zf) { in PHP_NAMED_FUNCTION()
1409 if (!zr_rsrc->zf) { in php_zip_entry_get_info()
2515 struct zip_file *zf; in php_zip_get_from() local
2557 if (zf == NULL) { in php_zip_get_from()
[all …]
H A Dphp_zip.h65 struct zip_file *zf; member
/PHP-5.5/Zend/
H A Dzend_compile.h822 #define CHECK_ARG_SEND_TYPE(zf, arg_num, m1, m2) \ argument
823 ((zf) && \
824 ((((zend_function*)(zf))->common.arg_info && \
825 arg_num <= ((zend_function*)(zf))->common.num_args) ? \
826 (((zend_function *)(zf))->common.arg_info[arg_num-1].pass_by_reference & (m1)) : \
827 (((zend_function *)(zf))->common.fn_flags & (m2))))
829 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \ argument
830 CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_BY_REF, ZEND_ACC_PASS_REST_BY_REFERENCE)
832 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \ argument
835 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_num) \ argument
[all …]
H A Dzend_execute.c581 const char *fname = zf->common.function_name; in zend_verify_arg_error()
585 if (zf->common.scope) { in zend_verify_arg_error()
587 fclass = zf->common.scope->name; in zend_verify_arg_error()
601 static inline int zend_verify_arg_type(zend_function *zf, zend_uint arg_num, zval *arg, ulong fetch… in zend_verify_arg_type() argument
607 if (!zf->common.arg_info in zend_verify_arg_type()
608 || arg_num>zf->common.num_args) { in zend_verify_arg_type()
612 cur_arg_info = &zf->common.arg_info[arg_num-1]; in zend_verify_arg_type()
619 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "none", "" TS… in zend_verify_arg_type()
634 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be of the type array", "", "none",… in zend_verify_arg_type()
644 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be callable", "", "none", "" TSRML… in zend_verify_arg_type()
[all …]
H A Dzend_execute.h72 ZEND_API int zend_verify_arg_error(int error_type, const zend_function *zf, zend_uint arg_num, cons…
/PHP-5.5/ext/mbstring/oniguruma/
H A DHISTORY1878 2002/12/23: [bug] prec-read in alternative (/a|(?=z).f/.match("zf") => nil)

Completed in 38 milliseconds