Home
last modified time | relevance | path

Searched defs:f (Results 1 – 25 of 269) sorted by relevance

1234567891011

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/accessibility/
DTestFieldLookupAccessibility.java58 Object lookup(MethodHandles.Lookup l, Field f) throws Exception { in MH_GETTER()
62 boolean isAccessible(Field f) { in MH_GETTER()
67 Object lookup(MethodHandles.Lookup l, Field f) throws Exception { in MH_SETTER()
71 boolean isAccessible(Field f) { in MH_SETTER()
76 Object lookup(MethodHandles.Lookup l, Field f) throws Exception { in MH_STATIC_GETTER()
80 boolean isAccessible(Field f) { in MH_STATIC_GETTER()
85 Object lookup(MethodHandles.Lookup l, Field f) throws Exception { in MH_STATIC_SETTER()
89 boolean isAccessible(Field f) { in MH_STATIC_SETTER()
94 Object lookup(MethodHandles.Lookup l, Field f) throws Exception { in MH_UNREFLECT_GETTER()
99 Object lookup(MethodHandles.Lookup l, Field f) throws Exception { in MH_UNREFLECT_GETTER_ACCESSIBLE()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatterBuilder.java119 DateTimeFormatter f = builder.toFormatter(); in test_toFormatter_empty() local
127 DateTimeFormatter f = builder.toFormatter(); in test_parseCaseSensitive() local
134 DateTimeFormatter f = builder.toFormatter(); in test_parseCaseInsensitive() local
142 DateTimeFormatter f = builder.toFormatter(); in test_parseStrict() local
149 DateTimeFormatter f = builder.toFormatter(); in test_parseLenient() local
157 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_1arg() local
170 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_2arg() local
193 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_3arg() local
236 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_subsequent2_parse3() local
246 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_subsequent2_parse4() local
[all …]
DTestDateTimeFormatter.java150 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-mm-dd"); in assertGoodErrorDate() local
165 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:MM:ss"); in assertGoodErrorTime() local
181 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:mm:ss"); in test_parsed_toString_resolvedTime() local
189 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-MM-dd"); in test_parsed_toString_resolvedDate() local
197 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); in test_parsed_toString_resolvedDateTime() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java162 Formatter f = new Formatter(); in test_Constructor() local
228 Formatter f = null; in test_ConstructorLjava_lang_String() local
259 Formatter f = null; in test_ConstructorLjava_lang_StringLjava_lang_String() local
304 Formatter f = null; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_util_Locale() local
357 Formatter f = null; in test_ConstructorLjava_io_File() local
388 Formatter f = null; in test_ConstructorLjava_io_FileLjava_lang_String() local
445 Formatter f = null; in test_ConstructorLjava_io_FileLjava_lang_StringLjava_util_Locale() local
496 Formatter f = null; in test_ConstructorLjava_io_PrintStream() local
514 Formatter f = null; in test_ConstructorLjava_io_OutputStream() local
533 Formatter f = null; in test_ConstructorLjava_io_OutputStreamLjava_lang_String() local
[all …]
/libcore/luni/src/test/java/tests/security/spec/
DEllipticCurveTest.java44 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() local
78 ECFieldFp f = null; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() local
125 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() local
186 ECFieldF2m f = new ECFieldF2m(5); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04() local
230 ECFieldF2m f = new ECFieldF2m(5); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray05() local
252 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigInteger01() local
284 ECFieldFp f = null; in testEllipticCurveECFieldBigIntegerBigInteger02() local
328 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigInteger03() local
385 ECFieldF2m f = new ECFieldF2m(5); in testEllipticCurveECFieldBigIntegerBigInteger04() local
427 ECFieldF2m f = new ECFieldF2m(5); in testGetA() local
[all …]
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java158 public boolean isAbsolute(File f) { in isAbsolute()
162 public String resolve(File f) { in resolve()
221 File f = new File(res); in canonicalize() local
280 public int getBooleanAttributes(File f) { in getBooleanAttributes()
293 public boolean checkAccess(File f, int access) { in checkAccess()
320 public long getLastModifiedTime(File f) { in getLastModifiedTime()
325 private native long getLastModifiedTime0(File f); in getLastModifiedTime0()
328 public long getLength(File f) { in getLength()
337 public boolean setPermission(File f, int access, boolean enable, boolean owneronly) { in setPermission()
342 private native boolean setPermission0(File f, int access, boolean enable, boolean owneronly); in setPermission0()
[all …]
DFileSystem.java89 public abstract boolean isAbsolute(File f); in isAbsolute()
95 public abstract String resolve(File f); in resolve()
113 public abstract int getBooleanAttributes(File f); in getBooleanAttributes()
127 public abstract boolean checkAccess(File f, int access); in checkAccess()
133 public abstract boolean setPermission(File f, int access, boolean enable, boolean owneronly); in setPermission()
140 public abstract long getLastModifiedTime(File f); in getLastModifiedTime()
147 public abstract long getLength(File f); in getLength()
165 public abstract boolean delete(File f); in delete()
172 public abstract String[] list(File f); in list()
178 public abstract boolean createDirectory(File f); in createDirectory()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileSystem.java60 public abstract boolean isAbsolute(java.io.File f); in isAbsolute()
63 public abstract java.lang.String resolve(java.io.File f); in resolve()
69 public abstract int getBooleanAttributes(java.io.File f); in getBooleanAttributes()
72 public abstract boolean checkAccess(java.io.File f, int access); in checkAccess()
76 java.io.File f, int access, boolean enable, boolean owneronly); in setPermission()
79 public abstract long getLastModifiedTime(java.io.File f); in getLastModifiedTime()
82 public abstract long getLength(java.io.File f); in getLength()
89 public abstract boolean delete(java.io.File f); in delete()
92 public abstract java.lang.String[] list(java.io.File f); in list()
95 public abstract boolean createDirectory(java.io.File f); in createDirectory()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java64 void checkIncomplete(CompletableFuture<?> f) { in checkIncomplete()
79 <T> void checkCompletedNormally(CompletableFuture<T> f, T value) { in checkCompletedNormally()
101 <U> Throwable exceptionalCompletion(CompletableFuture<U> f) { in exceptionalCompletion()
107 void checkCompletedExceptionally(CompletableFuture<?> f, in checkCompletedExceptionally()
160 void checkCompletedWithWrappedCancellationException(CompletableFuture<?> f) { in checkCompletedWithWrappedCancellationException()
165 void checkCompletedWithTimeoutException(CompletableFuture<?> f) { in checkCompletedWithTimeoutException()
170 void checkCompletedWithWrappedException(CompletableFuture<?> f, in checkCompletedWithWrappedException()
175 void checkCompletedExceptionally(CompletableFuture<?> f, Throwable ex) { in checkCompletedExceptionally()
179 void checkCancelled(CompletableFuture<?> f) { in checkCancelled()
902 final CompletableFuture<Integer> f = new CompletableFuture<>(); in testExceptionally_exceptionalCompletionActionFailed() local
[all …]
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java139 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate()
153 …private final Collection<? extends X509Certificate> getCertificates(CertificateFactory f, String n… in getCertificates()
262 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() local
326 private void getPublicKey(CertificateFactory f) throws Exception { in getPublicKey()
336 private void getType(CertificateFactory f) throws Exception { in getType()
341 private void verify(CertificateFactory f) throws Exception { in verify()
376 private void check_equals(CertificateFactory f) throws Exception { in check_equals()
387 private void check_toString(CertificateFactory f) throws Exception { in check_toString()
401 private void check_hashCode(CertificateFactory f) throws Exception { in check_hashCode()
411 private void checkValidity(CertificateFactory f) throws Exception { in checkValidity()
[all …]
DX509CRLTest.java96 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate()
112 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { in getCRL()
169 CertificateFactory f = CertificateFactory.getInstance("X.509"); in test_X509CRLImpl_verify() local
182 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() local
210 private void verify(CertificateFactory f) throws Exception { in verify()
255 private void getType(CertificateFactory f) throws Exception { in getType()
261 private void isRevoked(CertificateFactory f) throws Exception { in isRevoked()
285 private void getThisUpdateNextUpdate(CertificateFactory f) throws Exception { in getThisUpdateNextUpdate()
315 private void getSigAlgName(CertificateFactory f) throws Exception { in getSigAlgName()
320 private void getSigAlgOID(CertificateFactory f) throws Exception { in getSigAlgOID()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java45 File f = new File(dir, files[i]); in deleteTempFolder() local
87 File f = new File(tempDirectory.getPath(), "input.tst"); in test_ConstructorLjava_io_FileLjava_lang_String0() local
100 File f = new File((File) null, "input.tst"); in test_ConstructorLjava_io_FileLjava_lang_String2() local
108 File f = new File("/abc"); in test_ConstructorLjava_io_FileLjava_lang_String3() local
137 File f = new File(d, fileName); in test_ConstructorLjava_io_FileLjava_lang_String5() local
174 File f = new File(fileName); in test_ConstructorLjava_lang_String() local
184 File f = new File(dirName, fileName); in test_ConstructorLjava_lang_StringLjava_lang_String() local
293 File f = new File(new URI("file:///pa%20th/another\u20ac/pa%25th")); in test_ConstructorLjava_net_URI() local
303 File f = new File(tempDirectory, platformId + "canRead.tst"); in test_canRead() local
318 File f = new File(tempDirectory, platformId + "canWrite.tst"); in test_canWrite() local
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java88 void checkIncomplete(CompletableFuture<?> f) { in checkIncomplete()
107 <T> void checkCompletedNormally(CompletableFuture<T> f, T expectedValue) { in checkCompletedNormally()
129 Throwable exceptionalCompletion(CompletableFuture<?> f) { in exceptionalCompletion()
135 void checkCompletedExceptionally(CompletableFuture<?> f, in checkCompletedExceptionally()
186 void checkCompletedWithWrappedCancellationException(CompletableFuture<?> f) { in checkCompletedWithWrappedCancellationException()
191 void checkCompletedWithTimeoutException(CompletableFuture<?> f) { in checkCompletedWithTimeoutException()
196 void checkCompletedWithWrappedException(CompletableFuture<?> f, in checkCompletedWithWrappedException()
201 void checkCompletedExceptionally(CompletableFuture<?> f, Throwable ex) { in checkCompletedExceptionally()
205 void checkCancelled(CompletableFuture<?> f) { in checkCancelled()
999 final CompletableFuture<Item> f = new CompletableFuture<>(); in testExceptionally_exceptionalCompletionActionFailed() local
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DFormatterBenchmark.java28 Formatter f = new Formatter(); in timeFormatter_NoFormatting() local
43 Formatter f = new Formatter(); in timeFormatter_OneInt() local
52 Formatter f = new Formatter(); in timeFormatter_OneIntArabic() local
69 Formatter f = new Formatter(); in timeFormatter_OneHexInt() local
86 Formatter f = new Formatter(); in timeFormatter_OneFloat() local
94 Formatter f = new Formatter(); in timeFormatter_OneFloat_dot2f() local
102 Formatter f = new Formatter(); in timeFormatter_TwoFloats() local
118 Formatter f = new Formatter(); in timeFormatter_OneString() local
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFpUtils.java41 public static int getExponent(float f) { in getExponent()
62 public static boolean isFinite(float f) { in isFinite()
70 public static boolean isInfinite(float f) { in isInfinite()
78 public static boolean isNaN(float f) { in isNaN()
94 public static int ilogb(float f) { in ilogb()
104 public static float scalb(float f, int scale_factor) { in scalb()
124 public static float nextUp(float f) { in nextUp()
134 public static double nextDown(float f) { in nextDown()
154 public static float ulp(float f) { in ulp()
164 public static float signum(float f) { in signum()
/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java148 public static int getExponent(float f){ in getExponent()
223 public static boolean isFinite(float f) { in isFinite()
255 public static boolean isInfinite(float f) { in isInfinite()
287 public static boolean isNaN(float f) { in isNaN()
411 public static int ilogb(float f) { in ilogb()
571 public static float scalb(float f, int scale_factor) { in scalb()
725 public static float nextUp(float f) { in nextUp()
787 public static double nextDown(float f) { in nextDown()
882 public static float ulp(float f) { in ulp()
928 public static float signum(float f) { in signum()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DInfiniteStreamWithLimitOpTest.java62 Function<String, String> f = s -> String.format(s, SKIP_LIMIT_SIZE); in sliceFunctionsDataProvider() local
76 Function<String, String> f = s -> String.format(s, SKIP_LIMIT_SIZE); in intSliceFunctionsDataProvider() local
90 Function<String, String> f = s -> String.format(s, SKIP_LIMIT_SIZE); in longSliceFunctionsDataProvider() local
104 Function<String, String> f = s -> String.format(s, SKIP_LIMIT_SIZE); in doubleSliceFunctionsDataProvider() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DFieldTest.java163 Field f = null; in test_equalsLjava_lang_Object() local
187 Field f = TestField.class.getDeclaredField("doubleField"); in test_getLjava_lang_Object() local
241 Object getField(char primitiveType, Object o, Field f, in getField()
289 void setField(char primitiveType, Object o, Field f, in setField()
559 Field f = null; in test_getBooleanLjava_lang_Object() local
613 Field f = null; in test_getByteLjava_lang_Object() local
666 Field f = null; in test_getCharLjava_lang_Object() local
742 Field f = null; in test_getDoubleLjava_lang_Object() local
797 Field f = null; in test_getFloatLjava_lang_Object() local
851 Field f = null; in test_getIntLjava_lang_Object() local
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeTextPrinting.java140 DateTimeFormatter f = builder.appendText(field, style).toFormatter(Locale.ENGLISH); in test_appendText2arg_format() local
150 DateTimeFormatter f = builder.appendText(field).toFormatter(Locale.ENGLISH); in test_appendText1arg_format() local
175 DateTimeFormatter f = builder.toFormatter(); in test_appendTextMap() local
189 DateTimeFormatter f = builder.toFormatter(); in test_appendTextMap_DOM() local
201 DateTimeFormatter f = builder.toFormatter(); in test_appendTextMapIncomplete() local
DTCKDateTimeParseResolver.java154 DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(field1).toFormatter(); in test_resolveOneNoChange() local
191 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_resolveTwoNoChange() local
222 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_resolveThreeNoChange() local
259 DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(field1).toFormatter(); in test_resolveOneToField() local
285 DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(field1).toFormatter(); in test_resolveOneToDate() local
310 DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(field1).toFormatter(); in test_resolveOneToTime() local
339 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_resolveTwoToField() local
387 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_resolveTwoToDate() local
474 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_resolveTwoToTime() local
506 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_resolveThreeToDate() local
[all …]
DTCKInstantPrinterParser.java119 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant().toFormatter(); in test_print_grouped() local
197 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(fractionalDigits).toFormatter(); in test_print_digits() local
242 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(-1).toFormatter(); in test_parse_digitsMinusOne() local
269 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(9).toFormatter(); in test_parse_digitsNine() local
286 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(-1).toFormatter(); in test_invalid_Instant() local
293 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(-1).toFormatter(); in test_parse_endOfDay() local
305 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(-1).toFormatter(); in test_parse_leapSecond() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipEntryTest.java43 private static ZipOutputStream createZipOutputStream(File f) throws IOException { in createZipOutputStream()
75 File f = File.createTempFile("your", "mum"); in test_utf8FileNames() local
128 File f = createTemporaryZipFile(); in testMaxLengthName() local
153 File f = createTemporaryZipFile(); in testMaxLengthExtra() local
190 File f = createTemporaryZipFile(); in checkSetTime() local
241 File f = createTemporaryZipFile(); in testMaxLengthComment() local
259 File f = createTemporaryZipFile(); in testCommentAndExtraInSameOrder() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DFloatTest.java103 Float f = new Float(900.89f); in test_ConstructorF() local
113 Float f = new Float("900.89"); in test_ConstructorLjava_lang_String() local
122 Float f = new Float(0.46874f); in test_byteValue() local
174 float f = 9876.2345f; in test_floatToIntBitsF() local
185 float f = Float.intBitsToFloat(i); in test_floatToRawIntBitsF() local
194 Float f = new Float(87.657f); in test_floatValue() local
206 Float f = new Float(1908.8786f); in test_hashCode() local
223 float f = 9876.2345f; in test_intBitsToFloatI() local
234 Float f = new Float(0.46874f); in test_intValue() local
298 Float f = new Float(0.46874f); in test_longValue() local
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DPrintWriterTest.java36 Writer(File f) throws FileNotFoundException { in Writer()
51 File f = File.createTempFile("tmp", "tst"); in testSetError() local
DOldFileTest.java52 File f = new File(dir, files[i]); in deleteTempFolder() local
67 File f = new File(d, "input.tst"); in test_ConstructorLjava_io_FileLjava_lang_String() local
101 File f = new File(tmpDir, fileName); in test_ConstructorLjava_lang_StringLjava_lang_String() local
140 File f = new File(dir, "xxx.xxx"); in test_renameToLjava_io_File() local

1234567891011