Home
last modified time | relevance | path

Searched refs:StreamMap (Results 1 – 25 of 54) sorted by relevance

123

/external/rust/crates/tokio-stream/tests/
Dstream_stream_map.rs1 use tokio_stream::{self as stream, pending, Stream, StreamExt, StreamMap};
32 let mut map = StreamMap::<&str, stream::Pending<()>>::new(); in empty()
45 let mut map = task::spawn(StreamMap::new()); in single_entry()
84 let mut map = task::spawn(StreamMap::new()); in multiple_entries()
143 let mut map = task::spawn(StreamMap::new()); in insert_remove()
173 let mut map = task::spawn(StreamMap::new()); in replace()
200 let mut map = StreamMap::new(); in size_hint_with_upper()
215 let mut map = StreamMap::new(); in size_hint_without_upper()
227 let map = StreamMap::<&str, stream::Pending<()>>::new(); in new_capacity_zero()
235 let map = StreamMap::<&str, stream::Pending<()>>::with_capacity(10); in with_capacity()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DStreamChecker.cpp393 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
406 if (!State->get<StreamMap>(StreamSym)) in getAcquisitionSite()
412 if (!State->get<StreamMap>(StreamSym)) in getAcquisitionSite()
462 StateNotNull->set<StreamMap>(RetSym, StreamState::getOpened(Desc)); in evalFopen()
464 StateNull->set<StreamMap>(RetSym, StreamState::getOpenFailed(Desc)); in evalFopen()
503 if (!State->get<StreamMap>(StreamSym)) in evalFreopen()
518 StateRetNotNull->set<StreamMap>(StreamSym, StreamState::getOpened(Desc)); in evalFreopen()
520 StateRetNull->set<StreamMap>(StreamSym, StreamState::getOpenFailed(Desc)); in evalFreopen()
534 const StreamState *SS = State->get<StreamMap>(Sym); in evalFclose()
543 State = State->set<StreamMap>(Sym, StreamState::getClosed(Desc)); in evalFclose()
[all …]
DSimpleStreamChecker.cpp89 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState)
99 state = state->remove<StreamMap>(sym); in VisitSymbol()
132 State = State->set<StreamMap>(FileDesc, StreamState::getOpened()); in checkPostCall()
151 const StreamState *SS = State->get<StreamMap>(FileDesc); in checkPreCall()
158 State = State->set<StreamMap>(FileDesc, StreamState::getClosed()); in checkPreCall()
178 StreamMapTy TrackedStreams = State->get<StreamMap>(); in checkDeadSymbols()
190 State = State->remove<StreamMap>(Sym); in checkDeadSymbols()
264 State = State->remove<StreamMap>(Sym); in checkPointerEscape()
/external/rust/crates/tokio-stream/src/
Dstream_map.rs174 pub struct StreamMap<K, V> { struct
179 impl<K, V> StreamMap<K, V> { argument
238 pub fn new() -> StreamMap<K, V> { in new()
239 StreamMap { entries: vec![] } in new()
254 pub fn with_capacity(capacity: usize) -> StreamMap<K, V> { in with_capacity()
255 StreamMap { in with_capacity()
484 impl<K, V> StreamMap<K, V> implementation
530 impl<K, V> Default for StreamMap<K, V> { implementation
536 impl<K, V> Stream for StreamMap<K, V> implementation
Dlib.rs95 pub use stream_map::StreamMap;
/external/clang/lib/StaticAnalyzer/Checkers/
DSimpleStreamChecker.cpp90 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState)
100 state = state->remove<StreamMap>(sym); in VisitSymbol()
133 State = State->set<StreamMap>(FileDesc, StreamState::getOpened()); in checkPostCall()
152 const StreamState *SS = State->get<StreamMap>(FileDesc); in checkPreCall()
159 State = State->set<StreamMap>(FileDesc, StreamState::getClosed()); in checkPreCall()
179 StreamMapTy TrackedStreams = State->get<StreamMap>(); in checkDeadSymbols()
191 State = State->remove<StreamMap>(Sym); in checkDeadSymbols()
264 State = State->remove<StreamMap>(Sym); in checkPointerEscape()
DStreamChecker.cpp105 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
229 stateNotNull->set<StreamMap>(Sym,StreamState::getOpened(CE)); in OpenFileAux()
231 stateNull->set<StreamMap>(Sym, StreamState::getOpenFailed(CE)); in OpenFileAux()
372 const StreamState *SS = state->get<StreamMap>(Sym); in CheckDoubleClose()
394 return state->set<StreamMap>(Sym, StreamState::getClosed(CE)); in CheckDoubleClose()
404 const StreamState *SS = state->get<StreamMap>(Sym); in checkDeadSymbols()
/external/llvm-project/llvm/lib/Object/
DMinidump.cpp19 auto It = StreamMap.find(Type); in getRawStream()
20 if (It != StreamMap.end()) in getRawStream()
128 DenseMap<StreamType, std::size_t> StreamMap; in create() local
149 if (!StreamMap.try_emplace(Type, StreamDescriptor.index()).second) in create()
154 new MinidumpFile(Source, Hdr, *ExpectedStreams, std::move(StreamMap))); in create()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMinidump.cpp19 auto It = StreamMap.find(Type); in getRawStream()
20 if (It != StreamMap.end()) in getRawStream()
128 DenseMap<StreamType, std::size_t> StreamMap; in create() local
149 if (!StreamMap.try_emplace(Type, StreamDescriptor.index()).second) in create()
154 new MinidumpFile(Source, Hdr, *ExpectedStreams, std::move(StreamMap))); in create()
/external/llvm/tools/llvm-pdbdump/
DYAMLOutputStyle.cpp84 auto StreamMap = File.getStreamMap(); in dumpStreamDirectory() local
85 Obj.StreamMap.emplace(); in dumpStreamDirectory()
86 for (auto &Stream : StreamMap) { in dumpStreamDirectory()
89 Obj.StreamMap->push_back(BlockList); in dumpStreamDirectory()
Dllvm-pdbdump.cpp333 if (YamlObj.StreamMap.hasValue()) { in yamlToPdb()
334 std::vector<ArrayRef<support::ulittle32_t>> StreamMap; in yamlToPdb() local
335 for (auto &E : YamlObj.StreamMap.getValue()) { in yamlToPdb()
336 StreamMap.push_back(E.Blocks); in yamlToPdb()
338 Builder.setStreamMap(StreamMap); in yamlToPdb()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DMinidump.h166 DenseMap<minidump::StreamType, std::size_t> StreamMap) in MinidumpFile() argument
168 StreamMap(std::move(StreamMap)) {} in MinidumpFile()
186 DenseMap<minidump::StreamType, std::size_t> StreamMap; variable
/external/llvm-project/llvm/include/llvm/Object/
DMinidump.h166 DenseMap<minidump::StreamType, std::size_t> StreamMap) in MinidumpFile() argument
168 StreamMap(std::move(StreamMap)) {} in MinidumpFile()
186 DenseMap<minidump::StreamType, std::size_t> StreamMap; variable
/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_platform.h35 using StreamMap =
119 StreamMap* stream_map() { return &stream_map_; } in stream_map()
146 StreamMap stream_map_;
/external/llvm/lib/DebugInfo/PDB/Raw/
DPDBFileBuilder.cpp46 File->StreamMap = S; in setStreamMap()
54 File->StreamMap.clear(); in generateSimpleStreamMap()
89 File->StreamMap.push_back(ThisStream); in generateSimpleStreamMap()
DPDBFile.cpp71 return StreamMap[StreamIndex]; in getStreamBlockList()
163 StreamMap.push_back(Blocks); in parseStreamData()
364 for (const auto &Blocks : StreamMap) { in commit()
/external/llvm-project/llvm/unittests/DebugInfo/MSF/
DMSFBuilderTest.cpp299 EXPECT_EQ(3U, L.StreamMap.size()); in TEST_F()
304 EXPECT_EQ(ExpectedNumBlocks, L.StreamMap[I].size()); in TEST_F()
323 EXPECT_EQ(1U, L.StreamMap[0].size()); in TEST_F()
326 EXPECT_EQ(B + 2, L.StreamMap[0].front()); in TEST_F()
381 auto BlocksRef = L.StreamMap[*SN]; in TEST_F()
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DPDBFile.h98 return StreamMap; in getStreamMap()
133 std::vector<ArrayRef<support::ulittle32_t>> StreamMap; variable
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_unittest_helper.h137 typedef std::map<uint32_t, RtpStream*> StreamMap; typedef
144 StreamMap streams_;
Dremote_bitrate_estimator_unittest_helper.cc128 for (StreamMap::iterator it = streams_.begin(); it != streams_.end(); ++it) { in ~StreamGenerator()
150 for (StreamMap::iterator it = streams_.begin(); it != streams_.end(); ++it) { in SetBitrateBps()
155 for (StreamMap::iterator it = streams_.begin(); it != streams_.end(); ++it) { in SetBitrateBps()
179 StreamMap::iterator it = in GenerateFrame()
/external/llvm-project/llvm/tools/llvm-pdbutil/
DYAMLOutputStyle.cpp141 auto StreamMap = File.getStreamMap(); in dumpStreamDirectory() local
142 Obj.StreamMap.emplace(); in dumpStreamDirectory()
143 for (auto &Stream : StreamMap) { in dumpStreamDirectory()
146 Obj.StreamMap->push_back(BlockList); in dumpStreamDirectory()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DStreamMap.java21 class StreamMap { class
DArchive.java38 StreamMap streamMap;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp62 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream()
64 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
330 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream()
332 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
/external/llvm-project/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp62 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream()
64 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()
330 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream()
332 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream()

123