/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDateFormatAPIC.java | 56 FieldPosition fpos = new FieldPosition(0); in TestNameHiding() local 65 strBuffer = dateFmt.format(dateObj, strBuffer, fpos); in TestNameHiding() 77 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding() 79 strBuffer = sdf.format(new Date(0), strBuffer, fpos); in TestNameHiding() 95 strBuffer = fmt.format(numObj, strBuffer, fpos); in TestNameHiding() 107 strBuffer = fmt.format(numObj, strBuffer, fpos); in TestNameHiding() 111 strBuffer = fmt.format(1.41421, strBuffer, fpos); in TestNameHiding() 112 strBuffer = fmt.format(9876543, strBuffer, fpos); in TestNameHiding()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDateFormatAPIC.java | 53 FieldPosition fpos = new FieldPosition(0); in TestNameHiding() local 62 strBuffer = dateFmt.format(dateObj, strBuffer, fpos); in TestNameHiding() 74 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding() 76 strBuffer = sdf.format(new Date(0), strBuffer, fpos); in TestNameHiding() 92 strBuffer = fmt.format(numObj, strBuffer, fpos); in TestNameHiding() 104 strBuffer = fmt.format(numObj, strBuffer, fpos); in TestNameHiding() 108 strBuffer = fmt.format(1.41421, strBuffer, fpos); in TestNameHiding() 109 strBuffer = fmt.format(9876543, strBuffer, fpos); in TestNameHiding()
|
/external/wpa_supplicant_8/src/ap/ |
D | taxonomy.c | 87 char *fpos = fstr; in ie_to_string() local 116 *fpos = '\0'; in ie_to_string() 150 ret = os_snprintf(fpos, fend - fpos, in ie_to_string() 219 ret = os_snprintf(fpos, fend - fpos, "%s%d", sep, id); in ie_to_string() 221 if (os_snprintf_error(fend - fpos, ret)) in ie_to_string() 223 fpos += ret; in ie_to_string() 229 ret = os_snprintf(fpos, fend - fpos, "%s%s%s%s%s%s%s%s%s", in ie_to_string() 232 if (os_snprintf_error(fend - fpos, ret)) { in ie_to_string()
|
/external/icu/icu4c/source/test/intltest/ |
D | tchcfmt.cpp | 53 FieldPosition fpos(FieldPosition::DONT_CARE); in TestSimpleExample() local 60 fpos = 0; in TestSimpleExample() 62 res1 = form->format(i, str, fpos, status ); in TestSimpleExample() 185 FieldPosition fpos(FieldPosition::DONT_CARE); in TestComplexExample() local 212 res2 = pattform->format(testArgs, 3, str, fpos, status ); in TestComplexExample() 272 fpos = 0; in TestComplexExample() 278 res2 = pattform->format(testArgs, 3, str, fpos, status ); in TestComplexExample() 369 fpos = 0; in TestComplexExample() 372 res1 = form_pat.format( arg_double, str, fpos ); in TestComplexExample() 377 fpos = 0; in TestComplexExample() [all …]
|
D | dtfmapts.cpp | 290 FieldPosition fpos; in TestNameHiding() local 299 dateFmt->format(dateObj, str, fpos, status); in TestNameHiding() 314 sdf.format(dateObj, str, fpos, status); in TestNameHiding() 316 sdf.format((UDate)0, str, fpos); in TestNameHiding() 333 fmt->format(numObj, str, fpos, status); in TestNameHiding() 348 fmt.format(numObj, str, fpos, status); in TestNameHiding() 352 fmt.format(1.41421, str, fpos); in TestNameHiding() 353 fmt.format((int32_t)9876543, str, fpos); in TestNameHiding() 368 fmt.format(numObj, str, fpos, status); in TestNameHiding() 372 fmt.format(1.41421, str, fpos); in TestNameHiding() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | QuantityFormatter.java | 111 UFieldPosition fpos = new UFieldPosition(pos.getFieldAttribute(), pos.getField()); in selectPlural() local 112 fmt.format(number, formattedNumber, fpos); in selectPlural() 116 fpos.getCountVisibleFractionDigits(), fpos.getFractionDigits()); in selectPlural() 118 pos.setBeginIndex(fpos.getBeginIndex()); in selectPlural() 119 pos.setEndIndex(fpos.getEndIndex()); in selectPlural()
|
D | MeasureFormat.java | 296 FieldPosition fpos = in format() local 308 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, measures)); in format() 310 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, (Measure[]) obj)); in format() 312 … toAppendTo.append(formatMeasure((Measure) obj, numberFormat, new StringBuilder(), fpos)); in format() local 316 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 317 pos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format() 318 pos.setEndIndex(fpos.getEndIndex() + prevLength); in format() 491 FieldPosition fpos = new FieldPosition( in formatMeasurePerUnit() local 494 formatMeasure(measure, numberFormat, new StringBuilder(), fpos), in formatMeasurePerUnit() 497 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | QuantityFormatter.java | 110 UFieldPosition fpos = new UFieldPosition(pos.getFieldAttribute(), pos.getField()); in selectPlural() local 111 fmt.format(number, formattedNumber, fpos); in selectPlural() 115 fpos.getCountVisibleFractionDigits(), fpos.getFractionDigits()); in selectPlural() 117 pos.setBeginIndex(fpos.getBeginIndex()); in selectPlural() 118 pos.setEndIndex(fpos.getEndIndex()); in selectPlural()
|
D | MeasureFormat.java | 312 FieldPosition fpos = in format() local 324 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, measures)); in format() 326 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, (Measure[]) obj)); in format() 328 … toAppendTo.append(formatMeasure((Measure) obj, numberFormat, new StringBuilder(), fpos)); in format() local 332 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format() 333 pos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format() 334 pos.setEndIndex(fpos.getEndIndex() + prevLength); in format() 509 FieldPosition fpos = new FieldPosition( in formatMeasurePerUnit() local 512 formatMeasure(measure, numberFormat, new StringBuilder(), fpos), in formatMeasurePerUnit() 515 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 294 UFieldPosition fpos = { locSkelItemPtr->fieldToCheck, 0, 0 }; in TestFPos_SkelWithSeconds() local 300 …ulen = udtitvfmt_format(udifmt, startTime, startTime + *deltasPtr, ubuf, kSizeUBuf, &fpos, &status… in TestFPos_SkelWithSeconds() 305 … fpos.beginIndex != expectedPtr->posBegin || fpos.endIndex != expectedPtr->posEnd ) { in TestFPos_SkelWithSeconds() 311 fpos.beginIndex, fpos.endIndex, bbuf); in TestFPos_SkelWithSeconds()
|
/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_TEMPLATE_VIS 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/freetype/src/autofit/ |
D | afhints.c | 100 FT_Int fpos, in af_axis_hints_new_edge() argument 157 if ( top_to_bottom_hinting ? ( edge[-1].fpos > fpos ) in af_axis_hints_new_edge() 158 : ( edge[-1].fpos < fpos ) ) in af_axis_hints_new_edge() 163 if ( edge[-1].fpos == fpos && dir == axis->major_dir ) in af_axis_hints_new_edge() 1308 delta = edge->fpos - u; in af_glyph_hints_align_strong_points() 1317 delta = u - edge->fpos; in af_glyph_hints_align_strong_points() 1326 FT_Pos fpos; in af_glyph_hints_align_strong_points() local 1341 if ( edges[nn].fpos >= u ) in af_glyph_hints_align_strong_points() 1344 if ( edges[nn].fpos == u ) in af_glyph_hints_align_strong_points() 1357 fpos = edge->fpos; in af_glyph_hints_align_strong_points() [all …]
|
D | afcjk.c | 1043 dist = seg->pos - edge->fpos; in af_cjk_hints_compute_edges() 1102 edge->fpos = seg->pos; in af_cjk_hints_compute_edges() 1200 edge_delta = edge->fpos - edge2->fpos; in af_cjk_hints_compute_edges() 1329 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges() 1330 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges() 1335 dist = edge->fpos - compare->org; in af_cjk_hints_compute_blue_edges() 1622 stem_edge - hints->axis[dim].edges, stem_edge->fpos, in af_cjk_align_linked_edge() 1844 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges() 2142 if ( after->fpos == before->fpos ) in af_cjk_hint_edges() 2146 FT_MulDiv( edge->fpos - before->fpos, in af_cjk_hint_edges() [all …]
|
/external/spirv-llvm/lib/SPIRV/Mangler/ |
D | Mangler.cpp | 56 size_t fpos; in mangleSubstitution() local 59 if ((fpos = m_stream.str().find(typeStr)) != std::string::npos) { in mangleSubstitution() 92 size_t fpos = m_stream.str().size(); in visit() local 112 substitutions[m_stream.str().substr(fpos + 1)] = seqId++; in visit() 114 substitutions[m_stream.str().substr(fpos)] = seqId++; in visit()
|
/external/icu/icu4c/source/samples/plurfmtsample/ |
D | plurfmtsample.cpp | 50 FieldPosition fpos = 0; in PluralFormatExample() local 53 msgfmtEn->format(argEn,2,msgEn,fpos,status); in PluralFormatExample() 54 msgfmtSl->format(argSl,2,msgSl,fpos,status); in PluralFormatExample()
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | stdio_h.pass.cpp | 110 fpos_t fpos = fpos_t(); in main() local 116 ((void)fpos); // Prevent unused warning in main() 160 static_assert((std::is_same<decltype(fgetpos(fp, &fpos)), int>::value), ""); in main() 162 static_assert((std::is_same<decltype(fsetpos(fp, &fpos)), int>::value), ""); in main()
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 774 FieldPosition fpos(pos.getField()); in formatMeasurePerUnit() local 778 measure, **numberFormat, result, fpos, status), in formatMeasurePerUnit() 785 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit() 786 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasurePerUnit() 787 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasurePerUnit() 1212 FieldPosition fpos(pos.getField()); in formatMeasuresSlowTrack() local 1221 formatMeasure(measures[i], *nf, results[i], fpos, status); in formatMeasuresSlowTrack() 1226 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack() 1246 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack() 1247 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()
|
/external/libcxx/test/std/input.output/file.streams/c.files/ |
D | cstdio.pass.cpp | 92 std::fpos_t fpos = std::fpos_t(); in main() local 97 ((void)fpos); // Prevent unused warning in main() 124 static_assert((std::is_same<decltype(std::fgetpos(fp, &fpos)), int>::value), ""); in main() 126 static_assert((std::is_same<decltype(std::fsetpos(fp, &fpos)), int>::value), ""); in main()
|
/external/syslinux/gpxe/src/util/ |
D | elf2efi.c | 608 unsigned long fpos = 0; in write_pe_file() local 611 fpos = efi_file_align ( pe_header->nt.OptionalHeader.SizeOfHeaders ); in write_pe_file() 614 section->hdr.PointerToRawData = fpos; in write_pe_file() 615 fpos += section->hdr.SizeOfRawData; in write_pe_file() 616 fpos = efi_file_align ( fpos ); in write_pe_file()
|
/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/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 170 FieldPosition fpos(FieldPosition::DONT_CARE); in call() 174 sdf->format(DATES[datidx], tzstr, fpos); in call()
|
/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 | eq_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()
|