Home
last modified time | relevance | path

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

12345678910

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatterBuilder.java109 DateTimeFormatter f = builder.toFormatter(); in test_toFormatter_empty() local
117 DateTimeFormatter f = builder.toFormatter(); in test_parseCaseSensitive() local
124 DateTimeFormatter f = builder.toFormatter(); in test_parseCaseInsensitive() local
132 DateTimeFormatter f = builder.toFormatter(); in test_parseStrict() local
139 DateTimeFormatter f = builder.toFormatter(); in test_parseLenient() local
147 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_1arg() local
160 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_2arg() local
183 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_3arg() local
226 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_subsequent2_parse3() local
236 DateTimeFormatter f = builder.toFormatter(); in test_appendValue_subsequent2_parse4() local
[all …]
DTestDateTimeFormatter.java145 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-mm-dd"); in assertGoodErrorDate() local
160 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:MM:ss"); in assertGoodErrorTime() local
176 DateTimeFormatter f = DateTimeFormatter.ofPattern("HH:mm:ss"); in test_parsed_toString_resolvedTime() local
184 DateTimeFormatter f = DateTimeFormatter.ofPattern("yyyy-MM-dd"); in test_parsed_toString_resolvedDate() local
192 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.java130 public boolean isAbsolute(File f) { in isAbsolute()
134 public String resolve(File f) { in resolve()
189 File f = new File(res); in canonicalize() local
248 public int getBooleanAttributes(File f) { in getBooleanAttributes()
261 public boolean checkAccess(File f, int access) { in checkAccess()
288 public long getLastModifiedTime(File f) { in getLastModifiedTime()
293 private native long getLastModifiedTime0(File f); in getLastModifiedTime0()
296 public long getLength(File f) { in getLength()
305 public boolean setPermission(File f, int access, boolean enable, boolean owneronly) { in setPermission()
310 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()
158 void checkCompletedWithWrappedCancellationException(CompletableFuture<?> f) { in checkCompletedWithWrappedCancellationException()
163 void checkCompletedWithTimeoutException(CompletableFuture<?> f) { in checkCompletedWithTimeoutException()
168 void checkCompletedWithWrappedException(CompletableFuture<?> f, in checkCompletedWithWrappedException()
173 void checkCompletedExceptionally(CompletableFuture<?> f, Throwable ex) { in checkCompletedExceptionally()
177 void checkCancelled(CompletableFuture<?> f) { in checkCancelled()
894 final CompletableFuture<Integer> f = new CompletableFuture<>(); in testExceptionally_exceptionalCompletionActionFailed() local
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java87 void checkIncomplete(CompletableFuture<?> f) { in checkIncomplete()
102 <T> void checkCompletedNormally(CompletableFuture<T> f, T value) { in checkCompletedNormally()
124 Throwable exceptionalCompletion(CompletableFuture<?> f) { in exceptionalCompletion()
130 void checkCompletedExceptionally(CompletableFuture<?> f, in checkCompletedExceptionally()
181 void checkCompletedWithWrappedCancellationException(CompletableFuture<?> f) { in checkCompletedWithWrappedCancellationException()
186 void checkCompletedWithTimeoutException(CompletableFuture<?> f) { in checkCompletedWithTimeoutException()
191 void checkCompletedWithWrappedException(CompletableFuture<?> f, in checkCompletedWithWrappedException()
196 void checkCompletedExceptionally(CompletableFuture<?> f, Throwable ex) { in checkCompletedExceptionally()
200 void checkCancelled(CompletableFuture<?> f) { in checkCancelled()
933 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/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
DTCKDateTimeFormatterBuilder.java104 DateTimeFormatter f = builder.toFormatter(); in test_toFormatter_empty() local
111 DateTimeFormatter f = builder in test_parseDefaulting_entireDate() local
120 DateTimeFormatter f = builder in test_parseDefaulting_yearOptionalMonthOptionalDay() local
383 DateTimeFormatter f = builder.toFormatter(); in test_appendOffset_format() local
391 DateTimeFormatter f = builder.toFormatter(); in test_appendOffset_parse() local
726 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint() local
739 …DateTimeFormatter f = builder.appendValue(HOUR_OF_DAY, 2).appendValue(MINUTE_OF_HOUR, 2).appendLit… in test_adjacent_strict_firstFixedWidth() local
751 …DateTimeFormatter f = builder.appendValue(HOUR_OF_DAY).appendValue(MINUTE_OF_HOUR, 2).appendLitera… in test_adjacent_strict_firstVariableWidth_success() local
763 …DateTimeFormatter f = builder.appendValue(HOUR_OF_DAY).appendValue(MINUTE_OF_HOUR, 2).appendLitera… in test_adjacent_strict_firstVariableWidth_fails() local
773 …DateTimeFormatter f = builder.parseLenient().appendValue(HOUR_OF_DAY, 2).appendValue(MINUTE_OF_HOU… in test_adjacent_lenient() local
[all …]
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.java113 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant().toFormatter(); in test_print_grouped() local
191 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(fractionalDigits).toFormatter(); in test_print_digits() local
227 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(-1).toFormatter(); in test_parse_digitsMinusOne() local
235 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(9).toFormatter(); in test_parse_digitsNine() local
254 DateTimeFormatter f = new DateTimeFormatterBuilder().appendInstant(-1).toFormatter(); in test_parse_endOfDay() local
266 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/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java153 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_quarters() local
164 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_quarters_SMART() local
175 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_quarters_LENIENT() local
210 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_parseLenientQuarter_STRICT() local
220 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_parseLenientQuarter_SMART() local
240 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_parseLenientQuarter_LENIENT() local
352 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_weeks_STRICT() local
363 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_weeks_SMART() local
374 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_weeks_LENIENT() local
402 DateTimeFormatter f = new DateTimeFormatterBuilder() in test_parse_parseLenientWeek_STRICT() local
[all …]
/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/
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

12345678910