/freebsd/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.h | 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); \ 150 emitm(&stream, \ 156 emitm(&stream, 0x8941, 2); \ [all …]
|
/freebsd/sys/i386/i386/ |
H A D | bpf_jit_machdep.h | 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); \ 131 emitm(&stream, 0x8b, 1); \ 132 emitm(&stream, ((dr32 & 0x7) << 3) | 4, 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/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/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/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/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/sys/contrib/zlib/ |
H A D | uncompr.c | 29 z_stream stream; in uncompress2() local 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() 55 stream.avail_out = 0; in uncompress2() 58 if (stream.avail_out == 0) { in uncompress2() [all …]
|
H A D | compress.c | 24 z_stream stream; in compress2() local 32 stream.zalloc = (alloc_func)0; in compress2() 33 stream.zfree = (free_func)0; in compress2() 34 stream.opaque = (voidpf)0; in compress2() 36 err = deflateInit(&stream, level); in compress2() 39 stream.next_out = dest; in compress2() 40 stream.avail_out = 0; in compress2() 41 stream.next_in = (z_const Bytef *)source; in compress2() 42 stream.avail_in = 0; in compress2() 45 if (stream.avail_out == 0) { in compress2() [all …]
|
/freebsd/contrib/diff/lib/ |
H A D | version-etc.c | 45 version_etc_va (FILE *stream, in version_etc_va() argument 67 fprintf (stream, "%s (%s) %s\n", command_name, package, version); in version_etc_va() 69 fprintf (stream, "%s %s\n", package, version); in version_etc_va() 78 vfprintf (stream, _("Written by %s.\n"), authors); in version_etc_va() 82 vfprintf (stream, _("Written by %s and %s.\n"), authors); in version_etc_va() 86 vfprintf (stream, _("Written by %s, %s, and %s.\n"), authors); in version_etc_va() 92 vfprintf (stream, _("Written by %s, %s, %s,\nand %s.\n"), authors); in version_etc_va() 98 vfprintf (stream, _("Written by %s, %s, %s,\n%s, and %s.\n"), authors); in version_etc_va() 104 vfprintf (stream, _("Written by %s, %s, %s,\n%s, %s, and %s.\n"), in version_etc_va() 111 vfprintf (stream, _("Written by %s, %s, %s,\n%s, %s, %s, and %s.\n"), in version_etc_va() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_scanner.c | 140 struct FILE_INFO *stream; in lex_open() local 144 stream = emalloc_zero(sizeof(*stream) + nnambuf); in lex_open() 145 stream->curpos.nline = 1; in lex_open() 146 stream->backch = EOF; in lex_open() 148 memcpy(stream->fname, path, nnambuf); in lex_open() 151 stream->fpi = fopen(path, mode); in lex_open() 152 if (NULL == stream->fpi) { in lex_open() 153 free(stream); in lex_open() 154 stream in lex_open() 166 lex_getch(struct FILE_INFO * stream) lex_getch() argument 229 lex_ungetch(int ch,struct FILE_INFO * stream) lex_ungetch() argument 257 lex_close(struct FILE_INFO * stream) lex_close() argument [all...] |
/freebsd/stand/liblua/ |
H A D | lstd.c | 100 freopen(const char *filename, const char *mode, FILE *stream) in freopen() argument 102 fclose(stream); in freopen() 107 fread(void *ptr, size_t size, size_t count, FILE *stream) in fread() argument 111 if (stream == NULL) in fread() 113 r = (size_t)read(stream->fd, ptr, size * count); in fread() 114 stream->offset += r; in fread() 120 fwrite(const void *ptr, size_t size, size_t count, FILE *stream) in fwrite() argument 124 if (stream == NULL || ptr == NULL) in fwrite() 126 w = write(stream->fd, ptr, size * count); in fwrite() 130 stream->offset += w; in fwrite() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | LibCxx.cpp | 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() 161 stream.Printf(" strong=%" PRIu64, 1 + count_sp->GetValueAsUnsigned(0)); in LibcxxSmartPointerSummaryProvider() [all …]
|
H A D | CxxStringTypes.cpp | 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 104 return CharStringSummaryProvider<StringElementType::UTF16>(valobj, stream); in Char16StringSummaryProvider() [all …]
|
H A D | LibCxx.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, 67 ValueObject &valobj, Stream &stream, [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | Cocoa.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, 50 bool NSBundleSummaryProvider(ValueObject &valobj, Stream &stream, [all …]
|
H A D | Cocoa.cpp | 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 338 stream.Printf("%" PRIu64 " index%s", count, (count == 1 ? "" : "es")); in NSIndexSetSummaryProvider() [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.PutHex8(base + reg_num); in MakeRegisterBasedLocationExpressionInternal() 152 stream.PutSLEB128(*relative_offset); in MakeRegisterBasedLocationExpressionInternal() 161 module, [&](Stream &stream, RegisterKin in 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++ -*-===// 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", StreamIdx); in discoverStreamPurposes() 108 Streams[StreamIdx] = stream(StreamPurpose::IPI, "IPI Stream", StreamIdx); in discoverStreamPurposes() 111 stream(StreamPurpose::GlobalHash, "Global Symbol Hash", StreamIdx); in discoverStreamPurposes() 114 stream(StreamPurpose::PublicHash, "Public Symbol Hash", StreamIdx); in discoverStreamPurposes() 117 stream(StreamPurpos in discoverStreamPurposes() 51 static inline StreamInfo stream(StreamPurpose Purpose, StringRef Label, stream() function [all...] |
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | PDBLocationToDWARFExpression.cpp | 61 llvm::StringRef program, llvm::Triple::ArchType arch_type, Stream &stream) { in EmitVFrameEvaluationDWARFExpression() argument 64 stream); in EmitVFrameEvaluationDWARFExpression() 84 StreamBuffer<32> stream(Stream::eBinary, address_size, byte_order); in ConvertPDBLocationToDWARFExpression() local 88 stream.PutHex8(DW_OP_addr); in ConvertPDBLocationToDWARFExpression() 101 stream.PutMaxHex64(section->GetFileAddress() + offset, address_size, in ConvertPDBLocationToDWARFExpression() 114 stream)) { in ConvertPDBLocationToDWARFExpression() 116 stream.PutHex8(DW_OP_consts); in ConvertPDBLocationToDWARFExpression() 117 stream.PutSLEB128(offset); in ConvertPDBLocationToDWARFExpression() 118 stream.PutHex8(DW_OP_plus); in ConvertPDBLocationToDWARFExpression() 137 stream in ConvertPDBLocationToDWARFExpression() [all...] |
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_aria.c | 58 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 256, 8, 128, stream) 60 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 192, 8, 128, stream) 62 IMPLEMENT_generic_cipher(aria, ARIA, ofb, OFB, 0, 128, 8, 128, stream) 64 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 256, 8, 128, stream) 66 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 192, 8, 128, stream) 68 IMPLEMENT_generic_cipher(aria, ARIA, cfb, CFB, 0, 128, 8, 128, stream) 70 IMPLEMENT_generic_cipher(aria, ARIA, cfb1, CFB, 0, 256, 8, 128, stream) 72 IMPLEMENT_generic_cipher(aria, ARIA, cfb1, CFB, 0, 192, 8, 128, stream) 74 IMPLEMENT_generic_cipher(aria, ARIA, cfb1, CFB, 0, 128, 8, 128, stream) 76 IMPLEMENT_generic_cipher(aria, ARIA, cfb8, CFB, 0, 256, 8, 128, stream) [all …]
|
H A D | cipher_aes.c | 65 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 256, 8, 128, stream) 67 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 192, 8, 128, stream) 69 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 128, 8, 128, stream) 71 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 256, 8, 128, stream) 73 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 192, 8, 128, stream) 75 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 128, 8, 128, stream) 77 IMPLEMENT_generic_cipher(aes, AES, cfb1, CFB, 0, 256, 8, 128, stream) 79 IMPLEMENT_generic_cipher(aes, AES, cfb1, CFB, 0, 192, 8, 128, stream) 81 IMPLEMENT_generic_cipher(aes, AES, cfb1, CFB, 0, 128, 8, 128, stream) 83 IMPLEMENT_generic_cipher(aes, AES, cfb8, CFB, 0, 256, 8, 128, stream) [all …]
|
H A D | cipher_camellia.c | 64 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 256, 8, 128, stream) 66 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 192, 8, 128, stream) 68 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ofb, OFB, 0, 128, 8, 128, stream) 70 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 256, 8, 128, stream) 72 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 192, 8, 128, stream) 74 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb, CFB, 0, 128, 8, 128, stream) 76 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb1, CFB, 0, 256, 8, 128, stream) 78 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb1, CFB, 0, 192, 8, 128, stream) 80 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb1, CFB, 0, 128, 8, 128, stream) 82 IMPLEMENT_generic_cipher(camellia, CAMELLIA, cfb8, CFB, 0, 256, 8, 128, stream) [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | exc.c | 52 sm_etype_printf(exc, stream) in sm_etype_printf() argument 54 SM_FILE_T *stream; 64 (void) sm_io_putc(stream, SM_TIME_DEFAULT, *p); 70 (void) sm_io_putc(stream, SM_TIME_DEFAULT, '%'); 75 (void) sm_io_putc(stream, SM_TIME_DEFAULT, '%'); 84 (void) sm_io_putc(stream, SM_TIME_DEFAULT, '%'); 85 (void) sm_io_putc(stream, SM_TIME_DEFAULT, 102 sm_io_fputs(stream, SM_TIME_DEFAULT, s); 105 sm_io_fprintf(stream, 113 sm_io_fprintf(stream, [all …]
|