Searched refs:ULONG_CAST (Results 1 – 4 of 4) sorted by relevance
/external/libusb/libusb/os/ |
D | windows_common.c | 58 len = sprintf(err_string, "[%lu] ", ULONG_CAST(error_code)); in windows_error_str() 82 ULONG_CAST(error_code), ULONG_CAST(format_error)); in windows_error_str() 85 ULONG_CAST(error_code)); in windows_error_str() 286 usbi_dbg(NULL, "USBD_STATUS 0x%08lx translated to LIBUSB_TRANSFER_ERROR", ULONG_CAST(status)); in usbd_status_to_libusb_transfer_status() 301 usbi_dbg(TRANSFER_CTX(transfer), "transfer %p, length %lu", transfer, ULONG_CAST(size)); in windows_force_sync_completion() 492 USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer), ULONG_CAST(num_bytes)); in windows_iocp_thread() 805 USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer), ULONG_CAST(result), ULONG_CAST(bytes_transferred)); in windows_handle_transfer_completion() 835 ULONG_CAST(result), windows_error_str(result)); in windows_handle_transfer_completion()
|
D | events_windows.c | 174 …usbi_dbg(ctx, "WaitForMultipleObjects() for %lu HANDLEs with timeout in %dms", ULONG_CAST(num_hand… in usbi_wait_for_events() 176 usbi_dbg(ctx, "WaitForMultipleObjects() returned %lu", ULONG_CAST(result)); in usbi_wait_for_events()
|
D | windows_common.h | 45 #define ULONG_CAST(x) (x) macro 47 #define ULONG_CAST(x) ((unsigned long)(x)) macro
|
D | windows_winusb.c | 272 guid_to_string(guid, guid_string), ULONG_CAST(*_index), windows_error_str(0)); in get_interface_details() 288 guid_to_string(guid, guid_string), ULONG_CAST(dev_info_data->DevInst), windows_error_str(0)); in get_interface_details() 300 guid_to_string(guid, guid_string), ULONG_CAST(dev_info_data->DevInst), windows_error_str(0)); in get_interface_details() 311 guid_to_string(guid, guid_string), ULONG_CAST(dev_info_data->DevInst)); in get_interface_details() 319 guid_to_string(guid, guid_string), ULONG_CAST(dev_info_data->DevInst), windows_error_str(0)); in get_interface_details() 329 guid_to_string(guid, guid_string), ULONG_CAST(dev_info_data->DevInst)); in get_interface_details() 359 ULONG_CAST(_index), windows_error_str(0)); in get_interface_details_filter() 373 ULONG_CAST(_index), windows_error_str(0)); in get_interface_details_filter() 383 usbi_err(ctx, "could not allocate interface data for index %lu", ULONG_CAST(_index)); in get_interface_details_filter() 391 ULONG_CAST(_index), windows_error_str(0)); in get_interface_details_filter() [all …]
|