Searched refs:inbuf (Results 1 – 8 of 8) sorted by relevance
/xen/xen/common/ |
A D | decompress.c | 11 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 D | bunzip2.c | 91 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 D | gunzip.c | 15 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 D | unlzma.c | 549 unsigned char *inbuf; in unlzma() local 555 inbuf = buf; in unlzma() 557 inbuf = malloc(LZMA_IOBUF_SIZE); in unlzma() 558 if (!inbuf) { in unlzma() 572 rc_init(&rc, fill, inbuf, in_len); in unlzma() 658 free(inbuf); in unlzma()
|
/xen/tools/libvchan/ |
A D | node-select.c | 50 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()
|
A D | vchan-socket-proxy.c | 86 char inbuf[BUFSIZE]; variable 103 ret = libxenvchan_write(ctrl, inbuf, insiz); in vchan_wr() 112 memmove(inbuf, inbuf + ret, insiz); in vchan_wr() 282 if (libxenvchan_read(ctrl, inbuf, BUFSIZE) == -1) { in discard_buffers() 339 ret = read(state->input_fd, inbuf + insiz, BUFSIZE - insiz); in data_loop() 343 fprintf(stderr, "from-unix: %.*s\n", ret, inbuf + insiz); in data_loop()
|
/xen/xen/include/xen/ |
A D | decompress.h | 4 typedef int decompress_fn(unsigned char *inbuf, unsigned int len, 36 int decompress(void *inbuf, unsigned int len, void *outbuf);
|
/xen/tools/libxc/ |
A D | xc_dom_decompress_unsafe.h | 3 typedef int decompress_fn(unsigned char *inbuf, unsigned int len,
|
Completed in 9 milliseconds