Home
last modified time | relevance | path

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

123

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormatAPIC.java53 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDateFormatAPIC.java56 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/wpa_supplicant_8/src/ap/
Dtaxonomy.c87 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/
Dtchcfmt.cpp53 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 …]
Ddtfmapts.cpp290 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/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java304 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition fpos) { in format() argument
306 fpos.setBeginIndex(0); in format()
307 fpos.setEndIndex(0); in format()
318 formatMeasuresInternal(toAppendTo, fpos, measures); in format()
320 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format()
323 … result.populateFieldPosition(fpos); // No offset: toAppendTo.length() is considered below in format()
328 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
329 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
330 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
415 FieldPosition fpos, in formatMeasures() argument
[all …]
DQuantityFormatter.java110 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()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java282 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition fpos) { in format() argument
284 fpos.setBeginIndex(0); in format()
285 fpos.setEndIndex(0); in format()
296 formatMeasuresInternal(toAppendTo, fpos, measures); in format()
298 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format()
301 … result.populateFieldPosition(fpos); // No offset: toAppendTo.length() is considered below in format()
306 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
307 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
308 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
389 FieldPosition fpos, in formatMeasures() argument
[all …]
DQuantityFormatter.java111 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()
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.intrinsics.promote.frag.out14 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
18 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
27 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
31 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
40 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
44 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
53 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
57 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
66 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
70 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
[all …]
Dhlsl.intrinsics.promote.outputs.frag.out9 0:37 fpos: direct index for structure ( uniform float)
10 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
97 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
113 0:37 fpos: direct index for structure ( uniform float)
114 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
201 …ctor of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
233 MemberName 17($Global) 9 "fpos"
/external/libcxx/include/
Diosfwd87 template <class state> class fpos;
88 typedef fpos<char_traits<char>::state_type> streampos;
89 typedef fpos<char_traits<wchar_t>::state_type> wstreampos;
189 template <class _State> class _LIBCPP_TEMPLATE_VIS fpos;
190 typedef fpos<mbstate_t> streampos;
191 typedef fpos<mbstate_t> wstreampos;
193 typedef fpos<mbstate_t> u8streampos;
196 typedef fpos<mbstate_t> u16streampos;
197 typedef fpos<mbstate_t> u32streampos;
/external/icu/icu4c/source/test/cintltst/
Dcdateintervalformattest.c294 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()
305fpos.beginIndex != expectedPtr->posBegin || fpos.endIndex != expectedPtr->posEnd ) { in TestFPos_SkelWithSeconds()
311 fpos.beginIndex, fpos.endIndex, bbuf); in TestFPos_SkelWithSeconds()
/external/freetype/src/autofit/
Dafhints.c100 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 …]
Dafcjk.c1067 dist = seg->pos - edge->fpos; in af_cjk_hints_compute_edges()
1126 edge->fpos = seg->pos; in af_cjk_hints_compute_edges()
1224 edge_delta = edge->fpos - edge2->fpos; in af_cjk_hints_compute_edges()
1353 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges()
1354 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges()
1359 dist = edge->fpos - compare->org; in af_cjk_hints_compute_blue_edges()
1646 stem_edge - hints->axis[dim].edges, stem_edge->fpos, in af_cjk_align_linked_edge()
1868 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges()
2166 if ( after->fpos == before->fpos ) in af_cjk_hint_edges()
2170 FT_MulDiv( edge->fpos - before->fpos, in af_cjk_hint_edges()
[all …]
/external/spirv-llvm/lib/SPIRV/Mangler/
DMangler.cpp56 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/
Dplurfmtsample.cpp52 FieldPosition fpos = 0; in PluralFormatExample() local
55 msgfmtEn->format(argEn,2,msgEn,fpos,status); in PluralFormatExample()
56 msgfmtSl->format(argSl,2,msgSl,fpos,status); in PluralFormatExample()
/external/libcxx/test/std/depr/depr.c.headers/
Dstdio_h.pass.cpp110 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/
Dmeasfmt.cpp775 FieldPosition fpos(pos.getField()); in formatMeasurePerUnit() local
779 measure, **numberFormat, result, fpos, status), in formatMeasurePerUnit()
786 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasurePerUnit()
787 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasurePerUnit()
788 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasurePerUnit()
1216 FieldPosition fpos(pos.getField()); in formatMeasuresSlowTrack() local
1225 formatMeasure(measures[i], *nf, results[i], fpos, status); in formatMeasuresSlowTrack()
1230 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack()
1250 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack()
1251 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()
/external/deqp-deps/glslang/Test/
Dhlsl.intrinsics.promote.outputs.frag17 float fpos;
37 saturate(fpos);
Dhlsl.intrinsics.promote.frag17 float fpos;
52 float r51 = g_tTexbfs.Load(fpos);
/external/libcxx/test/std/input.output/file.streams/c.files/
Dcstdio.pass.cpp92 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/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/
DPercentile.java272 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/
Ddtfmtrtperf.h170 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/
Dstate.pass.cpp21 std::fpos<int> f; in main()

123