Home
last modified time | relevance | path

Searched refs:NumberFormatSpan (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-intl.h14 struct NumberFormatSpan { struct
19 NumberFormatSpan() {} in NumberFormatSpan() argument
20 NumberFormatSpan(int32_t field_id, int32_t begin_pos, int32_t end_pos) in NumberFormatSpan() function
24 std::vector<NumberFormatSpan> FlattenRegionsToParts(
25 std::vector<NumberFormatSpan>* regions);
Dbuiltins-intl.cc228 bool cmp_NumberFormatSpan(const NumberFormatSpan& a, in cmp_NumberFormatSpan()
229 const NumberFormatSpan& b) { in cmp_NumberFormatSpan()
259 std::vector<NumberFormatSpan> regions; in FormatNumberToParts()
264 regions.push_back(NumberFormatSpan(-1, 0, formatted.length())); in FormatNumberToParts()
269 regions.push_back(NumberFormatSpan(fp.getField(), fp.getBeginIndex(), in FormatNumberToParts()
274 std::vector<NumberFormatSpan> parts = FlattenRegionsToParts(&regions); in FormatNumberToParts()
278 NumberFormatSpan part = *it; in FormatNumberToParts()
356 std::vector<NumberFormatSpan> FlattenRegionsToParts( in FlattenRegionsToParts()
357 std::vector<NumberFormatSpan>* regions) { in FlattenRegionsToParts()
394 NumberFormatSpan top_region = regions->at(0); in FlattenRegionsToParts()
[all …]