Lines Matching refs:PTP_RC_OK
893 if (ret != PTP_RC_OK) { in LIBMTP_Get_Allowed_Property_Values()
1094 if (ret != PTP_RC_OK) { in LIBMTP_Is_Property_Supported()
1280 if (ret == PTP_RC_OK) { in get_string_from_object()
1322 if (ret == PTP_RC_OK) { in get_u64_from_object()
1361 if (ret == PTP_RC_OK) { in get_u32_from_object()
1401 if (ret == PTP_RC_OK) { in get_u16_from_object()
1442 if (ret == PTP_RC_OK) { in get_u8_from_object()
1478 if (ret != PTP_RC_OK) { in set_object_string()
1515 if (ret != PTP_RC_OK) { in set_object_u32()
1550 if (ret != PTP_RC_OK) { in set_object_u16()
1585 if (ret != PTP_RC_OK) { in set_object_u8()
1745 ¤t_params->deviceinfo) != PTP_RC_OK) { in LIBMTP_Open_Raw_Device()
1765 &opd) != PTP_RC_OK) { in LIBMTP_Open_Raw_Device()
1816 &dpd) != PTP_RC_OK) { in LIBMTP_Open_Raw_Device()
2174 if (ret != PTP_RC_OK) { in get_all_metadata_fast()
2289 if (ret != PTP_RC_OK) { in get_handles_recursively()
2301 if (ret == PTP_RC_OK) { in get_handles_recursively()
2397 if (ret != PTP_RC_OK) { in obj2file()
2446 if (ret != PTP_RC_OK) { in get_files()
2459 if (ret != PTP_RC_OK) in get_files()
2594 if (ret != PTP_RC_OK) { in flush_handles()
2826 if (ret != PTP_RC_OK) { in get_storage_freespace()
2915 if (ret != PTP_RC_OK) { in LIBMTP_Dump_Device_Info()
2925 if (ret != PTP_RC_OK) { in LIBMTP_Dump_Device_Info()
3237 if (ret != PTP_RC_OK) { in LIBMTP_Reset_Device()
3344 if (ret != PTP_RC_OK) { in LIBMTP_Get_Friendlyname()
3377 if (ret != PTP_RC_OK) { in LIBMTP_Set_Friendlyname()
3407 if (ret != PTP_RC_OK) { in LIBMTP_Get_Syncpartner()
3445 if (ret != PTP_RC_OK) { in LIBMTP_Set_Syncpartner()
3517 if (ret != PTP_RC_OK) { in LIBMTP_Get_Batterylevel()
3549 if (ret != PTP_RC_OK) { in LIBMTP_Format_Storage()
3584 if (ret != PTP_RC_OK) { in get_device_unicode_property()
3729 if (ptp_getstorageids (params, &storageIDs) != PTP_RC_OK) in LIBMTP_Get_Storage()
3763 if (ret != PTP_RC_OK) { in LIBMTP_Get_Storage()
4004 if (ret != PTP_RC_OK) { in LIBMTP_Get_Filelisting_With_Callback()
4074 if (ret != PTP_RC_OK) in LIBMTP_Get_Filemetadata()
4122 if (ret != PTP_RC_OK) { in LIBMTP_Get_Filemetadata()
4338 if (ret != PTP_RC_OK) { in get_track_metadata()
4587 if (ret != PTP_RC_OK) in LIBMTP_Get_Trackmetadata()
4665 return PTP_RC_OK; in get_func_wrapper()
4689 return PTP_RC_OK; in put_func_wrapper()
4791 if (ret != PTP_RC_OK) {
4823 if (ret != PTP_RC_OK) {
4861 if (ret != PTP_RC_OK) {
4898 if (ret != PTP_RC_OK) {
5403 if (ret != PTP_RC_OK) {
5516 if (ret != PTP_RC_OK) {
5711 if (ret != PTP_RC_OK) {
5773 if (ret != PTP_RC_OK) {
5800 if (ret != PTP_RC_OK) {
5848 if (ret != PTP_RC_OK) {
5864 if (ret != PTP_RC_OK) {
6013 if (ret != PTP_RC_OK) {
6026 if (ret != PTP_RC_OK) {
6227 if (ret != PTP_RC_OK) {
6250 if (ret != PTP_RC_OK) {
6287 if (ret != PTP_RC_OK) {
6526 if (ret == PTP_RC_OK)
6803 if (ret != PTP_RC_OK) {
6931 if (ret != PTP_RC_OK) {
6976 if (ret != PTP_RC_OK)
7006 if (ret != PTP_RC_OK) {
7112 if (ret != PTP_RC_OK) {
7208 if (ret != PTP_RC_OK) {
7218 if (ret != PTP_RC_OK) {
7235 if (ret != PTP_RC_OK) {
7251 if (ret != PTP_RC_OK) {
7263 if (ret != PTP_RC_OK) {
7332 if (ret != PTP_RC_OK) {
7377 if (ret != PTP_RC_OK) {
7393 if (ret != PTP_RC_OK) {
7465 if (ret != PTP_RC_OK) {
7540 if (ret != PTP_RC_OK) {
7781 if (ret != PTP_RC_OK) {
7857 if (ret != PTP_RC_OK) {
7895 if (ret != PTP_RC_OK)
7913 if (ret != PTP_RC_OK) {
8066 if (ret != PTP_RC_OK) {
8188 if (ret != PTP_RC_OK) {
8195 if (ret != PTP_RC_OK) {
8222 if (ret != PTP_RC_OK) {
8282 if (ret != PTP_RC_OK) {
8289 if (ret != PTP_RC_OK) {
8310 if (ret != PTP_RC_OK) {
8380 if (ret != PTP_RC_OK) {