Home
last modified time | relevance | path

Searched refs:SOCKOPT_CAST_T (Results 1 – 4 of 4) sorted by relevance

/thrift-3.4.0/lib/cpp/src/thrift/server/
DTNonblockingServer.h78 #ifndef SOCKOPT_CAST_T
80 #define SOCKOPT_CAST_T void macro
82 #define SOCKOPT_CAST_T char macro
87 inline const SOCKOPT_CAST_T* const_cast_sockopt(const T* v) { in const_cast_sockopt()
88 return reinterpret_cast<const SOCKOPT_CAST_T*>(v); in const_cast_sockopt()
92 inline SOCKOPT_CAST_T* cast_sockopt(T* v) { in cast_sockopt()
93 return reinterpret_cast<SOCKOPT_CAST_T*>(v); in cast_sockopt()
/thrift-3.4.0/lib/cpp/src/thrift/transport/
DTNonblockingServerSocket.cpp63 #ifndef SOCKOPT_CAST_T
65 #define SOCKOPT_CAST_T void macro
67 #define SOCKOPT_CAST_T char macro
72 inline const SOCKOPT_CAST_T* const_cast_sockopt(const T* v) { in const_cast_sockopt()
73 return reinterpret_cast<const SOCKOPT_CAST_T*>(v); in const_cast_sockopt()
77 inline SOCKOPT_CAST_T* cast_sockopt(T* v) { in cast_sockopt()
78 return reinterpret_cast<SOCKOPT_CAST_T*>(v); in cast_sockopt()
DTServerSocket.cpp63 #ifndef SOCKOPT_CAST_T
65 #define SOCKOPT_CAST_T void macro
67 #define SOCKOPT_CAST_T char macro
82 inline const SOCKOPT_CAST_T* const_cast_sockopt(const T* v) { in const_cast_sockopt()
83 return reinterpret_cast<const SOCKOPT_CAST_T*>(v); in const_cast_sockopt()
87 inline SOCKOPT_CAST_T* cast_sockopt(T* v) { in cast_sockopt()
88 return reinterpret_cast<SOCKOPT_CAST_T*>(v); in cast_sockopt()
DTSocket.cpp58 #ifndef SOCKOPT_CAST_T
60 #define SOCKOPT_CAST_T void macro
62 #define SOCKOPT_CAST_T char macro
67 inline const SOCKOPT_CAST_T* const_cast_sockopt(const T* v) { in const_cast_sockopt()
68 return reinterpret_cast<const SOCKOPT_CAST_T*>(v); in const_cast_sockopt()
72 inline SOCKOPT_CAST_T* cast_sockopt(T* v) { in cast_sockopt()
73 return reinterpret_cast<SOCKOPT_CAST_T*>(v); in cast_sockopt()