Home
last modified time | relevance | path

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

123

/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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 …]
/third_party/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 …]
Dcdateintervalformattest.c337 UFieldPosition fpos = { locSkelItemPtr->fieldToCheck, 0, 0 }; in TestFPos_SkelWithSeconds() local
343 …ulen = udtitvfmt_format(udifmt, startTime, startTime + *deltasPtr, ubuf, kSizeUBuf, &fpos, &status… in TestFPos_SkelWithSeconds()
348fpos.beginIndex != expectedPtr->posBegin || fpos.endIndex != expectedPtr->posEnd ) { in TestFPos_SkelWithSeconds()
354 fpos.beginIndex, fpos.endIndex, bbuf); in TestFPos_SkelWithSeconds()
/third_party/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"
/third_party/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()
/third_party/cups-filters/filter/pdftopdf/
Dnup.cc14 int opos=-1,fpos=-1,spos=-1; in dump() local
16 fpos=0; in dump()
18 fpos=1; in dump()
31 std::swap(fpos,spos); in dump()
34 if ( (opos==-1)||(fpos==-1)||(spos==-1) ) { in dump()
40 order[opos+fpos],order[(opos+2)%4+spos]); in dump()
/third_party/skia/third_party/externals/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 …]
Dafcjk.c1060 dist = seg->pos - edge->fpos; in af_cjk_hints_compute_edges()
1119 edge->fpos = seg->pos; in af_cjk_hints_compute_edges()
1219 edge_delta = edge->fpos - edge2->fpos; in af_cjk_hints_compute_edges()
1349 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges()
1350 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges()
1355 dist = edge->fpos - compare->org; in af_cjk_hints_compute_blue_edges()
1631 stem_edge - hints->axis[dim].edges, stem_edge->fpos, in af_cjk_align_linked_edge()
1853 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges()
2151 if ( after->fpos == before->fpos ) in af_cjk_hint_edges()
2155 FT_MulDiv( edge->fpos - before->fpos, in af_cjk_hint_edges()
[all …]
/third_party/skia/third_party/externals/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()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/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()
/third_party/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);
/third_party/skia/third_party/externals/icu/source/i18n/
Dmeasfmt.cpp836 FieldPosition fpos(pos.getField()); in formatMeasuresSlowTrack() local
845 formatMeasure(measures[i], *nf, results[i], fpos, status); in formatMeasuresSlowTrack()
849 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack()
869 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack()
870 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()
/third_party/node/deps/icu-small/source/i18n/
Dmeasfmt.cpp836 FieldPosition fpos(pos.getField()); in formatMeasuresSlowTrack() local
845 formatMeasure(measures[i], *nf, results[i], fpos, status); in formatMeasuresSlowTrack()
849 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack()
869 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack()
870 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()
/third_party/icu/icu4c/source/i18n/
Dmeasfmt.cpp836 FieldPosition fpos(pos.getField()); in formatMeasuresSlowTrack() local
845 formatMeasure(measures[i], *nf, results[i], fpos, status); in formatMeasuresSlowTrack()
849 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack()
869 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack()
870 pos.setEndIndex(fpos.getEndIndex() + offset); in formatMeasuresSlowTrack()

123