Home
last modified time | relevance | path

Searched refs:Stream (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/netbsd-src/external/gpl3/binutils/dist/zlib/contrib/ada/
H A Dzlib-streams.adb19 procedure Close (Stream : in out Stream_Type) is
23 if Stream.Mode = Out_Stream or Stream.Mode = Duplex then
26 Flush (Stream, Finish);
28 Close (Stream.Writer);
31 if Stream.Mode = In_Stream or Stream.Mode = Duplex then
32 Close (Stream.Reader);
33 Free (Stream.Buffer);
42 (Stream : out Stream_Type;
78 Stream.Back := Back;
79 Stream.Mode := Mode;
[all …]
H A Dzlib-streams.ads21 (Stream : in out Stream_Type;
26 (Stream : in out Stream_Type;
30 (Stream : in out Stream_Type;
37 function Read_Total_In (Stream : in Stream_Type) return Count;
41 function Read_Total_Out (Stream : in Stream_Type) return Count;
45 function Write_Total_In (Stream : in Stream_Type) return Count;
49 function Write_Total_Out (Stream : in Stream_Type) return Count;
54 (Stream : out Stream_Type;
80 function Is_Open (Stream : Stream_Type) return Boolean;
82 procedure Close (Stream : in out Stream_Type);
/netbsd-src/common/dist/zlib/contrib/ada/
H A Dzlib-streams.adb19 procedure Close (Stream : in out Stream_Type) is
23 if Stream.Mode = Out_Stream or Stream.Mode = Duplex then
26 Flush (Stream, Finish);
28 Close (Stream.Writer);
31 if Stream.Mode = In_Stream or Stream.Mode = Duplex then
32 Close (Stream.Reader);
33 Free (Stream.Buffer);
42 (Stream : out Stream_Type;
78 Stream.Back := Back;
79 Stream.Mode := Mode;
[all …]
/netbsd-src/external/gpl3/gdb/dist/zlib/contrib/ada/
H A Dzlib-streams.adb19 procedure Close (Stream : in out Stream_Type) is
23 if Stream.Mode = Out_Stream or Stream.Mode = Duplex then
26 Flush (Stream, Finish);
28 Close (Stream.Writer);
31 if Stream.Mode = In_Stream or Stream.Mode = Duplex then
32 Close (Stream.Reader);
33 Free (Stream.Buffer);
42 (Stream : out Stream_Type;
78 Stream.Back := Back;
79 Stream.Mode := Mode;
[all …]
H A Dzlib-streams.ads21 (Stream : in out Stream_Type;
26 (Stream : in out Stream_Type;
30 (Stream : in out Stream_Type;
37 function Read_Total_In (Stream : in Stream_Type) return Count;
41 function Read_Total_Out (Stream : in Stream_Type) return Count;
45 function Write_Total_In (Stream : in Stream_Type) return Count;
49 function Write_Total_Out (Stream : in Stream_Type) return Count;
54 (Stream : out Stream_Type;
80 function Is_Open (Stream : Stream_Type) return Boolean;
82 procedure Close (Stream : in out Stream_Type);
/netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/ada/
H A Dzlib-streams.adb19 procedure Close (Stream : in out Stream_Type) is
23 if Stream.Mode = Out_Stream or Stream.Mode = Duplex then
26 Flush (Stream, Finish);
28 Close (Stream.Writer);
31 if Stream.Mode = In_Stream or Stream.Mode = Duplex then
32 Close (Stream.Reader);
33 Free (Stream.Buffer);
42 (Stream : out Stream_Type;
78 Stream.Back := Back;
79 Stream.Mode := Mode;
[all …]
H A Dzlib-streams.ads21 (Stream : in out Stream_Type;
26 (Stream : in out Stream_Type;
30 (Stream : in out Stream_Type;
37 function Read_Total_In (Stream : in Stream_Type) return Count;
41 function Read_Total_Out (Stream : in Stream_Type) return Count;
45 function Write_Total_In (Stream : in Stream_Type) return Count;
49 function Write_Total_Out (Stream : in Stream_Type) return Count;
54 (Stream : out Stream_Type;
80 function Is_Open (Stream : Stream_Type) return Boolean;
82 procedure Close (Stream : in out Stream_Type);
/netbsd-src/external/gpl3/gcc.old/dist/fixincludes/
H A Dsystem.h62 # define putc(C, Stream) putc_unlocked (C, Stream) argument
70 # define getc(Stream) getc_unlocked (Stream) argument
78 # define fputc(C, Stream) fputc_unlocked (C, Stream) argument
83 # define clearerr(Stream) clearerr_unlocked (Stream) argument
90 # define feof(Stream) feof_unlocked (Stream) argument
97 # define fileno(Stream) fileno_unlocked (Stream) argument
104 # define fflush(Stream) fflush_unlocked (Stream) argument
111 # define fgetc(Stream) fgetc_unlocked (Stream) argument
118 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) argument
125 # define fputs(String, Stream) fputs_unlocked (String, Stream) argument
[all …]
/netbsd-src/external/gpl3/gcc/dist/fixincludes/
H A Dsystem.h62 # define putc(C, Stream) putc_unlocked (C, Stream) argument
70 # define getc(Stream) getc_unlocked (Stream) argument
78 # define fputc(C, Stream) fputc_unlocked (C, Stream) argument
83 # define clearerr(Stream) clearerr_unlocked (Stream) argument
90 # define feof(Stream) feof_unlocked (Stream) argument
97 # define fileno(Stream) fileno_unlocked (Stream) argument
104 # define fflush(Stream) fflush_unlocked (Stream) argument
111 # define fgetc(Stream) fgetc_unlocked (Stream) argument
118 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) argument
125 # define fputs(String, Stream) fputs_unlocked (String, Stream) argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DMinidumpYAML.h27 struct Stream { struct
39 Stream(StreamKind Kind, minidump::StreamType Type) : Kind(Kind), Type(Type) {} in Stream() function
40 virtual ~Stream(); // anchor
49 static std::unique_ptr<Stream> create(minidump::StreamType Type);
52 static Expected<std::unique_ptr<Stream>>
61 template <typename EntryT> struct ListStream : public Stream {
67 : Stream(EntryT::Kind, EntryT::Type), Entries(std::move(Entries)) {} in Stream() function
69 static bool classof(const Stream *S) { return S->Kind == EntryT::Kind; } in classof()
74 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ModuleList;
85 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ThreadList;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDiagnosticPrinter.cpp23 Stream << C; in operator <<()
28 Stream << C; in operator <<()
33 Stream << C; in operator <<()
38 Stream << Str; in operator <<()
43 Stream << Str; in operator <<()
49 Stream << Str; in operator <<()
54 Stream << N; in operator <<()
58 Stream << N; in operator <<()
64 Stream << N; in operator <<()
69 Stream << N; in operator <<()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dsystem.h79 # define putc(C, Stream) putc_unlocked (C, Stream) argument
87 # define getc(Stream) getc_unlocked (Stream) argument
95 # define fputc(C, Stream) fputc_unlocked (C, Stream) argument
104 # define clearerr(Stream) clearerr_unlocked (Stream) argument
111 # define feof(Stream) feof_unlocked (Stream) argument
118 # define fileno(Stream) fileno_unlocked (Stream) argument
125 # define fflush(Stream) fflush_unlocked (Stream) argument
132 # define fgetc(Stream) fgetc_unlocked (Stream) argument
139 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) argument
146 # define fputs(String, Stream) fputs_unlocked (String, Stream) argument
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dsystem.h79 # define putc(C, Stream) putc_unlocked (C, Stream) argument
87 # define getc(Stream) getc_unlocked (Stream) argument
95 # define fputc(C, Stream) fputc_unlocked (C, Stream) argument
104 # define clearerr(Stream) clearerr_unlocked (Stream) argument
111 # define feof(Stream) feof_unlocked (Stream) argument
118 # define fileno(Stream) fileno_unlocked (Stream) argument
125 # define fflush(Stream) fflush_unlocked (Stream) argument
132 # define fgetc(Stream) fgetc_unlocked (Stream) argument
139 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) argument
146 # define fputs(String, Stream) fputs_unlocked (String, Stream) argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp37 llvm::BitstreamCursor Stream(**Buffer); in readDiagnostics() local
40 if (Stream.AtEndOfStream()) in readDiagnostics()
45 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in readDiagnostics()
56 while (!Stream.AtEndOfStream()) { in readDiagnostics()
57 if (Expected<unsigned> Res = Stream.ReadCode()) { in readDiagnostics()
67 Expected<unsigned> MaybeSubBlockID = Stream.ReadSubBlockID(); in readDiagnostics()
77 Stream.ReadBlockInfoBlock(); in readDiagnostics()
87 Stream.setBlockInfo(&*BlockInfo); in readDiagnostics()
90 if ((EC = readMetaBlock(Stream))) in readDiagnostics()
94 if ((EC = readDiagnosticBlock(Stream))) in readDiagnostics()
[all …]
H A DSerializedDiagnosticPrinter.cpp249 : DiagOpts(Diags), Stream(Buffer), OutputFile(File.str()), in SharedState()
259 llvm::BitstreamWriter Stream; member
315 llvm::BitstreamWriter &Stream, in EmitBlockID() argument
319 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID()
330 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID()
335 llvm::BitstreamWriter &Stream, in EmitRecordID() argument
343 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID()
388 State->Stream.EmitRecordWithBlob(State->Abbrevs.get(RECORD_FILENAME), Record, in getEmitFile()
399 State->Stream.EmitRecordWithAbbrev(State->Abbrevs.get(RECORD_SOURCE_RANGE), in EmitCharSourceRange()
406 State->Stream.Emit((unsigned)'D', 8); in EmitPreamble()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/PDB/
H A Dindex.rst63 A PDB file is an MSF (Multi-Stream Format) file. An MSF file is a "file system
86 | Name | Stream Index | Contents |
88 | Old Directory | - Fixed Stream Index 0 | - Previous MSF Stream Directory |
90 | PDB Stream | - Fixed Stream Index 1 | - Basic File Information |
94 | TPI Stream | - Fixed Stream Index 2 | - CodeView Type Records |
95 | | | - Index of TPI Hash Stream |
97 | DBI Stream | - Fixed Stream Index 3 | - Module/Compiland Information |
105 | IPI Stream | - Fixed Stream Index 4 | - CodeView Type Records |
106 | | | - Index of IPI Hash Stream |
108 | /LinkInfo | - Contained in PDB Stream | - Unknown |
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp68 Stream::~Stream() = default;
70 Stream::StreamKind Stream::getKind(StreamType Type) { in getKind()
97 std::unique_ptr<Stream> Stream::create(StreamType Type) { in create()
290 static void streamMapping(yaml::IO &IO, RawContentStream &Stream) { in streamMapping() argument
291 IO.mapOptional("Content", Stream.Content); in streamMapping()
292 IO.mapOptional("Size", Stream.Size, Stream.Content.binary_size()); in streamMapping()
295 static std::string streamValidate(RawContentStream &Stream) { in streamValidate() argument
296 if (Stream.Size.value < Stream.Content.binary_size()) in streamValidate()
307 static void streamMapping(yaml::IO &IO, MemoryInfoListStream &Stream) { in streamMapping() argument
308 IO.mapRequired("Memory Ranges", Stream.Infos); in streamMapping()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DBinaryStreamArray.h50 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
102 explicit VarStreamArray(BinaryStreamRef Stream, uint32_t Skew = 0)
103 : Stream(Stream), Skew(Skew) {} in Stream() argument
105 VarStreamArray(BinaryStreamRef Stream, const Extractor &E, uint32_t Skew = 0)
106 : Stream(Stream), E(E), Skew(Skew) {} in Stream() argument
112 bool valid() const { return Stream.valid(); } in valid()
117 bool empty() const { return Stream.getLength() == 0; } in empty()
124 BinaryStreamRef NewStream = Stream.slice(0, End); in substream()
139 BinaryStreamRef getUnderlyingStream() const { return Stream; } in getUnderlyingStream()
141 Stream = NewStream;
[all …]
H A DFormatProviders.h131 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
136 write_hex(Stream, V, HS, Digits);
148 write_integer(Stream, V, Digits, IS);
180 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
184 write_hex(Stream, reinterpret_cast<std::uintptr_t>(V), HS, Digits);
202 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
208 Stream << S.substr(0, N);
217 static void format(const Twine &V, llvm::raw_ostream &Stream,
219 format_provider<std::string>::format(V.str(), Stream, Style);
235 static void format(const char &V, llvm::raw_ostream &Stream,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h188 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
194 BCRecordCoding<Fields...>::emit(Stream, buffer, code, in emit()
225 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
231 Stream.EmitRecordWithAbbrev(code, buffer); in emit()
254 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
257 Stream.EmitRecordWithArray(code, buffer, data); in emit()
261 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
269 Stream.EmitRecordWithAbbrev(code, buffer); in emit()
273 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
276 emit(Stream, buffer, code, array); in emit()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp37 BitstreamCursor &Stream, BitstreamBlockInfo &BlockInfo) in BitstreamMetaParserHelper() argument
38 : Stream(Stream), BlockInfo(BlockInfo) {} in BitstreamMetaParserHelper()
42 BitstreamCursor &Stream = Parser.Stream; in parseRecord() local
47 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob); in parseRecord()
84 BitstreamCursor &Stream) in BitstreamRemarkParserHelper() argument
85 : Stream(Stream) {} in BitstreamRemarkParserHelper()
89 BitstreamCursor &Stream = Parser.Stream; in parseRecord() local
94 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob); in parseRecord()
159 BitstreamCursor &Stream = ParserHelper.Stream; in parseBlock() local
160 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlock()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp134 BitstreamWriter &Stream; member in __anon97c08c270111::BitcodeWriterBase
141 BitcodeWriterBase(BitstreamWriter &Stream, StringTableBuilder &StrtabBuilder) in BitcodeWriterBase() argument
142 : Stream(Stream), StrtabBuilder(StrtabBuilder) {} in BitcodeWriterBase()
151 Stream.EmitRecord(bitc::MODULE_CODE_VERSION, ArrayRef<uint64_t>{2}); in writeModuleVersion()
183 BitstreamWriter &Stream, in ModuleBitcodeWriterBase() argument
186 : BitcodeWriterBase(Stream, StrtabBuilder), M(M), in ModuleBitcodeWriterBase()
269 BitstreamWriter &Stream, bool ShouldPreserveUseListOrder, in ModuleBitcodeWriter() argument
272 : ModuleBitcodeWriterBase(M, StrtabBuilder, Stream, in ModuleBitcodeWriter()
275 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter()
432 IndexBitcodeWriter(BitstreamWriter &Stream, StringTableBuilder &StrtabBuilder, in IndexBitcodeWriter() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DMCInstrDescView.cpp252 raw_ostream &Stream) const { in dump()
253 Stream << "- " << Name << "\n"; in dump()
255 Stream << "- Op" << Op.getIndex(); in dump()
257 Stream << " Explicit"; in dump()
259 Stream << " Implicit"; in dump()
261 Stream << " Use"; in dump()
263 Stream << " Def"; in dump()
265 Stream << " Immediate"; in dump()
267 Stream << " Memory"; in dump()
270 Stream << " Reg(" << RegInfo.getName(Op.getImplicitReg()) << ")"; in dump()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNamedStreamMap.cpp51 Error NamedStreamMap::load(BinaryStreamReader &Stream) { in load() argument
53 if (auto EC = Stream.readInteger(StringBufferSize)) in load()
59 if (auto EC = Stream.readFixedString(Buffer, StringBufferSize)) in load()
63 return OffsetIndexMap.load(Stream); in load()
100 bool NamedStreamMap::get(StringRef Stream, uint32_t &StreamNo) const { in get() argument
101 auto Iter = OffsetIndexMap.find_as(Stream, HashTraits); in get()
111 StringRef Stream(NamesBuffer.data() + Entry.first); in entries() local
112 Result.try_emplace(Stream, Entry.second); in entries()
124 void NamedStreamMap::set(StringRef Stream, uint32_t StreamNo) { in set() argument
125 OffsetIndexMap.set_as(Stream, support::ulittle32_t(StreamNo), HashTraits); in set()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DMinidump.cpp58 Optional<ArrayRef<uint8_t>> Stream = getRawStream(StreamType::MemoryInfoList); in getMemoryInfoList() local
59 if (!Stream) in getMemoryInfoList()
62 getDataSliceAs<minidump::MemoryInfoListHeader>(*Stream, 0, 1); in getMemoryInfoList()
67 getDataSlice(*Stream, H.SizeOfHeader, H.SizeOfEntry * H.NumberOfEntries); in getMemoryInfoList()
76 Optional<ArrayRef<uint8_t>> Stream = getRawStream(Type); in getListStream() local
77 if (!Stream) in getListStream()
79 auto ExpectedSize = getDataSliceAs<support::ulittle32_t>(*Stream, 0, 1); in getListStream()
89 if (ListOffset + sizeof(T) * ListSize < Stream->size()) in getListStream()
92 return getDataSliceAs<T>(*Stream, ListOffset, ListSize); in getListStream()
133 Expected<ArrayRef<uint8_t>> Stream = in create() local
[all …]

12345678910>>...14