Home
last modified time | relevance | path

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

123

/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
131 return getDefaultValue(method.getReturnType()); in getDefaultValue()
151 parameters[i] = getDefaultValue(parameterTypes[i]); in callAllPublicMethods()
/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/javassist/src/main/javassist/bytecode/
DAnnotationDefaultAttribute.java121 public MemberValue getDefaultValue() in getDefaultValue() method in AnnotationDefaultAttribute
157 return getDefaultValue().toString(); in toString()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java100 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
128 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
364 result.append(", default " + getDefaultValue(parameterType, annotations)); in getHelpForParameter()
422 Object defaultValue = getDefaultValue(parameterTypes[index], parametersAnnotations[index]); in getParameterValues()
500 public static Object getDefaultValue(Type parameterType, Annotation[] annotations) { in getDefaultValue() method in MethodDescriptor
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java364 args[i] = getDefaultValue(param.getType()); in buildParamList()
375 private <T> T getDefaultValue(TypeToken<T> type) { in getDefaultValue() method in NullPointerTester
426 return checkNotNull(getDefaultValue(type)); in defaultConverter()
443 return getDefaultValue(returnType);
/external/parameter-framework/upstream/parameter/
DEnumParameterType.h60 virtual uint32_t getDefaultValue() const;
DIntegerParameterType.h73 virtual uint32_t getDefaultValue() const;
DParameterType.h110 virtual uint32_t getDefaultValue() const;
DParameter.cpp88 static_cast<const CParameterType *>(getTypeElement())->getDefaultValue(); in setDefaultValues()
DParameterType.cpp123 uint32_t CParameterType::getDefaultValue() const in getDefaultValue() function in CParameterType
DEnumParameterType.cpp183 uint32_t CEnumParameterType::getDefaultValue() const in getDefaultValue() function in CEnumParameterType
DIntegerParameterType.cpp350 uint32_t CIntegerParameterType::getDefaultValue() const in getDefaultValue() function in CIntegerParameterType
DArrayParameter.cpp182 static_cast<const CParameterType *>(getTypeElement())->getDefaultValue(); in setDefaultValues()
/external/robolectric/v1/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/guice/core/src/com/google/inject/internal/
DAnnotations.java67 if (m.getDefaultValue() == null) { in isAllDefaultMethods()
121 result.put(method.getName(), method.getDefaultValue());
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreference.java157 public Object getDefaultValue() { in getDefaultValue() method in ShadowPreference
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/
Dmessages.js402 return field.getDefaultValue();
551 ProtoRpc.Field.prototype.getDefaultValue = function() { method in ProtoRpc.Field
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliAnnotationTest.java269 PsiAnnotationMemberValue defaultValue = method.getDefaultValue(); in testDefaultValue()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationImpl.java165 MemberValue mv = ainfo.getDefaultValue(); in getDefault()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliMethod.java349 @Nullable @Override public PsiAnnotationMemberValue getDefaultValue() { in getDefaultValue() method in SmaliMethod
/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 ...

123