Home
last modified time | relevance | path

Searched refs:result_builder (Results 1 – 12 of 12) sorted by relevance

/third_party/icu/vendor/double-conversion/upstream/double-conversion/
Ddouble-to-string.cc56 StringBuilder* result_builder) const { in HandleSpecialValues()
61 result_builder->AddCharacter('-'); in HandleSpecialValues()
63 result_builder->AddString(infinity_symbol_); in HandleSpecialValues()
68 result_builder->AddString(nan_symbol_); in HandleSpecialValues()
79 StringBuilder* result_builder) const { in CreateExponentialRepresentation()
81 result_builder->AddCharacter(decimal_digits[0]); in CreateExponentialRepresentation()
83 result_builder->AddCharacter('.'); in CreateExponentialRepresentation()
84 result_builder->AddSubstring(&decimal_digits[1], length-1); in CreateExponentialRepresentation()
86 result_builder->AddCharacter(exponent_character_); in CreateExponentialRepresentation()
88 result_builder->AddCharacter('-'); in CreateExponentialRepresentation()
[all …]
Ddouble-to-string.h215 bool ToShortest(double value, StringBuilder* result_builder) const { in ToShortest() argument
216 return ToShortestIeeeNumber(value, result_builder, SHORTEST); in ToShortest()
220 bool ToShortestSingle(float value, StringBuilder* result_builder) const { in ToShortestSingle() argument
221 return ToShortestIeeeNumber(value, result_builder, SHORTEST_SINGLE); in ToShortestSingle()
262 StringBuilder* result_builder) const;
296 StringBuilder* result_builder) const;
337 StringBuilder* result_builder) const;
409 StringBuilder* result_builder,
416 bool HandleSpecialValues(double value, StringBuilder* result_builder) const;
422 StringBuilder* result_builder) const;
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion-double-to-string.cpp71 StringBuilder* result_builder) const {
76 result_builder->AddCharacter('-');
78 result_builder->AddString(infinity_symbol_);
83 result_builder->AddString(nan_symbol_);
94 StringBuilder* result_builder) const {
96 result_builder->AddCharacter(decimal_digits[0]);
98 result_builder->AddCharacter('.');
99 result_builder->AddSubstring(&decimal_digits[1], length-1);
101 result_builder->AddCharacter(exponent_character_);
103 result_builder->AddCharacter('-');
[all …]
Ddouble-conversion-double-to-string.h230 bool ToShortest(double value, StringBuilder* result_builder) const {
231 return ToShortestIeeeNumber(value, result_builder, SHORTEST);
235 bool ToShortestSingle(float value, StringBuilder* result_builder) const {
236 return ToShortestIeeeNumber(value, result_builder, SHORTEST_SINGLE);
277 StringBuilder* result_builder) const;
311 StringBuilder* result_builder) const;
352 StringBuilder* result_builder) const;
427 StringBuilder* result_builder,
434 bool HandleSpecialValues(double value, StringBuilder* result_builder) const;
440 StringBuilder* result_builder) const;
[all …]
/third_party/icu/icu4c/source/i18n/
Ddouble-conversion-double-to-string.cpp71 StringBuilder* result_builder) const {
76 result_builder->AddCharacter('-');
78 result_builder->AddString(infinity_symbol_);
83 result_builder->AddString(nan_symbol_);
94 StringBuilder* result_builder) const {
96 result_builder->AddCharacter(decimal_digits[0]);
98 result_builder->AddCharacter('.');
99 result_builder->AddSubstring(&decimal_digits[1], length-1);
101 result_builder->AddCharacter(exponent_character_);
103 result_builder->AddCharacter('-');
[all …]
Ddouble-conversion-double-to-string.h230 bool ToShortest(double value, StringBuilder* result_builder) const {
231 return ToShortestIeeeNumber(value, result_builder, SHORTEST);
235 bool ToShortestSingle(float value, StringBuilder* result_builder) const {
236 return ToShortestIeeeNumber(value, result_builder, SHORTEST_SINGLE);
277 StringBuilder* result_builder) const;
311 StringBuilder* result_builder) const;
352 StringBuilder* result_builder) const;
427 StringBuilder* result_builder,
434 bool HandleSpecialValues(double value, StringBuilder* result_builder) const;
440 StringBuilder* result_builder) const;
[all …]
/third_party/node/deps/icu-small/source/i18n/
Ddouble-conversion-double-to-string.cpp71 StringBuilder* result_builder) const {
76 result_builder->AddCharacter('-');
78 result_builder->AddString(infinity_symbol_);
83 result_builder->AddString(nan_symbol_);
94 StringBuilder* result_builder) const {
96 result_builder->AddCharacter(decimal_digits[0]);
98 result_builder->AddCharacter('.');
99 result_builder->AddSubstring(&decimal_digits[1], length-1);
101 result_builder->AddCharacter(exponent_character_);
103 result_builder->AddCharacter('-');
[all …]
Ddouble-conversion-double-to-string.h230 bool ToShortest(double value, StringBuilder* result_builder) const {
231 return ToShortestIeeeNumber(value, result_builder, SHORTEST);
235 bool ToShortestSingle(float value, StringBuilder* result_builder) const {
236 return ToShortestIeeeNumber(value, result_builder, SHORTEST_SINGLE);
277 StringBuilder* result_builder) const;
311 StringBuilder* result_builder) const;
352 StringBuilder* result_builder) const;
427 StringBuilder* result_builder,
434 bool HandleSpecialValues(double value, StringBuilder* result_builder) const;
440 StringBuilder* result_builder) const;
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion.cpp71 StringBuilder* result_builder) const {
76 result_builder->AddCharacter('-');
78 result_builder->AddString(infinity_symbol_);
83 result_builder->AddString(nan_symbol_);
94 StringBuilder* result_builder) const {
96 result_builder->AddCharacter(decimal_digits[0]);
98 result_builder->AddCharacter('.');
99 result_builder->AddSubstring(&decimal_digits[1], length-1);
101 result_builder->AddCharacter(exponent_character_);
103 result_builder->AddCharacter('-');
[all …]
Ddouble-conversion.h172 bool ToShortest(double value, StringBuilder* result_builder) const {
173 return ToShortestIeeeNumber(value, result_builder, SHORTEST);
177 bool ToShortestSingle(float value, StringBuilder* result_builder) const {
178 return ToShortestIeeeNumber(value, result_builder, SHORTEST_SINGLE);
217 StringBuilder* result_builder) const;
249 StringBuilder* result_builder) const;
287 StringBuilder* result_builder) const;
365 StringBuilder* result_builder,
372 bool HandleSpecialValues(double value, StringBuilder* result_builder) const;
378 StringBuilder* result_builder) const;
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-json.c105 ecma_stringbuilder_t result_builder = ecma_stringbuilder_create (); in ecma_builtin_json_parse_string() local
122 ecma_stringbuilder_append_raw (&result_builder, in ecma_builtin_json_parse_string()
141 ecma_stringbuilder_append_byte (&result_builder, c); in ecma_builtin_json_parse_string()
147 ecma_stringbuilder_append_byte (&result_builder, LIT_CHAR_BS); in ecma_builtin_json_parse_string()
153 ecma_stringbuilder_append_byte (&result_builder, LIT_CHAR_FF); in ecma_builtin_json_parse_string()
159 ecma_stringbuilder_append_byte (&result_builder, LIT_CHAR_LF); in ecma_builtin_json_parse_string()
165 ecma_stringbuilder_append_byte (&result_builder, LIT_CHAR_CR); in ecma_builtin_json_parse_string()
171 ecma_stringbuilder_append_byte (&result_builder, LIT_CHAR_TAB); in ecma_builtin_json_parse_string()
183 ecma_stringbuilder_append_char (&result_builder, (ecma_char_t) hex_value); in ecma_builtin_json_parse_string()
200 ecma_stringbuilder_append_raw (&result_builder, in ecma_builtin_json_parse_string()
[all …]
Decma-builtin-helpers.h212 ecma_stringbuilder_t result_builder; member