Home
last modified time | relevance | path

Searched refs:fpos (Results 1 – 25 of 67) sorted by relevance

123

/external/libcxx/test/input.output/iostreams.base/fpos/fpos.operations/
DAndroid.mk17 test_makefile := external/libcxx/test/input.output/iostreams.base/fpos/fpos.operations/Android.mk
19 test_name := input.output/iostreams.base/fpos/fpos.operations/offset
23 test_name := input.output/iostreams.base/fpos/fpos.operations/addition
27 test_name := input.output/iostreams.base/fpos/fpos.operations/subtraction
31 test_name := input.output/iostreams.base/fpos/fpos.operations/streamsize
35 test_name := input.output/iostreams.base/fpos/fpos.operations/eq_int
39 test_name := input.output/iostreams.base/fpos/fpos.operations/ctor_int
43 test_name := input.output/iostreams.base/fpos/fpos.operations/difference
Dctor_int.pass.cpp21 typedef std::fpos<std::mbstate_t> P; in main()
Doffset.pass.cpp21 typedef std::fpos<std::mbstate_t> P; in main()
Deq_int.pass.cpp21 typedef std::fpos<std::mbstate_t> P; in main()
Ddifference.pass.cpp21 typedef std::fpos<std::mbstate_t> P; in main()
/external/stlport/stlport/stl/
Dchar_traits.h87 template <class _StateT> class fpos {
89 fpos(streamoff __pos) : _M_pos(__pos), _M_st(_STLP_NULL_CHAR_INIT(_StateT)) {} in fpos() function
90 fpos() : _M_pos(0), _M_st(_STLP_NULL_CHAR_INIT(_StateT)) {} in fpos() function
94 bool operator==(const fpos& __y) const
96 bool operator!=(const fpos& __y) const
99 fpos& operator+=(streamoff __off) {
103 fpos& operator-=(streamoff __off) {
108 fpos operator+(streamoff __off) {
109 fpos __tmp(*this);
113 fpos operator-(streamoff __off) {
[all …]
/external/libcxx/test/input.output/iostreams.base/fpos/fpos.members/
DAndroid.mk17 test_makefile := external/libcxx/test/input.output/iostreams.base/fpos/fpos.members/Android.mk
19 test_name := input.output/iostreams.base/fpos/fpos.members/state
Dstate.pass.cpp21 std::fpos<int> f; in main()
/external/icu/icu4c/source/test/intltest/
Dtchcfmt.cpp52 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 …]
Ddtfmapts.cpp288 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/chromium_org/third_party/icu/source/test/intltest/
Dtchcfmt.cpp52 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 …]
Ddtfmapts.cpp288 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/icu4c/source/i18n/
Dquantityformatter.cpp165 FieldPosition fpos(pos.getField()); in format() local
166 fmt.format(quantity, formattedNumber, fpos, status); in format()
171 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format()
172 pos.setBeginIndex(fpos.getBeginIndex() + offsets[0]); in format()
173 pos.setEndIndex(fpos.getEndIndex() + offsets[0]); in format()
/external/chromium_org/third_party/freetype/src/autofit/
Dafhints.c81 FT_Int fpos, in af_axis_hints_new_edge() argument
119 if ( edge[-1].fpos < fpos ) in af_axis_hints_new_edge()
124 if ( edge[-1].fpos == fpos && dir == axis->major_dir ) in af_axis_hints_new_edge()
134 edge->fpos = (FT_Short)fpos; in af_axis_hints_new_edge()
964 delta = edge->fpos - u; in af_glyph_hints_align_strong_points()
973 delta = u - edge->fpos; in af_glyph_hints_align_strong_points()
982 FT_Pos fpos; in af_glyph_hints_align_strong_points() local
997 if ( edges[nn].fpos >= u ) in af_glyph_hints_align_strong_points()
1000 if ( edges[nn].fpos == u ) in af_glyph_hints_align_strong_points()
1013 fpos = edge->fpos; in af_glyph_hints_align_strong_points()
[all …]
Dafcjk.c956 dist = seg->pos - edge->fpos; in af_cjk_hints_compute_edges()
1014 edge->fpos = seg->pos; in af_cjk_hints_compute_edges()
1111 edge_delta = edge->fpos - edge2->fpos; in af_cjk_hints_compute_edges()
1236 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges()
1237 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges()
1242 dist = edge->fpos - compare->org; in af_cjk_hints_compute_blue_edges()
1724 edge1-edges, edge1->fpos, edge1->opos / 64.0, blue->fit / 64.0, in af_cjk_hint_edges()
2004 if ( after->fpos == before->fpos ) in af_cjk_hint_edges()
2008 FT_MulDiv( edge->fpos - before->fpos, in af_cjk_hint_edges()
2010 after->fpos - before->fpos ); in af_cjk_hint_edges()
/external/freetype/src/autofit/
Dafhints.c81 FT_Int fpos, in af_axis_hints_new_edge() argument
119 if ( edge[-1].fpos < fpos ) in af_axis_hints_new_edge()
124 if ( edge[-1].fpos == fpos && dir == axis->major_dir ) in af_axis_hints_new_edge()
134 edge->fpos = (FT_Short)fpos; in af_axis_hints_new_edge()
1101 delta = edge->fpos - u; in af_glyph_hints_align_strong_points()
1110 delta = u - edge->fpos; in af_glyph_hints_align_strong_points()
1119 FT_Pos fpos; in af_glyph_hints_align_strong_points() local
1134 if ( edges[nn].fpos >= u ) in af_glyph_hints_align_strong_points()
1137 if ( edges[nn].fpos == u ) in af_glyph_hints_align_strong_points()
1150 fpos = edge->fpos; in af_glyph_hints_align_strong_points()
[all …]
Dafcjk.c973 dist = seg->pos - edge->fpos; in af_cjk_hints_compute_edges()
1031 edge->fpos = seg->pos; in af_cjk_hints_compute_edges()
1129 edge_delta = edge->fpos - edge2->fpos; in af_cjk_hints_compute_edges()
1258 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges()
1259 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges()
1264 dist = edge->fpos - compare->org; in af_cjk_hints_compute_blue_edges()
1546 stem_edge - hints->axis[dim].edges, stem_edge->fpos, in af_cjk_align_linked_edge()
1768 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges()
2066 if ( after->fpos == before->fpos ) in af_cjk_hint_edges()
2070 FT_MulDiv( edge->fpos - before->fpos, in af_cjk_hint_edges()
[all …]
/external/libcxx/include/
Diosfwd81 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/
Dplurfmtsample.cpp46 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/chromium_org/third_party/icu/source/samples/plurfmtsample/
Dplurfmtsample.cpp46 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/libcxx/test/input.output/iostreams.base/fpos/
DAndroid.mk17 test_makefile := external/libcxx/test/input.output/iostreams.base/fpos/Android.mk
19 test_name := input.output/iostreams.base/fpos/nothing_to_do
/external/libcxx/test/depr/depr.c.headers/
Dstdio_h.pass.cpp86 fpos_t fpos = {0}; in main() local
127 static_assert((std::is_same<decltype(fgetpos(fp, &fpos)), int>::value), ""); in main()
129 static_assert((std::is_same<decltype(fsetpos(fp, &fpos)), int>::value), ""); in main()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_snprintf.c1016 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/mesa3d/src/gallium/auxiliary/util/
Du_snprintf.c1016 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/libcxx/test/input.output/file.streams/c.files/
Dcstdio.disabled.cpp87 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()

123