Home
last modified time | relevance | path

Searched refs:Format (Results 1 – 25 of 41) sorted by relevance

12

/base/global/i18n_lite/frameworks/i18n/src/
Dmeasure_format.cpp55 std::string MeasureFormat::Format(double num, std::string unit, I18nStatus &status, MeasureFormatTy… in Format() function in MeasureFormat
61 return measureFormatImpl->Format(num, unit, type, status); in Format()
64 std::string MeasureFormat::Format(int num, std::string unit, I18nStatus &status, MeasureFormatType … in Format() function in MeasureFormat
70 return measureFormatImpl->Format(num, unit, type, status); in Format()
Dnumber_format.cpp61 std::string NumberFormat::Format(double num, NumberFormatType type, int &status) in Format() function in NumberFormat
66 return impl->Format(num, type, status); in Format()
69 std::string NumberFormat::Format(int num, int &status) in Format() function in NumberFormat
74 return impl->Format(num, status); in Format()
Dmeasure_format_impl.cpp55 std::string MeasureFormatImpl::Format(double num, std::string &unit, MeasureFormatType type, I18nSt… in Format() function in MeasureFormatImpl
61 std::string MeasureFormatImpl::Format(int num, std::string &unit, MeasureFormatType type, I18nStatu… in Format() function in MeasureFormatImpl
165 …formattedNumber = numberFormat->Format(formattedInteger, NumberFormatType::DECIMAL, numberFormatSt… in ComputeFormattedNumber()
167 …formattedNumber = numberFormat->Format(formattedDouble, NumberFormatType::DECIMAL, numberFormatSta… in ComputeFormattedNumber()
Ddate_time_format.cpp94 void DateTimeFormat::Format(const time_t &cal, const string &zoneInfo, string &appendTo, I18nStatus… in Format() function in DateTimeFormat
103 impl->Format(cal, zoneInfo, appendTo, status); in Format()
Ddate_time_format_impl.cpp146 void DateTimeFormatImpl::Format(const time_t &cal, const string &zoneInfo, string &appendTo, in Format() function in DateTimeFormatImpl
154 Format(time, this->fPattern, appendTo, status); in Format()
157 void DateTimeFormatImpl::Format(const struct tm &time, const string &pattern, string &appendTo, in Format() function in DateTimeFormatImpl
409 return numberFormat ? numberFormat->Format(value, status) : to_string(value); in FormatNumber()
415 return numberFormat ? numberFormat->Format(0, status) : "0"; in GetZero()
458 Format(time, tempPattern, appendTo, status); in Get12HourTimeWithoutAmpm()
/base/global/i18n_lite/frameworks/i18n/test/unittest/lite/common/
Di18n_test.cpp227 formatter.Format(now, "-1:45", out, status);
245 formatter.Format(now, "-1:45", out, status);
263 formatter.Format(now, "-1:45", out, status);
282 formatter.Format(now, "-1:45", out, status);
301 formatter.Format(now, "-1:45", out, status);
320 formatter.Format(now, "-1:45", out, status);
374 std::string out = formatter.Format(intNum1, status);
375 std::string out2 = formatter.Format(intNum2, status);
376 std::string out3 = formatter.Format(intNum3, status);
418 std::string out = formatter.Format(doubleNum1, NumberFormatType::DECIMAL, status);
[all …]
/base/global/i18n_lite/interfaces/kits/i18n/include/
Dnumber_format.h94 std::string Format(double num, NumberFormatType type, int &status);
107 std::string Format(int num, int &status);
Dmeasure_format.h93 std::string Format(int num, std::string unit, I18nStatus &status,
110 std::string Format(double num, std::string unit, I18nStatus &status,
Ddate_time_format.h106 …void Format(const time_t &cal, const std::string &zoneInfo, std::string &appendTo, I18nStatus &sta…
/base/update/updater/services/flashd/
DReadme.md7 - [Format命令](#section220mcpsimp)
36 ### Format命令<a name="section220mcpsimp"></a>
/base/global/i18n/frameworks/intl/test/unittest/
Dintl_test.cpp96 string out = dateFormat->Format(milliseconds);
218 string out = dateFormat->Format(milliseconds);
255 string out = numFmt->Format(123456.789);
288 string out = numFmt->Format(123456.789);
316 string out = numFmt->Format(123456.789);
344 string out = numFmt->Format(123456.789);
381 string out = numFmt->Format(123456.789);
407 string out = numFmt->Format(123456.789);
431 string out = dateFormat->Format(milliseconds);
478 string out = numFmt->Format(123456.789);
[all …]
/base/global/i18n_lite/frameworks/i18n/include/
Dnumber_format_impl.h31 std::string Format(double num, NumberFormatType type, int &status) const;
32 std::string Format(int num, int &status) const;
Dmeasure_format_impl.h33 std::string Format(double num, std::string &unit, MeasureFormatType type, I18nStatus &status);
34 std::string Format(int num, std::string &unit, MeasureFormatType type, I18nStatus &status);
Ddate_time_format_impl.h59 …void Format(const time_t &cal, const std::string &zoneInfo, std::string &apependTo, I18nStatus &st…
79 …void Format(const struct tm &time, const std::string &pattern, std::string &appendTo, I18nStatus &…
/base/hiviewdfx/faultloggerd/tools/process_dump/
Dcppcrash_reporter.cpp47 bool CppCrashReporter::Format() in Format() function in OHOS::HiviewDFX::CppCrashReporter
79 if (!Format()) { in ReportToHiview()
Dcppcrash_reporter.h62 bool Format();
/base/global/i18n/frameworks/intl/test/fuzztest/relativetimeformat_fuzzer/
Drelativetimeformat_fuzzer.cpp35 formatter.Format(number, input); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/frameworks/intl/test/fuzztest/numberformat_fuzzer/
Dnumberformat_fuzzer.cpp34 formatter.Format(number); in DoSomethingInterestingWithMyAPI()
/base/web/webview/ohos_adapter/media_adapter/include/
Dplayer_framework_adapter_impl.h29 … void OnInfo(Media::PlayerOnInfoType type, int32_t extra, const Media::Format& infoBody) override;
/base/global/i18n/frameworks/intl/include/
Drelative_time_format.h52 std::string Format(double number, const std::string &unit);
Dnumber_format.h48 std::string Format(double number);
Ddate_time_format.h40 std::string Format(int64_t milliseconds);
/base/global/i18n/
DREADME.md39 console.log(fmt.format(date)); // Format the date and time by using the DateTimeFormat instance.
/base/global/i18n/frameworks/intl/src/
Dphone_number_format.cpp101 util->Format(phoneNumber, phoneNumberFormat, &formatted_number); in format()
/base/telephony/call_manager/utils/src/
Dcall_number_utils.cpp82 phoneUtils->Format(parseResult, formatInfo, &formatNumber); in FormatNumberBase()

12