Searched refs:ProtoType (Results 1 – 22 of 22) sorted by relevance
113 ProtoType ProtoType::GetSigned() const { in GetSigned()125 std::string ProtoType::ToString() const { in ToString()144 ProtoType ProtoType::String() { in String()149 ProtoType ProtoType::Invalid() { in Invalid()154 ProtoType ProtoType::Numeric(uint16_t size, bool is_signed) { in Numeric()160 ProtoType ProtoType::FromDescriptor( in FromDescriptor()180 ProtoType GetCommon(ProtoType one, ProtoType other) { in GetCommon()183 if (one.type == ProtoType::STRING) in GetCommon()184 return ProtoType::String(); in GetCommon()191 return ProtoType::Numeric(std::max(one.size, other.size), one.is_signed); in GetCommon()[all …]
56 struct ProtoType { struct62 ProtoType GetSigned() const; argument65 static ProtoType Invalid();66 static ProtoType String();67 static ProtoType Numeric(uint16_t size, bool is_signed);68 static ProtoType FromDescriptor(google::protobuf::FieldDescriptor::Type type);75 ProtoType type;91 ProtoType GetCommon(ProtoType one, ProtoType other);93 ProtoType InferProtoType(const FtraceEvent::Field& field);
97 ProtoType type = ProtoType::FromDescriptor(field->type()); in GenerateFtraceDescriptors()
106 ProtoType type = InferProtoType(field); in GenerateProto()108 if (type.type == ProtoType::INVALID) in GenerateProto()
219 template <typename ProtoType>220 typename std::enable_if<TypeHasFeatures<ProtoType>::value, Features*>::type221 GetFeatures(ProtoType* proto);223 template <typename ProtoType>224 typename std::enable_if<TypeHasFeatures<ProtoType>::value,226 GetFeatures(const ProtoType& proto);236 template <typename FeatureType, typename ProtoType>238 GetFeatureValues(const string& key, const ProtoType& proto) {249 template <typename FeatureType, typename ProtoType>251 const string& key, ProtoType* proto) {[all …]
39 template <class ProtoType, class SerializedProtoType>40 inline void SerializeProto(const ProtoType& proto, in SerializeProto()52 template <class ProtoType>53 inline SerializedProto SerializeProto(const ProtoType& proto) { in SerializeProto()61 template <class ProtoType, class SerializedProtoType>62 inline ProtoType DeserializeProto(const SerializedProtoType& serialized_proto) { in DeserializeProto()63 ProtoType proto; in DeserializeProto()
41 const auto *ProtoType = Decl->getType()->getAs<FunctionProtoType>(); in check() local43 if (isUnresolvedExceptionSpec(ProtoType->getExceptionSpecType())) in check()46 if (!isNoexceptExceptionSpec(ProtoType->getExceptionSpecType())) { in check()66 if (ProtoType->canThrow() == CT_Can) { in check()67 Expr *E = ProtoType->getNoexceptExpr(); in check()
72 template <typename ProtoType>73 bool EqualsToSerialized(const ProtoType& message, const std::string& data) { in EqualsToSerialized()74 ProtoType other; in EqualsToSerialized()
39 : AV(nullptr), ProtoType(nullptr), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()50 ProtoType = Ty; in Initialize()59 assert(ProtoType && "Need to initialize SSAUpdater"); in AddAvailableValue()60 assert(ProtoType == V->getType() && in AddAvailableValue()130 return UndefValue::get(ProtoType); in GetValueInMiddleOfBlock()150 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()260 return UndefValue::get(Updater->ProtoType); in GetUndefVal()267 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
58 ProtoType = Ty; in Initialize()72 assert(ProtoType && "Need to initialize SSAUpdater"); in AddAvailableValue()73 assert(ProtoType == V->getType() && in AddAvailableValue()143 return UndefValue::get(ProtoType); in GetValueInMiddleOfBlock()161 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()268 return UndefValue::get(Updater->ProtoType); in GetUndefVal()275 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
58 ProtoType = Ty; in Initialize()72 assert(ProtoType && "Need to initialize SSAUpdater"); in AddAvailableValue()73 assert(ProtoType == V->getType() && in AddAvailableValue()143 return UndefValue::get(ProtoType); in GetValueInMiddleOfBlock()161 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()273 return UndefValue::get(Updater->ProtoType); in GetUndefVal()280 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
55 template <typename ProtoType>56 void LogProto(const ProtoType& proto) { in LogProto()
47 Type *ProtoType = nullptr; variable
48 Type *ProtoType; variable
815 if (const auto *ProtoType = Ty->getAs<FunctionProtoType>()) in VisitCXXNewAllocatorCall() local816 if (!ProtoType->isNothrow()) in VisitCXXNewAllocatorCall()888 if (const auto *ProtoType = Ty->getAs<FunctionProtoType>()) in VisitCXXNewExpr() local889 if (!ProtoType->isNothrow()) in VisitCXXNewExpr()
481 if (const FunctionProtoType *ProtoType = Ty->getAs<FunctionProtoType>()) in VisitCXXNewExpr() local482 if (!ProtoType->isNothrow(getContext())) in VisitCXXNewExpr()
317 template <typename EventType, typename ProtoType>319 ProtoType* proto_batch) { in EncodeRtcpPacket()368 template <typename EventType, typename ProtoType>370 ProtoType* proto_batch) { in EncodeRtpPacket()
338 template <typename ProtoType, typename LoggedType>340 const ProtoType& proto, in StoreRtpPackets()607 template <typename ProtoType, typename LoggedType>609 const ProtoType& proto, in StoreRtcpPackets()
2094 Decl *ProtoType = in ParseObjCAtProtocolDeclaration() local2101 ParseObjCInterfaceDeclList(tok::objc_protocol, ProtoType); in ParseObjCAtProtocolDeclaration()2102 return Actions.ConvertDeclToDeclGroup(ProtoType); in ParseObjCAtProtocolDeclaration()
META-INF/ META-INF/MANIFEST.MF META-INF/kotlin-imports- ...
2080 Decl *ProtoType = Actions.ActOnStartProtocolInterface( in ParseObjCAtProtocolDeclaration() local2084 ParseObjCInterfaceDeclList(tok::objc_protocol, ProtoType); in ParseObjCAtProtocolDeclaration()2085 return Actions.ConvertDeclToDeclGroup(ProtoType); in ParseObjCAtProtocolDeclaration()