/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_number_format_test.cpp | 48 string style = "currency"; in HWTEST_F() local 51 { "style", style }, in HWTEST_F() 61 EXPECT_EQ(numFmt->GetStyle(), style); in HWTEST_F() 78 string style = "currency"; in HWTEST_F() local 81 { "style", style }, in HWTEST_F() 91 EXPECT_EQ(numFmt->GetStyle(), style); in HWTEST_F() 108 string style = "currency"; in HWTEST_F() local 111 { "style", styl in HWTEST_F() 138 string style = "currency"; HWTEST_F() local 168 string style = "currency"; HWTEST_F() local 198 string style = "currency"; HWTEST_F() local [all...] |
/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | number_data.cpp | 100 CalculateIntLength(len - style.decLen, pattern, len, isDec);
in ParsePattern() 102 style.isTwoGroup = true;
in ParsePattern() 124 style.decLen = decLen;
in CalculateDecLength() 143 style.intLen = intLen;
in CalculateIntLength() 221 I18nFree(static_cast<void *>(style.entireFormat));
in ParseOtherPerPattern() 223 style.entireFormat = I18nNewCharString(type.data(), typeLen);
in ParseOtherPerPattern() 228 style.minDecimalLength = length;
in SetMinDecimalLength() 279 style.maxDecimalLength = length;
in SetMaxDecimalLength() 338 // reset the style's number pattern which is used to format a decimal number
in UpdateNumberFormat() 350 I18nFree(static_cast<void *>(style in UpdateNumberFormat() [all...] |
H A D | number_format_impl.cpp | 23 std::string NumberFormatImpl::ConvertSignAndNum(const char *content, int len, NumberData *data, StyleData &style) const
in ConvertSignAndNum() 131 bool isPercentDefault = isPercent && (defaultData->style.minDecimalLength < 0);
in InnerFormat() 134 static_cast<int>(sprintf_s(buff, NUMBER_MAX, defaultData->style.numFormat, adjustNum));
in InnerFormat() 142 int lastLen = isShowGroup ? (len + CountGroupNum(len - decLen, defaultData->style.isTwoGroup)) : len;
in InnerFormat() 152 int lengths[] = { lastLen, len, defaultData->style.isTwoGroup };
in InnerFormat() 162 lastLen = DelMoreZero(defaultData->style, decLen, lastLen, adjustHasDec, result);
in InnerFormat() 164 if (isPercent && !DealWithPercent(buff, result, status, defaultData->style, lastLen)) {
in InnerFormat() 169 std::string outStr = ConvertSignAndNum(result, lastLen, defaultData, defaultData->style);
in InnerFormat() 177 bool NumberFormatImpl::DealWithPercent(char *buff, char *&result, int &status, StyleData &style, int &lastLen) const
in DealWithPercent() argument 179 if (style in DealWithPercent() 209 DelMoreZero(const StyleData &style, int decLen, int lastLen, bool hasDec, char *&result) const DelMoreZero() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | jz4740.c | 62 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 63 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 64 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 64, }, 167 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 168 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 169 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, 170 { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, 171 { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, 172 { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, 173 { .hw_ep_num = 4, .style [all...] |
H A D | musb_core.c | 398 * Old style IO functions 444 * New style IO functions 1278 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 1279 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 1280 { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, }, 1281 { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, 1282 { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, }, 1287 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, 1288 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, 1289 { .hw_ep_num = 2, .style [all...] |
H A D | mediatek.c | 419 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 420 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 421 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, 422 { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, 423 { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, 424 { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, 425 { .hw_ep_num = 4, .style = FIFO_TX, .maxpacket = 512, }, 426 { .hw_ep_num = 4, .style = FIFO_RX, .maxpacket = 512, }, 427 { .hw_ep_num = 5, .style = FIFO_TX, .maxpacket = 512, }, 428 { .hw_ep_num = 5, .style [all...] |
/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | jz4740.c | 63 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 64 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 65 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 64, }, 209 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 210 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 211 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, 212 { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, 213 { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, 214 { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, 215 { .hw_ep_num = 4, .style [all...] |
H A D | musb_core.c | 398 * Old style IO functions 444 * New style IO functions 1274 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 1275 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 1276 { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, }, 1277 { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, 1278 { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, }, 1283 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, 1284 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, 1285 { .hw_ep_num = 2, .style [all...] |
H A D | mediatek.c | 369 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 370 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 371 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, 372 { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, 373 { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, 374 { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, 375 { .hw_ep_num = 4, .style = FIFO_TX, .maxpacket = 512, }, 376 { .hw_ep_num = 4, .style = FIFO_RX, .maxpacket = 512, }, 377 { .hw_ep_num = 5, .style = FIFO_TX, .maxpacket = 512, }, 378 { .hw_ep_num = 5, .style [all...] |
H A D | mpfs.c | 33 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 34 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 35 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, 36 { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, 37 { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, 38 { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, 39 { .hw_ep_num = 4, .style = FIFO_TX, .maxpacket = 1024, }, 40 { .hw_ep_num = 4, .style = FIFO_RX, .maxpacket = 4096, },
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_slot_test.cpp | 94 std::vector<int64_t> style; in HWTEST_F() local 95 style.push_back(0); in HWTEST_F() 96 slot.SetVibrationStyle(style); in HWTEST_F() 140 std::vector<int64_t> style; in HWTEST_F() local 141 style.push_back(0); in HWTEST_F() 142 slot.SetVibrationStyle(style); in HWTEST_F() 186 std::vector<int64_t> style; in HWTEST_F() local 187 style.push_back(0); in HWTEST_F() 188 slot.SetVibrationStyle(style); in HWTEST_F() 231 std::vector<int64_t> style; in HWTEST_F() local 278 std::vector<int64_t> style; HWTEST_F() local 394 std::vector<int64_t> style; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/ |
H A D | publishcontinuoustasknotification_fuzzer.cpp | 32 int32_t style = static_cast<int32_t>(GetU32Data(data));
in DoSomethingInterestingWithMyAPI() local 34 Notification::NotificationRequest::BadgeStyle(style);
in DoSomethingInterestingWithMyAPI() 36 request.SetBadgeNumber(style);
in DoSomethingInterestingWithMyAPI() 53 request.SetDeliveryTime(style);
in DoSomethingInterestingWithMyAPI() 71 request.SetNotificationId(style);
in DoSomethingInterestingWithMyAPI() 85 Notification::NotificationHelper::CancelContinuousTaskNotification(stringData, style);
in DoSomethingInterestingWithMyAPI() 90 return Notification::NotificationHelper::IsAllowedNotify(style, support);
in DoSomethingInterestingWithMyAPI()
|
/applications/standard/notes/common/resources/src/main/resources/rawfile/ |
H A D | rich_editor.js | 23 RICH_EDITOR.editor.style.paddingLeft = paddingLeft + 'px'; 85 return child.style['list-style']; 90 return child.style['list-style']; 123 child.style['list-style'] = 'decimal'; 156 child.style['list-style'] = 'lower-alpha'; 189 child.style['lis [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | nv40.c | 56 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_sensor_setup() local 59 if (style == NEW_STYLE) { in nv40_sensor_setup() 64 } else if (style == OLD_STYLE) { in nv40_sensor_setup() 77 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_temp_get() local 80 if (style == NEW_STYLE) { in nv40_temp_get() 83 } else if (style == OLD_STYLE) { in nv40_temp_get()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | nv40.c | 56 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_sensor_setup() local 59 if (style == NEW_STYLE) { in nv40_sensor_setup() 64 } else if (style == OLD_STYLE) { in nv40_sensor_setup() 77 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_temp_get() local 80 if (style == NEW_STYLE) { in nv40_temp_get() 83 } else if (style == OLD_STYLE) { in nv40_temp_get()
|
/base/msdp/device_status/frameworks/native/interaction/src/ |
H A D | drag_manager_impl.cpp | 30 int32_t DragManagerImpl::UpdateDragStyle(DragCursorStyle style) in UpdateDragStyle() argument 33 if ((style < DragCursorStyle::DEFAULT) || (style > DragCursorStyle::MOVE)) { in UpdateDragStyle() 34 FI_HILOGE("Invalid style:%{public}d", static_cast<int32_t>(style)); in UpdateDragStyle() 37 FI_HILOGD("Ready to modify the style(%{public}d)", static_cast<int32_t>(style)); in UpdateDragStyle() 38 return DeviceStatusClient::GetInstance().UpdateDragStyle(style); in UpdateDragStyle() 131 int32_t style = 0; in OnDragStyleChangedMessage() local 132 pkt >> style; in OnDragStyleChangedMessage() local [all...] |
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/ |
H A D | publishnotification_fuzzer.cpp | 32 int32_t style = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local 34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI() 36 request.SetBadgeNumber(style); in DoSomethingInterestingWithMyAPI() 53 request.SetDeliveryTime(style); in DoSomethingInterestingWithMyAPI() 71 request.SetNotificationId(style); in DoSomethingInterestingWithMyAPI()
|
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/richtext/prop/ |
H A D | index.js | 22 padding: 30px; margin-bottom: 30px;" style="background-color: #FFFFFF">
23 <style>h1{color: yellow;}</style>
|
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/richtext/prop/ |
H A D | index.js | 22 padding: 30px; margin-bottom: 30px;" style="background-color: #FFFFFF">
23 <style>h1{color: yellow;}</style>
|
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/richtext/prop/ |
H A D | index.js | 22 padding: 30px; margin-bottom: 30px;" style="background-color: #FFFFFF">
23 <style>h1{color: yellow;}</style>
|
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/richtext/prop/ |
H A D | index.js | 22 padding: 30px; margin-bottom: 30px;" style="background-color: #FFFFFF">
23 <style>h1{color: yellow;}</style>
|
/base/msdp/device_status/interfaces/innerkits/interaction/include/ |
H A D | drag_data.h | 147 bool operator == (const DragItemStyle &style) const in operator ==() 149 return foregroundColor == style.foregroundColor && in operator ==() 150 radius == style.radius && alpha == style.alpha; in operator ==() 153 bool operator!=(const DragItemStyle &style) const in operator !=() 155 return !(*this == style); in operator !=()
|
/base/global/i18n_lite/frameworks/i18n/include/ |
H A D | number_format_impl.h | 44 int DelMoreZero(const StyleData &style, int decLen, int lastLen, bool hasDec, char *&result) const;
46 std::string ConvertSignAndNum(const char *content, int len, NumberData *data, StyleData &style) const;
52 bool DealWithPercent(char *buff, char *&result, int &status, StyleData &style, int &lastLen) const;
|
/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_manager.cpp | 456 int32_t DragManager::UpdateDragStyle(DragCursorStyle style, int32_t targetPid, int32_t targetTid, int32_t eventId) in UpdateDragStyle() argument 458 int32_t DragManager::UpdateDragStyle(DragCursorStyle style) in UpdateDragStyle() 463 GetDragStyleName(style).c_str(), eventId); in UpdateDragStyle() 473 if (style == DRAG_DATA_MGR.GetDragStyle()) { in UpdateDragStyle() 474 FI_HILOGD("Not need update drag style"); in UpdateDragStyle() 477 stateNotify_.StyleChangedNotify(GetRealDragStyle(style)); in UpdateDragStyle() 482 DRAG_DATA_MGR.SetDragStyle(style); in UpdateDragStyle() 484 FI_HILOGE("No drag instance running, can not update drag style"); in UpdateDragStyle() 487 if ((style < DragCursorStyle::DEFAULT) || (style > DragCursorStyl in UpdateDragStyle() 772 DragCursorStyle style = DRAG_DATA_MGR.GetDragStyle(); Dump() local 849 std::string style = "unknown"; GetDragCursorStyle() local 1424 HandleCtrlKeyEvent(DragCursorStyle style, DragAction action) HandleCtrlKeyEvent() argument 1442 OnUpdateDragStyle(DragCursorStyle style) OnUpdateDragStyle() argument 1472 GetDragStyleName(DragCursorStyle style) GetDragStyleName() argument 1493 GetRealDragStyle(DragCursorStyle style) GetRealDragStyle() argument 1528 CtrlKeyStyleChangedNotify(DragCursorStyle style, DragAction action) CtrlKeyStyleChangedNotify() argument [all...] |
/kernel/linux/linux-6.6/tools/include/tools/ |
H A D | dis-asm-compat.h | 19 enum disassembler_style style, in fprintf_styled() 25 (void)style; in fprintf_styled() 18 fprintf_styled(void *out, enum disassembler_style style, const char *fmt, ...) fprintf_styled() argument
|