Home
last modified time | relevance | path

Searched full:stream (Results 1 – 25 of 3346) sorted by relevance

12345678910>>...134

/freebsd-src/sys/i386/i386/
H A Dbpf_jit_machdep.h73 /* A stream of native binary code */
97 * The first parameter is the stream that will receive the data.
102 typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n);
110 emitm(&stream, (11 << 4) | (1 << 3) | (r32 & 0x7), 1); \
111 emitm(&stream, i32, 4); \
116 emitm(&stream, 0x89, 1); \
117 emitm(&stream, \
123 emitm(&stream, 0x8b, 1); \
124 emitm(&stream, \
126 emitm(&stream, off, 1); \
[all …]
/freebsd-src/sys/amd64/amd64/
H A Dbpf_jit_machdep.h98 /* A stream of native binary code */
122 * The first parameter is the stream that will receive the data.
127 typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n);
135 emitm(&stream, (11 << 4) | (1 << 3) | (r32 & 0x7), 1); \
136 emitm(&stream, i32, 4); \
141 emitm(&stream, 0x48, 1); \
142 emitm(&stream, (11 << 4) | (1 << 3) | (r64 & 0x7), 1); \
143 emitm(&stream, i64, 4); \
144 emitm(&stream, (i64 >> 32), 4); \
149 emitm(&stream, 0x89, 1); \
[all …]
/freebsd-src/lib/libc/stdio/
H A Dstdio.344 library provides a simple and efficient buffered stream
54 A stream is associated with an external file (which may be a physical
63 associated with the stream is positioned at the start of the file (byte
77 A file is disassociated from a stream by
81 to the host environment) before the stream is disassociated from the file.
111 No translation is performed and no extra padding appears on any stream.
130 Initially, the standard error stream
143 whenever such an input stream is read.
242 .It "clearerr check and reset stream status"
244 .It "fclose close a stream"
[all...]
H A Dferror.344 .Nd check and reset stream status
50 .Fn clearerr "FILE *stream"
52 .Fn clearerr_unlocked "FILE *stream"
54 .Fn feof "FILE *stream"
56 .Fn feof_unlocked "FILE *stream"
58 .Fn ferror "FILE *stream"
60 .Fn ferror_unlocked "FILE *stream"
62 .Fn fileno "FILE *stream"
64 .Fn fileno_unlocked "FILE *stream"
68 clears the end-of-file and error indicators for the stream pointe
[all...]
H A Dfseek.343 .Nd reposition a stream
49 .Fn fseek "FILE *stream" "long offset" "int whence"
51 .Fn ftell "FILE *stream"
53 .Fn rewind "FILE *stream"
55 .Fn fgetpos "FILE * restrict stream" "fpos_t * restrict pos"
57 .Fn fsetpos "FILE *stream" "const fpos_t *pos"
60 .Fn fseeko "FILE *stream" "off_t offset" "int whence"
62 .Fn ftello "FILE *stream"
66 function sets the file position indicator for the stream pointed
68 .Fa stream .
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCocoa.h16 #include "lldb/Utility/Stream.h"
22 bool NSIndexSetSummaryProvider(ValueObject &valobj, Stream &stream,
25 bool NSArraySummaryProvider(ValueObject &valobj, Stream &stream,
29 bool NSDataSummaryProvider(ValueObject &valobj, Stream &stream,
32 bool NSNumberSummaryProvider(ValueObject &valobj, Stream &stream,
35 bool NSDecimalNumberSummaryProvider(ValueObject &valobj, Stream &stream,
38 bool NSNotificationSummaryProvider(ValueObject &valobj, Stream &stream,
41 bool NSTimeZoneSummaryProvider(ValueObject &valobj, Stream &stream,
44 bool NSMachPortSummaryProvider(ValueObject &valobj, Stream &stream,
47 bool NSDateSummaryProvider(ValueObject &valobj, Stream &stream,
[all …]
H A DCocoa.cpp29 #include "lldb/Utility/Stream.h"
40 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSBundleSummaryProvider() argument
82 stream.Printf("%s", summary_stream.GetData()); in NSBundleSummaryProvider()
91 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSTimeZoneSummaryProvider() argument
131 stream.Printf("%s", summary_stream.GetData()); in NSTimeZoneSummaryProvider()
140 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSNotificationSummaryProvider() argument
180 stream in NSNotificationSummaryProvider()
189 NSMachPortSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSMachPortSummaryProvider() argument
235 NSIndexSetSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSIndexSetSummaryProvider() argument
342 NSNumber_FormatChar(ValueObject & valobj,Stream & stream,char value,lldb::LanguageType lang) NSNumber_FormatChar() argument
355 NSNumber_FormatShort(ValueObject & valobj,Stream & stream,short value,lldb::LanguageType lang) NSNumber_FormatShort() argument
368 NSNumber_FormatInt(ValueObject & valobj,Stream & stream,int value,lldb::LanguageType lang) NSNumber_FormatInt() argument
381 NSNumber_FormatLong(ValueObject & valobj,Stream & stream,int64_t value,lldb::LanguageType lang) NSNumber_FormatLong() argument
394 NSNumber_FormatInt128(ValueObject & valobj,Stream & stream,const llvm::APInt & value,lldb::LanguageType lang) NSNumber_FormatInt128() argument
411 NSNumber_FormatFloat(ValueObject & valobj,Stream & stream,float value,lldb::LanguageType lang) NSNumber_FormatFloat() argument
424 NSNumber_FormatDouble(ValueObject & valobj,Stream & stream,double value,lldb::LanguageType lang) NSNumber_FormatDouble() argument
438 NSNumberSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSNumberSummaryProvider() argument
731 NSDecimalNumberSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSDecimalNumberSummaryProvider() argument
780 NSURLSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSURLSummaryProvider() argument
904 NSDateSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSDateSummaryProvider() argument
1006 ObjCClassSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCClassSummaryProvider() argument
1064 NSDataSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSDataSummaryProvider() argument
1127 ObjCBOOLSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCBOOLSummaryProvider() argument
1158 ObjCBooleanSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCBooleanSummaryProvider() argument
1188 ObjCSELSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCSELSummaryProvider() argument
[all...]
/freebsd-src/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c51 zlib_deflateInit(z_stream *stream, int level) in zlib_deflateInit() argument
54 stream->zalloc = zcalloc; in zlib_deflateInit()
55 stream->opaque = NULL; in zlib_deflateInit()
56 stream->zfree = zcfree; in zlib_deflateInit()
58 return (deflateInit(stream, level)); in zlib_deflateInit()
62 zlib_deflate(z_stream *stream, int flush) in zlib_deflate() argument
64 return (deflate(stream, flush)); in zlib_deflate()
68 zlib_deflateEnd(z_stream *stream) in zlib_deflateEnd() argument
70 return (deflateEnd(stream)); in zlib_deflateEnd()
74 zlib_inflateInit(z_stream *stream) in zlib_inflateInit() argument
[all …]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMinidumpYAML.h20 /// The base class for all minidump streams. The "Type" of the stream
21 /// corresponds to the Stream Type field in the minidump file. The "Kind" field
24 /// one stream Kind can be used to represent multiple stream Types (e.g. any
25 /// unrecognised stream Type will be handled via RawContentStream). The mapping
27 struct Stream { struct
39 Stream(StreamKind Kind, minidump::StreamType Type) : Kind(Kind), Type(Type) {} in Stream() argument
40 virtual ~Stream(); // anchor
45 /// Get the stream Kind used for representing streams of a given Type.
48 /// Create an empty stream of the given Type.
49 static std::unique_ptr<Stream> create(minidump::StreamType Type);
[all …]
/freebsd-src/usr.sbin/inetd/
H A Dinetd.conf8 #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
9 #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l
10 #ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
11 #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6
12 #telnet stream tcp nowait root /usr/local/libexec/telnetd telnetd
13 #telnet stream tcp6 nowait root /usr/local/libexec/telnetd telnetd
14 #shell stream tcp nowait root /usr/local/sbin/rshd rshd
15 #shell stream tcp6 nowait root /usr/local/sbin/rshd rshd
16 #login stream tcp nowait root /usr/local/sbin/rlogind rlogind
17 #login stream tcp6 nowait root /usr/local/sbin/rlogind rlogind
[all …]
/freebsd-src/contrib/xz/src/liblzma/api/lzma/
H A Dstream_flags.h5 * \brief .xz Stream Header and Stream Footer encoder and decoder
19 * \brief Size of Stream Header and Stream Footer
21 * Stream Header and Stream Footer have the same size and they are not
29 * \brief Options for encoding/decoding Stream Header and Stream Footer
33 * \brief Stream Flags format version
36 * Stream Header or Stream Footer, a version number is used to
44 * features indicated by the Stream Flags field. The application
47 * the application will decode the Stream incorrectly.
54 * Backward Size must be a multiple of four bytes. In this Stream
57 * Backward Size isn't actually part of the Stream Flags field, but
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Utility/
H A DStream.cpp1 //===-- Stream.cpp --------------------------------------------------------===//
9 #include "lldb/Utility/Stream.h"
27 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, in Stream() function in Stream
32 Stream::Stream(bool colors) in Stream() function in Stream
37 Stream::~Stream() = default;
39 ByteOrder Stream::SetByteOrder(ByteOrder byte_order) { in SetByteOrder()
45 // Put an offset "uval" out to the stream using the printf format in "format".
46 void Stream::Offset(uint32_t uval, const char *format) { Printf(format, uval); } in Offset()
48 // Put an SLEB128 "uval" out to the stream using the printf format in "format".
49 size_t Stream::PutSLEB128(int64_t sval) { in PutSLEB128()
[all …]
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStream.h1 //===-- Stream.h ------------------------------------------------*- C++ -*-===//
26 /// \class Stream Stream.h "lldb/Utility/Stream.h"
27 /// A stream class that can stream formatted output to a file.
28 class Stream {
36 /// Struct to store information for color highlighting in the stream.
47 /// Utility class for counting the bytes that were written to a stream in a
55 Stream *m_stream;
60 ByteDelta(Stream &s) : m_stream(&s), m_start(s.GetWrittenBytes()) {} in ByteDelta()
61 /// Returns the number of bytes written to the given Stream since this
70 Stream(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order,
[all …]
/freebsd-src/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c104 static TLS Salsa20Random stream = { variable
149 stream.nonce = sodium_hrtime(); in randombytes_salsa20_random_init()
150 assert(stream.nonce != (uint64_t) 0U); in randombytes_salsa20_random_init()
294 stream.nonce = sodium_hrtime(); in randombytes_salsa20_random_init()
296 assert(stream.nonce != (uint64_t) 0U); in randombytes_salsa20_random_init()
332 memset(stream.rnd32, 0, sizeof stream.rnd32); in randombytes_salsa20_random_stir()
333 stream.rnd32_outleft = (size_t) 0U; in randombytes_salsa20_random_stir()
345 arc4random_buf(stream.key, sizeof stream.key); in randombytes_salsa20_random_stir()
348 if (randombytes_linux_getrandom(stream.key, sizeof stream.key) != 0) { in randombytes_salsa20_random_stir()
352 safe_read(global.random_data_source_fd, stream.key, in randombytes_salsa20_random_stir()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxx.h16 #include "lldb/Utility/Stream.h"
31 ValueObject &valobj, Stream &stream,
35 ValueObject &valobj, Stream &stream,
39 ValueObject &valobj, Stream &stream,
43 ValueObject &valobj, Stream &stream,
47 ValueObject &valueObj, Stream
[all...]
H A DCxxStringTypes.cpp26 #include "lldb/Utility/Stream.h"
52 static bool CharStringSummaryProvider(ValueObject &valobj, Stream &stream) { in CharStringSummaryProvider() argument
60 options.SetStream(&stream); in CharStringSummaryProvider()
64 stream.Printf("Summary Unavailable"); in CharStringSummaryProvider()
70 static bool CharSummaryProvider(ValueObject &valobj, Stream &stream) { in CharSummaryProvider() argument
85 stream.Printf("%s ", value.c_str()); in CharSummaryProvider()
88 options.SetStream(&stream); in CharSummaryProvider()
98 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char8StringSummaryProvider() argument
99 return CharStringSummaryProvider<StringElementType::UTF8>(valobj, stream); in Char8StringSummaryProvider()
103 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char16StringSummaryProvider() argument
[all …]
H A DCxxStringTypes.h15 #include "lldb/Utility/Stream.h"
19 bool Char8StringSummaryProvider(ValueObject &valobj, Stream &stream,
23 ValueObject &valobj, Stream &stream,
27 ValueObject &valobj, Stream &stream,
30 bool WCharStringSummaryProvider(ValueObject &valobj, Stream &stream,
33 bool Char8SummaryProvider(ValueObject &valobj, Stream &stream,
37 ValueObject &valobj, Stream &stream,
40 bool Char32SummaryProvider(ValueObject &valobj, Stream &stream,
43 bool WCharSummaryProvider(ValueObject &valobj, Stream &stream,
/freebsd-src/sys/contrib/zlib/
H A Duncompr.c25 an incomplete zlib stream.
29 z_stream stream; in uncompress2() local
33 Byte buf[1]; /* for detection of incomplete stream when *destLen == 0 */ in uncompress2()
45 stream.next_in = (z_const Bytef *)source; in uncompress2()
46 stream.avail_in = 0; in uncompress2()
47 stream.zalloc = (alloc_func)0; in uncompress2()
48 stream.zfree = (free_func)0; in uncompress2()
49 stream.opaque = (voidpf)0; in uncompress2()
51 err = inflateInit(&stream); in uncompress2()
54 stream.next_out = dest; in uncompress2()
[all …]
/freebsd-src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zlib.c98 z_stream stream; in z_compress_level()
101 stream.next_in = (Byte *)source; in z_compress_level()
102 stream.avail_in = (uInt)sourceLen; in z_compress_level()
103 stream.next_out = dest; in z_compress_level()
104 stream.avail_out = (uInt)*destLen; in z_compress_level()
106 if ((size_t)stream.avail_out != *destLen) in z_compress_level()
109 stream.workspace = zlib_workspace_alloc(KM_SLEEP); in z_compress_level()
110 if (!stream.workspace) in z_compress_level()
113 err = zlib_deflateInit(&stream, level); in z_compress_level()
115 zlib_workspace_free(stream in z_compress_level()
99 z_stream stream; z_compress_level() local
153 z_stream stream; z_uncompress() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h27 /// contents are badly corrupted (i.e. we cannot read the stream directory).
35 /// Returns the list of streams (stream directory entries) in this file.
38 /// Returns the raw contents of the stream given by the directory entry.
39 ArrayRef<uint8_t> getRawStream(const minidump::Directory &Stream) const { in getRawStream() argument
40 return getData().slice(Stream.Location.RVA, Stream.Location.DataSize); in getRawStream()
43 /// Returns the raw contents of the stream of the given type, or std::nullopt
44 /// if the file does not contain a stream of this type.
59 /// Returns the contents of the SystemInfo stream, cast to the appropriate
60 /// type. An error is returned if the file does not contain this stream, or
61 /// the stream is smaller than the size of the SystemInfo structure. The
[all …]
/freebsd-src/contrib/llvm-project/libcxx/include/
H A Dstdio.h53 int fclose(FILE* stream);
54 int fflush(FILE* stream);
57 FILE * restrict stream);
58 void setbuf(FILE* restrict stream, char* restrict buf);
59 int setvbuf(FILE* restrict stream, char* restrict buf, int mode, size_t size);
60 int fprintf(FILE* restrict stream, const char* restrict format, ...);
61 int fscanf(FILE* restrict stream, const char * restrict format, ...);
67 int vfprintf(FILE* restrict stream, const char* restrict format, va_list arg);
68 int vfscanf(FILE* restrict stream, const char* restrict format, va_list arg); // C99
75 int fgetc(FILE* stream);
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_origin.ksh38 typeset stream=$(mktemp $tmpdir/stream.XXXX)
53 log_must eval "zfs send --redact BCD $dsA >$stream"
54 log_must eval "zfs receive $POOL2/rBCD <$stream"
55 log_must eval "zfs receive $targ <$stream"
58 log_must eval "zfs send --redact BC $dsA >$stream"
59 log_must eval "zfs receive $POOL2/rBC <$stream"
62 log_must eval "zfs send --redact E $dsA >$stream"
63 log_must eval "zfs receive $POOL2/rE <$stream"
65 log_must eval "zfs send $dsF >$stream"
66 log_must eval "zfs receive -o origin=$POOL2/rBCD@snap0 $POOL2/BCDrF <$stream"
[all …]
H A Dredacted_incrementals.ksh37 typeset stream=$(mktemp $tmpdir/stream.XXXX)
48 log_must eval "zfs send --redact book1 $sendfs@snap0 >$stream"
49 log_must eval "zfs receive $POOL2/rfs <$stream"
52 log_must eval "zfs send -i $sendfs@snap0 $POOL/stride3@snap >$stream"
53 log_must eval "zfs recv $POOL2/rstride3 <$stream"
55 log_must eval "zfs send -i $sendfs@snap0 $POOL/stride5@snap >$stream"
56 log_must eval "zfs recv $POOL2/rstride5 <$stream"
60 log_must eval "zfs send -i $sendfs@snap0 $POOL/hole@snap >$stream"
61 log_mustnot eval "zfs recv $POOL2/rhole@snap <$stream"
66 log_must eval "zfs send -i $sendfs@snap0 --redact book2 $POOL/int@snap >$stream"
[all …]
/freebsd-src/contrib/xz/src/liblzma/common/
H A Dindex.c6 /// \brief Handling of .xz Indexes and some other Stream information
31 /// Uncompressed start offset of this Stream (relative to the
33 /// of the Stream)
36 /// Compressed start offset of this Stream or Block
75 /// Number of Blocks in this Stream before this group.
85 /// to the beginning of the Stream. This makes it possible to
91 /// Block. The total encoded size of the Blocks in the Stream
93 /// the Stream.
111 /// Number of this Stream (first one is 1)
114 /// Total number of Blocks before this Stream
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DDWARFLocationExpression.cpp118 StreamBuffer<32> stream(Stream::eBinary, address_size, byte_order); in MakeLocationExpressionInternal() local
120 if (!writer(stream, register_kind)) in MakeLocationExpressionInternal()
124 std::make_shared<DataBufferHeap>(stream.GetData(), stream.GetSize()); in MakeLocationExpressionInternal()
133 Stream &stream, llvm::codeview::RegisterId reg, RegisterKind &register_kind, in MakeRegisterBasedLocationExpressionInternal() argument
143 stream.PutHex8(base); in MakeRegisterBasedLocationExpressionInternal()
144 stream.PutULEB128(reg_num); in MakeRegisterBasedLocationExpressionInternal()
148 stream.PutHex8(base + reg_num); in MakeRegisterBasedLocationExpressionInternal()
152 stream.PutSLEB128(*relative_offset); in MakeRegisterBasedLocationExpressionInternal()
161 module, [&](Stream &stream, RegisterKind &register_kind) -> bool { in MakeRegisterBasedLocationExpressionInternal() argument
163 stream, reg, register_kind, relative_offset, module); in MakeRegisterBasedLocationExpressionInternal()
[all …]

12345678910>>...134