Home
last modified time | relevance | path

Searched refs:F (Results 1 – 25 of 33) sorted by relevance

12

/libcore/ojluni/src/test/java/util/PriorityQueue/
DNoNulls.java76 new F() { void f() { in test()
79 new F() { void f() { in test()
82 new F() { void f() { in test()
85 new F() { void f() { in test()
88 new F() { void f() { in test()
91 new F() { void f() { in test()
95 new F() { void f() { in test()
98 new F() { void f() { in test()
102 new F() { void f() { in test()
105 new F() { void f() { in test()
[all …]
/libcore/ojluni/src/main/java/java/lang/invoke/
DTypeDescriptor.java63 interface OfField<F extends TypeDescriptor.OfField<F>> extends TypeDescriptor {
83 F componentType(); in componentType()
90 F arrayType(); in arrayType()
105 interface OfMethod<F extends TypeDescriptor.OfField<F>, M extends TypeDescriptor.OfMethod<F, M>>
122 F parameterType(int i); in parameterType()
129 F returnType(); in returnType()
136 F[] parameterArray(); in parameterArray()
143 List<F> parameterList(); in parameterList()
153 M changeReturnType(F newReturn); in changeReturnType()
166 M changeParameterType(int index, F paramType); in changeParameterType()
[all …]
/libcore/ojluni/src/test/java/util/Collections/
DCheckedNull.java70 ClassCastException cce(F f) { in cce()
76 void equalCCE(F ... fs) { in equalCCE()
78 for (F f : fs) in equalCCE()
111 new F(){void f(){ c.add(1); }}, in testCollection()
112 new F(){void f(){ c.addAll(singleton(1)); }}); in testCollection()
153 new F(){void f(){ m.put(1, "foo"); }}, in testMap()
154 new F(){void f(){ m.putAll(singletonMap(1, "foo")); }}); in testMap()
163 new F(){void f(){ m.put("foo", 1); }}, in testMap()
164 new F(){void f(){ m.putAll(singletonMap("foo", 1)); }}, in testMap()
165 new F(){void f(){ in testMap()
[all …]
DEmptyIterator.java79 new F(){void f(){ e.nextElement(); }}); in testEmptyEnumeration()
86 new F(){void f(){ it.next(); }}); in testEmptyIterator()
88 new F(){void f(){ it.remove(); }}); in testEmptyIterator()
109 new F(){void f(){ c.toArray((Object[])null); }}); in testToArray()
151 abstract class F {abstract void f() throws Throwable;} in f() class in EmptyIterator
152 void THROWS(Class<? extends Throwable> k, F... fs) { in THROWS()
153 for (F f : fs) in THROWS()
DT6433170.java67 new F(){void f(){ checked.addAll(mixedList); }}); in test()
87 abstract class F {abstract void f() throws Throwable;} in f() class in T6433170
88 void THROWS(Class<? extends Throwable> k, F... fs) { in THROWS()
89 for (F f : fs) in THROWS()
/libcore/ojluni/src/test/java/util/BitSet/
DPreviousBits.java47 new F(){void f(){ s.previousSetBit(-2);}}, in testOutOfBounds()
48 new F(){void f(){ s.previousClearBit(-2);}}, in testOutOfBounds()
49 new F(){void f(){ s.previousSetBit(Integer.MIN_VALUE);}}, in testOutOfBounds()
50 new F(){void f(){ s.previousClearBit(Integer.MIN_VALUE);}}, in testOutOfBounds()
51 new F(){void f(){ s.nextSetBit(-1);}}, in testOutOfBounds()
52 new F(){void f(){ s.nextClearBit(-1);}}, in testOutOfBounds()
53 new F(){void f(){ s.nextSetBit(Integer.MIN_VALUE);}}, in testOutOfBounds()
54 new F(){void f(){ s.nextClearBit(Integer.MIN_VALUE);}}); in testOutOfBounds()
153 abstract class F {abstract void f() throws Throwable;} in f() class in PreviousBits
154 void THROWS(Class<? extends Throwable> k, F... fs) { in THROWS()
[all …]
/libcore/ojluni/src/test/java/util/ArrayList/
DBug6533203.java46 THROWS(Error.class, new F(){void f(){it.add(13);}}); in test()
66 abstract class F {abstract void f() throws Throwable;} in f() class in Bug6533203
67 void THROWS(Class<? extends Throwable> k, F... fs) { in THROWS()
68 for (F f : fs) in THROWS()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DParameterizedTypeTest.java71 static class F<T>{ class in ParameterizedTypeTest
76 Class<? extends F> clazz = F.class; in testParameterizedMemeber()
DTypeVariableTest.java127 static class F { class in TypeVariableTest
128 <Q,R,S> F(){} in F() method in TypeVariableTest.F
131 Class<? extends F> clazz = F.class; in testMultipleTypeVariablesOnConstructor()
/libcore/luni/src/test/java/libcore/java/lang/
DClassCastExceptionTest.java47 enum F { A, B, C }; enum in ClassCastExceptionTest
52 m.put(F.A, "world"); in testEnumMapPut()
62 m.add(F.A); in testMiniEnumSetAdd()
71 EnumSet n = EnumSet.allOf(F.class); in testMiniEnumSetAddAll()
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java345 @TestAnnotation3(aEnum = TestEnum1.F)
347 @TestAnnotation3(aEnum = TestEnum1.F)
352 @TestAnnotation3(aEnum = TestEnum1.F)
357 @TestAnnotation3(aEnum = TestEnum1.F)
408 @TestAnnotation2(arrEnum = { TestEnum1.A, TestEnum1.F })
410 @TestAnnotation2(arrEnum = { TestEnum1.A, TestEnum1.F })
413 @TestAnnotation2(arrEnum = { TestEnum1.A, TestEnum1.F })
DTestEnum1b.java4 Z, F, L, A, B enumConstant
DTestEnum1.java4 Z, F, L, A, B enumConstant
DTestAnnotation3b.java27 TestEnum1 aEnum() default TestEnum1.F; in aEnum()
DTestAnnotation3.java27 TestEnum1 aEnum() default TestEnum1.F; in aEnum()
/libcore/ojluni/src/test/java/io/Serializable/records/
DConstructorAccessTest.java74 protected static record F (long l) implements ThrowingExternalizable { }
88 new Object[] { new F(45L) }, in recordInstances()
DBasicRecordSer.java249 record F (int x){ in F() method in BasicRecordSer
250 public F(int x) { this.x = x; g_ctrInvocationCount++; } in F() method
253 F f = new F(89);
/libcore/ojluni/src/test/java/util/Timer/
DArgs.java183 interface F { void f() throws Throwable; }
184 void assertThrows(Class<? extends Throwable> k, F... fs) {
185 for (F f : fs)
/libcore/benchmarks/src/benchmarks/regression/
DReflectionBenchmark.java194 F.class.getField("sf"); in timeGetInterfaceStaticField()
245 class F extends E implements IB { class in ReflectionBenchmark
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DClassLoaderReflectionTest.java160 class F { class in ClassLoaderReflectionTest
163 F(B<String> parameter, List<A> anotherParameter) {} in F() method in ClassLoaderReflectionTest.F
/libcore/ojluni/src/test/java/lang/StrictMath/
DFdlibmTranslit.java89 …private static final double F = 1.60714285714285720630e+00; /* 45/28 = 0x3FF9B6DB, 0x6DB6DB6E … field in FdlibmTranslit.Cbrt
120 t *= G + F / (s + E + D / s); in compute()
/libcore/ojluni/src/test/java/lang/StackWalker/
DStackStreamTest.java79 F.f(); in e()
82 static class F { class in StackStreamTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrays2Test.java100 public void test_equals$F$F() { in test_equals$F$F()
157 public void test_sort$F() { in test_sort$F()
237 public void test_toString$F() { in test_toString$F()
/libcore/luni/src/test/java/libcore/java/util/
DEnumSetTest.java102 H, HE, LI, BE, B, C, N, O, F, NE, NA, MG, AL, SI, P, S, CL, AR, K, CA, SC, TI, V, CR, MN, enumConstant
/libcore/ojluni/src/main/java/java/lang/
DStackStreamFactory.java853 static abstract class FrameBuffer<F> {
882 abstract F[] frames(); // must not return null in frames()
921 F nextStackFrame() { in nextStackFrame()

12