Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 7 of 7) sorted by relevance

/xen-4.10.0-shim-comet/xen/common/
A Ddecompress.c11 int __init decompress(void *inbuf, unsigned int len, void *outbuf) in decompress() argument
15 (!memcmp(inbuf, "\037\213", 2) || !memcmp(inbuf, "\037\236", 2)) ) in decompress()
16 return gunzip(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
19 if ( len >= 3 && !memcmp(inbuf, "\x42\x5a\x68", 3) ) in decompress()
22 if ( len >= 6 && !memcmp(inbuf, "\3757zXZ", 6) ) in decompress()
23 return unxz(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
25 if ( len >= 2 && !memcmp(inbuf, "\135\000", 2) ) in decompress()
28 if ( len >= 5 && !memcmp(inbuf, "\x89LZO", 5) ) in decompress()
29 return unlzo(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
31 if ( len >= 2 && !memcmp(inbuf, "\x02\x21", 2) ) in decompress()
[all …]
A Dbunzip2.c91 unsigned char *inbuf /*,*outbuf*/; member
120 bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE); in get_bits()
135 bd->inbufBits = (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_bits()
375 (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_next_block()
636 bd->inbuf = inbuf; in start_bunzip()
677 unsigned char *inbuf; in bunzip2() local
687 inbuf = buf; in bunzip2()
689 inbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2()
690 if (!inbuf) { in bunzip2()
695 i = start_bunzip(&bd, inbuf, len, fill); in bunzip2()
[all …]
A Dgunzip.c15 static unsigned char *__initdata inbuf; variable
36 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
119 inbuf = (unsigned char *)image; in perform_gunzip()
A Dunlzma.c550 unsigned char *inbuf; in unlzma() local
556 inbuf = buf; in unlzma()
558 inbuf = malloc(LZMA_IOBUF_SIZE); in unlzma()
559 if (!inbuf) { in unlzma()
573 rc_init(&rc, fill, inbuf, in_len); in unlzma()
659 free(inbuf); in unlzma()
/xen-4.10.0-shim-comet/tools/libvchan/
A Dnode-select.c50 char inbuf[BUFSIZE]; variable
61 ret = libxenvchan_write(ctrl, inbuf, insiz); in vchan_wr()
68 memmove(inbuf, inbuf + ret, insiz); in vchan_wr()
149 ret = read(0, inbuf + insiz, BUFSIZE - insiz); in main()
/xen-4.10.0-shim-comet/xen/include/xen/
A Ddecompress.h4 typedef int decompress_fn(unsigned char *inbuf, unsigned int len,
36 int decompress(void *inbuf, unsigned int len, void *outbuf);
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_dom_decompress_unsafe.h3 typedef int decompress_fn(unsigned char *inbuf, unsigned int len,

Completed in 7 milliseconds