Home
last modified time | relevance | path

Searched refs:std (Results 1 – 25 of 69) sorted by relevance

123

/Zephyr-Core-3.4.0/modules/thrift/src/thrift/server/
DTServer.h71 virtual void *createContext(std::shared_ptr<TProtocol> input, in createContext()
72 std::shared_ptr<TProtocol> output) in createContext()
83 virtual void deleteContext(void *serverContext, std::shared_ptr<TProtocol> input, in deleteContext()
84 std::shared_ptr<TProtocol> output) in deleteContext()
94 virtual void processContext(void *serverContext, std::shared_ptr<TTransport> transport) in processContext()
128 std::shared_ptr<TProcessorFactory> getProcessorFactory() in getProcessorFactory()
133 std::shared_ptr<TServerTransport> getServerTransport() in getServerTransport()
138 std::shared_ptr<TTransportFactory> getInputTransportFactory() in getInputTransportFactory()
143 std::shared_ptr<TTransportFactory> getOutputTransportFactory() in getOutputTransportFactory()
148 std::shared_ptr<TProtocolFactory> getInputProtocolFactory() in getInputProtocolFactory()
[all …]
DTSimpleServer.h46 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
47 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
48 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
50 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
53 const std::shared_ptr<apache::thrift::TProcessor> &processor,
54 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
55 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
57 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
60 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
61 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
[all …]
DTServerFramework.h59 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
60 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
61 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
63 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
66 const std::shared_ptr<apache::thrift::TProcessor> &processor,
67 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
68 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
70 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
73 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
74 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
[all …]
DTConnectedClient.h61 const std::shared_ptr<apache::thrift::TProcessor> &processor,
62 const std::shared_ptr<apache::thrift::protocol::TProtocol> &inputProtocol,
63 const std::shared_ptr<apache::thrift::protocol::TProtocol> &outputProtocol,
64 const std::shared_ptr<apache::thrift::server::TServerEventHandler> &eventHandler,
65 const std::shared_ptr<apache::thrift::transport::TTransport> &client);
104 std::shared_ptr<apache::thrift::TProcessor> processor_;
105 std::shared_ptr<apache::thrift::protocol::TProtocol> inputProtocol_;
106 std::shared_ptr<apache::thrift::protocol::TProtocol> outputProtocol_;
107 std::shared_ptr<apache::thrift::server::TServerEventHandler> eventHandler_;
108 std::shared_ptr<apache::thrift::transport::TTransport> client_;
DTFDServer.h43 virtual std::shared_ptr<TTransport> acceptImpl() override;
46 std::vector<std::shared_ptr<TTransport>> children;
/Zephyr-Core-3.4.0/modules/thrift/src/thrift/transport/
DTSSLSocket.h90 virtual void access(std::shared_ptr<AccessManager> manager) in access()
115 TSSLSocket(std::shared_ptr<SSLContext> ctx,
116 std::shared_ptr<TConfiguration> config = nullptr);
120 TSSLSocket(std::shared_ptr<SSLContext> ctx,
121 std::shared_ptr<THRIFT_SOCKET> interruptListener,
122 std::shared_ptr<TConfiguration> config = nullptr);
128 TSSLSocket(std::shared_ptr<SSLContext> ctx, THRIFT_SOCKET socket,
129 std::shared_ptr<TConfiguration> config = nullptr);
136 TSSLSocket(std::shared_ptr<SSLContext> ctx, THRIFT_SOCKET socket,
137 std::shared_ptr<THRIFT_SOCKET> interruptListener,
[all …]
DTSSLServerSocket.h33 TSSLServerSocket(int port, std::shared_ptr<TSSLSocketFactory> factory);
42 TSSLServerSocket(const std::string &address, int port,
43 std::shared_ptr<TSSLSocketFactory> factory);
54 std::shared_ptr<TSSLSocketFactory> factory);
60 std::shared_ptr<TSocket> createSocket(THRIFT_SOCKET socket) override;
61 std::shared_ptr<TSSLSocketFactory> factory_;
DTServerSocket.h41 typedef std::function<void(THRIFT_SOCKET fd)> socket_func_t;
67 TServerSocket(const std::string &address, int port);
74 TServerSocket(const std::string &path);
134 std::string getPath() const;
144 std::shared_ptr<TTransport> acceptImpl() override;
145 virtual std::shared_ptr<TSocket> createSocket(THRIFT_SOCKET client);
147 std::shared_ptr<THRIFT_SOCKET> pChildInterruptSockReader_; // if interruptableChildren_ this
159 std::string address_;
160 std::string path_;
DTSSLSocket.cpp32 using std::string;
49 TSSLSocket::TSSLSocket(std::shared_ptr<SSLContext> ctx, std::shared_ptr<TConfiguration> config) in TSSLSocket()
55 TSSLSocket::TSSLSocket(std::shared_ptr<SSLContext> ctx, in TSSLSocket()
56 std::shared_ptr<THRIFT_SOCKET> interruptListener, in TSSLSocket()
57 std::shared_ptr<TConfiguration> config) in TSSLSocket()
64 TSSLSocket::TSSLSocket(std::shared_ptr<SSLContext> ctx, THRIFT_SOCKET socket, in TSSLSocket()
65 std::shared_ptr<TConfiguration> config) in TSSLSocket()
71 TSSLSocket::TSSLSocket(std::shared_ptr<SSLContext> ctx, THRIFT_SOCKET socket, in TSSLSocket()
72 std::shared_ptr<THRIFT_SOCKET> interruptListener, in TSSLSocket()
73 std::shared_ptr<TConfiguration> config) in TSSLSocket()
[all …]
DTSSLServerSocket.cpp36 TSSLServerSocket::TSSLServerSocket(int port, std::shared_ptr<TSSLSocketFactory> factory) in TSSLServerSocket()
42 TSSLServerSocket::TSSLServerSocket(const std::string &address, int port, in TSSLServerSocket()
43 std::shared_ptr<TSSLSocketFactory> factory) in TSSLServerSocket()
50 std::shared_ptr<TSSLSocketFactory> factory) in TSSLServerSocket()
56 std::shared_ptr<TSocket> TSSLServerSocket::createSocket(THRIFT_SOCKET client) in createSocket()
88 pChildInterruptSockReader_ = std::shared_ptr<THRIFT_SOCKET>( in listen()
101 resolved_addresses.resolve(address_, std::to_string(port_), SOCK_STREAM, in listen()
104 } catch (const std::system_error &e) { in listen()
173 std::memset(&sa, 0, len); in listen()
/Zephyr-Core-3.4.0/arch/sparc/core/
Dfault_trap.S59 std %l0, [%sp + 0x00]
60 std %l2, [%sp + 0x08]
61 std %l4, [%sp + 0x10]
62 std %l6, [%sp + 0x18]
63 std %i0, [%sp + 0x20]
64 std %i2, [%sp + 0x28]
65 std %i4, [%sp + 0x30]
66 std %i6, [%sp + 0x38]
84 std %i0, [%sp + 96 + __z_arch_esf_t_out_OFFSET + 0x00]
85 std %i2, [%sp + 96 + __z_arch_esf_t_out_OFFSET + 0x08]
[all …]
Dswitch.S35 std %l0, [%o1 + _thread_offset_to_l0_and_l1]
36 std %l2, [%o1 + _thread_offset_to_l2]
37 std %l4, [%o1 + _thread_offset_to_l4]
38 std %l6, [%o1 + _thread_offset_to_l6]
39 std %i0, [%o1 + _thread_offset_to_i0]
40 std %i2, [%o1 + _thread_offset_to_i2]
41 std %i4, [%o1 + _thread_offset_to_i4]
42 std %i6, [%o1 + _thread_offset_to_i6]
44 std %o6, [%o1 + _thread_offset_to_o6]
73 std %l0, [%sp + 0x00]
[all …]
Dinterrupt_trap.S65 std %l0, [%sp + 0x00]
66 std %l2, [%sp + 0x08]
67 std %l4, [%sp + 0x10]
68 std %l6, [%sp + 0x18]
69 std %i0, [%sp + 0x20]
70 std %i2, [%sp + 0x28]
71 std %i4, [%sp + 0x30]
72 std %i6, [%sp + 0x38]
98 std %l0, [%sp + ISF_PSR_OFFSET] /* psr pc */
101 std %l4, [%sp + ISF_G2_OFFSET] /* g2 g3 */
[all …]
Dwindow_trap.S25 std %l0, [%sp + 0x00]
26 std %l2, [%sp + 0x08]
27 std %l4, [%sp + 0x10]
29 std %l6, [%sp + 0x18]
33 std %i0, [%sp + 0x20]
36 std %i2, [%sp + 0x28]
40 std %i4, [%sp + 0x30]
42 std %i6, [%sp + 0x38]
97 std %l0, [%sp + 0x40 + 0x00]
/Zephyr-Core-3.4.0/tests/lib/thrift/ThriftTest/src/
Dmain.cpp58 static std::unique_ptr<ThriftTestClient> setup_client() in setup_client()
60 std::shared_ptr<TTransport> transport; in setup_client()
61 std::shared_ptr<TProtocol> protocol; in setup_client()
62 std::shared_ptr<TTransport> trans(new TFDTransport(context.fds[ctx::CLIENT])); in setup_client()
66 std::shared_ptr<TSSLSocketFactory> socketFactory = in setup_client()
67 std::make_shared<TSSLSocketFactory>(); in setup_client()
71 trans = std::make_shared<TFDTransport>(context.fds[ctx::CLIENT]); in setup_client()
74 transport = std::make_shared<TBufferedTransport>(trans); in setup_client()
77 protocol = std::make_shared<TCompactProtocol>(transport); in setup_client()
79 protocol = std::make_shared<TBinaryProtocol>(transport); in setup_client()
[all …]
Dserver.hpp18 using namespace std;
70 void testBinary(std::string &_return, const std::string &thing) override in testBinary()
72 std::ostringstream hexstr; in testBinary()
74 hexstr << std::hex << thing; in testBinary()
117 void testStringMap(map<std::string, std::string> &out, in testStringMap()
118 const map<std::string, std::string> &thing) override in testStringMap()
120 map<std::string, std::string>::const_iterator m_iter; in testStringMap()
260 const std::map<int16_t, std::string> &arg3, const Numberz::type arg4, in testMulti()
273 void testException(const std::string &arg) override in testException()
291 void testMultiException(Xtruct &result, const std::string &arg0, in testMultiException()
[all …]
Dcontext.hpp27 std::array<int, CLIENT + 1> fds;
28 std::unique_ptr<ThriftTestClient> client;
29 std::unique_ptr<TServer> server;
/Zephyr-Core-3.4.0/lib/cpp/minimal/
Dcpp_new.cpp32 NODISCARD void* operator new(std::size_t size, const std::nothrow_t& tag) NOEXCEPT in operator new()
37 NODISCARD void* operator new[](std::size_t size, const std::nothrow_t& tag) NOEXCEPT in operator new[]()
43 NODISCARD void* operator new(size_t size, std::align_val_t al) in operator new()
48 NODISCARD void* operator new[](std::size_t size, std::align_val_t al) in operator new[]()
53 NODISCARD void* operator new(std::size_t size, std::align_val_t al, in operator new()
54 const std::nothrow_t&) NOEXCEPT in operator new()
59 NODISCARD void* operator new[](std::size_t size, std::align_val_t al, in operator new[]()
60 const std::nothrow_t&) NOEXCEPT in operator new[]()
/Zephyr-Core-3.4.0/samples/modules/thrift/hello/server/src/
Dmain.cpp48 std::string my_addr; in main()
67 my_addr = std::string(argv[1]); in main()
71 std::shared_ptr<TServerTransport> serverTransport; in main()
72 std::shared_ptr<TTransportFactory> transportFactory; in main()
73 std::shared_ptr<TProtocolFactory> protocolFactory; in main()
74 std::shared_ptr<HelloHandler> handler(new HelloHandler()); in main()
75 std::shared_ptr<TProcessor> processor(new HelloProcessor(handler)); in main()
78 std::shared_ptr<TSSLSocketFactory> socketFactory(new TSSLSocketFactory()); in main()
102 std::make_shared<TSSLServerSocket>("0.0.0.0", port, socketFactory); in main()
104 serverTransport = std::make_shared<TServerSocket>(my_addr, port); in main()
[all …]
/Zephyr-Core-3.4.0/samples/modules/thrift/hello/client/src/
Dmain.cpp46 std::string my_addr; in main()
61 my_addr = std::string(argv[1]); in main()
68 std::shared_ptr<TProtocol> protocol; in main()
69 std::shared_ptr<TTransport> transport; in main()
70 std::shared_ptr<TSSLSocketFactory> socketFactory; in main()
71 std::shared_ptr<TTransport> trans; in main()
75 socketFactory = std::make_shared<TSSLSocketFactory>(); in main()
101 trans = std::make_shared<TSocket>(my_addr, port); in main()
104 transport = std::make_shared<TBufferedTransport>(trans); in main()
107 protocol = std::make_shared<TCompactProtocol>(transport); in main()
[all …]
/Zephyr-Core-3.4.0/samples/modules/tflite-micro/tflm_ethosu/src/
Dinference_process.hpp28 std::string name;
30 std::vector<DataPtr> input;
31 std::vector<DataPtr> output;
32 std::vector<DataPtr> expectedOutput;
35 InferenceJob(const std::string &name, const DataPtr &networkModel,
36 const std::vector<DataPtr> &input, const std::vector<DataPtr> &output,
37 const std::vector<DataPtr> &expectedOutput);
/Zephyr-Core-3.4.0/modules/thrift/src/thrift/protocol/
DTBinaryProtocol.h53 TBinaryProtocolT(std::shared_ptr<Transport_> trans) in TBinaryProtocolT()
60 TBinaryProtocolT(std::shared_ptr<Transport_> trans, int32_t string_limit, in TBinaryProtocolT()
89 /*ol*/ uint32_t writeMessageBegin(const std::string &name, const TMessageType messageType,
132 inline uint32_t writeBinary(const std::string &str);
138 /*ol*/ uint32_t readMessageBegin(std::string &name, TMessageType &messageType,
143 inline uint32_t readStructBegin(std::string &name);
147 inline uint32_t readFieldBegin(std::string &name, TType &fieldType, int16_t &fieldId);
179 inline uint32_t readBinary(std::string &str);
253 std::shared_ptr<TProtocol> getProtocol(std::shared_ptr<TTransport> trans) override in getProtocol()
255 std::shared_ptr<Transport_> specific_trans = in getProtocol()
[all …]
/Zephyr-Core-3.4.0/lib/cpp/minimal/include/
Dnew18 namespace std {
26 extern const std::nothrow_t nothrow;
29 enum class align_val_t : std::size_t {};
/Zephyr-Core-3.4.0/tests/lib/cpp/libcxx/src/
Dmain.cpp15 std::array<int, 4> array = {1, 2, 3, 4};
16 std::vector<int> vector;
24 std::array<uint8_t, 2> local = {1, 2}; in ZTEST()
60 auto d = std::make_unique<make_unique_data>(); in ZTEST()
/Zephyr-Core-3.4.0/boards/arm/sam4l_ek/
Dsam4l_ek.dts79 std-clk-slew-lim = <0>;
80 std-clk-strength-low = "0.5";
81 std-data-slew-lim = <0>;
82 std-data-strength-low = "0.5";

123