/third_party/rust/crates/syn/src/ |
D | data.rs | 18 pub fields: Fields, 37 pub enum Fields { 75 impl Fields { implementation 81 Fields::Unit => crate::punctuated::empty_punctuated_iter(), in iter() 82 Fields::Named(f) => f.named.iter(), in iter() 83 Fields::Unnamed(f) => f.unnamed.iter(), in iter() 92 Fields::Unit => crate::punctuated::empty_punctuated_iter_mut(), in iter_mut() 93 Fields::Named(f) => f.named.iter_mut(), in iter_mut() 94 Fields::Unnamed(f) => f.unnamed.iter_mut(), in iter_mut() 101 Fields::Unit => 0, in len() [all …]
|
D | derive.rs | 60 pub fields: Fields, 166 ) -> Result<(Option<WhereClause>, Fields, Option<Token![;]>)> { in data_struct() argument 185 Ok((where_clause, Fields::Unnamed(fields), Some(semi))) 191 Ok((where_clause, Fields::Named(fields), None)) 194 Ok((where_clause, Fields::Unit, Some(semi))) 247 Fields::Named(fields) => { in to_tokens() 251 Fields::Unnamed(fields) => { in to_tokens() 256 Fields::Unit => { in to_tokens()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 51 var fields = TestProtos.TestAllTypes.Descriptor.Fields; in GetValue() 86 fields = TestMap.Descriptor.Fields; in GetValue() 96 var fields = message.Descriptor.Fields; in GetValue_IncorrectType() 104 …var accessor = ((IMessage) message).Descriptor.Fields[TestProtos.TestAllTypes.SingleForeignMessage… in HasValue_Proto3_Message() 116 …var accessor = ((IMessage) message).Descriptor.Fields[TestProtos.TestAllTypes.OneofStringFieldNumb… in HasValue_Proto3_Oneof() 131 …var accessor = ((IMessage) message).Descriptor.Fields[TestProto3Optional.OptionalInt64FieldNumber]… in HasValue_Proto3_Primitive_Optional() 145 var fields = message.Descriptor.Fields; in HasValue_Proto3_Primitive_NotOptional() 153 …var accessor = ((IMessage) message).Descriptor.Fields[TestProtos.TestAllTypes.RepeatedBoolFieldNum… in HasValue_Proto3_Repeated() 161 …var accessor = ((IMessage) message).Descriptor.Fields[Proto2.TestAllTypes.OptionalInt64FieldNumber… in HasValue_Proto2_Primitive() 176 …var field = ((IMessage) message).Descriptor.Fields[Proto2.TestAllTypes.OptionalForeignMessageField… in HasValue_Proto2_Message() [all …]
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 47 var fields = TestAllTypes.Descriptor.Fields; in GetValue() 82 fields = TestMap.Descriptor.Fields; in GetValue() 92 var fields = TestAllTypes.Descriptor.Fields; in Clear() 116 fields = TestMap.Descriptor.Fields; in Clear() 126 var fields = TestAllTypes.Descriptor.Fields; in SetValue_SingleFields() 153 var fields = message.Descriptor.Fields; in SetValue_SingleFields_WrongType() 161 var fields = message.Descriptor.Fields; in SetValue_MapFields() 169 var fields = message.Descriptor.Fields; in SetValue_RepeatedFields() 177 var fields = message.Descriptor.Fields; in GetValue_IncorrectType() 192 …Assert.AreSame(descriptor.Fields[TestAllTypes.OneofStringFieldNumber], oneof.Accessor.GetCaseField… in Oneof() [all …]
|
D | DescriptorsTest.cs | 109 FieldDescriptor field = messageType.Fields.InDeclarationOrder()[0]; in MessageDescriptor() 115 var fieldsInDeclarationOrder = messageType.Fields.InDeclarationOrder(); in MessageDescriptor() 226 CollectionAssert.AreEquivalent(expectedFields, descriptor.Fields); in OneofDescriptor() 235 Assert.IsNull(descriptor.Fields[1].Accessor); in MapEntryMessageDescriptor() 246 var fields = TestFieldOrderings.Descriptor.Fields; in FieldListOrderings()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | MDBuilder.cpp | 201 MDNode *MDBuilder::createTBAAStructNode(ArrayRef<TBAAStructField> Fields) { in createTBAAStructNode() argument 202 SmallVector<Metadata *, 4> Vals(Fields.size() * 3); in createTBAAStructNode() 204 for (unsigned i = 0, e = Fields.size(); i != e; ++i) { in createTBAAStructNode() 205 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode() 206 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode() 207 Vals[i * 3 + 2] = Fields[i].Type; in createTBAAStructNode() 215 StringRef Name, ArrayRef<std::pair<MDNode *, uint64_t>> Fields) { in createTBAAStructTypeNode() argument 216 SmallVector<Metadata *, 4> Ops(Fields.size() * 2 + 1); in createTBAAStructTypeNode() 219 for (unsigned i = 0, e = Fields.size(); i != e; ++i) { in createTBAAStructTypeNode() 220 Ops[i * 2 + 1] = Fields[i].first; in createTBAAStructTypeNode() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | objectSpreadStrictNull.types | 114 interface Fields { 128 function g(fields: Fields, partialFields: Partial<Fields>, nearlyPartialFields: NearlyPartialFields… 129 >g : (fields: Fields, partialFields: Partial<Fields>, nearlyPartialFields: NearlyPartialFields) => … 130 >fields : Fields 131 >partialFields : Partial<Fields> 137 >fields : Fields 139 >fields : Fields 140 >partialFields : Partial<Fields> 145 >fields : Fields 147 >fields : Fields
|
D | substitutionTypeNoMergeOfAssignableType.types | 13 type Fields<E extends Entity> = { 14 >Fields : Fields<E> 23 ? Fields<T[P]> 49 >myTest.test : Fields<{ fields: { id: {}; }; }> 51 >test : Fields<{ fields: { id: {}; }; }>
|
D | objectSpreadStrictNull.symbols | 104 interface Fields { 105 >Fields : Symbol(Fields, Decl(objectSpreadStrictNull.ts, 27, 44)) 108 >foo : Symbol(Fields.foo, Decl(objectSpreadStrictNull.ts, 29, 18)) 111 >bar : Symbol(Fields.bar, Decl(objectSpreadStrictNull.ts, 30, 16)) 122 function g(fields: Fields, partialFields: Partial<Fields>, nearlyPartialFields: NearlyPartialFields… 125 >Fields : Symbol(Fields, Decl(objectSpreadStrictNull.ts, 27, 44)) 128 >Fields : Symbol(Fields, Decl(objectSpreadStrictNull.ts, 27, 44))
|
D | substitutionTypeNoMergeOfAssignableType.symbols | 18 type Fields<E extends Entity> = { 19 >Fields : Symbol(Fields, Decl(substitutionTypeNoMergeOfAssignableType.ts, 6, 2)) 42 ? Fields<T[P]> 43 >Fields : Symbol(Fields, Decl(substitutionTypeNoMergeOfAssignableType.ts, 6, 2))
|
D | objectSpreadStrictNull.errors.txt | 13 …2: Type '{ foo: number | undefined; bar: string | undefined; }' is not assignable to type 'Fields'. 66 interface Fields { 74 …function g(fields: Fields, partialFields: Partial<Fields>, nearlyPartialFields: NearlyPartialField… 80 …2: Type '{ foo: number | undefined; bar: string | undefined; }' is not assignable to type 'Fields'.
|
D | objectSpreadStrictNull.js | 31 interface Fields { 39 function g(fields: Fields, partialFields: Partial<Fields>, nearlyPartialFields: NearlyPartialFields… argument
|
D | substitutionTypeNoMergeOfAssignableType.js | 10 type Fields<E extends Entity> = { 16 ? Fields<T[P]>
|
/third_party/rust/crates/tracing/tracing-log/src/ |
D | lib.rs | 270 struct Fields { struct 286 impl Fields { argument 294 Fields { in new() 349 static TRACE_FIELDS: Lazy<Fields> = Lazy::new(|| Fields::new(&TRACE_CS)); 350 static DEBUG_FIELDS: Lazy<Fields> = Lazy::new(|| Fields::new(&DEBUG_CS)); 351 static INFO_FIELDS: Lazy<Fields> = Lazy::new(|| Fields::new(&INFO_CS)); 352 static WARN_FIELDS: Lazy<Fields> = Lazy::new(|| Fields::new(&WARN_CS)); 353 static ERROR_FIELDS: Lazy<Fields> = Lazy::new(|| Fields::new(&ERROR_CS)); 355 fn level_to_cs(level: Level) -> (&'static dyn Callsite, &'static Fields) { in level_to_cs() argument 369 &'static Fields, in loglevel_to_cs() argument [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 218 var fields = message.Descriptor.Fields; in WriteMessageFields() 467 …value = message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.GetValue(me… in WriteWellKnownTypeValue() 494 var fieldAccessor = descriptor.Fields[ListValue.ValuesFieldNumber].Accessor; in WriteWellKnownTypeValue() 517 … int nanos = (int) value.Descriptor.Fields[Timestamp.NanosFieldNumber].Accessor.GetValue(value); in WriteTimestamp() 518 …long seconds = (long) value.Descriptor.Fields[Timestamp.SecondsFieldNumber].Accessor.GetValue(valu… in WriteTimestamp() 525 … int nanos = (int) value.Descriptor.Fields[Duration.NanosFieldNumber].Accessor.GetValue(value); in WriteDuration() 526 …long seconds = (long) value.Descriptor.Fields[Duration.SecondsFieldNumber].Accessor.GetValue(value… in WriteDuration() 532 …var paths = (IList<string>) value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(… in WriteFieldMask() 544 …string typeUrl = (string) value.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.GetValue(value); in WriteAny() 545 …ByteString data = (ByteString) value.Descriptor.Fields[Any.ValueFieldNumber].Accessor.GetValue(val… in WriteAny() [all …]
|
D | JsonParser.cs | 80 …parser.MergeRepeatedField(message, message.Descriptor.Fields[ListValue.ValuesFieldNumber], tokeniz… 99 …parser.MergeField(message, message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber], … in MergeWrapperField() 173 var jsonFieldMap = descriptor.Fields.ByJsonName(); in Merge() 351 field = field.MessageType.Fields[WrappersReflection.WrapperValueFieldNumber]; in ParseSingleValue() 448 var fields = message.Descriptor.Fields; in MergeStructValue() 496 var field = message.Descriptor.Fields[Struct.FieldsFieldNumber]; in MergeStruct() 558 message.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.SetValue(message, typeUrl); in MergeAny() 559 message.Descriptor.Fields[Any.ValueFieldNumber].Accessor.SetValue(message, data); in MergeAny() 868 …message.Descriptor.Fields[Timestamp.SecondsFieldNumber].Accessor.SetValue(message, timestamp.Secon… in MergeTimestamp() 869 … message.Descriptor.Fields[Timestamp.NanosFieldNumber].Accessor.SetValue(message, timestamp.Nanos); in MergeTimestamp() [all …]
|
/third_party/rust/crates/syn/examples/heapsize/heapsize_derive/src/ |
D | lib.rs | 5 parse_macro_input, parse_quote, Data, DeriveInput, Fields, GenericParam, Generics, Index, 51 Fields::Named(ref fields) => { in heap_size_sum() 74 Fields::Unnamed(ref fields) => { in heap_size_sum() 88 Fields::Unit => { in heap_size_sum()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeHeader.cpp | 170 Iter = Fields.begin(), in ~NaClBitcodeHeader() 171 IterEnd = Fields.end(); in ~NaClBitcodeHeader() 210 Fields.push_back(Field); in ReadFields() 260 Iter = Fields.begin(), in GetTaggedField() 261 IterEnd = Fields.end(); in GetTaggedField() 271 if (index >= Fields.size()) in GetField() 273 return Fields[index]; in GetField()
|
/third_party/typescript/tests/cases/conformance/types/spread/ |
D | objectSpreadStrictNull.ts | 32 interface Fields { interface 40 function g(fields: Fields, partialFields: Partial<Fields>, nearlyPartialFields: NearlyPartialFields…
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | OneofAccessor.cs | 69 … message => descriptor.Fields[0].Accessor.HasValue(message) ? descriptor.Fields[0].FieldNumber : 0, in ForSyntheticOneof() 70 message => descriptor.Fields[0].Accessor.Clear(message)); in ForSyntheticOneof()
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
D | ast.rs | 162 fields: &'a syn::Fields, in struct_from_ast() argument 167 syn::Fields::Named(fields) => ( in struct_from_ast() 171 syn::Fields::Unnamed(fields) if fields.unnamed.len() == 1 => ( in struct_from_ast() 175 syn::Fields::Unnamed(fields) => ( in struct_from_ast() 179 syn::Fields::Unit => (Style::Unit, Vec::new()), in struct_from_ast()
|
/third_party/typescript/tests/cases/compiler/ |
D | substitutionTypeNoMergeOfAssignableType.ts | 9 type Fields<E extends Entity> = { alias 15 ? Fields<T[P]>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | MDBuilder.h | 176 MDNode *createTBAAStructNode(ArrayRef<TBAAStructField> Fields); 182 ArrayRef<std::pair<MDNode *, uint64_t>> Fields); 197 ArrayRef<TBAAStructField> Fields =
|
/third_party/rust/crates/clap/clap_derive/src/derives/ |
D | parser.rs | 21 self, punctuated::Punctuated, token::Comma, Data, DataStruct, DeriveInput, Field, Fields, 36 fields: Fields::Named(ref fields), in derive_parser() 54 fields: Fields::Unit, in derive_parser()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitcodeHeader.h | 156 std::vector<NaClBitcodeHeaderField *> Fields; variable 182 void push_back(NaClBitcodeHeaderField *Field) { Fields.push_back(Field); } in push_back() 219 size_t NumberFields() const { return Fields.size(); } in NumberFields()
|