Home
last modified time | relevance | path

Searched refs:getNumber (Results 1 – 25 of 45) sorted by relevance

12

/external/protobuf/java/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java61 return unknownFields.getField(field.getNumber()); in getField()
138 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
141 group.getField(nestedFieldDescriptor.getNumber()); in testGroup()
279 .addField(singularField.getNumber(), in testParseUnknownEnumValue()
281 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in testParseUnknownEnumValue()
284 .addField(repeatedField.getNumber(), in testParseUnknownEnumValue()
286 .addVarint(TestAllTypes.NestedEnum.FOO.getNumber()) in testParseUnknownEnumValue()
288 .addVarint(TestAllTypes.NestedEnum.BAZ.getNumber()) in testParseUnknownEnumValue()
303 .getField(singularField.getNumber()) in testParseUnknownEnumValue()
307 .getField(repeatedField.getNumber()) in testParseUnknownEnumValue()
[all …]
DDescriptorsTest.java206 assertEquals(1, primitiveField.getNumber()); in testFieldDescriptor()
236 assertEquals(1, extension.getNumber()); in testFieldDescriptor()
307 assertEquals(4, value.getNumber()); in testEnumDescriptor()
DWireFormatTest.java327 TestMessageSetExtension1.getDescriptor().getExtensions().get(0).getNumber();
329 TestMessageSetExtension2.getDescriptor().getExtensions().get(0).getNumber();
DServiceTest.java236 assertEquals(1, UnittestNoGenericServices.TestEnum.FOO.getNumber()); in testNoGenericServices()
/external/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java175 while (next != null && next.getKey().getNumber() < end) { in writeUntil()
180 output.writeMessageSetExtension(extension.getNumber(), in writeUntil()
378 input.readGroup(extension.getNumber(), in parseUnknownField()
449 public int getNumber() { in getNumber() method in GeneratedMessageLite.ExtensionDescriptor
554 public int getNumber() { in getNumber() method in GeneratedMessageLite.GeneratedExtension
555 return descriptor.getNumber(); in getNumber()
DDescriptors.java647 public int getNumber() { return proto.getNumber(); } in getNumber() method in Descriptors.FieldDescriptor
800 return getNumber() - other.getNumber(); in compareTo()
849 return values()[type.getNumber() - 1]; in valueOf()
899 if (getNumber() <= 0) { in FieldDescriptor()
945 if (!getContainingType().isExtensionNumber(getNumber())) { in crossLink()
948 "\" does not declare " + getNumber() + in crossLink()
1267 public int getNumber() { return proto.getNumber(); } in getNumber() method in Descriptors.EnumValueDescriptor
1817 new DescriptorIntPair(field.getContainingType(), field.getNumber()); in addFieldByNumber()
1822 "Field number " + field.getNumber() + in addFieldByNumber()
1836 new DescriptorIntPair(value.getType(), value.getNumber()); in addEnumValueByNumber()
DFieldSet.java57 int getNumber(); in getNumber() method
487 output.writeMessageSetExtension(entry.getKey().getNumber(), in writeMessageSetTo()
554 output.writeEnumNoTag(((Internal.EnumLite) value).getNumber()); in writeElementNoTag()
565 int number = descriptor.getNumber(); in writeField()
614 entry.getKey().getNumber(), (MessageLite) entry.getValue()); in getMessageSetSerializedSize()
678 ((Internal.EnumLite) value).getNumber()); in computeElementSizeNoTag()
691 int number = descriptor.getNumber(); in computeFieldSize()
DProtocolMessageEnum.java45 int getNumber(); in getNumber() method
DInternal.java108 int getNumber(); in getNumber() method
DAbstractMessage.java99 output.writeMessageSetExtension(field.getNumber(), (Message) value); in writeTo()
133 field.getNumber(), (Message) value); in getSerializedSize()
384 input.readGroup(field.getNumber(), subBuilder, extensionRegistry); in mergeFieldFrom()
DExtensionRegistryLite.java111 extension.getNumber()), in add()
DExtensionRegistry.java228 extension.descriptor.getNumber()), in add()
DGeneratedMessage.java414 while (next != null && next.getKey().getNumber() < end) { in writeUntil()
419 output.writeMessageSetExtension(descriptor.getNumber(), in writeUntil()
/external/chromium/third_party/icu/public/i18n/unicode/
Dmeasure.h98 inline const Formattable& getNumber() const;
126 inline const Formattable& Measure::getNumber() const { in getNumber() function
/external/icu4c/i18n/unicode/
Dmeasure.h98 inline const Formattable& getNumber() const;
126 inline const Formattable& Measure::getNumber() const { in getNumber() function
/external/webkit/JavaScriptCore/runtime/
DOperations.h274 if (v1.getNumber(n1) && v2.getNumber(n2)) in jsLess()
299 if (v1.getNumber(n1) && v2.getNumber(n2)) in jsLessEq()
329 if (v1.getNumber(left) && v2.getNumber(right)) in jsAdd()
DJSONObject.cpp143 if (space.getNumber(spaceCount)) { in gap()
221 if (name.getNumber(value)) { in Stringifier()
397 if (value.getNumber(numericValue)) { in appendStringifiedValue()
DJSValue.h138 bool getNumber(double&) const;
759 inline bool JSValue::getNumber(double& result) const in getNumber() function
DJSNumberCell.h342 inline bool JSValue::getNumber(double &result) const in getNumber() function
/external/chromium/third_party/icu/source/i18n/
Dfmtable.cpp381 getNumber().getLong(status); in getLong()
419 getNumber().getInt64(status); in getInt64()
449 getNumber().getDouble(status); in getDouble()
Dmeasure.cpp52 number == m->getNumber() && in operator ==()
/external/icu4c/i18n/
Dmeasure.cpp52 number == m->getNumber() && in operator ==()
Dfmtable.cpp424 getNumber().getLong(status); in getLong()
462 getNumber().getInt64(status); in getInt64()
492 getNumber().getDouble(status); in getDouble()
/external/protobuf/examples/
DListPeople.java31 System.out.println(phoneNumber.getNumber()); in Print()
/external/webkit/JavaScriptCore/jit/
DJITStubs.cpp1126 if (v1.getNumber(left) && v2.getNumber(right)) in DEFINE_STUB_FUNCTION()
1613 if (src1.getNumber(left) && src2.getNumber(right)) in DEFINE_STUB_FUNCTION()
2038 if (src1.getNumber(left) && src2.getNumber(right)) in DEFINE_STUB_FUNCTION()
2075 if (value.getNumber(dValue)) { in DEFINE_STUB_FUNCTION()
2117 if (value.getNumber(dValue)) { in DEFINE_STUB_FUNCTION()
2244 if (src.getNumber(v)) in DEFINE_STUB_FUNCTION()
2334 if (src1.getNumber(left) && src2.getNumber(right)) in DEFINE_STUB_FUNCTION()
3006 if (scrutinee.getNumber(value) && ((intValue = static_cast<int32_t>(value)) == value)) in DEFINE_STUB_FUNCTION()

12