Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java115 private static int translateFieldId(FieldPosition fp) { in translateFieldId() argument
116 int id = fp.getField(); in translateFieldId()
121 Format.Field attr = fp.getFieldAttribute(); in translateFieldId()
319 private static void updateFieldPosition(FieldPosition fp, FieldPositionIterator fpi) { in updateFieldPosition() argument
320 int field = translateFieldId(fp); in updateFieldPosition()
324 fp.setBeginIndex(fpi.start()); in updateFieldPosition()
325 fp.setEndIndex(fpi.limit()); in updateFieldPosition()
583 public static FieldPositionIterator forFieldPosition(FieldPosition fp) { in forFieldPosition() argument
584 return (fp != null) ? new FieldPositionIterator() : null; in forFieldPosition()
/libcore/luni/src/main/native/
Dlibcore_icu_NativeDecimalFormat.cpp229 FieldPosition fp; in formatResult() local
230 while (fpi->next(fp)) { in formatResult()
231 data.push_back(fp.getField()); in formatResult()
232 data.push_back(fp.getBeginIndex()); in formatResult()
233 data.push_back(fp.getEndIndex()); in formatResult()
/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java111 FieldPosition fp = new FieldPosition(DateFormat.YEAR_FIELD); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local
112 StringBuffer sb = format.format(current, toAppend, fp); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
116 assertTrue("Incorrect beginIndex of filed position", fp in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
119 fp.getEndIndex() == sb.lastIndexOf("/") + 3); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinPool.java3261 String fp = System.getProperty in makeCommonPool() local
3267 if (fp != null) in makeCommonPool()
3269 getSystemClassLoader().loadClass(fp).newInstance()); in makeCommonPool()
/libcore/luni/src/test/resources/
Dmath_tests.csv116 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