/libcore/ojluni/src/main/native/ |
D | LinuxNativeDispatcher.c | 158 FILE* fp = NULL; in Java_sun_nio_fs_LinuxNativeDispatcher_setmntent0() local 163 fp = setmntent(path, mode); in Java_sun_nio_fs_LinuxNativeDispatcher_setmntent0() 164 } while (fp == NULL && errno == EINTR); in Java_sun_nio_fs_LinuxNativeDispatcher_setmntent0() 165 if (fp == NULL) { in Java_sun_nio_fs_LinuxNativeDispatcher_setmntent0() 168 return ptr_to_jlong(fp); in Java_sun_nio_fs_LinuxNativeDispatcher_setmntent0() 179 FILE* fp = jlong_to_ptr(value); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent() local 187 m = getmntent_r(fp, &ent, (char*)&buf, buflen); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent() 229 FILE* fp = jlong_to_ptr(stream); in Java_sun_nio_fs_LinuxNativeDispatcher_endmntent() local 231 endmntent(fp); in Java_sun_nio_fs_LinuxNativeDispatcher_endmntent()
|
D | UnixNativeDispatcher.c | 351 FILE* fp = NULL; in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() local 356 fp = fopen(path, mode); in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() 357 } while (fp == NULL && errno == EINTR); in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() 359 if (fp == NULL) { in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() 363 return ptr_to_jlong(fp); in Java_sun_nio_fs_UnixNativeDispatcher_fopen0() 369 FILE* fp = jlong_to_ptr(stream); in Java_sun_nio_fs_UnixNativeDispatcher_fclose() local 376 if (fclose(fp) == EOF && errno != EINTR) { in Java_sun_nio_fs_UnixNativeDispatcher_fclose()
|
D | jvm.h | 1465 jint (JNICALL *vfprintf)(FILE *fp, const char *format, va_list args);
|
/libcore/luni/src/test/native/ |
D | libcore_libcore_util_NativeAllocationRegistryTest.cpp | 50 FILE* fp = popen("uname -m", "re"); in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI() local 53 char* str = fgets(buf, sizeof(buf), fp); in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI() 54 pclose(fp); in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileSystem.java | 81 long fp = setmntent(Util.toBytes(fstab), Util.toBytes("r")); in getMountEntries() local 85 int res = getmntent(fp, entry); in getMountEntries() 91 endmntent(fp); in getMountEntries()
|
D | LinuxNativeDispatcher.java | 57 static native int getmntent(long fp, UnixMountEntry entry) in getmntent() argument
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 191 FieldPosition fp = new FieldPosition(field); in assertFieldPosition() local 193 df.format(num, stringBuffer, fp); in assertFieldPosition() 195 assertEquals(expectedBeginIndex, fp.getBeginIndex()); in assertFieldPosition() 196 assertEquals(expectedEndIndex, fp.getEndIndex()); in assertFieldPosition() 201 FieldPosition fp = new FieldPosition(field); in assertFieldPosition() local 203 df.format(num, stringBuffer, fp); in assertFieldPosition() 205 assertEquals(expectedBeginIndex, fp.getBeginIndex()); in assertFieldPosition() 206 assertEquals(expectedEndIndex, fp.getEndIndex()); in assertFieldPosition() 211 FieldPosition fp = new FieldPosition(field); in assertFieldPosition() local 213 df.format(num, stringBuffer, fp); in assertFieldPosition() [all …]
|
D | OldDateFormatTest.java | 115 FieldPosition fp = new FieldPosition(DateFormat.YEAR_FIELD); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local 116 StringBuffer sb = format.format(current, toAppend, fp); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() 120 assertTrue("Incorrect beginIndex of filed position", fp in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() 123 fp.getEndIndex() == sb.lastIndexOf("/") + 3); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
|
/libcore/ojluni/src/main/java/java/text/ |
D | MessageFormat.java | 1243 … FieldPosition fp, List<AttributedCharacterIterator> characterIterators) { in subformat() argument 1333 if (i == 0 && fp != null && Field.ARGUMENT.equals( in subformat() 1334 fp.getFieldAttribute())) { in subformat() 1335 fp.setBeginIndex(last); in subformat() 1336 fp.setEndIndex(result.length()); in subformat()
|
D | DecimalFormat.java | 519 private static FieldPosition getIcuFieldPosition(FieldPosition fp) { in getIcuFieldPosition() argument 520 Format.Field fieldAttribute = fp.getFieldAttribute(); in getIcuFieldPosition() 521 if (fieldAttribute == null) return fp; in getIcuFieldPosition() 551 icuFieldPosition.setBeginIndex(fp.getBeginIndex()); in getIcuFieldPosition() 552 icuFieldPosition.setEndIndex(fp.getEndIndex()); in getIcuFieldPosition()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 708 final Permission fp = p; in getPermissions() local 711 sm.checkPermission(fp); in getPermissions()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 3520 String fp = System.getProperty in makeCommonPool() local 3526 if (fp != null) in makeCommonPool() 3528 getSystemClassLoader().loadClass(fp).newInstance()); in makeCommonPool()
|
/libcore/luni/src/test/resources/ |
D | math_tests.csv | 116 tan,0x1.044979d134ed9p-4,0x1.03fp-4 117 tan,-0x1.044979d134ed9p-4,-0x1.03fp-4 896 tan,0x1.f09b63aa81fc4p-5,0x1.fp-5 897 tan,-0x1.f09b63aa81fc4p-5,-0x1.fp-5 1647 log,-0x1.0415d89e74444p-5,0x1.fp-1 2741 sin,0x1.efb26ef930c4dp-5,0x1.fp-5 2742 sin,-0x1.efb26ef930c4dp-5,-0x1.fp-5 4141 cos,0x1.ff0fd2c96adfcp-1,0x1.fp-5 4142 cos,0x1.ff0fd2c96adfcp-1,-0x1.fp-5
|