/libcore/ojluni/src/main/java/java/io/ |
D | UnixFileSystem.java | 124 public boolean isAbsolute(File f) { in isAbsolute() 128 public String resolve(File f) { in resolve() 180 File f = new File(res); in canonicalize() local 240 public int getBooleanAttributes(File f) { in getBooleanAttributes() 250 public boolean checkAccess(File f, int access) { in checkAccess() 254 private native boolean checkAccess0(File f, int access); in checkAccess0() 257 public long getLastModifiedTime(File f) { in getLastModifiedTime() 261 private native long getLastModifiedTime0(File f); in getLastModifiedTime0() 264 public long getLength(File f) { in getLength() 268 private native long getLength0(File f); in getLength0() [all …]
|
D | FileSystem.java | 89 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() 126 public abstract boolean checkAccess(File f, int access); in checkAccess() 132 public abstract boolean setPermission(File f, int access, boolean enable, boolean owneronly); in setPermission() 139 public abstract long getLastModifiedTime(File f); in getLastModifiedTime() 146 public abstract long getLength(File f); in getLength() 164 public abstract boolean delete(File f); in delete() 171 public abstract String[] list(File f); in list() 177 public abstract boolean createDirectory(File f); in createDirectory() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatterBuilder.java | 109 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 …]
|
D | TestDateTimeFormatter.java | 145 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/ |
D | FormatterTest.java | 161 Formatter f = new Formatter(); in test_Constructor() local 227 Formatter f = null; in test_ConstructorLjava_lang_String() local 258 Formatter f = null; in test_ConstructorLjava_lang_StringLjava_lang_String() local 303 Formatter f = null; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_util_Locale() local 356 Formatter f = null; in test_ConstructorLjava_io_File() local 387 Formatter f = null; in test_ConstructorLjava_io_FileLjava_lang_String() local 444 Formatter f = null; in test_ConstructorLjava_io_FileLjava_lang_StringLjava_util_Locale() local 495 Formatter f = null; in test_ConstructorLjava_io_PrintStream() local 513 Formatter f = null; in test_ConstructorLjava_io_OutputStream() local 532 Formatter f = null; in test_ConstructorLjava_io_OutputStreamLjava_lang_String() local [all …]
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | EllipticCurveTest.java | 44 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/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 122 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate() 136 …private final Collection<? extends X509Certificate> getCertificates(CertificateFactory f, String n… in getCertificates() 245 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() local 309 private void getPublicKey(CertificateFactory f) throws Exception { in getPublicKey() 319 private void getType(CertificateFactory f) throws Exception { in getType() 324 private void verify(CertificateFactory f) throws Exception { in verify() 359 private void check_equals(CertificateFactory f) throws Exception { in check_equals() 370 private void check_toString(CertificateFactory f) throws Exception { in check_toString() 384 private void check_hashCode(CertificateFactory f) throws Exception { in check_hashCode() 394 private void checkValidity(CertificateFactory f) throws Exception { in checkValidity() [all …]
|
D | X509CRLTest.java | 80 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate() 96 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { in getCRL() 153 CertificateFactory f = CertificateFactory.getInstance("X.509"); in test_X509CRLImpl_verify() local 166 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() local 194 private void verify(CertificateFactory f) throws Exception { in verify() 239 private void getType(CertificateFactory f) throws Exception { in getType() 245 private void isRevoked(CertificateFactory f) throws Exception { in isRevoked() 269 private void getThisUpdateNextUpdate(CertificateFactory f) throws Exception { in getThisUpdateNextUpdate() 299 private void getSigAlgName(CertificateFactory f) throws Exception { in getSigAlgName() 304 private void getSigAlgOID(CertificateFactory f) throws Exception { in getSigAlgOID() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 64 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 45 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/ |
D | FormatterBenchmark.java | 28 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/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | InfiniteStreamWithLimitOpTest.java | 62 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/ |
D | FieldTest.java | 163 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/ |
D | TCKDateTimeTextPrinting.java | 140 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
|
D | TCKDateTimeFormatterBuilder.java | 104 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 …]
|
D | TCKDateTimeParseResolver.java | 154 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 …]
|
D | TCKInstantPrinterParser.java | 113 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/dalvik/src/main/java/org/apache/harmony/dalvik/ |
D | NativeTestTarget.java | 51 public static native void emptyJniStaticMethod6(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6() 56 public static native void emptyJniStaticMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Fast() 61 …public static native void emptyJniStaticMethod6_Critical(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Critical() 67 public native void emptyJniMethod6(int a, int b, int c, int d, int e, int f); in emptyJniMethod6() 77 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L() 81 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L() 86 public native void emptyJniMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniMethod6_Fast() 96 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L_Fast() 100 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L_Fast()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 154 public static int getExponent(float f){ in getExponent() 254 public static boolean isFinite(float f) { in isFinite() 286 public static boolean isInfinite(float f) { in isInfinite() 318 public static boolean isNaN(float f) { in isNaN() 442 public static int ilogb(float f) { in ilogb() 671 public static float scalb(float f, int scale_factor) { in scalb() 954 public static float nextUp(float f) { in nextUp() 1026 public static double nextDown(float f) { in nextDown() 1145 public static float ulp(float f) { in ulp() 1211 public static float signum(float f) { in signum()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 40 private static ZipOutputStream createZipOutputStream(File f) throws IOException { in createZipOutputStream() 55 File f = File.createTempFile("your", "mum"); in test_utf8FileNames() local 108 File f = createTemporaryZipFile(); in testMaxLengthName() local 133 File f = createTemporaryZipFile(); in testMaxLengthExtra() local 185 File f = createTemporaryZipFile(); in testMaxLengthComment() local 203 File f = createTemporaryZipFile(); in testCommentAndExtraInSameOrder() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileDescriptorTest.java | 29 File f= File.createTempFile("FileDescriptorTest", "tmp"); in testReadOnlyFileDescriptorSync() local 34 File f = new File("/dev/null"); in test_isSocket() local
|
D | OldFileTest.java | 52 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
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 153 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/ |
D | FloatTest.java | 103 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/ojluni/src/main/java/java/util/ |
D | FormatFlagsConversionMismatchException.java | 42 private String f; field in FormatFlagsConversionMismatchException 56 public FormatFlagsConversionMismatchException(String f, char c) { in FormatFlagsConversionMismatchException()
|