Home
last modified time | relevance | path

Searched refs:ChannelT (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRPCSerialization.h256 template <typename ChannelT, typename WireType,
260 template <typename ChannelT>
263 static Error emitSeparator(ChannelT &C) { return Error::success(); } in emitSeparator()
264 static Error consumeSeparator(ChannelT &C) { return Error::success(); } in consumeSeparator()
276 template <typename ChannelT, typename... ArgTs>
279 template <typename ChannelT>
280 class SequenceSerialization<ChannelT> {
282 static Error serialize(ChannelT &C) { return Error::success(); } in serialize()
283 static Error deserialize(ChannelT &C) { return Error::success(); } in deserialize()
286 template <typename ChannelT, typename ArgT>
[all …]
DRawByteChannel.h87 template <typename ChannelT, typename T>
89 ChannelT, T, T,
91 std::is_base_of<RawByteChannel, ChannelT>::value &&
98 static Error serialize(ChannelT &C, T V) { in serialize()
103 static Error deserialize(ChannelT &C, T &V) { in deserialize()
111 template <typename ChannelT>
113 ChannelT, bool, bool,
114 std::enable_if_t<std::is_base_of<RawByteChannel, ChannelT>::value>> {
116 static Error serialize(ChannelT &C, bool V) { in serialize()
124 static Error deserialize(ChannelT &C, bool &V) { in deserialize()
[all …]
DRPCUtils.h319 template <typename WireRetT, typename HandlerRetT, typename ChannelT,
321 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
333 SerializationTraits<ChannelT, WireRetT, in sendResult()
344 template <typename ChannelT, typename FunctionIdT, typename SequenceNumberT>
345 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
365 template <typename WireRetT, typename HandlerRetT, typename ChannelT,
367 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
379 SerializationTraits<ChannelT, WireRetT, HandlerRetT>::serialize( in sendResult()
390 template <typename ChannelT, typename FunctionIdT, typename SequenceNumberT>
391 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRPCSerialization.h241 template <typename ChannelT, typename WireType,
245 template <typename ChannelT>
248 static Error emitSeparator(ChannelT &C) { return Error::success(); } in emitSeparator()
249 static Error consumeSeparator(ChannelT &C) { return Error::success(); } in consumeSeparator()
261 template <typename ChannelT, typename... ArgTs>
264 template <typename ChannelT>
265 class SequenceSerialization<ChannelT> {
267 static Error serialize(ChannelT &C) { return Error::success(); } in serialize()
268 static Error deserialize(ChannelT &C) { return Error::success(); } in deserialize()
271 template <typename ChannelT, typename ArgT>
[all …]
DRawByteChannel.h87 template <typename ChannelT, typename T>
89 ChannelT, T, T,
91 std::is_base_of<RawByteChannel, ChannelT>::value &&
98 static Error serialize(ChannelT &C, T V) { in serialize()
103 static Error deserialize(ChannelT &C, T &V) { in deserialize()
111 template <typename ChannelT>
112 class SerializationTraits<ChannelT, bool, bool,
114 RawByteChannel, ChannelT>::value>::type> {
116 static Error serialize(ChannelT &C, bool V) { in serialize()
124 static Error deserialize(ChannelT &C, bool &V) { in deserialize()
[all …]
DRPCUtils.h321 template <typename WireRetT, typename HandlerRetT, typename ChannelT,
323 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
335 SerializationTraits<ChannelT, WireRetT, in sendResult()
346 template <typename ChannelT, typename FunctionIdT, typename SequenceNumberT>
347 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
367 template <typename WireRetT, typename HandlerRetT, typename ChannelT,
369 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
381 SerializationTraits<ChannelT, WireRetT, HandlerRetT>::serialize( in sendResult()
392 template <typename ChannelT, typename FunctionIdT, typename SequenceNumberT>
393 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId, in sendResult()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h103 template <typename ChannelT>
104 static Error readResult(ChannelT &C, std::promise<OptionalReturn> &P) { in readResult()
122 template <typename ChannelT, typename SequenceNumberT>
123 static Error respond(ChannelT &C, SequenceNumberT SeqNo, in respond()
159 template <typename ChannelT>
160 static Error readResult(ChannelT &C, std::promise<OptionalReturn> &P) { in readResult()
168 template <typename ChannelT, typename SequenceNumberT>
169 static Error respond(ChannelT &C, SequenceNumberT SeqNo, in respond()
188 template <typename ChannelT, typename SequenceNumberT, typename Func>
191 template <typename ChannelT, typename SequenceNumberT, typename FunctionIdT,
[all …]
DOrcRemoteTargetServer.h32 template <typename ChannelT, typename TargetT>
41 OrcRemoteTargetServer(ChannelT &Channel, SymbolLookupFtor SymbolLookup, in OrcRemoteTargetServer()
435 ChannelT &Channel;
DOrcRemoteTargetClient.h36 template <typename ChannelT>
590 static Expected<OrcRemoteTargetClient> Create(ChannelT &Channel) { in Create()
690 OrcRemoteTargetClient(ChannelT &Channel, Error &Err) : Channel(Channel) { in OrcRemoteTargetClient()
809 ChannelT &Channel;
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DOrcRPCTPCServer.h143 template <typename ChannelT, typename WriteT>
145 ChannelT, WriteT, WriteT,
151 static Error serialize(ChannelT &C, const WriteT &W) { in serialize()
154 static Error deserialize(ChannelT &C, WriteT &W) { in deserialize()
159 template <typename ChannelT>
161 ChannelT, tpctypes::BufferWrite, tpctypes::BufferWrite,
162 std::enable_if_t<std::is_base_of<RawByteChannel, ChannelT>::value>> {
164 static Error serialize(ChannelT &C, const tpctypes::BufferWrite &W) { in serialize()
171 static Error deserialize(ChannelT &C, tpctypes::BufferWrite &W) { in deserialize()
188 template <typename ChannelT>
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h84 template <typename ChannelT>
85 class SerializationTraits<ChannelT, JITSymbolFlags> {
88 static Error serialize(ChannelT &C, const JITSymbolFlags &Flags) { in serialize()
92 static Error deserialize(ChannelT &C, JITSymbolFlags &Flags) { in deserialize()
108 template <typename ChannelT>
110 ChannelT, remote::DirectBufferWriter, remote::DirectBufferWriter,
111 std::enable_if_t<std::is_base_of<RawByteChannel, ChannelT>::value>> {
113 static Error serialize(ChannelT &C, const remote::DirectBufferWriter &DBW) { in serialize()
121 static Error deserialize(ChannelT &C, remote::DirectBufferWriter &DBW) { in deserialize()
DOrcRemoteTargetServer.h47 template <typename ChannelT, typename TargetT>
57 OrcRemoteTargetServer(ChannelT &Channel, SymbolLookupFtor SymbolLookup, in OrcRemoteTargetServer()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h84 template <typename ChannelT>
85 class SerializationTraits<ChannelT, JITSymbolFlags> {
88 static Error serialize(ChannelT &C, const JITSymbolFlags &Flags) { in serialize()
92 static Error deserialize(ChannelT &C, JITSymbolFlags &Flags) { in deserialize()
108 template <typename ChannelT>
110 ChannelT, remote::DirectBufferWriter, remote::DirectBufferWriter,
112 std::is_base_of<RawByteChannel, ChannelT>::value>::type> {
114 static Error serialize(ChannelT &C, const remote::DirectBufferWriter &DBW) { in serialize()
122 static Error deserialize(ChannelT &C, remote::DirectBufferWriter &DBW) { in deserialize()
DOrcRemoteTargetServer.h46 template <typename ChannelT, typename TargetT>
56 OrcRemoteTargetServer(ChannelT &Channel, SymbolLookupFtor SymbolLookup, in OrcRemoteTargetServer()
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DRPCUtilsTest.cpp75 template <typename ChannelT>
79 SerializationTraits<ChannelT, Error>:: in registerDummyErrorSerialization()
82 [](ChannelT &C, const DummyError &DE) { in registerDummyErrorSerialization()
85 [](ChannelT &C, Error &Err) -> Error { in registerDummyErrorSerialization()
/external/webrtc/pc/
Dchannel_unittest.cc66 template <class ChannelT,
74 typedef ChannelT Channel;