Searched refs:stream (Results 1 - 20 of 20) sorted by relevance

/u-boot/fs/cramfs/
H A Duncompress.c19 * only have one stream, and we'll initialize it only once even if it
29 static z_stream stream; variable
36 inflateReset (&stream);
38 stream.next_in = src;
39 stream.avail_in = srclen;
41 stream.next_out = dst;
42 stream.avail_out = 4096 * 2;
44 err = inflate (&stream, Z_FINISH);
48 return stream.total_out;
60 stream
[all...]
/u-boot/fs/jffs2/
H A Dmini_inflate.c24 /* associate a stream with a block of data and reset the stream */
25 static void init_stream(struct bitstream *stream, unsigned char *data, argument
28 stream->error = NO_ERROR;
29 stream->memcpy = inflate_memcpy;
30 stream->decoded = 0;
31 stream->data = data;
32 stream->bit = 0; /* The first bit of the stream is the lsb of the
37 stream
66 pull_bits(struct bitstream *stream, const unsigned int bits) argument
86 pull_bit(struct bitstream *stream) argument
97 discard_bits(struct bitstream *stream) argument
106 decompress_none(struct bitstream *stream, unsigned char *dest) argument
121 read_symbol(struct bitstream *stream, struct huffman_set *set) argument
139 decompress_huffman(struct bitstream *stream, unsigned char *dest) argument
212 decompress_dynamic(struct bitstream *stream, unsigned char *dest) argument
318 decompress_fixed(struct bitstream *stream, unsigned char *dest) argument
354 struct bitstream stream; local
[all...]
/u-boot/tools/
H A Dgetline.h1 int getline(char **lineptr, size_t *n, FILE *stream);
H A Dgetline.c21 static int getstr(char **lineptr, size_t *n, FILE *stream, argument
28 if (!lineptr || !n || !stream)
42 register int c = getc(stream);
63 if (c == EOF || ferror (stream)) {
86 int getline (char **lineptr, size_t *n, FILE *stream) argument
88 return getstr(lineptr, n, stream, '\n', 0);
H A Dkwboot.c2256 kwboot_usage(FILE *stream, char *progname) argument
2258 fprintf(stream,
2261 fprintf(stream, "\n");
2262 fprintf(stream,
2264 fprintf(stream,
2266 fprintf(stream, " -b: enter xmodem boot mode\n");
2267 fprintf(stream, " -d: enter console debug mode\n");
2268 fprintf(stream, " -a: use timings for Armada XP\n");
2269 fprintf(stream, " -s <resp-timeo>: use specific response-timeout\n");
2270 fprintf(stream,
[all...]
H A Dpblimage.c64 static void pbl_fget(size_t size, FILE *stream) argument
70 c_temp = fgetc(stream);
/u-boot/lib/zlib/
H A Duncompr.c25 an incomplete zlib stream.
34 z_stream stream; local
38 /* for detection of incomplete stream when *destLen == 0 */
50 stream.next_in = (z_const Bytef *)source;
51 stream.avail_in = 0;
52 stream.zalloc = (alloc_func)0;
53 stream.zfree = (free_func)0;
54 stream.opaque = (voidpf)0;
56 err = inflateInit(&stream);
60 stream
[all...]
/u-boot/fs/btrfs/
H A Dcompression.c90 z_stream stream; local
94 memset(&stream, 0, sizeof(stream));
98 stream.total_in = 0;
100 stream.next_out = dbuf;
101 stream.avail_out = dlen;
102 stream.total_out = 0;
113 if (Z_OK != inflateInit2(&stream, wbits))
116 while (stream.total_in < clen) {
117 stream
[all...]
/u-boot/arch/x86/lib/
H A Dacpigen.c35 static char stream[] = { local
50 acpigen_emit_stream(ctx, stream, ARRAY_SIZE(stream));
/u-boot/lib/lzma/
H A DTypes.h127 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size);
128 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType);
129 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf);
165 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size);
166 SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset);
169 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType);
170 SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size);
/u-boot/tools/u_boot_pylib/
H A Dtest_util.py109 """A test result class that can print extended text results to a stream
118 stream: A file-like object to write results to
127 def __init__(self, stream, descriptions, verbosity):
129 super().__init__(stream, descriptions, verbosity)
184 stream=sys.stdout,
H A Dcros_subprocess.py125 def output([self,] stream, data)
127 stream: the stream the output was received on, which will be
274 def output(self, stream, data):
276 if stream == sys.stdout:
278 if stream == sys.stderr:
/u-boot/test/py/tests/
H A Dvboot_forge.py187 def parse_struct(stream):
191 tag = bytearray(stream.read(4))[3]
195 name += stream.read(4)
199 item = parse_struct(stream)
205 item = parse_struct(stream)
210 h = PropHeader.unpack_from(stream.read(PropHeader.size))
212 value = stream.read(length)[:h.value_size]
/u-boot/test/py/
H A Dmultiplexed_log.py19 """A file-like object used to write a single logical stream of data into
28 name: The name of this log stream.
29 chained_file: The file-like object to which all stream data should be
53 """Write data to the log stream.
58 stream, or was implicitly generated. A valid use-case is to
73 """Flush the log stream, to ensure correct log interleaving.
96 name: The name of this log stream or sub-process.
97 chained_file: The file-like object to which all stream data should
351 """Write HTML to the log file to terminate the current stream's data.
364 self.f.write('<div class="stream
[all...]
/u-boot/arch/sandbox/cpu/
H A Dsdl.c441 void sandbox_sdl_fill_audio(void *udata, Uint8 *stream, int len) argument
457 memcpy(stream, buf->data + buf->pos, avail);
458 stream += avail;
468 memset(stream, 0, len);
/u-boot/include/usb/
H A Dxhci.h457 #define DB_VALUE(ep, stream) ((((ep) + 1) & 0xff) | ((stream) << 16))
580 * defines one stream, this points to the endpoint transfer ring.
581 * Otherwise, it points to a stream context array, which has a
647 /* bit 7 is Host Initiate Disable - for disabling stream selection */
/u-boot/lib/zstd/decompress/
H A Dhuf_decompress.c175 /* strict minimum : jump table + 1 byte per stream */
179 /* Must have at least 8 bytes per stream because we don't handle initializing smaller bit containers.
247 static size_t HUF_initRemainingDStream(BIT_DStream_t* bit, HUF_DecompressAsmArgs const* args, int stream, BYTE* segmentEnd) argument
250 if (args->op[stream] > segmentEnd)
255 * of the stream, so down to iend[i] - 8 is valid.
257 if (args->ip[stream] < args->iend[stream] - 8)
261 bit->bitContainer = MEM_readLE64(args->ip[stream]);
262 bit->bitsConsumed = ZSTD_countTrailingZeros((size_t)args->bits[stream]);
265 bit->ptr = (const char*)args->ip[stream];
[all...]
/u-boot/scripts/kconfig/
H A Dconfdata.c249 static ssize_t compat_getline(char **lineptr, size_t *n, FILE *stream) argument
255 int c = getc(stream);
/u-boot/tools/buildman/
H A Dbuilder.py489 def check_output(stream, data):
/u-boot/scripts/
H A Dcheckpatch.pl2039 my ($stream, $type) = @_;
2042 my $var = '_' x length($stream);
2043 my $cur = $stream;
2045 print "$stream\n" if ($dbg_values > 1);

Completed in 366 milliseconds