Home
last modified time | relevance | path

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

12345678

/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java124 public boolean isAbsolute(File f) { in isAbsolute()
128 public String resolve(File f) { in resolve()
180 File f = new File(res); in canonicalize() local
239 public int getBooleanAttributes(File f) { in getBooleanAttributes()
248 public boolean checkAccess(File f, int access) { in checkAccess()
253 private native boolean checkAccess0(File f, int access); in checkAccess0()
255 public long getLastModifiedTime(File f) { in getLastModifiedTime()
260 private native long getLastModifiedTime0(File f); in getLastModifiedTime0()
262 public long getLength(File f) { in getLength()
267 private native long getLength0(File f); in getLength0()
[all …]
DFileSystem.java95 public abstract boolean isAbsolute(File f); in isAbsolute()
101 public abstract String resolve(File f); in resolve()
119 public abstract int getBooleanAttributes(File f); in getBooleanAttributes()
132 public abstract boolean checkAccess(File f, int access); in checkAccess()
138 public abstract boolean setPermission(File f, int access, boolean enable, boolean owneronly); in setPermission()
145 public abstract long getLastModifiedTime(File f); in getLastModifiedTime()
152 public abstract long getLength(File f); in getLength()
170 public abstract boolean delete(File f); in delete()
177 public abstract String[] list(File f); in list()
183 public abstract boolean createDirectory(File f); in createDirectory()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java161 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/
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/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java123 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate()
137 …private final Collection<? extends X509Certificate> getCertificates(CertificateFactory f, String n… in getCertificates()
246 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() local
310 private void getPublicKey(CertificateFactory f) throws Exception { in getPublicKey()
320 private void getType(CertificateFactory f) throws Exception { in getType()
325 private void verify(CertificateFactory f) throws Exception { in verify()
360 private void check_equals(CertificateFactory f) throws Exception { in check_equals()
371 private void check_toString(CertificateFactory f) throws Exception { in check_toString()
385 private void check_hashCode(CertificateFactory f) throws Exception { in check_hashCode()
395 private void checkValidity(CertificateFactory f) throws Exception { in checkValidity()
[all …]
DX509CRLTest.java77 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate()
93 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { in getCRL()
155 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() local
183 private void verify(CertificateFactory f) throws Exception { in verify()
197 private void getType(CertificateFactory f) throws Exception { in getType()
203 private void isRevoked(CertificateFactory f) throws Exception { in isRevoked()
227 private void getThisUpdateNextUpdate(CertificateFactory f) throws Exception { in getThisUpdateNextUpdate()
257 private void getSigAlgName(CertificateFactory f) throws Exception { in getSigAlgName()
262 private void getSigAlgOID(CertificateFactory f) throws Exception { in getSigAlgOID()
268 private void getVersion(CertificateFactory f) throws Exception { in getVersion()
[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/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 …]
DFileDescriptorTest.java32 File f = File.createTempFile("FileDescriptorText", "txt"); in test_sync() local
74 File f = File.createTempFile("FileDescriptorText", "txt"); in test_valid() local
/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/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/main/java/sun/misc/
DFpUtils.java154 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/
DZipEntryTest.java40 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/ojluni/src/main/java/sun/nio/ch/
DReflect.java123 Field f = cl.getDeclaredField(fieldName); in lookupField() local
133 static Object get(Object ob, Field f) { in get()
141 static Object get(Field f) { in get()
145 static void set(Object ob, Field f, Object val) { in set()
153 static void setInt(Object ob, Field f, int val) { in setInt()
161 static void setBoolean(Object ob, Field f, boolean val) { in setBoolean()
/libcore/luni/src/test/java/libcore/java/io/
DFileDescriptorTest.java29 File f= File.createTempFile("FileDescriptorTest", "tmp"); in testReadOnlyFileDescriptorSync() local
34 File f = new File("/dev/null"); in test_isSocket() 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
DOldFileWriterTest.java37 File f; field in OldFileWriterTest
92 File f = null; in test_handleEarlyEOFChar_1() local
128 File f = File.createTempFile("FileWriterBugTest ", null); in test_handleEarlyEOFChar_2() local
DFileTest.java53 File f = base; in createDeepStructure() local
92 File f = new File(""); in test_emptyFilename() local
200 File f = File.createTempFile("FileTest", "tmp"); in test_createNewFile() local
216 File f = File.createTempFile("FileTest", "tmp"); in test_rename() local
229 File f = new File("poop"); in test_getAbsolutePath() local
/libcore/ojluni/src/main/java/java/util/
DFormatFlagsConversionMismatchException.java42 private String f; field in FormatFlagsConversionMismatchException
56 public FormatFlagsConversionMismatchException(String f, char c) { in FormatFlagsConversionMismatchException()
/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/dalvik/src/main/java/org/apache/harmony/dalvik/
DNativeTestTarget.java36 public static native void emptyJniStaticMethod6(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6()
38 public native void emptyJniMethod6(int a, int b, int c, int d, int e, int f); in emptyJniMethod6()
47 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L()
50 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L()
/libcore/luni/src/test/java/dalvik/system/
DBlockGuardTest.java48 File f = File.createTempFile("foo", "bar"); in testFile() local
103 File f = new File("/proc/version"); in testFileInputStream() local
122 File f = File.createTempFile("foo", "bar"); in testFileOutputStream() local
/libcore/luni/src/main/java/java/util/concurrent/
DAbstractExecutorService.java149 Future<T> f = ecs.poll(); in doInvokeAny() local
211 RunnableFuture<T> f = newTaskFor(t); in invokeAll() local
216 Future<T> f = futures.get(i); in invokeAll() local
254 Future<T> f = futures.get(j); in invokeAll() local
/libcore/ojluni/src/main/java/java/security/
DKeyRep.java173 KeyFactory f = KeyFactory.getInstance(algorithm); in readResolve() local
176 KeyFactory f = KeyFactory.getInstance(algorithm); in readResolve() local

12345678