OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:findFieldByName
(Results
1 - 8
of
8
) sorted by null
/external/protobuf/java/src/test/java/com/google/protobuf/
MessageTest.java
170
builder.setField(descriptor.
findFieldByName
("a"), 1);
172
builder.setField(descriptor.
findFieldByName
("b"), 1);
174
builder.setField(descriptor.
findFieldByName
("c"), 1);
184
builder.setField(descriptor.
findFieldByName
("optional_message"),
188
builder.setField(descriptor.
findFieldByName
("optional_message"),
192
builder.addRepeatedField(descriptor.
findFieldByName
("repeated_message"),
196
builder.setRepeatedField(descriptor.
findFieldByName
("repeated_message"), 0,
DescriptorsTest.java
165
assertEquals(field, messageType.
findFieldByName
("optional_int32"));
166
assertNull(messageType.
findFieldByName
("no_such_field"));
192
messageType.
findFieldByName
("optional_int32");
194
messageType.
findFieldByName
("optional_nested_enum");
196
messageType.
findFieldByName
("optional_foreign_message");
198
messageType.
findFieldByName
("optional_cord");
257
TestRequired.getDescriptor().
findFieldByName
("a");
259
TestAllTypes.getDescriptor().
findFieldByName
("optional_int32");
261
TestAllTypes.getDescriptor().
findFieldByName
("repeated_int32");
273
assertFalse(d.
findFieldByName
("optional_int32").hasDefaultValue())
[
all
...]
WireFormatTest.java
275
.setField(descriptor.
findFieldByName
("my_int"), 1L)
276
.setField(descriptor.
findFieldByName
("my_string"), "foo")
277
.setField(descriptor.
findFieldByName
("my_float"), 1.0F)
313
.setField(descriptor.
findFieldByName
("my_int"), 1L)
314
.setField(descriptor.
findFieldByName
("my_string"), "foo")
315
.setField(descriptor.
findFieldByName
("my_float"), 1.0F)
UnknownFieldSetTest.java
59
Descriptors.FieldDescriptor field = descriptor.
findFieldByName
(name);
130
TestAllTypes.OptionalGroup.getDescriptor().
findFieldByName
("a");
271
TestAllTypes.getDescriptor().
findFieldByName
("optional_nested_enum");
273
TestAllTypes.getDescriptor().
findFieldByName
("repeated_nested_enum");
TextFormatTest.java
191
OneString.getDescriptor().
findFieldByName
("data");
197
TestAllTypes.getDescriptor().
findFieldByName
("optional_nested_message");
GeneratedMessageTest.java
564
MessageWithNoOuter.getDescriptor().
findFieldByName
("foreign_enum");
TestUtil.java
[
all
...]
/external/protobuf/java/src/main/java/com/google/protobuf/
Descriptors.java
493
public FieldDescriptor
findFieldByName
(final String name) {
[
all
...]
Completed in 135 milliseconds