/USBX-v6.2.1/common/core/src/ |
D | ux_utility_string_length_get.c | 79 ULONG length = 0; in _ux_utility_string_length_get() local 82 length = 0; in _ux_utility_string_length_get() 83 while (string[length]) in _ux_utility_string_length_get() 87 length++; in _ux_utility_string_length_get() 91 return(length); in _ux_utility_string_length_get()
|
D | ux_device_stack_descriptor_send.c | 112 ULONG length; in _ux_device_stack_descriptor_send() local 146 length = host_length; in _ux_device_stack_descriptor_send() 156 length = UX_DEVICE_DESCRIPTOR_LENGTH; in _ux_device_stack_descriptor_send() 164 length = UX_DEVICE_QUALIFIER_DESCRIPTOR_LENGTH; in _ux_device_stack_descriptor_send() 172 length = UX_OTG_DESCRIPTOR_LENGTH; in _ux_device_stack_descriptor_send() 192 … device_framework, length); /* Use case of memcpy is verified. */ in _ux_device_stack_descriptor_send() 195 status = _ux_device_stack_transfer_request(transfer_request, length, host_length); in _ux_device_stack_descriptor_send() 316 length = target_descriptor_length; in _ux_device_stack_descriptor_send() 318 length = host_length; in _ux_device_stack_descriptor_send() 321 if (length > UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH) in _ux_device_stack_descriptor_send() [all …]
|
D | ux_device_class_dpump_thread.c | 99 ULONG length; in _ux_device_class_dpump_thread() local 152 length = transfer_request -> ux_slave_transfer_request_actual_length; in _ux_device_class_dpump_thread() 157 length); /* Use case of memcpy is verified. */ in _ux_device_class_dpump_thread() 163 status = _ux_device_stack_transfer_request(transfer_request, length, length); in _ux_device_class_dpump_thread()
|
D | ux_utility_memory_set.c | 72 VOID _ux_utility_memory_set(VOID *destination, UCHAR value, ULONG length) in _ux_utility_memory_set() argument 82 while(length--) in _ux_utility_memory_set()
|
D | ux_utility_memory_copy.c | 73 VOID _ux_utility_memory_copy(VOID *memory_destination, VOID *memory_source, ULONG length) in _ux_utility_memory_copy() argument 84 while(length--) in _ux_utility_memory_copy()
|
D | ux_utility_memory_compare.c | 73 UINT _ux_utility_memory_compare(VOID *memory_source, VOID *memory_destination, ULONG length) in _ux_utility_memory_compare() argument 85 while(length--) in _ux_utility_memory_compare()
|
/USBX-v6.2.1/common/usbx_pictbridge/src/ |
D | ux_pictbridge_xml_function_root_dps.c | 77 UINT length = 0; in _ux_pictbridge_xml_function_root_dps() local 88 …status = _ux_utility_string_length_check(_ux_pictbridge_xml_variable_xmlns, &length, UX_PICTBRIDGE… in _ux_pictbridge_xml_function_root_dps() 93 if (length == input_length) in _ux_pictbridge_xml_function_root_dps() 97 …if (_ux_utility_memory_compare(_ux_pictbridge_xml_variable_xmlns,input_variable, length) == UX_SUC… in _ux_pictbridge_xml_function_root_dps() 106 …status = _ux_utility_string_length_check(_ux_pictbridge_xml_string_xmlns, &length, UX_PICTBRIDGE_M… in _ux_pictbridge_xml_function_root_dps() 111 if (length == input_length) in _ux_pictbridge_xml_function_root_dps() 115 …if (_ux_utility_memory_compare(_ux_pictbridge_xml_string_xmlns,input_string, length) == UX_SUCCESS) in _ux_pictbridge_xml_function_root_dps()
|
D | ux_pictbridge_xml_function_input_startjob_printinfo_date.c | 82 UINT length = 0; in _ux_pictbridge_xml_function_input_startjob_printinfo_date() local 88 status = _ux_utility_string_length_check(xml_parameter, &length, UX_PICTBRIDGE_MAX_STRING_SIZE); in _ux_pictbridge_xml_function_input_startjob_printinfo_date() 93 if (length == 0) in _ux_pictbridge_xml_function_input_startjob_printinfo_date() 100 xml_parameter, length); /* Use case of memcpy is verified. */ in _ux_pictbridge_xml_function_input_startjob_printinfo_date()
|
D | ux_pictbridge_xml_function_input_startjob_printinfo_filename.c | 82 UINT length = 0; in _ux_pictbridge_xml_function_input_startjob_printinfo_filename() local 88 status = _ux_utility_string_length_check(xml_parameter, &length, UX_PICTBRIDGE_MAX_STRING_SIZE); in _ux_pictbridge_xml_function_input_startjob_printinfo_filename() 93 if (length == 0) in _ux_pictbridge_xml_function_input_startjob_printinfo_filename() 100 xml_parameter, length); /* Use case of memcpy is verified. */ in _ux_pictbridge_xml_function_input_startjob_printinfo_filename()
|
D | ux_pictbridge_xml_function_input_startjob_printinfo_filepath.c | 82 UINT length = 0; in _ux_pictbridge_xml_function_input_startjob_printinfo_filepath() local 88 status = _ux_utility_string_length_check(xml_parameter, &length, UX_PICTBRIDGE_MAX_STRING_SIZE); in _ux_pictbridge_xml_function_input_startjob_printinfo_filepath() 93 if (length == 0) in _ux_pictbridge_xml_function_input_startjob_printinfo_filepath() 100 xml_parameter, length); /* Use case of memcpy is verified. */ in _ux_pictbridge_xml_function_input_startjob_printinfo_filepath()
|
D | ux_pictbridge_xml_function_root_xml.c | 77 UINT length = 0; in _ux_pictbridge_xml_function_root_xml() local 89 …status = _ux_utility_string_length_check(_ux_pictbridge_xml_variable_version, &length, UX_PICTBRID… in _ux_pictbridge_xml_function_root_xml() 94 if (length == input_length) in _ux_pictbridge_xml_function_root_xml() 98 …if (_ux_utility_memory_compare(_ux_pictbridge_xml_variable_version,input_variable, length) == UX_S… in _ux_pictbridge_xml_function_root_xml()
|
D | ux_pictbridge_dpsclient_object_info_send.c | 87 UINT length, length1; in _ux_pictbridge_dpsclient_object_info_send() local 123 length = UX_PICTBRIDGE_MAX_FILE_NAME_SIZE + 1; in _ux_pictbridge_dpsclient_object_info_send() 124 …_ux_utility_string_length_check(_ux_pictbridge_hdiscovery_name, &length, UX_PICTBRIDGE_MAX_FILE_NA… in _ux_pictbridge_dpsclient_object_info_send() 125 if ((length + 1) == length1) in _ux_pictbridge_dpsclient_object_info_send() 134 length) == UX_SUCCESS) in _ux_pictbridge_dpsclient_object_info_send()
|
D | ux_pictbridge_xml_function_input_getcapability_capability_layouts.c | 80 UINT length = 0; in _ux_pictbridge_xml_function_input_getcapability_capability_layouts() local 103 …status = _ux_utility_string_length_check(_ux_pictbridge_xml_variable_papersize, &length, UX_PICTBR… in _ux_pictbridge_xml_function_input_getcapability_capability_layouts() 108 if (length == input_length) in _ux_pictbridge_xml_function_input_getcapability_capability_layouts() 112 …if (_ux_utility_memory_compare(_ux_pictbridge_xml_variable_papersize,input_variable, length) == UX… in _ux_pictbridge_xml_function_input_getcapability_capability_layouts()
|
D | ux_pictbridge_xml_function_input_getcapability_capability_papertypes.c | 80 UINT length = 0; in _ux_pictbridge_xml_function_input_getcapability_capability_papertypes() local 103 …status = _ux_utility_string_length_check(_ux_pictbridge_xml_variable_papersize, &length, UX_PICTBR… in _ux_pictbridge_xml_function_input_getcapability_capability_papertypes() 108 if (length == input_length) in _ux_pictbridge_xml_function_input_getcapability_capability_papertypes() 112 …if (_ux_utility_memory_compare(_ux_pictbridge_xml_variable_papersize,input_variable, length) == UX… in _ux_pictbridge_xml_function_input_getcapability_capability_papertypes()
|
D | ux_pictbridge_xml_function_input_startjob_printinfo_croppingarea.c | 81 UINT length = 0; in _ux_pictbridge_xml_function_input_startjob_printinfo_croppingarea() local 95 status = _ux_utility_string_length_check(xml_parameter, &length, UX_PICTBRIDGE_MAX_TAG_SIZE); in _ux_pictbridge_xml_function_input_startjob_printinfo_croppingarea() 100 if (length == 0) in _ux_pictbridge_xml_function_input_startjob_printinfo_croppingarea() 119 while(length != 0) in _ux_pictbridge_xml_function_input_startjob_printinfo_croppingarea() 200 length--; in _ux_pictbridge_xml_function_input_startjob_printinfo_croppingarea()
|
/USBX-v6.2.1/common/usbx_device_classes/src/ |
D | ux_device_class_ccid_response.c | 72 UINT _ux_device_class_ccid_response(UX_DEVICE_CLASS_CCID *ccid, UCHAR *buffer, ULONG length) in _ux_device_class_ccid_response() argument 89 if (length > 0 && buffer != UX_NULL && in _ux_device_class_ccid_response() 93 buffer, length); /* Use case of memcpy is verified. */ in _ux_device_class_ccid_response() 100 transfer -> ux_slave_transfer_request_requested_length = length; in _ux_device_class_ccid_response() 107 status = _ux_device_stack_transfer_request(transfer, length, length); in _ux_device_class_ccid_response()
|
D | ux_device_class_hid_descriptor_send.c | 94 ULONG length; in _ux_device_class_hid_descriptor_send() local 153 length = descriptor_length; in _ux_device_class_hid_descriptor_send() 155 length = host_length; in _ux_device_class_hid_descriptor_send() 158 if (length > UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH) in _ux_device_class_hid_descriptor_send() 174 … device_framework, length); /* Use case of memcpy is verified. */ in _ux_device_class_hid_descriptor_send() 177 status = _ux_device_stack_transfer_request(transfer_request, length, host_length); in _ux_device_class_hid_descriptor_send() 200 length = descriptor_length; in _ux_device_class_hid_descriptor_send() 202 length = host_length; in _ux_device_class_hid_descriptor_send() 205 if (length > UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH) in _ux_device_class_hid_descriptor_send() 221 … hid -> ux_device_class_hid_report_address, length); /* Use case of memcpy is verified. */ in _ux_device_class_hid_descriptor_send() [all …]
|
D | ux_device_class_audio_frame_write.c | 82 …ux_device_class_audio_frame_write(UX_DEVICE_CLASS_AUDIO_STREAM *stream, UCHAR *frame, ULONG length) in _ux_device_class_audio_frame_write() argument 113 if ((frame_buffer_size - 8) < length) in _ux_device_class_audio_frame_write() 128 …lass_audio_stream_access_pos -> ux_device_class_audio_frame_data, frame, length); /* Use case of m… in _ux_device_class_audio_frame_write() 129 … stream -> ux_device_class_audio_stream_access_pos -> ux_device_class_audio_frame_length = length; in _ux_device_class_audio_frame_write() 178 …xe_device_class_audio_frame_write(UX_DEVICE_CLASS_AUDIO_STREAM *stream, UCHAR *frame, ULONG length) in _uxe_device_class_audio_frame_write() argument 182 if (stream == UX_NULL || frame == UX_NULL || length == 0) in _uxe_device_class_audio_frame_write() 186 return(_ux_device_class_audio_frame_write(stream, frame, length)); in _uxe_device_class_audio_frame_write()
|
D | ux_device_class_printer_control_request.c | 88 ULONG length; in _ux_device_class_printer_control_request() local 139 length = _ux_system_slave->ux_system_slave_device_framework_length; in _ux_device_class_printer_control_request() 142 while(length) in _ux_device_class_printer_control_request() 183 descriptor_length > length) in _ux_device_class_printer_control_request() 193 length -= descriptor_length; in _ux_device_class_printer_control_request() 201 length = _ux_utility_short_get_big_endian(printer -> in _ux_device_class_printer_control_request() 205 if (length) in _ux_device_class_printer_control_request() 209 if (length > UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH) in _ux_device_class_printer_control_request() 220 length); /* Use case of memcpy is verified. */ in _ux_device_class_printer_control_request() 227 _ux_device_stack_transfer_request(transfer_request, length, request_length); in _ux_device_class_printer_control_request()
|
D | ux_device_class_audio_write_frame_commit.c | 79 UINT _ux_device_class_audio_write_frame_commit(UX_DEVICE_CLASS_AUDIO_STREAM *stream, ULONG length) in _ux_device_class_audio_write_frame_commit() argument 116 if ((stream -> ux_device_class_audio_stream_frame_buffer_size - 8) < length) in _ux_device_class_audio_write_frame_commit() 126 … stream -> ux_device_class_audio_stream_access_pos -> ux_device_class_audio_frame_length = length; in _ux_device_class_audio_write_frame_commit() 177 UINT _uxe_device_class_audio_write_frame_commit(UX_DEVICE_CLASS_AUDIO_STREAM *stream, ULONG length) in _uxe_device_class_audio_write_frame_commit() argument 181 if (stream == UX_NULL || length < 1) in _uxe_device_class_audio_write_frame_commit() 184 return(_ux_device_class_audio_write_frame_commit(stream, length)); in _uxe_device_class_audio_write_frame_commit()
|
D | ux_device_class_audio_write_frame_get.c | 77 …ice_class_audio_write_frame_get(UX_DEVICE_CLASS_AUDIO_STREAM *stream, UCHAR **frame, ULONG *length) in _ux_device_class_audio_write_frame_get() argument 113 *length = stream -> ux_device_class_audio_stream_frame_buffer_size - 8; in _ux_device_class_audio_write_frame_get() 162 …ice_class_audio_write_frame_get(UX_DEVICE_CLASS_AUDIO_STREAM *stream, UCHAR **frame, ULONG *length) in _uxe_device_class_audio_write_frame_get() argument 166 if (stream == UX_NULL || frame == UX_NULL || length == UX_NULL) in _uxe_device_class_audio_write_frame_get() 170 return(_ux_device_class_audio_write_frame_get(stream, frame, length)); in _uxe_device_class_audio_write_frame_get()
|
D | ux_device_class_ccid_notify_task_run.c | 84 ULONG length; in _ux_device_class_ccid_notify_task_run() local 138 length = 0; in _ux_device_class_ccid_notify_task_run() 156 length = 4; in _ux_device_class_ccid_notify_task_run() 181 length = 2; in _ux_device_class_ccid_notify_task_run() 198 transfer -> ux_slave_transfer_request_requested_length = length; in _ux_device_class_ccid_notify_task_run() 203 length = transfer -> ux_slave_transfer_request_requested_length; in _ux_device_class_ccid_notify_task_run() 204 status = _ux_device_stack_transfer_run(transfer, length, length); in _ux_device_class_ccid_notify_task_run()
|
D | ux_device_class_pima_control_request.c | 92 ULONG length; in _ux_device_class_pima_control_request() local 164 length = 4; in _ux_device_class_pima_control_request() 171 _ux_utility_short_put(request_data, (USHORT)length); in _ux_device_class_pima_control_request() 172 length = UX_MIN(request_length, length); in _ux_device_class_pima_control_request() 178 _ux_device_stack_transfer_request(transfer_request, length, request_length); in _ux_device_class_pima_control_request()
|
D | ux_device_class_ccid_notify_thread_entry.c | 86 ULONG length; in _ux_device_class_ccid_notify_thread_entry() local 133 length = 0; in _ux_device_class_ccid_notify_thread_entry() 160 length = 4; in _ux_device_class_ccid_notify_thread_entry() 217 length = byte_pos + 1; in _ux_device_class_ccid_notify_thread_entry() 227 status = _ux_device_stack_transfer_request(transfer, length, length); in _ux_device_class_ccid_notify_thread_entry()
|
/USBX-v6.2.1/common/usbx_host_classes/src/ |
D | ux_host_class_hid_report_descriptor_get.c | 79 UINT _ux_host_class_hid_report_descriptor_get(UX_HOST_CLASS_HID *hid, ULONG length) in _ux_host_class_hid_report_descriptor_get() argument 95 descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, length); in _ux_host_class_hid_report_descriptor_get() 104 transfer_request -> ux_transfer_request_requested_length = length; in _ux_host_class_hid_report_descriptor_get() 114 if ((status == UX_SUCCESS) && (transfer_request -> ux_transfer_request_actual_length == length)) in _ux_host_class_hid_report_descriptor_get() 118 while (length) in _ux_host_class_hid_report_descriptor_get() 171 if (length < item.ux_host_class_hid_item_report_length) in _ux_host_class_hid_report_descriptor_get() 180 …length -= (ULONG)(item.ux_host_class_hid_item_report_length + item.ux_host_class_hid_item_report_… in _ux_host_class_hid_report_descriptor_get()
|