Home
last modified time | relevance | path

Searched refs:ProtoType (Results 1 – 14 of 14) sorted by relevance

/external/perfetto/tools/ftrace_proto_gen/
Dproto_gen_utils.cc156 ProtoType ProtoType::GetSigned() const { in GetSigned()
168 std::string ProtoType::ToString() const { in ToString()
187 ProtoType ProtoType::String() { in String()
192 ProtoType ProtoType::Invalid() { in Invalid()
197 ProtoType ProtoType::Numeric(uint16_t size, bool is_signed) { in Numeric()
203 ProtoType ProtoType::FromDescriptor( in FromDescriptor()
223 ProtoType GetCommon(ProtoType one, ProtoType other) { in GetCommon()
226 if (one.type == ProtoType::STRING) in GetCommon()
227 return ProtoType::String(); in GetCommon()
234 return ProtoType::Numeric(std::max(one.size, other.size), one.is_signed); in GetCommon()
[all …]
Dproto_gen_utils.h56 struct ProtoType { struct
62 ProtoType GetSigned() const; argument
65 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);
94 ProtoType InferProtoType(const FtraceEvent::Field& field);
Dftrace_descriptor_gen.cc77 ProtoType type = ProtoType::FromDescriptor(field->type()); in GenerateFtraceDescriptors()
Dftrace_proto_gen.cc124 ProtoType type = InferProtoType(field); in GenerateProto()
126 if (type.type == ProtoType::INVALID) in GenerateProto()
/external/tensorflow/tensorflow/core/example/
Dfeature_util.h197 template <typename ProtoType>
198 typename std::enable_if<TypeHasFeatures<ProtoType>::value, Features*>::type
199 GetFeatures(ProtoType* proto);
201 template <typename ProtoType>
202 typename std::enable_if<TypeHasFeatures<ProtoType>::value,
204 GetFeatures(const ProtoType& proto);
214 template <typename FeatureType, typename ProtoType>
216 GetFeatureValues(const string& key, const ProtoType& proto) {
227 template <typename FeatureType, typename ProtoType>
229 const string& key, ProtoType* proto) {
[all …]
/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp39 : 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()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSSAUpdater.cpp39 : AV(0), ProtoType(0), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()
52 ProtoType = Ty; in Initialize()
65 assert(ProtoType != 0 && "Need to initialize SSAUpdater"); in AddAvailableValue()
66 assert(ProtoType == V->getType() && in AddAvailableValue()
159 return UndefValue::get(ProtoType); in GetValueInMiddleOfBlock()
179 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()
294 return UndefValue::get(Updater->ProtoType); in GetUndefVal()
301 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp59 ProtoType = Ty; in Initialize()
73 assert(ProtoType && "Need to initialize SSAUpdater"); in AddAvailableValue()
74 assert(ProtoType == V->getType() && in AddAvailableValue()
144 return UndefValue::get(ProtoType); in GetValueInMiddleOfBlock()
162 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()
274 return UndefValue::get(Updater->ProtoType); in GetUndefVal()
281 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
/external/tensorflow/tensorflow/core/platform/
Dlogger.h49 template <typename ProtoType>
50 void LogProto(const ProtoType& proto) { in LogProto()
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DSSAUpdater.h42 Type *ProtoType; variable
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdater.h48 Type *ProtoType; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdater.h48 Type *ProtoType = nullptr; variable
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp481 if (const FunctionProtoType *ProtoType = Ty->getAs<FunctionProtoType>()) in VisitCXXNewExpr() local
482 if (!ProtoType->isNothrow(getContext())) in VisitCXXNewExpr()
/external/clang/lib/Parse/
DParseObjc.cpp2094 Decl *ProtoType = in ParseObjCAtProtocolDeclaration() local
2101 ParseObjCInterfaceDeclList(tok::objc_protocol, ProtoType); in ParseObjCAtProtocolDeclaration()
2102 return Actions.ConvertDeclToDeclGroup(ProtoType); in ParseObjCAtProtocolDeclaration()