Home
last modified time | relevance | path

Searched refs:newFmt (Results 1 - 12 of 12) sorted by relevance

/foundation/arkui/napi/utils/
H A Dlog.cpp37 std::string newFmt(fmt); in PrintLog()
38 StripFormatString("{public}", newFmt); in PrintLog()
39 StripFormatString("{private}", newFmt); in PrintLog()
42 __android_log_vprint(LOG_LEVEL[static_cast<int>(level)], LOG_TAG, newFmt.c_str(), args); in PrintLog()
54 std::string newFmt(fmt); in PrintLog()
55 StripFormatString("{public}", newFmt); in PrintLog()
56 StripFormatString("{private}", newFmt); in PrintLog()
62 int ret = vsnprintf_s(buf, sizeof(buf), sizeof(buf) - 1, newFmt.c_str(), args); in PrintLog()
/foundation/communication/netstack/utils/log/include/
H A Dnetstack_log.h55 std::string newFmt(fmt); in NetStackPrintLog()
56 NetStackStripFormatString("{public}", newFmt); in NetStackPrintLog()
57 NetStackStripFormatString("{private}", newFmt); in NetStackPrintLog()
63 int ret = vsnprintf_s(buf, sizeof(buf), sizeof(buf) - 1, newFmt.c_str(), args); in NetStackPrintLog()
/foundation/communication/netmanager_ext/utils/log/include/
H A Dnetmanager_ext_log.h60 std::string newFmt(fmt); in NetManagerStandardPrintLog()
61 NetManagerStandardStripFormatString("{public}", newFmt); in NetManagerStandardPrintLog()
62 NetManagerStandardStripFormatString("{private}", newFmt); in NetManagerStandardPrintLog()
68 int ret = vsnprintf_s(buf, sizeof(buf), sizeof(buf) - 1, newFmt.c_str(), args); in NetManagerStandardPrintLog()
/foundation/communication/netmanager_base/utils/log/include/
H A Dnetmanager_base_log.h60 std::string newFmt(fmt); in NetManagerStandardPrintLog()
61 NetManagerStandardStripFormatString("{public}", newFmt); in NetManagerStandardPrintLog()
62 NetManagerStandardStripFormatString("{private}", newFmt); in NetManagerStandardPrintLog()
68 int ret = vsnprintf_s(buf, sizeof(buf), sizeof(buf) - 1, newFmt.c_str(), args); in NetManagerStandardPrintLog()
/third_party/icu/icu4c/source/i18n/
H A Dquantityformatter.cpp89 SimpleFormatter *newFmt = new SimpleFormatter(rawPattern, 0, 1, status); in addIfAbsent() local
90 if (newFmt == NULL) { in addIfAbsent()
95 delete newFmt; in addIfAbsent()
98 formatters[pluralIndex] = newFmt; in addIfAbsent()
/third_party/node/deps/icu-small/source/i18n/
H A Dquantityformatter.cpp89 SimpleFormatter *newFmt = new SimpleFormatter(rawPattern, 0, 1, status); in addIfAbsent() local
90 if (newFmt == nullptr) { in addIfAbsent()
95 delete newFmt; in addIfAbsent()
98 formatters[pluralIndex] = newFmt; in addIfAbsent()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dquantityformatter.cpp89 SimpleFormatter *newFmt = new SimpleFormatter(rawPattern, 0, 1, status); in addIfAbsent() local
90 if (newFmt == NULL) { in addIfAbsent()
95 delete newFmt; in addIfAbsent()
98 formatters[pluralIndex] = newFmt; in addIfAbsent()
/third_party/icu/icu4c/source/test/intltest/
H A Dnumrgts.cpp1253 DecimalFormat *newFmt = new DecimalFormat("#,#00.00 p''ieces;-#,#00.00 p''ieces", status); in Test4074454() local
1257 tempString = newFmt->format(3456.78, tempString, pos); in Test4074454()
1265 delete newFmt; in Test4074454()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberRegressionTests.java747 DecimalFormat newFmt = new DecimalFormat("#,#00.00 p''ieces;-#,#00.00 p''ieces"); in Test4074454()
748 String tempString = newFmt.format(3456.78); in Test4074454()
H A DTestMessageFormat.java957 Format newFmt = NumberFormat.getCurrencyInstance(ULocale.GERMAN); in TestSetGetFormats()
958 msg.setFormatByArgumentIndex(0, newFmt); in TestSetGetFormats()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberRegressionTests.java744 DecimalFormat newFmt = new DecimalFormat("#,#00.00 p''ieces;-#,#00.00 p''ieces"); in Test4074454()
745 String tempString = newFmt.format(3456.78); in Test4074454()
H A DTestMessageFormat.java954 Format newFmt = NumberFormat.getCurrencyInstance(ULocale.GERMAN); in TestSetGetFormats()
955 msg.setFormatByArgumentIndex(0, newFmt); in TestSetGetFormats()

Completed in 21 milliseconds