Home
last modified time | relevance | path

Searched refs:forField (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DProto3MessageInfoFactory.java33 import static com.google.protobuf.FieldInfo.forField;
87 builder.withField(forField(field("fieldDouble1_"), 1, FieldType.DOUBLE, true)); in lookupFieldsByName()
88 builder.withField(forField(field("fieldFloat2_"), 2, FieldType.FLOAT, true)); in lookupFieldsByName()
89 builder.withField(forField(field("fieldInt643_"), 3, FieldType.INT64, true)); in lookupFieldsByName()
90 builder.withField(forField(field("fieldUint644_"), 4, FieldType.UINT64, true)); in lookupFieldsByName()
91 builder.withField(forField(field("fieldInt325_"), 5, FieldType.INT32, true)); in lookupFieldsByName()
92 builder.withField(forField(field("fieldFixed646_"), 6, FieldType.FIXED64, true)); in lookupFieldsByName()
93 builder.withField(forField(field("fieldFixed327_"), 7, FieldType.FIXED32, true)); in lookupFieldsByName()
94 builder.withField(forField(field("fieldBool8_"), 8, FieldType.BOOL, true)); in lookupFieldsByName()
95 builder.withField(forField(field("fieldString9_"), 9, FieldType.STRING, true)); in lookupFieldsByName()
[all …]
DProto3MessageLiteInfoFactory.java33 import static com.google.protobuf.FieldInfo.forField;
179 forField(field(Proto3MessageLite.class, "fieldDouble1_"), 1, FieldType.DOUBLE, true)); in lookupFieldsByName()
181 forField(field(Proto3MessageLite.class, "fieldFloat2_"), 2, FieldType.FLOAT, true)); in lookupFieldsByName()
183 forField(field(Proto3MessageLite.class, "fieldInt643_"), 3, FieldType.INT64, true)); in lookupFieldsByName()
185 forField(field(Proto3MessageLite.class, "fieldUint644_"), 4, FieldType.UINT64, true)); in lookupFieldsByName()
187 forField(field(Proto3MessageLite.class, "fieldInt325_"), 5, FieldType.INT32, true)); in lookupFieldsByName()
189 forField(field(Proto3MessageLite.class, "fieldFixed646_"), 6, FieldType.FIXED64, true)); in lookupFieldsByName()
191 forField(field(Proto3MessageLite.class, "fieldFixed327_"), 7, FieldType.FIXED32, true)); in lookupFieldsByName()
193 forField(field(Proto3MessageLite.class, "fieldBool8_"), 8, FieldType.BOOL, true)); in lookupFieldsByName()
195 forField(field(Proto3MessageLite.class, "fieldString9_"), 9, FieldType.STRING, true)); in lookupFieldsByName()
[all …]
DProto2MessageInfoFactory.java33 import static com.google.protobuf.FieldInfo.forField;
176 builder.withField(forField(field("fieldDoubleList18_"), 18, FieldType.DOUBLE_LIST, false)); in lookupFieldsByName()
177 builder.withField(forField(field("fieldFloatList19_"), 19, FieldType.FLOAT_LIST, false)); in lookupFieldsByName()
178 builder.withField(forField(field("fieldInt64List20_"), 20, FieldType.INT64_LIST, false)); in lookupFieldsByName()
179 builder.withField(forField(field("fieldUint64List21_"), 21, FieldType.UINT64_LIST, false)); in lookupFieldsByName()
180 builder.withField(forField(field("fieldInt32List22_"), 22, FieldType.INT32_LIST, false)); in lookupFieldsByName()
181 builder.withField(forField(field("fieldFixed64List23_"), 23, FieldType.FIXED64_LIST, false)); in lookupFieldsByName()
182 builder.withField(forField(field("fieldFixed32List24_"), 24, FieldType.FIXED32_LIST, false)); in lookupFieldsByName()
183 builder.withField(forField(field("fieldBoolList25_"), 25, FieldType.BOOL_LIST, false)); in lookupFieldsByName()
184 builder.withField(forField(field("fieldStringList26_"), 26, FieldType.STRING_LIST, false)); in lookupFieldsByName()
[all …]
/external/protobuf/java/lite/src/test/java/com/google/protobuf/
DProto2MessageLiteInfoFactory.java33 import static com.google.protobuf.FieldInfo.forField;
396 forField( in lookupFieldsByName()
402 forField( in lookupFieldsByName()
405 forField( in lookupFieldsByName()
408 forField( in lookupFieldsByName()
414 forField( in lookupFieldsByName()
417 forField( in lookupFieldsByName()
423 forField( in lookupFieldsByName()
429 forField( in lookupFieldsByName()
432 forField( in lookupFieldsByName()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantMemberInitCheck.cpp45 unless(forField(hasType(isConstQualified()))), in registerMatchers()
46 unless(forField(hasParent(recordDecl(isUnion()))))) in registerMatchers()
DRedundantStringInitCheck.cpp126 forField(allOf(StringType, optionally(hasInClassInitializer( in registerMatchers()
DImplicitBoolConversionCheck.cpp309 forField(hasBitWidth(1))))); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseDefaultMemberInitCheck.cpp220 forField(unless(anyOf(getLangOpts().CPlusPlus20 in registerMatchers()
233 cxxCtorInitializer(forField(hasInClassInitializer(anything())), in registerMatchers()
DUseEqualsDefaultCheck.cpp102 isMemberInitializer(), forField(equalsNode(Field)), in isCopyConstructorAndCanBeDefaulted()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldInfo.java64 public static FieldInfo forField( in forField() method in FieldInfo
566 return forField(field, fieldNumber, type, enforceUtf8); in build()
DDescriptorMessageInfoFactory.java33 import static com.google.protobuf.FieldInfo.forField;
342 builder.withField(forField(field, number, type, enforceUtf8)); in convertProto2()
437 forField(field(messageType, fd), fd.getNumber(), getFieldType(fd), enforceUtf8)); in convertProto3()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp656 forField(hasType(recordDecl(hasName("Baz")))))))); in TEST()
658 forField(hasName("foo_")))))); in TEST()
660 forField(hasType(recordDecl(hasName("Bar")))))))); in TEST()
684 allOf(forField(hasName("foo_")), isWritten()))))); in TEST()
686 allOf(forField(hasName("bar_")), isWritten()))))); in TEST()
688 allOf(forField(hasName("bar_")), unless(isWritten())))))); in TEST()
1464 hasAnyConstructorInitializer(forField(hasName("b")))))), in TEST()
1512 forEachConstructorInitializer(forField(hasName("i")))), in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1215 forField(hasType(recordDecl(hasName("Baz")))))))); in TEST()
1217 forField(hasName("foo_")))))); in TEST()
1219 forField(hasName("bar_")))))); in TEST()
1221 forField(hasType(recordDecl(hasName("Bar")))))))); in TEST()
1245 allOf(forField(hasName("foo_")), isWritten()))))); in TEST()
1247 allOf(forField(hasName("bar_")), isWritten()))))); in TEST()
1249 allOf(forField(hasName("bar_")), unless(isWritten())))))); in TEST()
2481 has(cxxCtorInitializer(forField(hasName("m_i"))))); in TEST()
2488 has(cxxCtorInitializer(forField(hasName("m_nt"))))); in TEST()
2495 forField(hasName("m_nt"))))); in TEST()
[all …]
DASTMatchersNodeTest.cpp761 cxxCtorInitializer(forField(hasName("i"))))); in TEST_P()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DOwningMemoryCheck.cpp114 isMemberInitializer(), forField(IsOwnerType), in registerMatchers()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp187 REGISTER_MATCHER(forField); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp236 REGISTER_MATCHER(forField); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3033 AST_MATCHER_P(CXXCtorInitializer, forField, in AST_MATCHER_P() argument
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h4195 AST_MATCHER_P(CXXCtorInitializer, forField, in AST_MATCHER_P() argument