Home
last modified time | relevance | path

Searched refs:MAX_TEXT_LEN (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dlink_test.cpp78 const std::string url(MAX_TEXT_LEN, 'a');
79 const std::string description(MAX_TEXT_LEN, 'a');
95 const std::string url(MAX_TEXT_LEN, 'a');
113 const std::string description(MAX_TEXT_LEN, 'a');
129 const std::string url(MAX_TEXT_LEN, 'a');
144 const std::string description(MAX_TEXT_LEN, 'a');
159 const std::string description(MAX_TEXT_LEN, 'a');
H A Dplain_text_test.cpp63 const std::string content(MAX_TEXT_LEN, 'a');
80 const std::string text(MAX_TEXT_LEN, 'a');
95 const std::string abstract(MAX_TEXT_LEN, 'a');
H A Dhtml_test.cpp63 const std::string htmlContent(MAX_TEXT_LEN, 'a');
64 const std::string plainContent(MAX_TEXT_LEN, 'a');
81 const std::string plainContent(MAX_TEXT_LEN, 'a');
98 const std::string plainContent(MAX_TEXT_LEN, 'a');
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dhtml.cpp27 if (plainContent.length() >= MAX_TEXT_LEN || htmlContent.length() >= MAX_TEXT_LEN) { in Html()
64 if (htmlContent.length() >= MAX_TEXT_LEN) { in SetHtmlContent()
80 if (plainContent.length() >= MAX_TEXT_LEN) { in SetPlainContent()
H A Dlink.cpp47 if (url.length() >= MAX_TEXT_LEN || description.length() >= MAX_TEXT_LEN) { in Link()
67 if (url.length() >= MAX_TEXT_LEN) { in SetUrl()
83 if (description.length() >= MAX_TEXT_LEN) { in SetDescription()
H A Dplain_text.cpp26 if (content.length() >= MAX_TEXT_LEN) { in PlainText()
63 if (text.length() >= MAX_TEXT_LEN) { in SetContent()
80 if (abstract.length() >= MAX_TEXT_LEN) { in SetAbstract()
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dtext.h23 constexpr int MAX_TEXT_LEN = 20 * 1024 * 1024; variable
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data_record.cpp35 constexpr int MAX_TEXT_LEN = 20 * 1024 * 1024; variable
137 if (htmlText.length() >= MAX_TEXT_LEN) { in NewHtmlRecord()
150 if (text.length() >= MAX_TEXT_LEN) { in NewPlaintTextRecord()
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_pastedata.cpp35 constexpr int32_t MAX_TEXT_LEN = 20 * 1024 * 1024; variable
522 } else if ((propName == "htmlText") && (propValue.size() <= MAX_TEXT_LEN)) { in SetStringProp()
524 } else if ((propName == "plainText") && (propValue.size() <= MAX_TEXT_LEN)) { in SetStringProp()