Home
last modified time | relevance | path

Searched refs:parameter (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/main/java/java/sql/
DDataTruncation.java60 public DataTruncation(int index, boolean parameter, in DataTruncation() argument
65 this.parameter = parameter; in DataTruncation()
93 public DataTruncation(int index, boolean parameter, in DataTruncation() argument
98 this.parameter = parameter; in DataTruncation()
124 return parameter; in getParameter()
166 private boolean parameter; field in DataTruncation
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldGenericReflectionCornerCases.java49 Type parameter = parameterTypes[0]; in testWildcardEquality() local
50 assertInstanceOf(ParameterizedType.class, parameter); in testWildcardEquality()
51 ParameterizedType paramType = (ParameterizedType) parameter; in testWildcardEquality()
92 Type parameter = parameterTypes[0]; in testWildcardUnEquality() local
93 assertInstanceOf(ParameterizedType.class, parameter); in testWildcardUnEquality()
94 ParameterizedType paramType = (ParameterizedType) parameter; in testWildcardUnEquality()
149 Type parameter = parameterTypes[0]; in testMultipleBoundedWildcardUnEquality() local
150 assertInstanceOf(ParameterizedType.class, parameter); in testMultipleBoundedWildcardUnEquality()
151 ParameterizedType paramType = (ParameterizedType) parameter; in testMultipleBoundedWildcardUnEquality()
201 Type parameter = parameterTypes[0]; in testMultipleBoundedWildcard() local
[all …]
DParameterTest.java961 for (Parameter parameter : executable.getParameters()) { in checkParametersHashcode()
963 assertEquals(parameter.hashCode(), parameter.hashCode()); in checkParametersHashcode()
1004 private final Parameter parameter; field in ParameterTest.ExecutableTestHelper.ParameterTestHelper
1006 ParameterTestHelper(Parameter parameter) { in ParameterTestHelper() argument
1007 this.parameter = parameter; in ParameterTestHelper()
1011 assertEquals(expectedType, parameter.getType()); in checkGetType()
1017 assertEquals(expectedIsNamePresent, parameter.isNamePresent()); in checkName()
1018 assertEquals(expectedName, parameter.getName()); in checkName()
1024 assertEquals(expectedModifiers, parameter.getModifiers()); in checkModifiers()
1031 parameter.getParameterizedType().toString()); in checkGetParameterizedType()
[all …]
DClassLoaderReflectionTest.java163 F(B<String> parameter, List<A> anotherParameter) {} in F() argument
164 B<String> method(B<String> parameter, List<A> anotherParameter) { in method() argument
/libcore/ojluni/src/main/java/java/lang/reflect/
DWeakCache.java100 public V get(K key, P parameter) { in get() argument
101 Objects.requireNonNull(parameter); in get()
120 Object subKey = Objects.requireNonNull(subKeyFactory.apply(key, parameter)); in get()
138 factory = new Factory(key, parameter, subKey, valuesMap); in get()
201 private final P parameter; field in WeakCache.Factory
205 Factory(K key, P parameter, Object subKey, in Factory() argument
208 this.parameter = parameter; in Factory()
230 value = Objects.requireNonNull(valueFactory.apply(key, parameter)); in get()
DExecutable.java363 for (Parameter parameter : parameters) { in verifyParameters()
364 final String name = parameter.getRealName(); in verifyParameters()
365 final int mods = parameter.getModifiers(); in verifyParameters()
/libcore/luni/src/main/java/libcore/net/http/
DResponseUtils.java70 final String parameter = fields[i]; in parseContentTypeParameters() local
71 if (!parameter.isEmpty()) { in parseContentTypeParameters()
72 final String[] components = parameter.split("="); in parseContentTypeParameters()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMConfigurationImpl.java331 Parameter parameter = PARAMETERS.get(name); in canSetParameter() local
332 return parameter != null && parameter.canSet(this, value); in canSetParameter()
336 Parameter parameter = PARAMETERS.get(name); in setParameter() local
337 if (parameter == null) { in setParameter()
341 parameter.set(this, value); in setParameter()
352 Parameter parameter = PARAMETERS.get(name); in getParameter() local
353 if (parameter == null) { in getParameter()
356 return parameter.get(this); in getParameter()
/libcore/dom/src/test/java/org/w3c/domts/
DLSDocumentBuilderFactory.java132 String parameter, in setParameter() argument
141 setParameterMethod.invoke(domConfig, new Object[] {parameter, value}); in setParameter()
153 String parameter) throws Exception { in getParameter() argument
159 return getParameterMethod.invoke(domConfig, new Object[] {parameter}); in getParameter()
362 private boolean hasProperty(String parameter) { in hasProperty() argument
364 return ( (Boolean) LSParameterStrategy.getParameter(parser, parameter)). in hasProperty()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementParameterTest.java274 Parameter parameter = executable.getParameters()[0]; in checkParameter0DeclaredAnnotation() local
277 assertIsAnnotationPresent(parameter, annotationType, expectedAnnotationString != null); in checkParameter0DeclaredAnnotation()
280 assertGetDeclaredAnnotation(parameter, annotationType, expectedAnnotationString); in checkParameter0DeclaredAnnotation()
358 Parameter parameter = executable.getParameters()[0]; in checkParameter0GetDeclaredAnnotationsByType() local
360 parameter, annotationType, expectedAnnotationStrings); in checkParameter0GetDeclaredAnnotationsByType()
438 Parameter parameter = executable.getParameters()[0]; in checkParameter0GetAnnotationsByType() local
440 parameter, annotationType, expectedAnnotationStrings); in checkParameter0GetAnnotationsByType()
/libcore/luni/src/test/parameter_metadata/src/libcore/java/lang/reflect/parameter/
DParameterMetadataTestClasses.java17 package libcore.java.lang.reflect.parameter;
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/
DREADME.txt5 for parameter metadata that would be hard for a valid toolchain to
6 produce. For example, invalid array lengths, null/empty parameter names.
11 smali assemble libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/MetadataVariations.sm…
12 -o libcore/luni/src/test/resources/libcore/java/lang/reflect/parameter/metadata_variations.dex
18 package libcore.java.lang.reflect.parameter;
DMetadataVariations.smali18 .class public interface abstract Llibcore/java/lang/reflect/parameter/MetadataVariations;
/libcore/expectations/
Dvirtualdeviceknownfailures.txt27 description: "Kernels between 4.4 and 4.9 interpret the backlog parameter differently than we
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderServiceTest.java248 public boolean supportsParameter(Object parameter) { in supportsParameter() argument
249 if (parameter.getClass() == String.class) { in supportsParameter()
/libcore/
DNativeCode.bp113 // -Wunused-parameter.
114 "-Wno-unused-parameter",
DJavaLibrary.bp448 name: "parameter-metadata-test",
489 ":parameter-metadata-test",
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java490 public Object parameter; field in ProviderTest.MockSpi
492 public MockSpi(MockKey parameter) { in MockSpi() argument
493 this.parameter = parameter; in MockSpi()
729 public boolean supportsParameter(Object parameter) { in testProviderService_newInstance_DoesNotCallSupportsParameter_Success()
/libcore/ojluni/src/main/java/java/security/
DProvider.java1757 public boolean supportsParameter(Object parameter) { in supportsParameter() argument
1768 if ((parameter != null) && (parameter instanceof Key == false)) { in supportsParameter()
1775 if (parameter == null) { in supportsParameter()
1778 Key key = (Key)parameter; in supportsParameter()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java215 @Marker public void method(@Marker String parameter) {} in method() argument
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java128 public boolean supportsParameter(java.lang.Object parameter) { throw new RuntimeException("Stub!");… in supportsParameter() argument