/Zephyr-latest/modules/thrift/src/thrift/server/ |
D | TServer.h | 2 * Copyright (c) 2006- Facebook 4 * SPDX-License-Identifier: Apache-2.0 15 * http://www.apache.org/licenses/LICENSE-2.0 71 virtual void *createContext(std::shared_ptr<TProtocol> input, in createContext() 72 std::shared_ptr<TProtocol> output) in createContext() 80 * Called when a client has finished request-handling to delete server 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() [all …]
|
D | TSimpleServer.h | 2 * Copyright (c) 2006- Facebook 4 * SPDX-License-Identifier: Apache-2.0 15 * http://www.apache.org/licenses/LICENSE-2.0 38 * This is the most basic simple server. It is single-threaded and runs a 46 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, [all …]
|
D | TServerFramework.h | 2 * Copyright (c) 2006- Facebook 4 * SPDX-License-Identifier: Apache-2.0 15 * http://www.apache.org/licenses/LICENSE-2.0 59 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> [all …]
|
D | TConnectedClient.h | 2 * Copyright (c) 2006- Facebook 4 * SPDX-License-Identifier: Apache-2.0 15 * http://www.apache.org/licenses/LICENSE-2.0 61 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); 76 * [optional] call eventHandler->createContext once 77 * [optional] call eventHandler->processContext per request [all …]
|
/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/ |
D | float_regs_sparc.h | 4 * SPDX-License-Identifier: Apache-2.0 33 : "r" (®s->fp_volatile) in _load_all_float_registers() 40 "std %%f0, [%0 + 0x00]\n" in _store_all_float_registers() 41 "std %%f2, [%0 + 0x08]\n" in _store_all_float_registers() 42 "std %%f4, [%0 + 0x10]\n" in _store_all_float_registers() 43 "std %%f6, [%0 + 0x18]\n" in _store_all_float_registers() 44 "std %%f8, [%0 + 0x20]\n" in _store_all_float_registers() 45 "std %%f10, [%0 + 0x28]\n" in _store_all_float_registers() 46 "std %%f12, [%0 + 0x30]\n" in _store_all_float_registers() 47 "std %%f14, [%0 + 0x38]\n" in _store_all_float_registers() [all …]
|
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/ |
D | main.cpp | 4 * SPDX-License-Identifier: Apache-2.0 43 context.server->serve(); in server_func() 60 static std::unique_ptr<ThriftTestClient> setup_client() in setup_client() 62 std::shared_ptr<TTransport> transport; in setup_client() 63 std::shared_ptr<TProtocol> protocol; in setup_client() 64 std::shared_ptr<TTransport> trans(new TFDTransport(context.fds[ctx::CLIENT])); in setup_client() 68 std::shared_ptr<TSSLSocketFactory> socketFactory = in setup_client() 69 std::make_shared<TSSLSocketFactory>(); in setup_client() 70 socketFactory->authenticate(true); in setup_client() 71 trans = socketFactory->createSocket(CONFIG_NET_CONFIG_MY_IPV4_ADDR, port); in setup_client() [all …]
|
D | server.hpp | 4 * SPDX-License-Identifier: Apache-2.0 18 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() 110 printf("%d => %d", m_iter->first, m_iter->second); in testMap() 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() 130 printf("%s => %s", (m_iter->first).c_str(), (m_iter->second).c_str()); in testStringMap() [all …]
|
D | context.hpp | 4 * SPDX-License-Identifier: Apache-2.0 27 std::array<int, CLIENT + 1> fds; 28 std::unique_ptr<ThriftTestClient> client; 29 std::unique_ptr<TServer> server;
|
/Zephyr-latest/cmake/sca/eclair/ECL/ |
D | toolchain.ecl | 2 -setq=used_compiler,getenv("CC_ALIASES") 5 -file_tag+={GCC,"^used_compiler$"} 6 # -file_tag+={GXX,"^/opt/zephyr-sdk-0\\.13\\.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-g\\+\\+$"} 9 -setq=GCC_MANUAL,"https://gcc.gnu.org/onlinedocs/gcc-10.3.0/gcc.pdf" 10 -setq=CPP_MANUAL,"https://gcc.gnu.org/onlinedocs/gcc-10.3.0/cpp.pdf" 11 -setq=C99_STD,"ISO/IEC 9899:1999" 13 -doc_begin=" 19 __builtin_types_compatible_p: see \"6.59 Other Built-in Functions Provided by GCC\"; 27 …_Generic: see description of option \"-Wc99-c11-compat\" in \"3.8 Options to Request or Suppress W… 28 …_Static_assert: see descriptions of options \"-Wc99-c11-compat\" and \"-Wc99-c2x-compat\" in \"3.8… [all …]
|
D | language_extensions.ecl | 1 -doc_begin="The following extension have been approved." 2 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.tokenext)&&category(^(__asm__|__attribute__|__type… 3 -config=MC3R1.R1.2,behaviors+={hide,"service(^STD.(stmtexpr|vptrarth|emptinit|emptrecd|arayzero|fun… 4 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.nonstdc)&&category(^GCC diagnostic (push|pop|ignor… 5 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.freestlb)&&category(^(string|fcntl|time|errno|ctyp… 6 -config=MC3R1.R1.2,behaviors+={hide,"service(STD.diag)&&category(^(ext_missing_varargs_arg|ext_past… 7 -doc_end
|
/Zephyr-latest/lib/cpp/minimal/ |
D | cpp_new.cpp | 4 * SPDX-License-Identifier: Apache-2.0 32 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-latest/arch/sparc/core/ |
D | fault_trap.S | 2 * Copyright (c) 2019-2020 Cobham Gaisler AB 4 * SPDX-License-Identifier: Apache-2.0 18 * - IU state is saved and restored 47 sll %g2, (CONFIG_SPARC_NWIN-1), %g3 59 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] [all …]
|
D | switch.S | 2 * Copyright (c) 2019-2020 Cobham Gaisler AB 4 * SPDX-License-Identifier: Apache-2.0 20 * thread is now in register %o1. We can address old->switch_handle in assembly 35 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] [all …]
|
D | window_trap.S | 2 * Copyright (c) 2019-2020 Cobham Gaisler AB 4 * SPDX-License-Identifier: Apache-2.0 9 * underflow traps. It also implements the handler for SPARC-ABI 25 std %l0, [%sp + 0x00] 26 std %l2, [%sp + 0x08] 27 std %l4, [%sp + 0x10] 29 std %l6, [%sp + 0x18] 30 /* l2 := WIM << (NWIN-1) */ 31 sll %l3, (CONFIG_SPARC_NWIN-1), %l2 33 std %i0, [%sp + 0x20] [all …]
|
D | interrupt_trap.S | 2 * Copyright (c) 2019-2020 Cobham Gaisler AB 4 * SPDX-License-Identifier: Apache-2.0 19 * - IU state is saved and restored 30 * - Do not re-execute the causing (ta) instruction at trap exit. 31 * - A dedicated interrupt request level (0x8d) is used. 32 * - z_sparc_enter_irq() knows how to interpret this interrupt request level. 53 sll %g2, (CONFIG_SPARC_NWIN-1), %g3 65 std %l0, [%sp + 0x00] 66 std %l2, [%sp + 0x08] 67 std %l4, [%sp + 0x10] [all …]
|
/Zephyr-latest/samples/modules/thrift/hello/server/src/ |
D | main.cpp | 4 * SPDX-License-Identifier: Apache-2.0 48 std::string my_addr; in main() 55 printf("usage: %s <ip> <native-cert.pem> <native-key.pem> " in main() 56 "<qemu-cert.pem>\n", 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() [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/ |
D | inference_process.hpp | 2 * Copyright 2019-2022 Arm Limited and/or its affiliates <open-source-office@arm.com> 4 * SPDX-License-Identifier: Apache-2.0 28 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-latest/samples/modules/thrift/hello/client/src/ |
D | main.cpp | 4 * SPDX-License-Identifier: Apache-2.0 46 std::string my_addr; in main() 53 printf("usage: %s <ip> <native-cert.pem> <native-key.pem> " in main() 54 "<qemu-cert.pem>\n", 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() [all …]
|
/Zephyr-latest/modules/thrift/src/thrift/transport/ |
D | TSSLSocket.h | 4 * SPDX-License-Identifier: Apache-2.0 31 SSLv3 = 2, // Supports SSLv3 only - also horribly insecure! 90 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); [all …]
|
D | TSSLServerSocket.h | 4 * SPDX-License-Identifier: Apache-2.0 33 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_;
|
D | TSSLSocket.cpp | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <thrift/thrift-config.h> 32 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() [all …]
|
D | TServerSocket.h | 4 * SPDX-License-Identifier: Apache-2.0 41 typedef std::function<void(THRIFT_SOCKET fd)> socket_func_t; 67 TServerSocket(const std::string &address, int port); 74 TServerSocket(const std::string &path); 120 // Server-side reads are more efficient, however a client can interfere with 124 // \throws std::logic_error if listen() has been called 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 [all …]
|
/Zephyr-latest/dts/bindings/i2c/ |
D | atmel,sam-i2c-twim.yaml | 1 # Copyright (c) 2020-2023 Gerson Fernando Budke <nandojve@gmail.com> 2 # SPDX-License-Identifier: Apache-2.0 7 The Atmel Two-wire Master Interface (TWIM) interconnects components on a 8 unique two-wire bus, made up of one clock line and one data line with speeds 9 of up to 3.4 Mbit/s, based on a byte-oriented transfer format. The TWIM is 20 std-clk-slew-lim = <0>; 21 std-clk-strength-low = "0.5"; 22 std-data-slew-lim = <0>; 23 std-data-strength-low = "0.5"; 25 hs-clk-slew-lim = <0>; [all …]
|
/Zephyr-latest/modules/thrift/src/thrift/protocol/ |
D | TBinaryProtocol.h | 2 * Copyright (c) 2006- Facebook 4 * SPDX-License-Identifier: Apache-2.0 15 * http://www.apache.org/licenses/LICENSE-2.0 53 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); [all …]
|
/Zephyr-latest/lib/cpp/minimal/include/ |
D | new | 4 * SPDX-License-Identifier: Apache-2.0 18 namespace std { 26 extern const std::nothrow_t nothrow; 29 enum class align_val_t : std::size_t {};
|