• Home
  • Raw
  • Download

Lines Matching defs:File

37 	File struct {  struct
38 fileRaw
39 L1 FileL1
41 once uint32 // atomically set if L2 is valid
42 mu sync.Mutex // protects L2
43 L2 *FileL2
62 func (fd *File) ParentFile() pref.FileDescriptor { return fd }
63 func (fd *File) Parent() pref.Descriptor { return nil }
64 func (fd *File) Index() int { return 0 }
65 func (fd *File) Syntax() pref.Syntax { return fd.L1.Syntax }
66 func (fd *File) Name() pref.Name { return fd.L1.Package.Name() }
67 func (fd *File) FullName() pref.FullName { return fd.L1.Package }
68 func (fd *File) IsPlaceholder() bool { return false }
69 func (fd *File) Options() pref.ProtoMessage {
75 func (fd *File) Path() string { return fd.L1.Path }
76 func (fd *File) Package() pref.FullName { return fd.L1.Package }
77 func (fd *File) Imports() pref.FileImports { return &fd.lazyInit().Imports }
78 func (fd *File) Enums() pref.EnumDescriptors { return &fd.L1.Enums }
79 func (fd *File) Messages() pref.MessageDescriptors { return &fd.L1.Messages }
80 func (fd *File) Extensions() pref.ExtensionDescriptors { return &fd.L1.Extensions }
81 func (fd *File) Services() pref.ServiceDescriptors { return &fd.L1.Services }
82 func (fd *File) SourceLocations() pref.SourceLocations { return &fd.lazyInit().Locations }
83 func (fd *File) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, fd) }
84 func (fd *File) ProtoType(pref.FileDescriptor) {}
85 func (fd *File) ProtoInternal(pragma.DoNotImplement) {}
87 func (fd *File) lazyInit() *FileL2 {
94 func (fd *File) lazyInitOnce() {
108 func (fd *File) GoPackagePath() string {
557 func unmarshalDefault(b []byte, k pref.Kind, pf *File, ed pref.EnumDescriptor) defaultValue {