Home
last modified time | relevance | path

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

1234567891011

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs65 internal FieldDescriptorProto Proto { get; } property in Google.Protobuf.Reflection.FieldDescriptor
71 Proto = proto; in FieldDescriptor()
85 if (proto.OneofIndex < 0 || proto.OneofIndex >= parent.Proto.OneofDecl.Count) in FieldDescriptor()
100 … JsonName = Proto.JsonName == "" ? JsonFormatter.ToCamelCase(Proto.Name) : Proto.JsonName; in FieldDescriptor()
107 public override string Name => Proto.Name;
180 public bool IsRepeated => Proto.Label == FieldDescriptorProto.Types.Label.Repeated;
185 …IsMap => fieldType == FieldType.Message && messageType.Proto.Options != null && messageType.Proto.…
195 Proto.Options == null || Proto.Options.Packed;
205 public int FieldNumber => Proto.Number;
258 if (Proto.TypeName != "") in CrossLink()
[all …]
DMethodDescriptor.cs79 internal MethodDescriptorProto Proto { get { return proto; } } property in Google.Protobuf.Reflection.MethodDescriptor
88 IDescriptor lookup = File.DescriptorPool.LookupSymbol(Proto.InputType, this); in CrossLink()
91 …throw new DescriptorValidationException(this, "\"" + Proto.InputType + "\" is not a message type."… in CrossLink()
95 lookup = File.DescriptorPool.LookupSymbol(Proto.OutputType, this); in CrossLink()
98 …throw new DescriptorValidationException(this, "\"" + Proto.OutputType + "\" is not a message type.… in CrossLink()
/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/syslinux/gnu-efi/gnu-efi-3.0/apps/
Ddrv0.c99 GNU_EFI_APPS_DRV0_PROTOCOL Proto; member
144 &InternalGnuEfiAppsDrv0ProtocolData.Proto, in Drv0Unload()
160 InternalGnuEfiAppsDrv0ProtocolData.Proto.SayHello in efi_main()
162 InternalGnuEfiAppsDrv0ProtocolData.Proto.GetNumberOfHello in efi_main()
179 &InternalGnuEfiAppsDrv0ProtocolData.Proto, NULL); in efi_main()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp172 std::unique_ptr<PrototypeAST> Proto; member in __anon945c1aa20111::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/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp155 std::unique_ptr<PrototypeAST> Proto; member in __anonab6338a00111::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/Chapter3/
Dtoy.cpp163 std::unique_ptr<PrototypeAST> Proto; member in __anon1fdfa9a10111::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/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/
Dtoy.cpp130 PrototypeAST *Proto; member in FunctionAST
134 : Proto(proto), Body(body) {} in FunctionAST()
308 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
309 if (Proto == 0) return 0; in ParseDefinition()
312 return new FunctionAST(Proto, E); in ParseDefinition()
320 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
321 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
/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/perfetto/tools/ftrace_proto_gen/
Dftrace_proto_gen.h28 struct Proto { struct
45 const perfetto::Proto& proto); argument
47 bool GenerateProto(const FtraceEvent& format, Proto* proto_out);
52 perfetto::Proto proto,
Dftrace_proto_gen.cc120 const perfetto::Proto& proto) { in PrintInodeHandlerMain()
151 bool GenerateProto(const FtraceEvent& format, Proto* proto_out) { in GenerateProto()
167 proto_out->fields.emplace_back(Proto::Field{type, name, i}); in GenerateProto()
193 perfetto::Proto proto, in SingleEventInfo()
250 std::string Proto::ToString() { in ToString()
263 for (const Proto::Field& field : fields) { in ToString()
/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/syslinux/com32/lua/src/
Dldump.c78 static void DumpFunction(const Proto* f, DumpState* D);
80 static void DumpConstants(const Proto* f, DumpState* D) in DumpConstants()
109 static void DumpUpvalues(const Proto* f, DumpState* D) in DumpUpvalues()
120 static void DumpDebug(const Proto* f, DumpState* D) in DumpDebug()
139 static void DumpFunction(const Proto* f, DumpState* D) in DumpFunction()
162 int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip) in luaU_dump()
Dlundump.c86 static void LoadCode(LoadState* S, Proto* f) in LoadCode()
94 static void LoadFunction(LoadState* S, Proto* f);
96 static void LoadConstants(LoadState* S, Proto* f) in LoadConstants()
125 f->p=luaM_newvector(S->L,n,Proto*); in LoadConstants()
135 static void LoadUpvalues(LoadState* S, Proto* f) in LoadUpvalues()
149 static void LoadDebug(LoadState* S, Proto* f) in LoadDebug()
171 static void LoadFunction(LoadState* S, Proto* f) in LoadFunction()
226 Proto* p=cl->l.p; in luaU_undump()
Dluac.c22 static void PrintFunction(const Proto* f, int full);
136 static const Proto* combine(lua_State* L, int n) in combine()
142 Proto* f; in combine()
166 const Proto* f; in pmain()
251 static void PrintConstant(const Proto* f, int i) in PrintConstant()
277 static void PrintCode(const Proto* f) in PrintCode()
378 static void PrintHeader(const Proto* f) in PrintHeader()
398 static void PrintDebug(const Proto* f) in PrintDebug()
425 static void PrintFunction(const Proto* f, int full) in PrintFunction()
Dlfunc.h21 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
27 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
29 LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
Dtoy.cpp205 PrototypeAST *Proto; member in FunctionAST
209 : Proto(proto), Body(body) {} in FunctionAST()
513 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
514 if (Proto == 0) return 0; in ParseDefinition()
517 return new FunctionAST(Proto, E); in ParseDefinition()
525 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
526 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
803 Function *TheFunction = Proto->Codegen(); in Codegen()
808 if (Proto->isBinaryOp()) in Codegen()
809 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
Dtoy.cpp141 PrototypeAST *Proto; member in FunctionAST
145 : Proto(proto), Body(body) {} in FunctionAST()
320 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
321 if (Proto == 0) return 0; in ParseDefinition()
324 return new FunctionAST(Proto, E); in ParseDefinition()
332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
333 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
446 Function *TheFunction = Proto->Codegen(); in Codegen()
/external/clang/utils/TableGen/
DNeonEmitter.cpp280 std::string Name, Proto; member in __anon985e31310111::Intrinsic
324 Intrinsic(Record *R, StringRef Name, StringRef Proto, TypeSpec OutTS, in Intrinsic() argument
327 : R(R), Name(Name.str()), Proto(Proto.str()), OutTS(OutTS), InTS(InTS), in Intrinsic()
334 if (Proto.find('i') != std::string::npos) in Intrinsic()
339 if (Proto.find('p') != std::string::npos || in Intrinsic()
340 Proto.find('c') != std::string::npos) in Intrinsic()
346 Proto.find('s') != std::string::npos) in Intrinsic()
352 Types.emplace_back(OutTS, Proto[0]); in Intrinsic()
353 for (unsigned I = 1; I < Proto.size(); ++I) in Intrinsic()
354 Types.emplace_back(InTS, Proto[I]); in Intrinsic()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp241 PrototypeAST *Proto; member in FunctionAST
245 : Proto(proto), Body(body) {} in FunctionAST()
596 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
597 if (Proto == 0) return 0; in ParseDefinition()
600 return new FunctionAST(Proto, E); in ParseDefinition()
608 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
609 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
984 Function *TheFunction = Proto->Codegen(); in Codegen()
989 if (Proto->isBinaryOp()) in Codegen()
990 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp226 PrototypeAST *Proto; member in FunctionAST
230 : Proto(proto), Body(body) {} in FunctionAST()
581 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
582 if (Proto == 0) return 0; in ParseDefinition()
585 return new FunctionAST(Proto, E); in ParseDefinition()
593 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
594 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
966 Function *TheFunction = Proto->Codegen(); in Codegen()
971 if (Proto->isBinaryOp()) in Codegen()
972 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp223 PrototypeAST *Proto; member in FunctionAST
227 : Proto(proto), Body(body) {} in FunctionAST()
578 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
579 if (Proto == 0) return 0; in ParseDefinition()
582 return new FunctionAST(Proto, E); in ParseDefinition()
590 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
591 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
963 Function *TheFunction = Proto->Codegen(); in Codegen()
968 if (Proto->isBinaryOp()) in Codegen()
969 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp215 std::unique_ptr<PrototypeAST> Proto; member in __anon08d88ba30111::FunctionAST
219 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
221 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
495 auto Proto = ParsePrototype(); in ParseDefinition() local
496 if (!Proto) in ParseDefinition()
500 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
508 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
510 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
774 auto &P = *Proto; in codegen()
775 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
Dtoy.cpp148 PrototypeAST *Proto; member in FunctionAST
152 : Proto(proto), Body(body) {} in FunctionAST()
327 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
328 if (Proto == 0) return 0; in ParseDefinition()
331 return new FunctionAST(Proto, E); in ParseDefinition()
339 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
340 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
454 Function *TheFunction = Proto->Codegen(); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp248 std::unique_ptr<PrototypeAST> Proto; member in __anon7d54fca40111::FunctionAST
252 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() argument
254 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
586 auto Proto = ParsePrototype(); in ParseDefinition() local
587 if (!Proto) in ParseDefinition()
591 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseDefinition()
599 auto Proto = llvm::make_unique<PrototypeAST>("__anon_expr", in ParseTopLevelExpr() local
601 return llvm::make_unique<FunctionAST>(std::move(Proto), std::move(E)); in ParseTopLevelExpr()
885 auto &P = *Proto; in codegen()
886 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
[all …]

1234567891011