Lines Matching refs:IsPasteboardValid
33 static bool IsPasteboardValid(OH_Pasteboard* pasteboard) in IsPasteboardValid() function
103 if (!IsPasteboardValid(pasteboard)) { in OH_Pasteboard_Destroy()
122 if (!IsPasteboardValid(pasteboard) || observer == nullptr || type < NOTIFY_LOCAL_DATA_CHANGE in OH_Pasteboard_Subscribe()
145 if (!IsPasteboardValid(pasteboard) || observer == nullptr || type < NOTIFY_LOCAL_DATA_CHANGE in OH_Pasteboard_Unsubscribe()
162 if (!IsPasteboardValid(pasteboard)) { in OH_Pasteboard_IsRemoteData()
170 if (!IsPasteboardValid(pasteboard) || source == nullptr || len == 0) { in OH_Pasteboard_GetDataSource()
189 if (!IsPasteboardValid(pasteboard) || count == nullptr) { in OH_Pasteboard_GetMimeTypes()
210 if (!IsPasteboardValid(pasteboard) || type == nullptr) { in OH_Pasteboard_HasType()
218 if (!IsPasteboardValid(pasteboard)) { in OH_Pasteboard_HasData()
226 if (!IsPasteboardValid(pasteboard) || status == nullptr) { in OH_Pasteboard_GetData()
245 if (!IsPasteboardValid(pasteboard) || data == nullptr) { in OH_Pasteboard_SetData()
259 if (!IsPasteboardValid(pasteboard)) { in OH_Pasteboard_ClearData()