Home
last modified time | relevance | path

Searched refs:splits (Results 1 – 4 of 4) sorted by relevance

/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DPluralFetcher.java111 String[] splits = trimedLine.split(" ", 2); // Split into 2 parts in getPluralItems() local
112 if (splits.length != 2) { in getPluralItems()
116 String languageTag = splits[0]; in getPluralItems()
123 String[] resources = splits[1].split(", "); in getPluralItems()
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_sender.cpp46 std::vector<struct SplitInfo> splits; in TextBasedSmsDelivery() local
47 message.SplitMessage(splits, text, CheckForce7BitEncodeType(), codingType, false); in TextBasedSmsDelivery()
48 if (splits.size() > MAX_SEGMENT_NUM) { in TextBasedSmsDelivery()
69 shared_ptr<uint8_t> unSentCellCount = make_shared<uint8_t>(splits.size()); in TextBasedSmsDelivery()
78 for (std::size_t i = 0; i < splits.size(); i++) { in TextBasedSmsDelivery()
82 …if (splits[i].encodeData.size() > sizeof(transMsg->data.p2pMsg.telesvcMsg.data.submit.userData.use… in TextBasedSmsDelivery()
88 splits[i].encodeData.data(), splits[i].encodeData.size()) != EOK) { in TextBasedSmsDelivery()
93 segmentText.append((char *)(splits[i].encodeData.data()), splits[i].encodeData.size()); in TextBasedSmsDelivery()
100 indexer->SetDcs(splits[i].encodeType); in TextBasedSmsDelivery()
101 SetPduSeqInfo(indexer, splits.size(), transMsg, i, msgRef8bit); in TextBasedSmsDelivery()
[all …]
/base/global/i18n/frameworks/intl/src/
Dpreferred_language.cpp254 std::vector<std::string> splits; in IsValidTag() local
255 Split(tag, "-", splits); in IsValidTag()
256 if (!IsValidLanguage(splits[0])) { in IsValidTag()
Dlocale_config.cpp469 vector<string> splits; in IsValidTag() local
470 Split(tag, "-", splits); in IsValidTag()
471 if (!IsValidLanguage(splits[0])) { in IsValidTag()