/external/xz-embedded/linux/include/linux/decompress/ |
H A D | unxz.h | 13 int unxz(unsigned char *in, int in_size,
|
/external/xz-embedded/linux/include/linux/ |
H A D | xz.h | 66 * return code is possible only in multi-call mode 70 * is still possible in multi-call mode by simply 74 * which is not used in the kernel. Unsupported 85 * only in multi-call mode (XZ_PREALLOC or 107 * is too small or the compressed input is corrupt in a way that makes the 126 * @in: Beginning of the input buffer. This may be NULL if and only 128 * @in_pos: Current position in the input buffer. This must not exceed 133 * @out_pos: Current position in the output buffer. This must not exceed 141 const uint8_t *in; member in struct:xz_buf 159 * multi-call decoding. This is ignored in singl [all...] |
/external/xz-embedded/linux/lib/ |
H A D | decompress_unxz.c | 11 * Important notes about in-place decompression 13 * At least on x86, the kernel is decompressed in place: the compressed data 21 * The worst case for in-place decompression is that the beginning of 26 * The structure of the .xz file in case of a compresed kernel is as follows. 27 * Sizes (as bytes) of the fields are in parenthesis. 39 * 2-4 Blocks just in case. Because Stream Header and also Block Header 50 * LZMA2 stores the data in chunks. Each chunk has a header whose size is 53 * may be up to 64 KiB of actual payload in the chunk. Often the payload is 58 * uncompressed size of the payload is in practice never less than the 61 * files. LZMA2 supports storing uncompressible data in uncompresse 251 unxz(unsigned char *in, int in_size, int (*fill)(void *dest, unsigned int size), int (*flush)(void *src, unsigned int size), unsigned char *out, int *in_used, void (*error)(char *x)) argument [all...] |
/external/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_lzma2.c | 41 * in which the dictionary variables address the actual output 48 /* Old position in buf (before decoding more data) */ 51 /* Position in buf */ 71 * Size of the dictionary as specified in Block Header. This is used 78 * Maximum allowed dictionary size in multi-call mode. 79 * This is ignored in single-call mode. 109 const uint8_t *in; member in struct:rc_dec 194 * when the distance is in the range [4, 127]. 215 /* Position in xz_dec_lzma2_run(). */ 257 * including lzma.pos_mask are in th [all...] |
H A D | xz_dec_stream.c | 27 /* Position in dec_main() */ 41 /* Position in variable-length integers and Check fields */ 52 /* CRC32 or CRC64 value in Block or CRC32 value in Index */ 55 /* CRC32 value in Block or Index */ 71 /* Information stored in Block Header */ 74 * Value stored in the Compressed Size field, or 80 * Value stored in the Uncompressed Size field, or 109 /* Position in dec_index() */ 116 /* Size of the Index in byte 186 dec_vli(struct xz_dec *s, const uint8_t *in, size_t *in_pos, size_t in_size) argument [all...] |
H A D | xz_dec_test.c | 53 .in = buffer_in, 217 * This code is in the public domain, but in Linux it's simplest to just
|
/external/xz-embedded/linux/scripts/ |
H A D | xz_wrap.sh | 15 case $SRCARCH in
|
/external/xz-embedded/userspace/ |
H A D | boottest.c | 22 /* Disable the CRC64 support even if it was enabled in the Makefile. */ 27 static uint8_t in[1024 * 1024]; variable 44 in_size = fread(in, 1, sizeof(in), stdin); 45 ret = decompress(in, in_size, NULL, NULL, out, NULL, &error); 55 in_size = fread(in, 1, sizeof(in), stdin); 56 ret = decompress(in, in_size, NULL, &flush, NULL, &in_used, &error); 75 ret = decompress(in, 0, &fill, NULL, out, &in_used, &error);
|
H A D | buftest.c | 17 static uint8_t in[BUFFER_SIZE]; variable 34 b.in = in; 36 b.in_size = fread(in, 1, sizeof(in), stdin);
|
H A D | bytetest.c | 16 static uint8_t in[1]; variable 46 b.in = in; 55 b.in_size = fread(in, 1, sizeof(in), stdin); 115 msg = "Unsupported options in the .xz headers\n";
|
H A D | xzminidec.c | 22 static uint8_t in[BUFSIZ]; variable 54 b.in = in; 63 b.in_size = fread(in, 1, sizeof(in), stdin); 115 msg = "Unsupported options in the .xz headers\n";
|
/external/zlib/src/as400/ |
H A D | zlib.inc | 400 D in * value procptr Input function
|
/external/zlib/src/ |
H A D | configure | 81 # leave this script, optionally in a bad way 97 case "$1" in 134 # put arguments in log, also put test file in log if used in arguments 137 case "$*" in 156 case "$cc" in 160 case `$cc -v 2>&1` in 185 case "$uname" in 206 case `(uname -m || echo unknown) 2>/dev/null` in [all...] |
/external/zlib/src/contrib/blast/ |
H A D | blast.c | 3 * For conditions of distribution and use, see copyright notice in blast.h 11 * Ben Rudiak-Gould in comp.compression on August 13, 2001. Interestingly, the 12 * example Ben provided in the post is incorrect. The distance 110001 should 25 * 1.2 24 Oct 2012 - Add note about using binary mode in stdio 41 unsigned char *in; /* next input location */ member in struct:state 42 unsigned left; /* available input at in */ 44 int bitcnt; /* number of bits in bit buffer */ 52 unsigned next; /* index of next write location in out[] */ 59 * eight bits in the buffer. bits() works properly for need == 0. 63 * - Bits are stored in byte [all...] |
/external/zlib/src/contrib/delphi/ |
H A D | ZLib.pas | 80 stream in a single call.} 101 is read-only and unidirectional; you can seek forward in the stream, but not 103 allowed. Seeking forward decompresses data until the requested position in 114 large chunk of data from the decompression stream in a single call.} 128 { CompressBuf compresses data, buffer to buffer, in one call. 130 InBytes = number of bytes in InBuf 132 OutBytes = number of bytes in OutBuf } 137 { DecompressBuf decompresses data, buffer to buffer, in one call. 139 InBytes = number of bytes in InBuf 142 OutBytes = number of bytes in OutBu [all...] |
H A D | zlibd32.mak | 13 # do not use "-pr" in CFLAGS 72 # the command line is cut to fit in the MS-DOS 128 byte limit:
|
/external/zlib/src/contrib/infback9/ |
H A D | infback9.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 14 strm provides memory allocation functions in zalloc and zfree, or 32 strm->msg = Z_NULL; /* in case we return an error */ 128 have = in(in_desc, &next); \ 147 /* Assure that there are at least n bits in the bit accumulator. If there is 195 in() and out() are the call-back input and output functions. When 196 inflateBack() needs more input, it calls in(). When inflateBack() has 197 filled the window with output, or when it completes with data in the 199 change the provided input until in() is called again or inflateBack() 203 in() an [all...] |
H A D | infback9.h | 3 * For conditions of distribution and use, see copyright notice in zlib.h 12 * comments in zlib.h for inflateBack() usage. These functions are used 24 in_func in, void FAR *in_desc,
|
/external/zlib/src/contrib/inflate86/ |
H A D | inffas86.c | 5 * For conditions of distribution and use, see copyright notice in zlib.h 12 * data, it uses rep movsw, which moves data in 2-byte chunks instead of single 20 * the gcc -S output of zlib-1.2.0/inffast.c. Zlib-1.2.0 is in beta release at 42 inflate execution time is spent in this routine. 56 BAD -- error in block data 81 /* 16 8 */ unsigned char FAR *in; /* esi rsi local strm->next_in */ member in struct:inffast_ar 82 /* 24 12 */ unsigned char FAR *last; /* r9 while in < last */ 110 ar.in = strm->next_in; 111 ar.last = ar.in + (strm->avail_in - PAD_AVAIL_IN); 128 /* align in o [all...] |
H A D | inffast.S | 6 * For conditions of distribution and use, see copyright notice in zlib.h 16 * (8K-32K worked best for my 256K cpu cache) and how much overhead there is in 20 * I am confident that this version will work in the general case, but I have 30 * ID bit on eflags and then use the cpuid instruction) is used in many 41 * MMX mode because many of it's x86 ALU instructions execute in .5 cycles and 43 * the input stream since the MMX code grabs bits in chunks of 32, which 51 * structure offsets which are hard coded in this file. This was last tested 52 * with zlib-1.2.0 which is currently in beta testing, newer versions of this 140 * struct z_stream offsets, in zlib.h 150 * struct inflate_state offsets, in inflat 177 #define in 44 /* unsigned char* */ define [all...] |
/external/zlib/src/contrib/iostream/ |
H A D | zfstream.cpp | 27 if ( io_mode & ios::in ) { 28 mode = ios::in; 69 if ( io_mode & ios::in ) { 70 mode = ios::in; 138 if ( !is_open() || !(mode & ios::in) )
|
H A D | zfstream.h | 73 gzifstream( const char *name, int io_mode = ios::in ); 74 gzifstream( int fd, int io_mode = ios::in );
|
/external/zlib/src/contrib/iostream2/ |
H A D | zstream_test.cpp | 13 izstream in("temp.gz"); // read it back 14 char *x = read_string(in), *y = new char[256], z[256]; 15 in > y > z; 16 in.close();
|
/external/zlib/src/contrib/iostream3/ |
H A D | zfstream.cc | 58 if ((mode & std::ios_base::in) && (mode & std::ios_base::out)) 86 if ((mode & std::ios_base::in) && (mode & std::ios_base::out)) 135 bool testi = mode & std::ios_base::in; 167 // Determine number of characters in internal get buffer 172 if (!this->is_open() || !(io_mode & std::ios_base::in)) 174 // Make sure get area is in use 185 // If something is left in the get area by chance, return it 192 if (!this->is_open() || !(io_mode & std::ios_base::in)) 208 // Return next character in get area 216 // Determine whether put area is in us [all...] |
H A D | zfstream.h | 24 * (tricky). Otherwise, it attempts to be a drop-in replacement for the standard 96 * @brief Number of characters available in stream buffer. 99 * This indicates number of characters in get area of stream buffer. 107 * @return First character in get area on success, EOF on error. 120 * This actually writes characters in stream buffer to 156 // std::ios_base::openmode mode = std::ios_base::in|std::ios_base::out); 159 // std::ios_base::openmode mode = std::ios_base::in|std::ios_base::out); 189 * Mode in which file was opened. 243 * @param mode Open mode flags (forced to contain ios::in). 247 std::ios_base::openmode mode = std::ios_base::in); [all...] |