/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDateFormatAPIC.java | 49 FieldPosition fpos = new FieldPosition(0); in TestNameHiding() local 58 strBuffer = dateFmt.format(dateObj, strBuffer, fpos); in TestNameHiding() 70 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding() 72 strBuffer = sdf.format(new Date(0), strBuffer, fpos); in TestNameHiding() 88 strBuffer = fmt.format(numObj, strBuffer, fpos); in TestNameHiding() 100 strBuffer = fmt.format(numObj, strBuffer, fpos); in TestNameHiding() 104 strBuffer = fmt.format(1.41421, strBuffer, fpos); in TestNameHiding() 105 strBuffer = fmt.format(9876543, strBuffer, fpos); in TestNameHiding()
|
/external/icu/icu4c/source/test/intltest/ |
D | tchcfmt.cpp | 52 FieldPosition fpos(0); in TestSimpleExample() local 59 fpos = 0; in TestSimpleExample() 61 res1 = form->format(i, str, fpos, status ); in TestSimpleExample() 184 FieldPosition fpos(0); in TestComplexExample() local 211 res2 = pattform->format(testArgs, 3, str, fpos, status ); in TestComplexExample() 271 fpos = 0; in TestComplexExample() 277 res2 = pattform->format(testArgs, 3, str, fpos, status ); in TestComplexExample() 368 fpos = 0; in TestComplexExample() 371 res1 = form_pat.format( arg_double, str, fpos ); in TestComplexExample() 376 fpos = 0; in TestComplexExample() [all …]
|
D | dtfmapts.cpp | 288 FieldPosition fpos; in TestNameHiding() local 297 dateFmt->format(dateObj, str, fpos, status); in TestNameHiding() 312 sdf.format(dateObj, str, fpos, status); in TestNameHiding() 314 sdf.format((UDate)0, str, fpos); in TestNameHiding() 331 fmt->format(numObj, str, fpos, status); in TestNameHiding() 346 fmt.format(numObj, str, fpos, status); in TestNameHiding() 350 fmt.format(1.41421, str, fpos); in TestNameHiding() 351 fmt.format((int32_t)9876543, str, fpos); in TestNameHiding() 366 fmt.format(numObj, str, fpos, status); in TestNameHiding() 370 fmt.format(1.41421, str, fpos); in TestNameHiding() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 318 FieldPosition fpos = in format() local 330 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, measures)); in format() 332 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, (Measure[]) obj)); in format() 334 … toAppendTo.append(formatMeasure((Measure) obj, numberFormat, new StringBuilder(), fpos)); in format() local 338 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 339 pos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format() 340 pos.setEndIndex(fpos.getEndIndex() + prevLength); in format() 515 FieldPosition fpos = new FieldPosition( in formatMeasurePerUnit() local 518 formatMeasure(measure, numberFormat, new StringBuilder(), fpos), in formatMeasurePerUnit() 521 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | quantityformatter.cpp | 169 FieldPosition fpos(pos.getField()); in format() local 170 fmt.format(quantity, formattedNumber, fpos, status); in format() 181 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 182 pos.setBeginIndex(fpos.getBeginIndex() + offsets[0]); in format() 183 pos.setEndIndex(fpos.getEndIndex() + offsets[0]); in format()
|
D | measfmt.cpp | 608 FieldPosition fpos(pos.getField()); in formatMeasurePerUnit() local 612 measure, **numberFormat, result, fpos, status), in formatMeasurePerUnit() 619 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 620 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasurePerUnit() 621 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasurePerUnit() 1042 FieldPosition fpos(pos.getField()); in formatMeasuresSlowTrack() local 1051 formatMeasure(measures[i], *nf, results[i], fpos, status); in formatMeasuresSlowTrack() 1056 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1076 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack() 1077 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()
|
/external/libcxx/include/ |
D | iosfwd | 81 template <class state> class fpos; 82 typedef fpos<char_traits<char>::state_type> streampos; 83 typedef fpos<char_traits<wchar_t>::state_type> wstreampos; 175 template <class _State> class _LIBCPP_TYPE_VIS_ONLY fpos; 176 typedef fpos<mbstate_t> streampos; 177 typedef fpos<mbstate_t> wstreampos; 179 typedef fpos<mbstate_t> u16streampos; 180 typedef fpos<mbstate_t> u32streampos;
|
/external/icu/icu4c/source/samples/plurfmtsample/ |
D | plurfmtsample.cpp | 46 FieldPosition fpos = 0; in PluralFormatExample() local 49 msgfmtEn->format(argEn,2,msgEn,fpos,status); in PluralFormatExample() 50 msgfmtSl->format(argSl,2,msgSl,fpos,status); in PluralFormatExample()
|
/external/freetype/src/autofit/ |
D | afhints.c | 100 FT_Int fpos, in af_axis_hints_new_edge() argument 156 if ( edge[-1].fpos < fpos ) in af_axis_hints_new_edge() 161 if ( edge[-1].fpos == fpos && dir == axis->major_dir ) in af_axis_hints_new_edge() 1258 delta = edge->fpos - u; in af_glyph_hints_align_strong_points() 1267 delta = u - edge->fpos; in af_glyph_hints_align_strong_points() 1276 FT_Pos fpos; in af_glyph_hints_align_strong_points() local 1291 if ( edges[nn].fpos >= u ) in af_glyph_hints_align_strong_points() 1294 if ( edges[nn].fpos == u ) in af_glyph_hints_align_strong_points() 1307 fpos = edge->fpos; in af_glyph_hints_align_strong_points() 1309 if ( u < fpos ) in af_glyph_hints_align_strong_points() [all …]
|
D | afcjk.c | 1046 dist = seg->pos - edge->fpos; in af_cjk_hints_compute_edges() 1105 edge->fpos = seg->pos; in af_cjk_hints_compute_edges() 1203 edge_delta = edge->fpos - edge2->fpos; in af_cjk_hints_compute_edges() 1332 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges() 1333 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges() 1338 dist = edge->fpos - compare->org; in af_cjk_hints_compute_blue_edges() 1625 stem_edge - hints->axis[dim].edges, stem_edge->fpos, in af_cjk_align_linked_edge() 1847 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges() 2145 if ( after->fpos == before->fpos ) in af_cjk_hint_edges() 2149 FT_MulDiv( edge->fpos - before->fpos, in af_cjk_hint_edges() [all …]
|
D | afhints.h | 281 FT_Short fpos; /* original, unscaled position (in font units) */ member 420 FT_Int fpos,
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | stdio_h.pass.cpp | 86 fpos_t fpos = {0}; in main() local 129 static_assert((std::is_same<decltype(fgetpos(fp, &fpos)), int>::value), ""); in main() 131 static_assert((std::is_same<decltype(fsetpos(fp, &fpos)), int>::value), ""); in main()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_snprintf.c | 1016 int fpos = 0; in fmtflt() local 1195 fpos = convert(fracpart, fconvert, sizeof(fconvert), 10, 0); in fmtflt() 1197 leadfraczeros = precision - fpos; in fmtflt() 1200 if (fpos > 0) /* Omit trailing fractional part zeros. */ in fmtflt() 1201 while (omitcount < fpos && fconvert[omitcount] == '0') in fmtflt() 1270 while (fpos > omitcount) { /* The remaining fractional part. */ in fmtflt() 1271 fpos--; in fmtflt() 1272 OUTCHAR(str, *len, size, fconvert[fpos]); in fmtflt()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
D | Percentile.java | 272 double fpos = FastMath.floor(pos); in evaluate() local 273 int intPos = (int) fpos; in evaluate() 274 double dif = pos - fpos; in evaluate()
|
/external/libcxx/test/std/input.output/file.streams/c.files/ |
D | cstdio.pass.cpp | 87 std::fpos_t fpos = {0}; in main() local 130 static_assert((std::is_same<decltype(std::fgetpos(fp, &fpos)), int>::value), ""); in main() 132 static_assert((std::is_same<decltype(std::fsetpos(fp, &fpos)), int>::value), ""); in main()
|
/external/libcxx/test/std/input.output/iostreams.base/fpos/fpos.members/ |
D | state.pass.cpp | 21 std::fpos<int> f; in main()
|
/external/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/ |
D | ctor_int.pass.cpp | 21 typedef std::fpos<std::mbstate_t> P; in main()
|
D | offset.pass.cpp | 21 typedef std::fpos<std::mbstate_t> P; in main()
|
D | eq_int.pass.cpp | 21 typedef std::fpos<std::mbstate_t> P; in main()
|
D | difference.pass.cpp | 21 typedef std::fpos<std::mbstate_t> P; in main()
|
D | addition.pass.cpp | 21 typedef std::fpos<std::mbstate_t> P; in main()
|
D | subtraction.pass.cpp | 21 typedef std::fpos<std::mbstate_t> P; in main()
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 167 FieldPosition fpos(0); in call() 171 sdf->format(DATES[datidx], tzstr, fpos); in call()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | paint.c | 110 VGfloat fpos = 0, incr = 1.f / size; in create_gradient_data() local 113 while (fpos < ramp_stops[0]) { in create_gradient_data() 115 fpos += incr; in create_gradient_data() 123 while (fpos < ramp_stops[rnext] && pos < size) { in create_gradient_data() 124 VGint dist = 256 * ((fpos - ramp_stops[rcur]) * delta); in create_gradient_data() 130 fpos += incr; in create_gradient_data()
|
/external/svox/pico/lib/ |
D | picopal.c | 360 fpos_t fpos; in picopal_flength() local 363 fgetpos((FILE *)stream,&fpos); in picopal_flength() 366 fsetpos((FILE *)stream,&fpos); in picopal_flength()
|