/freebsd/sys/i386/i386/ |
H A D | bpf_jit_machdep.h | 73 /* 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/contrib/libder/libder/ |
H A D | libder_read.c | 97 libder_stream_init(struct libder_ctx *ctx, struct libder_stream *stream) in libder_stream_init() argument 101 stream->stream_ctx = ctx; in libder_stream_init() 102 stream->stream_error = 0; in libder_stream_init() 103 stream->stream_eof = false; in libder_stream_init() 104 stream->stream_offset = 0; in libder_stream_init() 105 stream->stream_consumed = 0; in libder_stream_init() 106 stream->stream_last_commit = 0; in libder_stream_init() 107 if (stream->stream_type == LDST_NONE) { in libder_stream_init() 108 assert(stream->stream_src_buf != NULL); in libder_stream_init() 109 assert(stream->stream_bufsz != 0); in libder_stream_init() [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.h | 98 /* 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/lib/libc/stdio/ |
H A D | stdio.3 | 44 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 D | ferror.3 | 44 .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 pointed [all …]
|
H A D | fseek.3 | 43 .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/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_zlib.c | 51 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/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | Cocoa.h | 16 #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 D | Cocoa.cpp | 29 #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.Printf("%s", summary_stream.GetData()); in NSNotificationSummaryProvider() 189 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSMachPortSummaryProvider() argument 225 stream.Printf("mach port: %u", in NSMachPortSummaryProvider() 235 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSIndexSetSummaryProvider() argument [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Stream.cpp | 1 //===-- Stream.cpp --------------------------------------------------------===// 9 #include "lldb/Utility/Stream.h" 27 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, in Stream() 32 Stream::Stream(bool colors) in Stream() 37 Stream::~Stream() = default; in SetByteOrder() 39 ByteOrder Stream::SetByteOrder(ByteOrder byte_order) { in SetByteOrder() 45 // Put an offset "uval" out to the stream usin in Offset() 25 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, Stream() function in Stream 30 Stream::Stream(bool colors) Stream() function in Stream [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MinidumpYAML.h | 20 /// 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() function 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/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Stream.h | 1 //===-- 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_strea 68 Stream(const Stream &other) : m_forwarder(*this) { (*this) = other; } Stream() function [all...] |
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | LibCxx.h | 16 #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 &stream, 51 ValueObject &valobj, Stream &stream, 55 ValueObject &valobj, Stream &stream, 59 ValueObject &valobj, Stream &stream, 63 ValueObject &valobj, Stream &stream, [all …]
|
H A D | LibCxx.cpp | 25 #include "lldb/Utility/Stream.h" 80 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in LibcxxFunctionSummaryProvider() argument 103 stream.Printf(" __f_ = %" PRIu64, callable_info.member_f_pointer_value); in LibcxxFunctionSummaryProvider() 107 stream.Printf( in LibcxxFunctionSummaryProvider() 113 stream.Printf( in LibcxxFunctionSummaryProvider() 119 stream.Printf(" Function = %s ", in LibcxxFunctionSummaryProvider() 128 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in LibcxxSmartPointerSummaryProvider() argument 142 stream.Printf("nullptr"); in LibcxxSmartPointerSummaryProvider() 150 stream, ValueObject::eValueObjectRepresentationStyleSummary, in LibcxxSmartPointerSummaryProvider() 157 stream.Printf("ptr = 0x%" PRIx64, ptr_sp->GetValueAsUnsigned(0)); in LibcxxSmartPointerSummaryProvider() [all …]
|
H A D | CxxStringTypes.cpp | 26 #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 …]
|
/freebsd/usr.sbin/inetd/ |
H A D | inetd.conf | 8 #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/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/ |
H A D | randombytes_salsa20_random.c | 104 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/sys/contrib/zlib/ |
H A D | uncompr.c | 25 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/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-zlib.c | 98 z_stream stream; in z_compress_level() local 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.workspace); in z_compress_level() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | Minidump.h | 27 /// 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/contrib/llvm-project/libcxx/include/ |
H A D | stdio.h | 53 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_origin.ksh | 38 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 D | redacted_incrementals.ksh | 37 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/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | DWARFLocationExpression.cpp | 118 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 ®ister_kind, in MakeRegisterBasedLocationExpressionInternal() argument 143 stream.PutHex8(base); in MakeRegisterBasedLocationExpressionInternal() 144 stream.PutULEB128(reg_num); in MakeRegisterBasedLocationExpressionInternal() 148 stream in MakeRegisterBasedLocationExpressionInternal() 161 __anon02cba98c0102(Stream &stream, RegisterKind ®ister_kind) MakeRegisterBasedLocationExpressionInternal() argument 178 EmitVFrameEvaluationDWARFExpression(llvm::StringRef program,llvm::Triple::ArchType arch_type,Stream & stream) EmitVFrameEvaluationDWARFExpression() argument 187 __anon02cba98c0202(Stream &stream, RegisterKind ®ister_kind) MakeVFrameRelLocationExpression() argument 210 __anon02cba98c0302(Stream &stream, RegisterKind ®ister_kind) MakeGlobalLocationExpression() argument 266 __anon02cba98c0502(Stream &stream, RegisterKind ®ister_kind) MakeEnregisteredLocationExpressionForComposite() argument [all...] |
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | StreamUtil.cpp | 1 //===- StreamUtil.cpp - PDB stream utilities --------------------*- C++ -*-===// 25 return formatv("Named Stream \"{0}\"", Name).str(); in getLongName() 50 static inline StreamInfo stream(StreamPurpose Purpose, StringRef Label, 100 stream(StreamPurpose::Other, "Old MSF Directory", StreamIdx); in discoverStreamPurposes() 102 Streams[StreamIdx] = stream(StreamPurpose::PDB, "PDB Stream", StreamIdx); in discoverStreamPurposes() 104 Streams[StreamIdx] = stream(StreamPurpose::DBI, "DBI Stream", StreamIdx); in discoverStreamPurposes() 106 Streams[StreamIdx] = stream(StreamPurpose::TPI, "TPI Stream", StreamId in discoverStreamPurposes() 51 static inline StreamInfo stream(StreamPurpose Purpose, StringRef Label, stream() function [all...] |