/freebsd/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.h | 150 emitm(&stream, \ 479 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \ 480 stream.refs[stream.bpf_pc] + 5, 4); \ 481 JMP(stream.refs[stream.bpf_pc + ins->jf] - \ 482 stream.refs[stream.bpf_pc]); \ 485 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \ 486 stream.refs[stream.bpf_pc], 4); \ 489 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \ 490 stream.refs[stream.bpf_pc], 4); \ 496 JMP(stream.refs[stream.bpf_pc + (off)] - \ [all …]
|
H A D | bpf_jit_machdep.c | 67 (stream->refs)[stream->bpf_pc] += len; in emit_length() 80 stream->ibuf[stream->cur_ip] = (u_char)value; in emit_code() 81 stream->cur_ip++; in emit_code() 85 *((u_short *)(void *)(stream->ibuf + stream->cur_ip)) = in emit_code() 87 stream->cur_ip += 2; in emit_code() 91 *((u_int *)(void *)(stream->ibuf + stream->cur_ip)) = value; in emit_code() 92 stream->cur_ip += 4; in emit_code() 179 memset(&stream, 0, sizeof(stream)); in bpf_jit_compile() 216 stream.bpf_pc++; in bpf_jit_compile() 621 stream.refs[i] += stream.refs[i - 1]; in bpf_jit_compile() [all …]
|
/freebsd/sys/i386/i386/ |
H A D | bpf_jit_machdep.h | 117 emitm(&stream, \ 424 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \ 425 stream.refs[stream.bpf_pc] + 5, 4); \ 426 JMP(stream.refs[stream.bpf_pc + ins->jf] - \ 427 stream.refs[stream.bpf_pc]); \ 430 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \ 431 stream.refs[stream.bpf_pc], 4); \ 434 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \ 435 stream.refs[stream.bpf_pc], 4); \ 441 JMP(stream.refs[stream.bpf_pc + (off)] - \ [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_zlib.c | 54 stream->zalloc = zcalloc; in zlib_deflateInit() 55 stream->opaque = NULL; in zlib_deflateInit() 56 stream->zfree = zcfree; in zlib_deflateInit() 77 stream->opaque = NULL; in zlib_inflateInit() 78 stream->zfree = zcfree; in zlib_inflateInit() 133 z_stream stream = {0}; in z_compress_level() local 138 stream.next_out = dest; in z_compress_level() 140 stream.opaque = NULL; in z_compress_level() 147 if (!stream.opaque) in z_compress_level() 187 z_stream stream = {0}; in z_uncompress() local [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-zlib.c | 99 z_stream stream; in z_compress_level() local 104 stream.next_out = dest; in z_compress_level() 111 if (!stream.workspace) in z_compress_level() 122 zlib_deflateEnd(&stream); in z_compress_level() 126 *destLen = stream.total_out; in z_compress_level() 128 err = zlib_deflateEnd(&stream); in z_compress_level() 153 z_stream stream; in z_uncompress() local 158 stream.next_out = dest; in z_uncompress() 165 if (!stream.workspace) in z_uncompress() 176 zlib_inflateEnd(&stream); in z_uncompress() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/ |
H A D | randombytes_salsa20_random.c | 332 memset(stream.rnd32, 0, sizeof stream.rnd32); in randombytes_salsa20_random_stir() 345 arc4random_buf(stream.key, sizeof stream.key); in randombytes_salsa20_random_stir() 407 sodium_memzero(&stream, sizeof stream); in randombytes_salsa20_random_close() 437 sodium_memzero(&stream, sizeof stream); in randombytes_salsa20_random_close() 504 stream.nonce++; in randombytes_salsa20_random_buf() 505 crypto_stream_salsa20_xor(stream.key, stream.key, sizeof stream.key, in randombytes_salsa20_random_buf() 522 COMPILER_ASSERT(((sizeof stream.rnd32) - (sizeof stream.key)) in randombytes_salsa20_random() 532 stream.rnd32_outleft = (sizeof stream.rnd32) - (sizeof stream.key); in randombytes_salsa20_random() 535 memset(&stream.rnd32[stream.rnd32_outleft], 0, sizeof stream.key); in randombytes_salsa20_random() 539 memcpy(&val, &stream.rnd32[stream.rnd32_outleft], sizeof val); in randombytes_salsa20_random() [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" 81 log_must eval "zfs send -i $sendfs#BC $dsF >$stream" [all …]
|
H A D | redacted_incrementals.ksh | 37 typeset stream=$(mktemp $tmpdir/stream.XXXX) 49 log_must eval "zfs receive $POOL2/rfs <$stream" 53 log_must eval "zfs recv $POOL2/rstride3 <$stream" 56 log_must eval "zfs recv $POOL2/rstride5 <$stream" 67 log_must eval "zfs recv $POOL2/rint <$stream" 75 log_must eval "zfs receive $POOL2/rrm <$stream" 86 log_mustnot eval "zfs recv $POOL2/rint <$stream" 89 log_mustnot eval "zfs recv $POOL2/rint <$stream" 125 log_must eval "zfs receive $POOL2/rfs <$stream" 130 log_must eval "zfs receive $POOL2/rfs <$stream" [all …]
|
H A D | redacted_compressed.ksh | 36 typeset stream=$(mktemp $tmpdir/stream.XXXX) 49 log_must eval "zfs send -c --redact book1 $sendfs@snap >$stream" 50 log_must eval "zfs recv $recvfs <$stream" 51 log_must stream_has_features $stream compressed lz4 redacted 53 verify_stream_size $stream $sendfs 55 verify_stream_size $stream $recvfs 58 log_must eval "zfs send -c -i $sendfs@snap $clone@snap1 >$stream" 59 log_must eval "zfs recv $POOL2/inc1 <$stream" 60 log_must stream_has_features $stream compressed lz4 66 log_must eval "zfs recv $POOL2/inc2 <$stream" [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | uncompr.c | 29 z_stream stream; in uncompress2() local 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() 62 if (stream.avail_in == 0) { in uncompress2() 64 len -= stream.avail_in; 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() 39 stream.next_out = dest; in compress2() 40 stream.avail_out = 0; in compress2() 42 stream.avail_in = 0; in compress2() 45 if (stream.avail_out == 0) { in compress2() 49 if (stream.avail_in == 0) { in compress2() 56 *destLen = stream.total_out; in compress2() [all …]
|
/freebsd/contrib/diff/lib/ |
H A D | version-etc.c | 45 version_etc_va (FILE *stream, in version_etc_va() argument 69 fprintf (stream, "%s %s\n", package, version); in version_etc_va() 78 vfprintf (stream, _("Written by %s.\n"), authors); in version_etc_va() 118 vfprintf (stream, _("\ in version_etc_va() 126 vfprintf (stream, _("\ in version_etc_va() 136 vfprintf (stream, _("\ in version_etc_va() 142 putc ('\n', stream); in version_etc_va() 144 fputs (version_etc_copyright, stream); in version_etc_va() 145 putc ('\n', stream); in version_etc_va() 150 stream); in version_etc_va() [all …]
|
/freebsd/stand/liblua/ |
H A D | lstd.c | 102 fclose(stream); in freopen() 111 if (stream == NULL) in fread() 135 fclose(FILE *stream) in fclose() argument 137 if (stream == NULL) in fclose() 139 close(stream->fd); in fclose() 140 free(stream); in fclose() 146 ferror(FILE *stream) in ferror() argument 149 return (stream == NULL || stream->fd < 0); in ferror() 153 feof(FILE *stream) in feof() argument 159 return (stream->offset >= stream->size); in feof() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_scanner.c | 144 stream = emalloc_zero(sizeof(*stream) + nnambuf); in lex_open() 153 free(stream); in lex_open() 154 stream = NULL; in lex_open() 157 return stream; in lex_open() 171 if (NULL == stream || stream->force_eof) in lex_getch() 177 if (stream->fpi) in lex_getch() 214 stream->bakpos = stream->curpos; in lex_getch() 233 if (NULL == stream || stream->force_eof) in lex_ungetch() 240 if (stream->fpi) in lex_ungetch() 245 stream->curpos = stream->bakpos; in lex_ungetch() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | CxxStringTypes.cpp | 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 103 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char16StringSummaryProvider() argument 134 options.SetStream(&stream); in WCharStringSummaryProvider() 148 stream.Printf("size for wchar_t is not valid"); in WCharStringSummaryProvider() 193 options.SetStream(&stream); in WCharSummaryProvider() [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, 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, 53 bool NSURLSummaryProvider(ValueObject &valobj, Stream &stream, 75 bool ObjCBOOLSummaryProvider(ValueObject &valobj, Stream &stream, [all …]
|
H A D | Cocoa.cpp | 350 stream << prefix; in NSNumber_FormatChar() 352 stream << suffix; in NSNumber_FormatChar() 363 stream << prefix; in NSNumber_FormatShort() 365 stream << suffix; in NSNumber_FormatShort() 376 stream << prefix; in NSNumber_FormatInt() 378 stream << suffix; in NSNumber_FormatInt() 389 stream << prefix; in NSNumber_FormatLong() 391 stream << suffix; in NSNumber_FormatLong() 403 stream << prefix; in NSNumber_FormatInt128() 408 stream << suffix; in NSNumber_FormatInt128() [all …]
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
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) 88 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 256, 8, 128, stream) 90 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 192, 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) 89 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 256, 8, 128, stream) 91 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 192, 8, 128, stream) [all …]
|
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) 82 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 256, 8, 128, stream) 84 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 192, 8, 128, stream) [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | DWARFLocationExpression.cpp | 120 if (!writer(stream, register_kind)) in MakeLocationExpressionInternal() 124 std::make_shared<DataBufferHeap>(stream.GetData(), stream.GetSize()); in MakeLocationExpressionInternal() 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() 194 stream.PutHex8(llvm::dwarf::DW_OP_consts); in MakeVFrameRelLocationExpression() 195 stream.PutSLEB128(offset); in MakeVFrameRelLocationExpression() 196 stream.PutHex8(llvm::dwarf::DW_OP_plus); in MakeVFrameRelLocationExpression() 211 stream.PutHex8(llvm::dwarf::DW_OP_addr); in MakeGlobalLocationExpression() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | PDBLocationToDWARFExpression.cpp | 88 stream.PutHex8(DW_OP_addr); 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.PutHex8(DW_OP_bregx); in ConvertPDBLocationToDWARFExpression() 138 stream.PutULEB128(reg_num); in ConvertPDBLocationToDWARFExpression() 143 stream.PutSLEB128(offset); in ConvertPDBLocationToDWARFExpression() 156 stream.PutHex8(DW_OP_regx); in ConvertPDBLocationToDWARFExpression() 157 stream.PutULEB128(reg_num); in ConvertPDBLocationToDWARFExpression() 159 stream.PutHex8(DW_OP_reg0 + reg_num); in ConvertPDBLocationToDWARFExpression() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | StreamUtil.cpp | 50 static inline StreamInfo stream(StreamPurpose Purpose, StringRef Label, in stream() function 117 stream(StreamPurpose::Symbols, "Symbol Records", StreamIdx); in discoverStreamPurposes() 120 stream(StreamPurpose::TpiHash, "TPI Hash", StreamIdx); in discoverStreamPurposes() 123 stream(StreamPurpose::Other, "TPI Aux Hash", StreamIdx); in discoverStreamPurposes() 126 stream(StreamPurpose::IpiHash, "IPI Hash", StreamIdx); in discoverStreamPurposes() 129 stream(StreamPurpose::Other, "IPI Aux Hash", StreamIdx); in discoverStreamPurposes() 133 stream(StreamPurpose::Other, "Exception Data", StreamIdx); in discoverStreamPurposes() 136 stream(StreamPurpose::Other, "Fixup Data", StreamIdx); in discoverStreamPurposes() 142 stream(StreamPurpose::Other, "New FPO Data", StreamIdx); in discoverStreamPurposes() 160 Streams[StreamIdx] = stream(StreamPurpose::Other, in discoverStreamPurposes() [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; 105 sm_io_fprintf(stream, 113 sm_io_fprintf(stream, 122 stream); 152 SM_FILE_T *stream)); 157 SM_FILE_T *stream; 500 sm_exc_write(exc, stream) in sm_exc_write() argument 502 SM_FILE_T *stream; 520 sm_exc_print(exc, stream) in sm_exc_print() argument [all …]
|
/freebsd/contrib/ldns/drill/ |
H A D | drill.c | 34 usage(FILE *stream, const char *progname) in usage() argument 38 fprintf(stream, "\t<type> defaults to A\n"); in usage() 39 fprintf(stream, "\t<class> defaults to IN\n"); in usage() 41 fprintf(stream, "\n Options:\n"); in usage() 50 fprintf(stream, "\n"); in usage() 55 fprintf(stream, "\t-h\t\tshow this help\n"); in usage() 56 fprintf(stream, "\t-v\t\tshow version\n"); in usage() 57 fprintf(stream, "\n Query options:\n"); in usage() 58 fprintf(stream, "\t-4\t\tstay on ip4\n"); in usage() 59 fprintf(stream, "\t-6\t\tstay on ip6\n"); in usage() [all …]
|