Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp.c60 #define CHECK_PTP_RC(RESULT) do { uint16_t r = (RESULT); if (r != PTP_RC_OK) return r; } while(0) macro
172 CHECK_PTP_RC(params->sendreq_func (params, ptp, flags)); in ptp_transaction_new()
179 CHECK_PTP_RC(params->cancelreq_func(params, params->transaction_id-1)); in ptp_transaction_new()
180 CHECK_PTP_RC(ret); in ptp_transaction_new()
187 CHECK_PTP_RC(params->cancelreq_func(params, params->transaction_id-1)); in ptp_transaction_new()
188 CHECK_PTP_RC(ret); in ptp_transaction_new()
206 CHECK_PTP_RC(ret); in ptp_transaction_new()
411 CHECK_PTP_RC(ptp_init_send_memory_handler (&handler, *data, sendlen)); in ptp_transaction()
419 CHECK_PTP_RC(ptp_init_recv_memory_handler (&handler)); in ptp_transaction()
471 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_getdeviceinfo()
[all …]