/external/rust/crates/protobuf/src/reflect/file/ |
D | syntax.rs | 5 pub enum Syntax { enum 12 impl Syntax { impl 13 pub(crate) fn parse(syntax: &str) -> Option<Syntax> { in parse() argument 15 "" | "proto2" => Some(Syntax::Proto2), in parse() 16 "proto3" => Some(Syntax::Proto3), in parse() 21 pub(crate) fn of_file(file: &FileDescriptorProto) -> Syntax { in of_file() argument 22 Syntax::parse(file.syntax()).unwrap_or(Syntax::Proto2) in of_file()
|
/external/rust/crates/ciborium/tests/ |
D | error.rs | 8 case("1e", Error::Syntax(0)), 11 case("1f", Error::Syntax(0)), 14 case("83011f03", Error::Syntax(2)), 17 case("7F616101FF", Error::Syntax(3)), 20 case("7F61614101FF", Error::Syntax(3)), 23 case("62C328", Error::Syntax(0)), 26 case("7F62C328FF", Error::Syntax(1)), 33 Error::Syntax(x) => ("syntax", Some(x), None), in test() 41 Error::Syntax(x) => ("syntax", Some(x), None), in test()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Api.cs | 226 …ivate global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTyp… 232 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { property in Google.Protobuf.WellKnownTypes.Api 260 if (Syntax != other.Syntax) return false; in Equals() 274 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 308 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() 310 output.WriteEnum((int) Syntax); in WriteTo() 337 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in IBufferMessage.InternalWriteTo() 339 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo() 363 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in CalculateSize() 364 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize() [all …]
|
D | Type.cs | 65 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.WellKnownTypes.Syntax), }, nul… in TypeReflection() 80 public enum Syntax { enum 220 …ivate global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTyp… 226 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { property in Google.Protobuf.WellKnownTypes.Type 253 if (Syntax != other.Syntax) return false; in Equals() 266 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 296 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() 298 output.WriteEnum((int) Syntax); in WriteTo() 321 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in IBufferMessage.InternalWriteTo() 323 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo() [all …]
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Api.cs | 226 …ivate global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTyp… 232 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { property in Google.Protobuf.WellKnownTypes.Api 260 if (Syntax != other.Syntax) return false; in Equals() 274 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 308 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() 310 output.WriteEnum((int) Syntax); in WriteTo() 337 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in IBufferMessage.InternalWriteTo() 339 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo() 363 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in CalculateSize() 364 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize() [all …]
|
D | Type.cs | 65 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.WellKnownTypes.Syntax), }, nul… in TypeReflection() 80 public enum Syntax { enum 220 …ivate global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTyp… 226 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { property in Google.Protobuf.WellKnownTypes.Type 253 if (Syntax != other.Syntax) return false; in Equals() 266 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 296 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() 298 output.WriteEnum((int) Syntax); in WriteTo() 321 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in IBufferMessage.InternalWriteTo() 323 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo() [all …]
|
/external/golang-protobuf/types/known/typepb/ |
D | type.pb.go | 46 type Syntax int32 type 50 Syntax_SYNTAX_PROTO2 Syntax = 0 52 Syntax_SYNTAX_PROTO3 Syntax = 1 67 func (x Syntax) Enum() *Syntax { 68 p := new(Syntax) 73 func (x Syntax) String() string { 77 func (Syntax) Descriptor() protoreflect.EnumDescriptor { 81 func (Syntax) Type() protoreflect.EnumType { 85 func (x Syntax) Number() protoreflect.EnumNumber { 90 func (Syntax) EnumDescriptor() ([]byte, []int) { [all …]
|
/external/golang-protobuf/types/known/apipb/ |
D | api.pb.go | 92 …Syntax typepb.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:… member 169 func (x *Api) GetSyntax() typepb.Syntax { 171 return x.Syntax 173 return typepb.Syntax(0) 195 …Syntax typepb.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:… member 272 func (x *Method) GetSyntax() typepb.Syntax { 274 return x.Syntax 276 return typepb.Syntax(0) 497 (typepb.Syntax)(0), // 5: google.protobuf.Syntax
|
/external/rust/crates/xml-rs/src/reader/ |
D | error.rs | 13 Syntax(Cow<'static, str>), enumerator 48 Syntax(ref msg) => msg.as_ref(), in msg() 64 kind: ErrorKind::Syntax(orig.1.into()) in from() 99 Syntax(ref msg) => Syntax(msg.clone()), in clone() 112 (&Syntax(ref left), &Syntax(ref right)) => in eq()
|
/external/rust/crates/protobuf-codegen/2.27.1/src/ |
D | syntax.rs | 2 pub enum Syntax { enum 7 impl Syntax { impl 10 "" | "proto2" => Syntax::PROTO2, in parse() 11 "proto3" => Syntax::PROTO3, in parse()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | FileDescriptor.cs | 48 public enum Syntax enum 74 ForceReflectionInitialization<Syntax>(); in FileDescriptor() 110 if (!proto.HasSyntax || proto.Syntax == "proto2") in FileDescriptor() 112 Syntax = Syntax.Proto2; in FileDescriptor() 114 else if (proto.Syntax == "proto3") in FileDescriptor() 116 Syntax = Syntax.Proto3; in FileDescriptor() 120 Syntax = Syntax.Unknown; in FileDescriptor() 263 public Syntax Syntax { get; } property in Google.Protobuf.Reflection.FileDescriptor
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | FileDescriptor.cs | 48 public enum Syntax enum 74 ForceReflectionInitialization<Syntax>(); in FileDescriptor() 110 if (!proto.HasSyntax || proto.Syntax == "proto2") in FileDescriptor() 112 Syntax = Syntax.Proto2; in FileDescriptor() 114 else if (proto.Syntax == "proto3") in FileDescriptor() 116 Syntax = Syntax.Proto3; in FileDescriptor() 120 Syntax = Syntax.Unknown; in FileDescriptor() 263 public Syntax Syntax { get; } property in Google.Protobuf.Reflection.FileDescriptor
|
/external/golang-protobuf/internal/filedesc/ |
D | placeholder.go | 36 func (f PlaceholderFile) Syntax() protoreflect.Syntax { return 0 } func 58 func (e PlaceholderEnum) Syntax() protoreflect.Syntax { return 0 } func 75 func (e PlaceholderEnumValue) Syntax() protoreflect.Syntax { return 0 } func 90 func (m PlaceholderMessage) Syntax() protoreflect.Syntax { return 0 } func
|
D | desc.go | 46 Syntax protoreflect.Syntax member 65 func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax } func 276 …return fd.L1.Cardinality != protoreflect.Repeated && (fd.L0.ParentFile.L1.Syntax == protoreflect.P… 279 …return (fd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && fd.L1.Cardinality == protoreflect.Opt… 282 …if !fd.L1.HasPacked && fd.L0.ParentFile.L1.Syntax != protoreflect.Proto2 && fd.L1.Cardinality == p… 339 return fd.L0.ParentFile.L1.Syntax == protoreflect.Proto3 343 …return od.L0.ParentFile.L1.Syntax == protoreflect.Proto3 && len(od.L1.Fields.List) == 1 && od.L1.F… 392 …return (xd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && xd.L1.Cardinality == protoreflect.Opt… 475 SurrogateProto2 = &File{L1: FileL1{Syntax: protoreflect.Proto2}, L2: &FileL2{}} 476 SurrogateProto3 = &File{L1: FileL1{Syntax: protoreflect.Proto3}, L2: &FileL2{}} [all …]
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 97 enum Syntax { enum 240 Syntax syntaxUsed, SourceLocation ellipsisLoc) in AttributeList() 259 Syntax syntaxUsed, SourceLocation strict, in AttributeList() 280 Syntax syntaxUsed) in AttributeList() 297 bool layoutCompatible, bool mustBeNull, Syntax syntaxUsed) in AttributeList() 315 ParsedType typeArg, Syntax syntaxUsed) in AttributeList() 329 Syntax syntaxUsed) in AttributeList() 404 Syntax SyntaxUsed); 633 AttributeList::Syntax syntax, 651 AttributeList::Syntax syntax, in create() [all …]
|
/external/rust/crates/regex/src/ |
D | error.rs | 8 Syntax(String), enumerator 26 Error::Syntax(ref err) => err, in description() 36 Error::Syntax(ref err) => err.fmt(f), in fmt() 54 Error::Syntax(ref err) => { in fmt()
|
/external/golang-protobuf/reflect/protoreflect/ |
D | proto.go | 149 type Syntax syntax type 154 Proto2 Syntax = 2 155 Proto3 Syntax = 3 159 func (s Syntax) IsValid() bool { 169 func (s Syntax) String() string { 181 func (s Syntax) GoString() string {
|
/external/python/pybind11/tools/ |
D | make_changelog.py | 9 from rich.syntax import Syntax 44 print(Syntax(msg, "rst", theme="ansi_light")) 61 print(Syntax(msg, "md", theme="ansi_light"))
|
/external/rust/crates/regex-automata/src/ |
D | error.rs | 21 Syntax(String), enumerator 63 Error { kind: ErrorKind::Syntax(err.to_string()) } in syntax() 101 ErrorKind::Syntax(_) => "syntax error", in description() 117 ErrorKind::Syntax(ref msg) => write!(f, "{}", msg), in fmt()
|
/external/rust/crates/protobuf/2.27.1/src/well_known_types/ |
D | type_pb.rs | 31 pub syntax: Syntax, 187 pub fn get_syntax(&self) -> Syntax { in get_syntax() argument 191 self.syntax = Syntax::SYNTAX_PROTO2; in clear_syntax() 195 pub fn set_syntax(&mut self, v: Syntax) { in set_syntax() argument 272 if self.syntax != Syntax::SYNTAX_PROTO2 { in compute_size() 302 if self.syntax != Syntax::SYNTAX_PROTO2 { in write_to_with_cached_sizes() 368 …(crate::reflect::accessor::make_simple_field_accessor::<_, crate::types::ProtobufTypeEnum<Syntax>>( in descriptor_static() 394 self.syntax = Syntax::SYNTAX_PROTO2; in clear() 1082 pub syntax: Syntax, 1213 pub fn get_syntax(&self) -> Syntax { in get_syntax() argument [all …]
|
D | api.rs | 32 pub syntax: crate::well_known_types::Syntax, 214 pub fn get_syntax(&self) -> crate::well_known_types::Syntax { in get_syntax() argument 218 self.syntax = crate::well_known_types::Syntax::SYNTAX_PROTO2; in clear_syntax() 222 pub fn set_syntax(&mut self, v: crate::well_known_types::Syntax) { in set_syntax() argument 311 if self.syntax != crate::well_known_types::Syntax::SYNTAX_PROTO2 { in compute_size() 346 if self.syntax != crate::well_known_types::Syntax::SYNTAX_PROTO2 { in write_to_with_cached_sizes() 417 …::make_simple_field_accessor::<_, crate::types::ProtobufTypeEnum<crate::well_known_types::Syntax>>( in descriptor_static() 444 self.syntax = crate::well_known_types::Syntax::SYNTAX_PROTO2; in clear() 471 pub syntax: crate::well_known_types::Syntax, 626 pub fn get_syntax(&self) -> crate::well_known_types::Syntax { in get_syntax() argument [all …]
|
/external/rust/crates/protobuf/src/well_known_types/ |
D | type_.rs | 46 pub syntax: crate::EnumOrUnknown<Syntax>, 162 if self.syntax != crate::EnumOrUnknown::new(Syntax::SYNTAX_PROTO2) { in compute_size() 186 if self.syntax != crate::EnumOrUnknown::new(Syntax::SYNTAX_PROTO2) { in write_to_with_cached_sizes() 211 self.syntax = crate::EnumOrUnknown::new(Syntax::SYNTAX_PROTO2); in clear() 752 pub syntax: crate::EnumOrUnknown<Syntax>, 857 if self.syntax != crate::EnumOrUnknown::new(Syntax::SYNTAX_PROTO2) { in compute_size() 878 if self.syntax != crate::EnumOrUnknown::new(Syntax::SYNTAX_PROTO2) { in write_to_with_cached_sizes() 902 self.syntax = crate::EnumOrUnknown::new(Syntax::SYNTAX_PROTO2); in clear() 1253 pub enum Syntax { enum 1260 impl crate::Enum for Syntax { implementation [all …]
|
/external/rust/crates/ciborium/src/de/ |
D | error.rs | 19 Syntax(usize), enumerator 54 ciborium_ll::Error::Syntax(x) => Self::Syntax(x), in from()
|
/external/bcc/docs/ |
D | reference_guide.md | 150 Syntax: kprobe__*kernel_function_name* 178 Syntax: kretprobe__*kernel_function_name* 201 Syntax: TRACEPOINT_PROBE(*category*, *event*) 307 Syntax: RAW_TRACEPOINT_PROBE(*event*) 336 Syntax: ```syscall__SYSCALLNAME``` 369 Syntax: KFUNC_PROBE(*function*, typeof(arg1) arg1, typeof(arg2) arge ...) 390 Syntax: KRETFUNC_PROBE(*event*, typeof(arg1) arg1, typeof(arg2) arge ..., int ret) 414 Syntax: LSM_PROBE(*hook*, typeof(arg1) arg1, typeof(arg2) arg2 ...) 452 Syntax: BPF_ITER(target) 479 Syntax: ```int bpf_probe_read_kernel(void *dst, int size, const void *src)``` [all …]
|
/external/golang-protobuf/reflect/protodesc/ |
D | desc_validate.go | 48 if e.Syntax() == protoreflect.Proto3 { 110 …if isMessageSet && (m.Syntax() != protoreflect.Proto2 || m.Fields().Len() > 0 || m.ExtensionRanges… 113 if m.Syntax() == protoreflect.Proto3 { 152 if f.Syntax() != protoreflect.Proto3 { 165 …if f.IsWeak() && (f.Syntax() != protoreflect.Proto2 || !isOptionalMessage(f) || f.ContainingOneof(… 177 if f.Syntax() == protoreflect.Proto3 { 181 if f.Enum() != nil && !f.Enum().IsPlaceholder() && f.Enum().Syntax() != protoreflect.Proto3 { 276 if x.Syntax() == protoreflect.Proto3 { 317 case fd.Syntax() != protoreflect.Proto2:
|