Searched refs:NumberFormatSpan (Results 1 – 2 of 2) sorted by relevance
14 struct NumberFormatSpan { struct19 NumberFormatSpan() {} in NumberFormatSpan() argument20 NumberFormatSpan(int32_t field_id, int32_t begin_pos, int32_t end_pos) in NumberFormatSpan() function24 std::vector<NumberFormatSpan> FlattenRegionsToParts(25 std::vector<NumberFormatSpan>* regions);
228 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(®ions); 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 …]