Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_common.c59 len = sprintf(err_string, "[%lu] ", ULONG_CAST(error_code)); in windows_error_str()
83 ULONG_CAST(error_code), ULONG_CAST(format_error)); in windows_error_str()
86 ULONG_CAST(error_code)); in windows_error_str()
287 usbi_dbg("USBD_STATUS 0x%08lx translated to LIBUSB_TRANSFER_ERROR", ULONG_CAST(status)); in usbd_status_to_libusb_transfer_status()
300 usbi_dbg("transfer %p, length %lu", USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer), ULONG_CAST(size)); in windows_force_sync_completion()
441 USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer), ULONG_CAST(num_bytes)); in windows_iocp_thread()
458 sprintf(mutex_name, "libusb_init%08lX", ULONG_CAST(GetCurrentProcessId() & 0xFFFFFFFFU)); in windows_init()
552 sprintf(mutex_name, "libusb_init%08lX", ULONG_CAST(GetCurrentProcessId() & 0xFFFFFFFFU)); in windows_exit()
776 USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer), ULONG_CAST(result), ULONG_CAST(bytes_transferred)); in windows_handle_transfer_completion()
806 ULONG_CAST(result), windows_error_str(result)); in windows_handle_transfer_completion()
Devents_windows.c174 …usbi_dbg("WaitForMultipleObjects() for %lu HANDLEs with timeout in %dms", ULONG_CAST(num_handles),… in usbi_wait_for_events()
176 usbi_dbg("WaitForMultipleObjects() returned %lu", ULONG_CAST(result)); in usbi_wait_for_events()
Dwindows_common.h45 #define ULONG_CAST(x) (x) macro
47 #define ULONG_CAST(x) ((unsigned long)(x)) macro
Dwindows_winusb.c249 guid_to_string(guid), ULONG_CAST(*_index), windows_error_str(0)); in get_interface_details()
265 guid_to_string(guid), ULONG_CAST(dev_info_data->DevInst), windows_error_str(0)); in get_interface_details()
277 guid_to_string(guid), ULONG_CAST(dev_info_data->DevInst), windows_error_str(0)); in get_interface_details()
288 guid_to_string(guid), ULONG_CAST(dev_info_data->DevInst)); in get_interface_details()
296 guid_to_string(guid), ULONG_CAST(dev_info_data->DevInst), windows_error_str(0)); in get_interface_details()
306 guid_to_string(guid), ULONG_CAST(dev_info_data->DevInst)); in get_interface_details()
336 ULONG_CAST(_index), windows_error_str(0)); in get_interface_details_filter()
350 ULONG_CAST(_index), windows_error_str(0)); in get_interface_details_filter()
360 usbi_err(ctx, "could not allocate interface data for index %lu", ULONG_CAST(_index)); in get_interface_details_filter()
368 ULONG_CAST(_index), windows_error_str(0)); in get_interface_details_filter()
[all …]