/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | UnknownFieldSetTest.java | 66 private UnknownFieldSet.Field getField(String name) { in getField() method in UnknownFieldSetTest 69 return unknownFields.getField(field.getNumber()); in getField() 139 assertThat(clone.getField(997)).isNotNull(); in testClone_lengthDelimited() 140 UnknownFieldSet.Field field999 = clone.getField(999); in testClone_lengthDelimited() 146 assertThat(clone2.getField(997)).isNotNull(); in testClone_lengthDelimited() 147 UnknownFieldSet.Field secondField = clone2.getField(999); in testClone_lengthDelimited() 175 UnknownFieldSet.Field field = getField("optional_int32"); in testAddField_zero() 186 UnknownFieldSet.Field field = getField("optional_int32"); in testAddField_negative() 207 UnknownFieldSet.Field field = getField("optional_int32"); in testMergeField_negative() 243 UnknownFieldSet.Field field = getField("optional_int32"); in testAddField() [all …]
|
D | Proto2UnknownEnumValueTest.java | 79 1901, unknown.getField(singularField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValues() 81 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValues() 83 1903, unknown.getField(repeatedField.getNumber()).getVarintList().get(1).longValue()); in testUnknownEnumValues() 105 1901, unknown.getField(singularField.getNumber()).getVarintList().get(0).longValue()); in testExtensionUnknownEnumValues() 107 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testExtensionUnknownEnumValues() 109 1903, unknown.getField(repeatedField.getNumber()).getVarintList().get(1).longValue()); in testExtensionUnknownEnumValues()
|
D | TestUtil.java | 3061 Assert.assertTrue(((Message) message.getField(f("optionalgroup"))).hasField(groupA)); in assertAllFieldsSetViaReflection() 3063 ((Message) message.getField(f("optional_nested_message"))).hasField(nestedB)); in assertAllFieldsSetViaReflection() 3065 ((Message) message.getField(f("optional_foreign_message"))).hasField(foreignC)); in assertAllFieldsSetViaReflection() 3067 ((Message) message.getField(f("optional_import_message"))).hasField(importD)); in assertAllFieldsSetViaReflection() 3076 Assert.assertEquals(101, message.getField(f("optional_int32"))); in assertAllFieldsSetViaReflection() 3077 Assert.assertEquals(102L, message.getField(f("optional_int64"))); in assertAllFieldsSetViaReflection() 3078 Assert.assertEquals(103, message.getField(f("optional_uint32"))); in assertAllFieldsSetViaReflection() 3079 Assert.assertEquals(104L, message.getField(f("optional_uint64"))); in assertAllFieldsSetViaReflection() 3080 Assert.assertEquals(105, message.getField(f("optional_sint32"))); in assertAllFieldsSetViaReflection() 3081 Assert.assertEquals(106L, message.getField(f("optional_sint64"))); in assertAllFieldsSetViaReflection() [all …]
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | TestUtil.java | 2270 ((Message)message.getField(f("optionalgroup"))).hasField(groupA)); in assertAllFieldsSetViaReflection() 2272 ((Message)message.getField(f("optional_nested_message"))) in assertAllFieldsSetViaReflection() 2275 ((Message)message.getField(f("optional_foreign_message"))) in assertAllFieldsSetViaReflection() 2278 ((Message)message.getField(f("optional_import_message"))) in assertAllFieldsSetViaReflection() 2288 Assert.assertEquals(101 , message.getField(f("optional_int32" ))); in assertAllFieldsSetViaReflection() 2289 Assert.assertEquals(102L , message.getField(f("optional_int64" ))); in assertAllFieldsSetViaReflection() 2290 Assert.assertEquals(103 , message.getField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection() 2291 Assert.assertEquals(104L , message.getField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection() 2292 Assert.assertEquals(105 , message.getField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection() 2293 Assert.assertEquals(106L , message.getField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection() [all …]
|
D | UnknownFieldSetTest.java | 59 UnknownFieldSet.Field getField(String name) { in getField() method in UnknownFieldSetTest 62 return unknownFields.getField(field.getNumber()); in getField() 102 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint() 109 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32() 116 UnknownFieldSet.Field field = getField("optional_fixed64"); in testFixed64() 123 UnknownFieldSet.Field field = getField("optional_bytes"); in testLengthDelimited() 134 UnknownFieldSet.Field field = getField("optionalgroup"); in testGroup() 142 group.getField(nestedFieldDescriptor.getNumber()); in testGroup() 225 destination.getUnknownFields().getField(123456); in testParseKnownAndUnknown() 304 .getField(singularField.getNumber()) in testParseUnknownEnumValue() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | formattedval_sbimpl.cpp | 53 int32_t rawField = fp.getField(); in nextFieldPosition() 95 fpih.addAttribute(cfpos.getField(), cfpos.getStart(), cfpos.getLimit()); in getAllFieldPositions() 116 && cfpos.getField() == spanIndices[si-1].spanValue; in nextPositionImpl() 122 && cfpos.getField() == numericField.getField(); in nextPositionImpl() 125 && cfpos.getField() == UNUM_INTEGER_FIELD; in nextPositionImpl() 148 cfpos.setState(currField.getCategory(), currField.getField(), start, end); in nextPositionImpl() 198 && cfpos.matchesField(numericField.getCategory(), numericField.getField()) in nextPositionImpl() 208 numericField.getField(), in nextPositionImpl() 264 else if (cfpos.matchesField(_field.getCategory(), _field.getField())) { in nextPositionImpl() 278 cfpos.getField(), in nextPositionImpl()
|
D | fphdlimp.cpp | 41 if (pos.getField() == id && (!acceptFirstOnly || !seenFirst)) { in addAttribute() 50 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast() 58 return pos.getField() != FieldPosition::DONT_CARE; in isRecording()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | formattedval_sbimpl.cpp | 53 int32_t rawField = fp.getField(); in nextFieldPosition() 95 fpih.addAttribute(cfpos.getField(), cfpos.getStart(), cfpos.getLimit()); in getAllFieldPositions() 121 && cfpos.getField() == spanIndices[si-1].spanValue; in nextPositionImpl() 127 && cfpos.getField() == numericField.getField(); in nextPositionImpl() 130 && cfpos.getField() == UNUM_INTEGER_FIELD; in nextPositionImpl() 153 cfpos.setState(currField.getCategory(), currField.getField(), start, end); in nextPositionImpl() 203 && cfpos.matchesField(numericField.getCategory(), numericField.getField()) in nextPositionImpl() 213 numericField.getField(), in nextPositionImpl() 269 else if (cfpos.matchesField(_field.getCategory(), _field.getField())) { in nextPositionImpl() 283 cfpos.getField(), in nextPositionImpl()
|
D | fphdlimp.cpp | 41 if (pos.getField() == id && (!acceptFirstOnly || !seenFirst)) { in addAttribute() 50 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast() 58 return pos.getField() != FieldPosition::DONT_CARE; in isRecording()
|
/third_party/icu/icu4c/source/i18n/ |
D | formattedval_sbimpl.cpp | 53 int32_t rawField = fp.getField(); in nextFieldPosition() 95 fpih.addAttribute(cfpos.getField(), cfpos.getStart(), cfpos.getLimit()); in getAllFieldPositions() 116 && cfpos.getField() == spanIndices[si-1].spanValue; in nextPositionImpl() 122 && cfpos.getField() == numericField.getField(); in nextPositionImpl() 125 && cfpos.getField() == UNUM_INTEGER_FIELD; in nextPositionImpl() 148 cfpos.setState(currField.getCategory(), currField.getField(), start, end); in nextPositionImpl() 198 && cfpos.matchesField(numericField.getCategory(), numericField.getField()) in nextPositionImpl() 208 numericField.getField(), in nextPositionImpl() 264 else if (cfpos.matchesField(_field.getCategory(), _field.getField())) { in nextPositionImpl() 278 cfpos.getField(), in nextPositionImpl()
|
D | fphdlimp.cpp | 41 if (pos.getField() == id && (!acceptFirstOnly || !seenFirst)) { in addAttribute() 50 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast() 58 return pos.getField() != FieldPosition::DONT_CARE; in isRecording()
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskTree.java | 292 Message.Builder childBuilder = ((Message) destination.getField(field)).toBuilder(); in merge() 293 merge(entry.getValue(), childPath, (Message) source.getField(field), childBuilder, options); in merge() 299 destination.setField(field, source.getField(field)); in merge() 301 for (Object element : (List) source.getField(field)) { in merge() 311 destination.setField(field, source.getField(field)); in merge() 317 ((Message) destination.getField(field)) in merge() 319 .mergeFrom((Message) source.getField(field)) in merge() 325 destination.setField(field, source.getField(field)); in merge()
|
/third_party/protobuf/php/tests/ |
D | DescriptorsTest.php | 87 $this->assertInstanceOf('\Google\Protobuf\FieldDescriptor', $desc->getField(0)); 100 $fielddesc = $desc->getField(17); 204 $this->assertSame(self::GPBTYPE_INT32, $mapDesc->getField(0)->getType()); 205 $this->assertSame(self::GPBTYPE_ENUM, $mapDesc->getField(1)->getType()); 215 $fieldDesc = $desc->getField(0); 226 $fieldDesc = $desc->getField(0); 245 $fieldDescFromOneof = $oneofDesc->getField(0); 254 $fieldDesc = $desc->getField($i);
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/chaincontextsubst/ |
D | ChainSubClassSetArray.java | 28 int coverageOffset = getField(COVERAGE_INDEX); in ChainSubClassSetArray() 30 int classDefOffset = getField(BACKTRACK_CLASS_DEF_INDEX); in ChainSubClassSetArray() 32 classDefOffset = getField(INPUT_CLASS_DEF_INDEX); in ChainSubClassSetArray() 34 classDefOffset = getField(LOOK_AHEAD_CLASS_DEF_INDEX); in ChainSubClassSetArray()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/chaincontextsubst/ |
D | ChainSubClassSetArray.java | 28 int coverageOffset = getField(COVERAGE_INDEX); in ChainSubClassSetArray() 30 int classDefOffset = getField(BACKTRACK_CLASS_DEF_INDEX); in ChainSubClassSetArray() 32 classDefOffset = getField(INPUT_CLASS_DEF_INDEX); in ChainSubClassSetArray() 34 classDefOffset = getField(LOOK_AHEAD_CLASS_DEF_INDEX); in ChainSubClassSetArray()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | FormattedValueStringBuilderImpl.java | 91 if (fp.getField() == NumberFormat.INTEGER_FIELD) { in nextFieldPosition() 93 } else if (fp.getField() == NumberFormat.FRACTION_FIELD) { in nextFieldPosition() 141 value = cfpos.getField(); in toCharacterIterator() 143 as.addAttribute(cfpos.getField(), value, cfpos.getStart(), cfpos.getLimit()); in toCharacterIterator() 170 prevIsSpan = cfpos.getField() instanceof UFormat.SpanField in nextPosition() 175 prevIsNumeric = cfpos.getField() == numericField; in nextPosition() 177 boolean prevIsInteger = cfpos.getField() == NumberFormat.Field.INTEGER; in nextPosition() 297 cfpos.getField(), in nextPosition()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | GeneratedMessage.java | 145 final List<?> value = (List<?>) getField(field); in getAllFieldsMutable() 159 result.put(field, getField(field)); in getAllFieldsMutable() 178 List<Message> messageList = (List<Message>) getField(field); in isInitialized() 185 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized() 228 return internalGetFieldAccessorTable().getField(field).has(this); in hasField() 232 public Object getField(final FieldDescriptor field) { in getField() method in GeneratedMessage 233 return internalGetFieldAccessorTable().getField(field).get(this); in getField() 245 return internalGetFieldAccessorTable().getField(field).getRaw(this); in getFieldRaw() 250 return internalGetFieldAccessorTable().getField(field) in getRepeatedFieldCount() 256 return internalGetFieldAccessorTable().getField(field) in getRepeatedField() [all …]
|
D | MessageReflection.java | 59 fields.put(field, message.getField(field)); in writeMessageTo() 234 public Object getField(Descriptors.FieldDescriptor field); in getField() method 363 public Object getField(Descriptors.FieldDescriptor field) { in getField() method in MessageReflection.BuilderAdapter 364 return builder.getField(field); in getField() 445 Message originalMessage = (Message) getField(field); in parseGroup() 469 Message originalMessage = (Message) getField(field); in parseMessage() 493 Message originalMessage = (Message) getField(field); in parseMessageFromBytes() 512 Message originalMessage = (Message) getField(field); in newMergeTargetForField() 565 public Object getField(Descriptors.FieldDescriptor field) { in getField() method in MessageReflection.ExtensionAdapter 566 return extensions.getField(field); in getField() [all …]
|
D | GeneratedMessageV3.java | 185 final List<?> value = (List<?>) getField(field); in getAllFieldsMutable() 199 result.put(field, getField(field)); in getAllFieldsMutable() 218 List<Message> messageList = (List<Message>) getField(field); in isInitialized() 225 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized() 268 return internalGetFieldAccessorTable().getField(field).has(this); in hasField() 272 public Object getField(final FieldDescriptor field) { in getField() method in GeneratedMessageV3 273 return internalGetFieldAccessorTable().getField(field).get(this); in getField() 285 return internalGetFieldAccessorTable().getField(field).getRaw(this); in getFieldRaw() 290 return internalGetFieldAccessorTable().getField(field) in getRepeatedFieldCount() 296 return internalGetFieldAccessorTable().getField(field) in getRepeatedField() [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
D | LookupTable.java | 38 int lookupFlag = getField(LOOKUP_FLAG_INDEX); in LookupTable() 49 return GsubLookupType.forTypeNum(getField(LOOKUP_TYPE_INDEX)); in lookupType() 53 return GsubLookupType.forTypeNum(getField(LOOKUP_FLAG_INDEX)); in lookupFlag() 58 int lookupType = getField(LOOKUP_TYPE_INDEX); in readSubTable()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
D | LookupTable.java | 38 int lookupFlag = getField(LOOKUP_FLAG_INDEX); in LookupTable() 49 return GsubLookupType.forTypeNum(getField(LOOKUP_TYPE_INDEX)); in lookupType() 53 return GsubLookupType.forTypeNum(getField(LOOKUP_FLAG_INDEX)); in lookupFlag() 58 int lookupType = getField(LOOKUP_TYPE_INDEX); in readSubTable()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | FormattedValueStringBuilderImpl.java | 65 if (fp.getField() == NumberFormat.INTEGER_FIELD) { in nextFieldPosition() 67 } else if (fp.getField() == NumberFormat.FRACTION_FIELD) { in nextFieldPosition() 115 value = cfpos.getField(); in toCharacterIterator() 117 as.addAttribute(cfpos.getField(), value, cfpos.getStart(), cfpos.getLimit()); in toCharacterIterator() 190 && (i - self.zero > cfpos.getLimit() || cfpos.getField() != numericField) in nextPosition() 266 && (cfpos.getLimit() < limit || cfpos.getField() != ph.normalField)) { in handleSpan()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/ |
D | HeaderTable.java | 22 public int getField(int index) { in getField() method in HeaderTable 56 map.put(i, table.getField(i)); in Builder() 64 protected int getField(int index) { in getField() method in HeaderTable.Builder
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/ |
D | HeaderTable.java | 22 public int getField(int index) { in getField() method in HeaderTable 56 map.put(i, table.getField(i)); in Builder() 64 protected int getField(int index) { in getField() method in HeaderTable.Builder
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | fphdlimp.cpp | 41 if (pos.getField() == id) { in addAttribute() 49 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast() 57 return pos.getField() != FieldPosition::DONT_CARE; in isRecording()
|