Function report |
Source Code:lib\decompress_bunzip2.c |
Create Date:2022-07-28 06:16:49 |
Last Modify:2020-03-15 22:49:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Undo burrows-wheeler transform on intermediate buffer to produce output.If start_bunzip was initialized with out_fd =-1, then up to len bytes ofdata are written to outbuf. Return value is number of bytes written orerror (all errors are negative numbers)
Proto:static int __attribute__((__section__(".init.text"))) __attribute__((__cold__))read_bunzip(struct bunzip_data *bd, char *outbuf, int len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bunzip_data * | bd | |
char * | outbuf | |
int | len |
529 | If State for interrupting output loop < 0 Then Return State for interrupting output loop |
532 | gotcount = 0 |
541 | If State for interrupting output loop Then |
545 | cycle |
552 | Return len |
561 | If State for interrupting output loop Then |
563 | Continue |
565 | decode_next_byte : |
566 | If Not State for interrupting output loop -- Then Break |
573 | pos >>= 8 |
578 | If --State for interrupting output loop Then |
579 | If xcurrent != previous Then State for interrupting output loop = 4 |
581 | Else |
589 | If Not State for interrupting output loop Then Go to decode_next_byte |
597 | The CRC values stored in the block header and calculated from thedata = ~The CRC values stored in the block header and calculated from thedata |
611 | If previous Then |
613 | Return If previous != RETVAL_LAST_BLOCK Then previous Else gotcount |
615 | The CRC values stored in the block header and calculated from thedata = 0xffffffffUL |
618 | Go to decode_next_byte |
Name | Describe |
---|---|
bunzip2 | Example usage: decompress src_fd to dst_fd. (Stops at end of bzip2 data,not end of file.) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |