Home
last modified time | relevance | path

Searched refs:uDType (Results 1 - 4 of 4) sorted by relevance

/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/
H A Dpaste_data_entry.h76 static std::string Convert(UDType uDType);
78 static UDType Convert(int32_t uDType, const std::string &mimeType);
79 static std::string Convert2UtdId(int32_t uDType, const std::string &mimeType);
H A Dpasteboard_utils.h44 static std::string Convert(UDType uDType);
45 static UDType Convert(int32_t uDType, const std::string& mimeType);
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data_entry.cpp354 std::string CommonUtils::Convert(UDType uDType) in Convert() argument
356 switch (uDType) { in Convert()
374 return UDMF::UtdUtils::GetUtdIdFromUtdEnum(uDType); in Convert()
400 std::string CommonUtils::Convert2UtdId(int32_t uDType, const std::string &mimeType) in Convert2UtdId() argument
402 if (mimeType == MIMETYPE_TEXT_PLAIN && uDType == UDMF::HYPERLINK) { in Convert2UtdId()
423 UDMF::UDType CommonUtils::Convert(int32_t uDType, const std::string &mimeType) in Convert() argument
425 if (uDType != UDMF::UD_BUTT) { in Convert()
426 return static_cast<UDType>(uDType); in Convert()
H A Dpasteboard_utils.cpp164 std::string PasteboardUtils::Convert(UDType uDType) in Convert() argument
166 switch (uDType) { in Convert()
183 return UDMF::UtdUtils::GetUtdIdFromUtdEnum(uDType); in Convert()
187 UDType PasteboardUtils::Convert(int32_t uDType, const std::string &mimeType) in Convert() argument
189 if (uDType != UDMF::UD_BUTT) { in Convert()
190 return static_cast<UDType>(uDType); in Convert()

Completed in 4 milliseconds