Home
last modified time | relevance | path

Searched refs:getDefaultValue (Results 1 – 25 of 36) sorted by relevance

12

/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java913 public Object getDefaultValue() { in getDefaultValue() method in Descriptors.FieldDescriptor
1234 defaultValue = TextFormat.parseInt32(proto.getDefaultValue()); in crossLink()
1238 defaultValue = TextFormat.parseUInt32(proto.getDefaultValue()); in crossLink()
1243 defaultValue = TextFormat.parseInt64(proto.getDefaultValue()); in crossLink()
1247 defaultValue = TextFormat.parseUInt64(proto.getDefaultValue()); in crossLink()
1250 if (proto.getDefaultValue().equals("inf")) { in crossLink()
1252 } else if (proto.getDefaultValue().equals("-inf")) { in crossLink()
1254 } else if (proto.getDefaultValue().equals("nan")) { in crossLink()
1257 defaultValue = Float.valueOf(proto.getDefaultValue()); in crossLink()
1261 if (proto.getDefaultValue().equals("inf")) { in crossLink()
[all …]
DExtension.java52 public abstract Type getDefaultValue(); in getDefaultValue() method in Extension
DGeneratedMessage.java658 descriptor.getDefaultValue()); in getExtension()
812 return field.getDefaultValue(); in getField()
975 descriptor.getDefaultValue()); in getExtension()
1097 return field.getDefaultValue(); in getField()
1549 public Type getDefaultValue() {
1557 getDescriptor().getDefaultValue());
1890 return !get(message).equals(field.getDefaultValue());
1899 return !get(builder).equals(field.getDefaultValue());
DDynamicMessage.java199 result = field.getDefaultValue(); in getField()
478 result = field.getDefaultValue();
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingTestCase.java71 return getDefaultValue(method.getReturnType()); in createProxyInstance()
107 private static Object getDefaultValue(Class<?> returnType) { in getDefaultValue() method in ForwardingTestCase
129 parameters[i] = getDefaultValue(parameterTypes[i]); in callAllPublicMethods()
/external/javassist/src/main/javassist/bytecode/
DAnnotationDefaultAttribute.java121 public MemberValue getDefaultValue() in getDefaultValue() method in AnnotationDefaultAttribute
157 return getDefaultValue().toString(); in toString()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java375 args[i] = getDefaultValue(param.getType()); in buildParamList()
386 private <T> T getDefaultValue(TypeToken<T> type) { in getDefaultValue() method in NullPointerTester
437 return checkNotNull(getDefaultValue(type)); in defaultConverter()
454 return getDefaultValue(returnType);
/external/parameter-framework/parameter/
DEnumParameterType.h57 virtual uint32_t getDefaultValue() const;
DIntegerParameterType.h64 virtual uint32_t getDefaultValue() const;
DParameterType.h86 virtual uint32_t getDefaultValue() const;
DParameter.cpp80 … uint32_t uiDefaultValue = static_cast<const CParameterType*>(getTypeElement())->getDefaultValue(); in setDefaultValues()
DParameterType.cpp125 uint32_t CParameterType::getDefaultValue() const in getDefaultValue() function in CParameterType
DEnumParameterType.cpp263 uint32_t CEnumParameterType::getDefaultValue() const in getDefaultValue() function in CEnumParameterType
DIntegerParameterType.cpp353 uint32_t CIntegerParameterType::getDefaultValue() const in getDefaultValue() function in CIntegerParameterType
DArrayParameter.cpp190 … uint32_t uiDefaultValue = static_cast<const CParameterType*>(getTypeElement())->getDefaultValue(); in setDefaultValues()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceTest.java130 assertThat(shadow.getDefaultValue(), nullValue()); in shouldRememberDefaultValue()
132 assertThat(shadow.getDefaultValue(), sameInstance(defaultValue)); in shouldRememberDefaultValue()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java282 assertEquals(0, d.findFieldByName("optional_int32").getDefaultValue()); in testFieldDescriptorDefault()
284 assertEquals(41, d.findFieldByName("default_int32").getDefaultValue()); in testFieldDescriptorDefault()
290 d.findFieldByName("escaped_bytes").getDefaultValue()); in testFieldDescriptorDefault()
291 assertEquals(-1, d.findFieldByName("large_uint32").getDefaultValue()); in testFieldDescriptorDefault()
292 assertEquals(-1L, d.findFieldByName("large_uint64").getDefaultValue()); in testFieldDescriptorDefault()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreference.java157 public Object getDefaultValue() { in getDefaultValue() method in ShadowPreference
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationImpl.java165 MemberValue mv = ainfo.getDefaultValue(); in getDefault()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.osgi.services_3.2.100.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ecf_3.1.0.v20100529-0735.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.p2.metadata_2.0.0.v20100601.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...

12