Searched refs:ProtoType (Results 1 – 6 of 6) sorted by relevance
60 class ProtoType(object): class75 if self.tid != ProtoType.INVALID:76 if self.tid == ProtoType.STRING:78 elif self.tid == ProtoType.BYTES:80 elif self.tid == ProtoType.ARRAY:82 elif self.tid == ProtoType.INTEGER:113 return ProtoType(ProtoType.STRING)116 return ProtoType.INVALID148 if t is not ProtoType.INVALID:152 return ProtoType(ProtoType.STRING)[all …]
28 int SpServerSocket::Init(ProtoType type) in Init()30 if (type == ProtoType::TCP) { in Init()34 if (type == ProtoType::UDP) { in Init()49 if (type == ProtoType::TCP) { in Init()
34 std::thread tSocket(&SpThreadSocket::Process, tcpThreadSocket, ProtoType::TCP); in SmartPerfCommand()35 std::thread tSocket1(&SpThreadSocket::Process, udpThreadSocket, ProtoType::UDP); in SmartPerfCommand()
21 enum class ProtoType { enum30 int Init(ProtoType type);
49 void Process(ProtoType type) const in Process()54 if (type == ProtoType::TCP) { in Process()68 if (type == ProtoType::UDP) { in Process()
23 from ftrace_format_parser import ProtoType175 if type_info.tid == ProtoType.STRING:177 elif type_info.tid == ProtoType.ARRAY:179 elif type_info.tid == ProtoType.INTEGER:187 elif type_info.tid != ProtoType.INVALID:192 if type_info.tid == ProtoType.ARRAY: