Home
last modified time | relevance | path

Searched refs:Proto (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs67 internal FieldDescriptorProto Proto { get; } property in Google.Protobuf.Reflection.FieldDescriptor
75 Proto = proto; in FieldDescriptor()
88 if (proto.OneofIndex < 0 || proto.OneofIndex >= parent.Proto.OneofDecl.Count) in FieldDescriptor()
104 … JsonName = Proto.JsonName == "" ? JsonFormatter.ToJsonName(Proto.Name) : Proto.JsonName; in FieldDescriptor()
111 public override string Name => Proto.Name;
189 public bool IsRepeated => Proto.Label == FieldDescriptorProto.Types.Label.Repeated;
194 public bool IsRequired => Proto.Label == FieldDescriptorProto.Types.Label.Required;
199 …IsMap => fieldType == FieldType.Message && messageType.Proto.Options != null && messageType.Proto.…
204 …public bool IsPacked => File.Proto.Syntax == "proto2" ? Proto.Options?.Packed ?? false : !Proto.Op…
214 public int FieldNumber => Proto.Number;
[all …]
DMethodDescriptor.cs77 …public CustomOptions CustomOptions => new CustomOptions(Proto.Options._extensions?.ValuesByNumber);
107 internal MethodDescriptorProto Proto { get { return proto; } } property in Google.Protobuf.Reflection.MethodDescriptor
116 IDescriptor lookup = File.DescriptorPool.LookupSymbol(Proto.InputType, this); in CrossLink()
119 …throw new DescriptorValidationException(this, "\"" + Proto.InputType + "\" is not a message type."… in CrossLink()
123 lookup = File.DescriptorPool.LookupSymbol(Proto.OutputType, this); in CrossLink()
126 …throw new DescriptorValidationException(this, "\"" + Proto.OutputType + "\" is not a message type.… in CrossLink()
DEnumValueDescriptor.cs56 internal EnumValueDescriptorProto Proto { get { return proto; } } property in Google.Protobuf.Reflection.EnumValueDescriptor
66 public int Number { get { return Proto.Number; } }
77 …public CustomOptions CustomOptions => new CustomOptions(Proto.Options._extensions?.ValuesByNumber);
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_macro.h53 #define DEFINE_CUSTOM_PROTO_MUTATOR_IMPL(use_binary, Proto) \ argument
57 Proto input; \
61 #define DEFINE_CUSTOM_PROTO_CROSSOVER_IMPL(use_binary, Proto) \ argument
66 Proto input1; \
67 Proto input2; \
72 #define DEFINE_TEST_ONE_PROTO_INPUT_IMPL(use_binary, Proto) \ argument
75 Proto input; \
81 #define DEFINE_POST_PROCESS_PROTO_MUTATION_IMPL(Proto) \ argument
83 protobuf_mutator::libfuzzer::PostProcessorRegistration<Proto>;
114 template <class Proto>
[all …]
/external/libtextclassifier/native/lang_id/common/file/
Dfile-utils.h39 template <class Proto>
40 bool ParseProtoFromMemory(const char *data, size_t num_bytes, Proto *proto) { in ParseProtoFromMemory()
49 template <class Proto>
50 inline bool ParseProtoFromMemory(StringPiece sp, Proto *proto) { in ParseProtoFromMemory()
61 template <class Proto>
62 bool ReadProtoFromFile(const std::string &filename, Proto *proto) { in ReadProtoFromFile()
/external/oss-fuzz/projects/libpng-proto/
Dpng_proto_mutator.cc19 template <typename Proto>
20 using FuzzMutatorCallback = std::function<void(Proto*, unsigned int)>;
22 template <typename Proto>
25 PngProtoCBRegistration(FuzzMutatorCallback<Proto> const& _callback) in PngProtoCBRegistration()
27 static protobuf_mutator::libfuzzer::PostProcessorRegistration<Proto> reg = {_callback}; in PngProtoCBRegistration()
/external/perfetto/tools/ftrace_proto_gen/
Dproto_gen_utils.cc230 Proto::Proto(std::string evt_name, const google::protobuf::Descriptor& desc) in Proto() function in perfetto::Proto
240 std::vector<const Proto::Field*> Proto::SortedFields() { in SortedFields()
241 std::vector<const Proto::Field*> sorted_fields; in SortedFields()
247 [](const Proto::Field* a, const Proto::Field* b) { in SortedFields()
253 std::string Proto::ToString() { in ToString()
264 void Proto::MergeFrom(const Proto& other) { in MergeFrom()
270 Proto::Field field = p.second; in MergeFrom()
279 void Proto::AddField(Proto::Field other) { in AddField()
Dproto_gen_utils.h71 struct Proto { struct
72 Proto() = default;
73 Proto(std::string evt_name, const google::protobuf::Descriptor& desc);
84 void MergeFrom(const Proto& other); argument
85 void AddField(Proto::Field field);
/external/perfetto/include/perfetto/tracing/
Dtraced_proto.h103 template <typename Proto, typename ValueType, typename Check = void>
108 Write(TracedProto<Proto> context, ValueType&& value) { in Write()
114 template <typename Proto, typename ValueType, typename Check = void>
119 Write(TracedProto<Proto> context, ValueType&& value) { in Write()
127 template <typename Proto, typename ValueType, typename Check = void>
132 Write(TracedProto<Proto> context, ValueType&& value) { in Write()
142 template <typename Proto, typename ValueType, typename Check = void>
147 Write(TracedProto<Proto> context, ValueType&& value) { in Write()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp148 std::unique_ptr<PrototypeAST> Proto; member in __anon73dffef50111::FunctionAST
152 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
154 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
345 auto Proto = ParsePrototype(); in ParseDefinition() local
346 if (!Proto) in ParseDefinition()
350 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
358 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
360 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
/external/clang/lib/AST/
DDeclPrinter.cpp475 std::string Proto = D->getNameInfo().getAsString(); in VisitFunctionDecl() local
479 Proto = '(' + Proto + ')'; in VisitFunctionDecl()
488 Proto += "("; in VisitFunctionDecl()
490 llvm::raw_string_ostream POut(Proto); in VisitFunctionDecl()
504 Proto += ", "; in VisitFunctionDecl()
505 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
509 Proto += ")"; in VisitFunctionDecl()
513 Proto += " const"; in VisitFunctionDecl()
515 Proto += " volatile"; in VisitFunctionDecl()
517 Proto += " restrict"; in VisitFunctionDecl()
[all …]
/external/llvm-project/clang/lib/AST/
DDeclPrinter.cpp41 std::string &Proto);
299 std::string &Proto) { in PrintConstructorInitializers() argument
306 Proto += " : "; in PrintConstructorInitializers()
307 Out << Proto; in PrintConstructorInitializers()
308 Proto.clear(); in PrintConstructorInitializers()
573 std::string Proto = "explicit"; in printExplicitSpecifier() local
574 llvm::raw_string_ostream EOut(Proto); in printExplicitSpecifier()
624 std::string Proto; in VisitFunctionDecl() local
627 Proto += D->getQualifiedNameAsString(); in VisitFunctionDecl()
629 llvm::raw_string_ostream OS(Proto); in VisitFunctionDecl()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp155 std::unique_ptr<PrototypeAST> Proto; member in __anon12a753070111::FunctionAST
159 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
161 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
351 auto Proto = ParsePrototype(); in ParseDefinition() local
352 if (!Proto) in ParseDefinition()
356 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
364 auto Proto = helper::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
366 return helper::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp172 std::unique_ptr<PrototypeAST> Proto; member in __anonfba035090111::FunctionAST
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
178 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
370 auto Proto = ParsePrototype(); in ParseDefinition() local
371 if (!Proto) in ParseDefinition()
375 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
383 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
385 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
502 auto &P = *Proto; in codegen()
503 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/external/cros/system_api/dbus/chaps/
Dck_structs.proto11 // Proto for CK_MECHANISM_INFO.
21 // Proto for CK_SESSION_INFO.
32 // Proto for CK_VERSION.
41 // Proto for CK_SLOT_INFO.
53 // Proto for CK_TOKEN_INFO.
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp172 std::unique_ptr<PrototypeAST> Proto; member in __anone85c6ff60111::FunctionAST
176 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
178 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
372 auto Proto = ParsePrototype(); in ParseDefinition() local
373 if (!Proto) in ParseDefinition()
377 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
385 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
387 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
485 Function *TheFunction = TheModule->getFunction(Proto->getName()); in codegen()
488 TheFunction = Proto->codegen(); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp163 std::unique_ptr<PrototypeAST> Proto; member in __anon8723c4080111::FunctionAST
167 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
169 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
361 auto Proto = ParsePrototype(); in ParseDefinition() local
362 if (!Proto) in ParseDefinition()
366 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
374 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
376 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
474 Function *TheFunction = TheModule->getFunction(Proto->getName()); in codegen()
477 TheFunction = Proto->codegen(); in codegen()
/external/lua/src/
Dldump.c100 static void dumpCode (DumpState *D, const Proto *f) { in dumpCode()
106 static void dumpFunction(DumpState *D, const Proto *f, TString *psource);
108 static void dumpConstants (DumpState *D, const Proto *f) { in dumpConstants()
134 static void dumpProtos (DumpState *D, const Proto *f) { in dumpProtos()
143 static void dumpUpvalues (DumpState *D, const Proto *f) { in dumpUpvalues()
154 static void dumpDebug (DumpState *D, const Proto *f) { in dumpDebug()
179 static void dumpFunction (DumpState *D, const Proto *f, TString *psource) { in dumpFunction()
213 int luaU_dump(lua_State *L, const Proto *f, lua_Writer w, void *data, in luaU_dump()
Dlundump.c110 static TString *loadStringN (LoadState *S, Proto *p) { in loadStringN()
136 static TString *loadString (LoadState *S, Proto *p) { in loadString()
144 static void loadCode (LoadState *S, Proto *f) { in loadCode()
152 static void loadFunction(LoadState *S, Proto *f, TString *psource);
155 static void loadConstants (LoadState *S, Proto *f) { in loadConstants()
191 static void loadProtos (LoadState *S, Proto *f) { in loadProtos()
194 f->p = luaM_newvectorchecked(S->L, n, Proto *); in loadProtos()
212 static void loadUpvalues (LoadState *S, Proto *f) { in loadUpvalues()
227 static void loadDebug (LoadState *S, Proto *f) { in loadDebug()
256 static void loadFunction (LoadState *S, Proto *f, TString *psource) { in loadFunction()
/external/grpc-grpc/src/php/tests/qps/generated_code/GPBMetadata/Src/Proto/Grpc/Testing/
DTest.php5 namespace GPBMetadata\Src\Proto\Grpc\Testing;
17 \GPBMetadata\Src\Proto\Grpc\Testing\GPBEmpty::initOnce();
18 \GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce();
DProxyService.php5 namespace GPBMetadata\Src\Proto\Grpc\Testing;
17 \GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
18 \GPBMetadata\Src\Proto\Grpc\Testing\Stats::initOnce();
DControl.php5 namespace GPBMetadata\Src\Proto\Grpc\Testing;
17 \GPBMetadata\Src\Proto\Grpc\Testing\Payloads::initOnce();
18 \GPBMetadata\Src\Proto\Grpc\Testing\Stats::initOnce();
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp182 std::unique_ptr<PrototypeAST> Proto; member in __anon5cd8e0f70111::FunctionAST
186 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
188 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
382 auto Proto = ParsePrototype(); in ParseDefinition() local
383 if (!Proto) in ParseDefinition()
387 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
395 auto Proto = std::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
397 return std::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
515 auto &P = *Proto; in codegen()
516 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/external/clang/test/Index/
Dc-index-getCursor-test.m23 @protocol Proto protocol
27 @protocol SubP <Proto>
48 id <Proto> d;
83 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11 (Definition)
85 // CHECK: [24:11 - 25:5] ObjCProtocolDecl=Proto:23:11 (Definition)
88 // CHECK: [27:17 - 27:22] ObjCProtocolRef=Proto:23:1
137 // CHECK: [48:6 - 48:11] ObjCProtocolRef=Proto:23:1
/external/llvm-project/clang/test/Index/
Dc-index-getCursor-test.m23 @protocol Proto protocol
27 @protocol SubP <Proto>
48 id <Proto> d;
83 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11 (Definition)
85 // CHECK: [24:11 - 25:5] ObjCProtocolDecl=Proto:23:11 (Definition)
88 // CHECK: [27:17 - 27:22] ObjCProtocolRef=Proto:23:1
137 // CHECK: [48:6 - 48:11] ObjCProtocolRef=Proto:23:1

12345678910>>...20