Home
last modified time | relevance | path

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

12345

/external/cronet/buildtools/third_party/libc++/trunk/include/__ios/
Dfpos.h23 class _LIBCPP_TEMPLATE_VIS fpos {
29 _LIBCPP_HIDE_FROM_ABI fpos(streamoff __off = streamoff()) : __st_(), __off_(__off) {} in __st_()
36 _LIBCPP_HIDE_FROM_ABI fpos& operator+=(streamoff __off) {
41 _LIBCPP_HIDE_FROM_ABI fpos operator+(streamoff __off) const {
42 fpos __t(*this);
47 _LIBCPP_HIDE_FROM_ABI fpos& operator-=(streamoff __off) {
52 _LIBCPP_HIDE_FROM_ABI fpos operator-(streamoff __off) const {
53 fpos __t(*this);
61 streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) {
67 bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) {
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/iostreams.base/fpos/fpos.operations/
Dfpos.pass.cpp32 static_assert(std::is_default_constructible <std::fpos<T> >::value, ""); in test_traits()
33 static_assert(std::is_copy_constructible <std::fpos<T> >::value, ""); in test_traits()
34 static_assert(std::is_copy_assignable <std::fpos<T> >::value, ""); in test_traits()
35 static_assert(std::is_destructible <std::fpos<T> >::value, ""); in test_traits()
36 static_assert(is_equality_comparable <std::fpos<T> >::value, ""); in test_traits()
39 std::is_trivially_copy_constructible<std::fpos<T> >::value, ""); in test_traits()
41 std::is_trivially_copy_assignable<std::fpos<T> >::value, ""); in test_traits()
43 std::is_trivially_destructible<std::fpos<T> >::value, ""); in test_traits()
/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/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/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/cronet/third_party/icu/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.java308 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition fpos) { in format() argument
310 fpos.setBeginIndex(0); in format()
311 fpos.setEndIndex(0); in format()
322 formatMeasuresInternal(toAppendTo, fpos, measures); in format()
324 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format()
328 FormattedValueStringBuilderImpl.nextFieldPosition(result, fpos); in format()
333 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
334 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
335 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
421 FieldPosition fpos, in formatMeasures() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java292 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition fpos) { in format() argument
294 fpos.setBeginIndex(0); in format()
295 fpos.setEndIndex(0); in format()
306 formatMeasuresInternal(toAppendTo, fpos, measures); in format()
308 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format()
312 FormattedValueStringBuilderImpl.nextFieldPosition(result, fpos); in format()
317 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
318 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
319 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
402 FieldPosition fpos, in formatMeasures() argument
[all …]
/external/cronet/third_party/icu/source/test/cintltst/
Dulistfmttest.c282 UConstrainedFieldPosition *fpos = ucfpos_open(&status); in TestUList21871_A() local
285 ucfpos_constrainField(fpos, UFIELD_CATEGORY_LIST, ULISTFMT_ELEMENT_FIELD, &status); in TestUList21871_A()
288 bool hasMore = ufmtval_nextPosition(value, fpos, &status); in TestUList21871_A()
293 ucfpos_getIndexes(fpos, &beginIndex, &endIndex, &status); in TestUList21871_A()
298 hasMore = ufmtval_nextPosition(value, fpos, &status); in TestUList21871_A()
302 ucfpos_close(fpos); in TestUList21871_A()
330 UConstrainedFieldPosition *fpos = ucfpos_open(&status); in TestUList21871_B() local
333 ucfpos_constrainField(fpos, UFIELD_CATEGORY_LIST, ULISTFMT_ELEMENT_FIELD, &status); in TestUList21871_B()
336 bool hasMore = ufmtval_nextPosition(value, fpos, &status); in TestUList21871_B()
341 ucfpos_getIndexes(fpos, &beginIndex, &endIndex, &status); in TestUList21871_B()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dulistfmttest.c282 UConstrainedFieldPosition *fpos = ucfpos_open(&status); in TestUList21871_A() local
285 ucfpos_constrainField(fpos, UFIELD_CATEGORY_LIST, ULISTFMT_ELEMENT_FIELD, &status); in TestUList21871_A()
288 bool hasMore = ufmtval_nextPosition(value, fpos, &status); in TestUList21871_A()
293 ucfpos_getIndexes(fpos, &beginIndex, &endIndex, &status); in TestUList21871_A()
298 hasMore = ufmtval_nextPosition(value, fpos, &status); in TestUList21871_A()
302 ucfpos_close(fpos); in TestUList21871_A()
330 UConstrainedFieldPosition *fpos = ucfpos_open(&status); in TestUList21871_B() local
333 ucfpos_constrainField(fpos, UFIELD_CATEGORY_LIST, ULISTFMT_ELEMENT_FIELD, &status); in TestUList21871_B()
336 bool hasMore = ufmtval_nextPosition(value, fpos, &status); in TestUList21871_B()
341 ucfpos_getIndexes(fpos, &beginIndex, &endIndex, &status); in TestUList21871_B()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/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 …]
/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 …]
/external/cronet/buildtools/third_party/libc++/trunk/include/
Diosfwd86 template <class state> class fpos;
87 using streampos = fpos<char_traits<char>::state_type>;
88 using wstreampos = fpos<char_traits<wchar_t>::state_type>;
89 using u8streampos = fpos<char_traits<char8_t>::state_type>; // C++20
90 using u16streampos = fpos<char_traits<char16_t>::state_type>;
91 using u32streampos = fpos<char_traits<char32_t>::state_type>;
217 template <class _State> class _LIBCPP_TEMPLATE_VIS fpos;
218 typedef fpos<mbstate_t> streampos;
219 typedef fpos<mbstate_t> wstreampos;
221 typedef fpos<mbstate_t> u8streampos;
[all …]
/external/ltp/testcases/kernel/syscalls/readv/
Dreadv01.c44 int i, fpos, fail = 0; in test_readv() local
73 for (i = 0, fpos = 0; i < tc->iov_count; i++) { in test_readv()
76 for (j = 0; j < vec[i].iov_len; j++, fpos++) { in test_readv()
77 if (ptr[j] != (fpos < tc->exp_ret ? 0x42 : 0)) in test_readv()
/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/freetype/src/autofit/
Dafhints.c198 FT_Int fpos, in af_axis_hints_new_edge() argument
255 if ( top_to_bottom_hinting ? ( edge[-1].fpos > fpos ) in af_axis_hints_new_edge()
256 : ( edge[-1].fpos < fpos ) ) in af_axis_hints_new_edge()
261 if ( edge[-1].fpos == fpos && dir == axis->major_dir ) in af_axis_hints_new_edge()
1441 delta = edge->fpos - u; in af_glyph_hints_align_strong_points()
1456 delta = u - edge->fpos; in af_glyph_hints_align_strong_points()
1471 FT_Pos fpos; in af_glyph_hints_align_strong_points() local
1486 if ( edges[nn].fpos >= u ) in af_glyph_hints_align_strong_points()
1489 if ( edges[nn].fpos == u ) in af_glyph_hints_align_strong_points()
1502 fpos = edge->fpos; in af_glyph_hints_align_strong_points()
[all …]
/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/cronet/third_party/icu/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java42 FieldPosition fpos = attributes.get(i); in nextPosition() local
43 Format.Field field = fpos.getFieldAttribute(); in nextPosition()
50 int start = fpos.getBeginIndex(); in nextPosition()
51 int limit = fpos.getEndIndex(); in nextPosition()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java44 FieldPosition fpos = attributes.get(i); in nextPosition() local
45 Format.Field field = fpos.getFieldAttribute(); in nextPosition()
52 int start = fpos.getBeginIndex(); in nextPosition()
53 int limit = fpos.getEndIndex(); in nextPosition()
/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/deqp-deps/glslang/Test/
Dhlsl.intrinsics.promote.outputs.frag17 float fpos;
37 saturate(fpos);

12345