Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 18 of 18) sorted by relevance

/xnu-11215/tools/lldbmacros/tests/lldbtest/
H A Dunittest.py131 self.stream.writeln()
137 self.stream.writeln()
140 self.stream.writeln()
144 self.stream.writeln()
148 self.stream.writeln()
153 self.stream.writeln()
164 self.stream.writeln()
169 self.stream.writeln()
180 self.stream.writeln()
185 self.stream.writeln()
[all …]
/xnu-11215/libkern/zlib/
H A Duncompr.c60 z_stream stream; in uncompress() local
63 stream.next_in = (Bytef*)source; in uncompress()
64 stream.avail_in = (uInt)sourceLen; in uncompress()
68 stream.next_out = dest; in uncompress()
72 stream.zalloc = (alloc_func)0; in uncompress()
73 stream.zfree = (free_func)0; in uncompress()
75 err = inflateInit(&stream); in uncompress()
78 err = inflate(&stream, Z_FINISH); in uncompress()
80 inflateEnd(&stream); in uncompress()
85 *destLen = stream.total_out; in uncompress()
[all …]
H A Dcompress.c57 z_stream stream; in compress2() local
60 stream.next_in = (Bytef*)source; in compress2()
61 stream.avail_in = (uInt)sourceLen; in compress2()
66 stream.next_out = dest; in compress2()
70 stream.zalloc = (alloc_func)0; in compress2()
71 stream.zfree = (free_func)0; in compress2()
72 stream.opaque = (voidpf)0; in compress2()
77 err = deflate(&stream, Z_FINISH); in compress2()
79 deflateEnd(&stream); in compress2()
82 *destLen = stream.total_out; in compress2()
[all …]
/xnu-11215/osfmk/kdp/output_stages/
H A Dout_lz4.c52 compression_stream_t stream; member
79 data->stream.dst_ptr = data->dst_buf; in lz4_stage_reset()
80 data->stream.dst_size = DST_BUF_SIZE; in lz4_stage_reset()
104 data->stream.src_ptr = src_buf; in lz4_stage_stream()
105 data->stream.src_size = src_buf_size; in lz4_stage_stream()
118 produced = DST_BUF_SIZE - data->stream.dst_size; in lz4_stage_stream()
126 data->stream.dst_ptr = data->dst_buf; in lz4_stage_stream()
127 data->stream.dst_size = DST_BUF_SIZE; in lz4_stage_stream()
211 compression_ki_ptr->compression_stream_destroy(&data->stream); in lz4_stage_free()
248 data->stream.dst_ptr = data->dst_buf; in lz4_stage_initialize()
[all …]
/xnu-11215/libkdd/
H A Dkdd_main.m67 z_stream stream;
68 bzero(&stream, sizeof(stream));
69 stream.next_in = (void*) data.bytes;
70 stream.avail_in = data.length;
71 stream.next_out = buffer;
72 stream.avail_out = sizeof(buffer);
73 inflateInit2(&stream, 16+MAX_WBITS);
76 int z = inflate(&stream, Z_NO_FLUSH);
78 [inflated appendBytes:buffer length:sizeof(buffer) - stream.avail_out];
79 stream.avail_out = sizeof(buffer);
[all …]
/xnu-11215/libkern/libkern/compression/
H A Dcompression.h256 (compression_stream_t* stream,
265 (compression_stream_t* stream,
276 (compression_stream_t* stream);
322 (compression_stream_t* stream, int flags);
/xnu-11215/tools/lldbmacros/
H A Dxnu.py203 print(stream.VT.Bold + stream.VT.DarkGreen + type(exc).__name__ +
204 stream.VT.Default + ": {}".format(str(exc)) + stream.VT.Reset)
215 print(_format_exc(exc, stream.VT))
252 …print(stream.VT.DarkRed + "Please attach {} to your radar or open the URL below:".format(tar_fname…
284 stream = CommandOutput(cmd_name, result)
308 if stream.verbose_level != 0:
315 args['O'] = stream
331 if stream.pluginRequired :
332 plugin = LoadXNUPlugin(stream.pluginName)
366 with RedirectStdStreams(stdout=stream):
[all …]
H A Dlog.py217 def stream(self): member in LogStreamCache
227 if not self.stream:
229 return self.stream.sync_cursor(self._cache.lc_stream_pos)
451 show_log_stream(pp, log_cache.stream, log_cache.stream_cursor)
460 if log_cache.stream:
464 pp, log_cache.stream.logs(log_cache.stream_cursor))
H A Dkcdata.py2319 def data_from_stream(stream): argument
2321 fmap = mmap.mmap(stream.fileno(), 0, mmap.MAP_SHARED, mmap.PROT_READ)
2323 yield stream.buffer.read()
2694 logging.basicConfig(level=logging.INFO, stream=sys.stderr, format='%(message)s')
H A DREADME.md142 xnuoptions : common options for stream based operations on the output of command_name.
/xnu-11215/libkern/firehose/
H A Dchunk_private.h36 #define FIREHOSE_CHUNK_POS_USABLE_FOR_STREAM(pos, stream) \ argument
37 ((((pos).fcp_pos >> 48) & 0x1ff) == (uint16_t)stream)
95 firehose_stream_t stream, uint8_t qos, uint16_t pubsize, in firehose_chunk_tracepoint_try_reserve() argument
112 if (!FIREHOSE_CHUNK_POS_USABLE_FOR_STREAM(orig, stream)) { in firehose_chunk_tracepoint_try_reserve()
/xnu-11215/osfmk/kern/
H A Dexclaves_log.c97 firehose_stream_t stream = (firehose_stream_t)ld->stream; in os_log_replay_log() local
109 assert3u(stream, ==, firehose_stream_metadata); in os_log_replay_log()
116 if (!os_log_encoded_log(stream, ftid, ld->stamp, ld_data, ld_size, ld->pubsize)) { in os_log_replay_log()
122 if (!os_log_encoded_signpost(stream, ftid, ld->stamp, ld_data, ld_size, ld->pubsize)) { in os_log_replay_log()
/xnu-11215/libkern/os/
H A Dlog.c183 log_payload_init(log_payload_t lp, firehose_stream_t stream, firehose_tracepoint_id_u ftid, in log_payload_init() argument
189 lp->lp_stream = stream; in log_payload_init()
362 os_log_encoded_log(firehose_stream_t stream, firehose_tracepoint_id_u ftid, in os_log_encoded_log() argument
374 log_payload_init(&log, stream, ftid, ts, msg_size, pub_data_size); in os_log_encoded_log()
385 os_log_encoded_signpost(firehose_stream_t stream, firehose_tracepoint_id_u ftid, in os_log_encoded_signpost() argument
397 log_payload_init(&log, stream, ftid, ts, msg_size, pub_data_size); in os_log_encoded_signpost()
1010 log_stats_update_saved(firehose_stream_t stream) in log_stats_update_saved() argument
1013 stream = firehose_stream_persist; in log_stats_update_saved()
1016 switch (stream) { in log_stats_update_saved()
1029 panic("Unexpected firehose stream type %u", stream); in log_stats_update_saved()
H A Dlog_queue.c673 log_queue_log(log_payload_t lp, const void *lp_data, bool stream) in log_queue_log() argument
680 if (log_payload_send(lp, lp_data, stream)) { in log_queue_log()
/xnu-11215/tools/lldbmacros/tests/
H A Dlldb_test_process.py190 stream=outfile)
193 runner = RunnerClass(stream=sys.stderr, verbosity=2 if sp.verbose else 1,
H A Druntests.py98 stream=outfile)
/xnu-11215/bsd/kern/
H A Duipc_proto.c138 SYSCTL_NODE(_net_local, SOCK_STREAM, stream, CTLFLAG_RW | CTLFLAG_LOCKED,
/xnu-11215/config/
H A DMASTER131 options NAMEDSTREAMS # named stream vnop support # <namedstreams>