| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_printer_name_get.c | 47 /* Retrieve the printer name which is a USHORT at the beginning of the returned buffer. */ in _ux_host_class_printer_name_parse() 52 /* Point the name buffer after the length. */ in _ux_host_class_printer_name_parse() 55 /* Parse the name for a tag which is in the form DES: or DESCRIPTOR: */ in _ux_host_class_printer_name_parse() 96 /* Use the generic USB printer name. */ in _ux_host_class_printer_name_parse() 102 /* We have found a tag and the name is right after delimited by ; or a 0. */ in _ux_host_class_printer_name_parse() 106 /* Parse the name and only copy the name until the max length is reached in _ux_host_class_printer_name_parse() 115 /* Copy the name of the printer to the printer instance character in _ux_host_class_printer_name_parse() 134 /* This function obtains the printer name. The name is used by the */ 160 /* DATE NAME DESCRIPTION */ 256 /* This function checks errors in printer name get function call. */ [all …]
|
| D | ux_host_class_hid_client_register.c | 60 /* hid_client_name Name of HID client */ in UX_OVERFLOW_CHECK_MULC_ULONG() 82 /* DATE NAME DESCRIPTION */ in UX_OVERFLOW_CHECK_MULC_ULONG() 108 /* Get the length of the client name (exclude null-terminator). */ in UX_OVERFLOW_CHECK_MULC_ULONG() 147 … /* We have found a free container for the HID client. Copy the name (with null-terminator). */ in UX_OVERFLOW_CHECK_MULC_ULONG() 207 /* hid_client_name Name of HID client */ 224 /* DATE NAME DESCRIPTION */
|
| /USBX-v6.2.1/common/core/inc/ |
| D | ux_utility.h | 40 /* DATE NAME DESCRIPTION */ 120 UINT _ux_utility_thread_create(UX_THREAD *thread_ptr, CHAR *name, 136 UINT _ux_utility_event_flags_create(UX_EVENT_FLAGS_GROUP*group_ptr, CHAR *name); 204 #define _ux_system_semaphore_create(sem,name,cnt) (UX_SUCCESS) argument 205 #define _ux_system_semaphore_create_norc(sem,name,cnt) do{}while(0) argument 212 #define _ux_system_thread_create(t,name,entry,entry_param,stack,stack_size,priority,preempt_thresho… argument 213 #define _ux_system_thread_create_norc(t,name,entry,entry_param,stack,stack_size,priority,preempt_th… argument 216 #define _ux_system_mutex_create(mutex,name) do{}while(0) argument 220 #define _ux_system_event_flags_create(g,name) (UX_SUCCESS) argument 250 #define _ux_device_thread_create(t,name,entry,entry_param,stack,stack_size,priority,preempt_thresho… argument [all …]
|
| /USBX-v6.2.1/common/usbx_pictbridge/src/ |
| D | ux_pictbridge_dpsclient_object_info_send.c | 63 /* DATE NAME DESCRIPTION */ 104 /* Check state machine. If we are in discovery pending mode, check file name of this object. */ in _ux_pictbridge_dpsclient_object_info_send() 108 …/* We are in the discovery mode. Check for file name. It must match HDISCVRY.DPS in Unicode mode. … in _ux_pictbridge_dpsclient_object_info_send() 113 /* Yes this is a script. We need to search for the HDISCVRY.DPS file name. in _ux_pictbridge_dpsclient_object_info_send() 114 Get the file name length (with null-terminator). */ in _ux_pictbridge_dpsclient_object_info_send() 117 /* Now, compare it to the HDISCVRY.DPS file name. Check length first. */ in _ux_pictbridge_dpsclient_object_info_send() 127 /* Get the file name in a ascii format (with null-terminator). */ in _ux_pictbridge_dpsclient_object_info_send() 130 /* So far, the length of name of the files are the same. in _ux_pictbridge_dpsclient_object_info_send()
|
| D | ux_pictbridge_dpshost_object_get.c | 64 /* DATE NAME DESCRIPTION */ 107 File Name we expect, we ignore it. */ in _ux_pictbridge_dpshost_object_get() 111 /* Yes this is a script. We need to search for the DREQUEST.DPS file name. in _ux_pictbridge_dpshost_object_get() 112 Get the file name length (with null-terminator). */ in _ux_pictbridge_dpshost_object_get() 115 /* Check the file name from this script. It should be in the form DREQUEST.DPS. */ in _ux_pictbridge_dpshost_object_get() 125 /* Get the file name in a ascii format (with null-terminator). */ in _ux_pictbridge_dpshost_object_get() 128 /* So far, the length of name of the files are the same. in _ux_pictbridge_dpshost_object_get() 241 …/* We need to change the file name to DRSPONSE.DPS. Encode the file name from ascii format into Un… in _ux_pictbridge_dpshost_object_get()
|
| D | ux_pictbridge_object_parse.c | 64 /* DATE NAME DESCRIPTION */ 153 /* Bad name, we should never here if _tag_name_get is OK. */ in _ux_pictbridge_object_parse() 156 /* Calculate the length of the current tag name in the tag history. */ in _ux_pictbridge_object_parse() 160 /* Bad name, we should never here if _tag_name_get is OK. */ in _ux_pictbridge_object_parse() 200 /* The tag name is in the tag_name variable but has not been verified yet. */ in _ux_pictbridge_object_parse() 262 … If there is neither a child or a function, it means we do not treat this tag name. */ in _ux_pictbridge_object_parse() 293 /* Bad name, we should never here if _tag_name_scan is OK! */ in _ux_pictbridge_object_parse() 296 /* Calculate the length of the current tag name in the tag history. */ in _ux_pictbridge_object_parse() 300 /* Bad name, we should never here if _tag_name_scan is OK! */ in _ux_pictbridge_object_parse()
|
| D | ux_pictbridge_dpshost_start.c | 63 /* DATE NAME DESCRIPTION */ 330 /* Yes this is a script. We need to search for the DDISCVRY.DPS file name. in _ux_pictbridge_dpshost_start() 331 Get the file name length (with null-terminator). */ in _ux_pictbridge_dpshost_start() 334 …/* Now, compare it to the DDISCVRY.DPS file name. Check length first (excluding null-terminator).… in _ux_pictbridge_dpshost_start() 344 /* Get the file name in a ascii format (with null-terminator). */ in _ux_pictbridge_dpshost_start() 347 /* So far, the length of name of the files are the same. in _ux_pictbridge_dpshost_start() 353 …/* We have found a script with the DDISCVRY.DPS file name. Prepare a reply with a HDISCVRY. DPS na… in _ux_pictbridge_dpshost_start() 354 We use the same object container. Just change the name of the file. */ in _ux_pictbridge_dpshost_start()
|
| D | ux_pictbridge_dpshost_response_get.c | 63 /* DATE NAME DESCRIPTION */ 156 File Name we expect, we ignore it. */ in _ux_pictbridge_dpshost_response_get() 160 /* Yes this is a script. We need to search for the DRSPONSE.DPS file name. in _ux_pictbridge_dpshost_response_get() 161 Get the file name length (with null-terminator). */ in _ux_pictbridge_dpshost_response_get() 164 /* Check the file name from this script. It should be in the form DRSPONSE.DPS. */ in _ux_pictbridge_dpshost_response_get() 174 /* Get the file name in a ascii format (with null-terminator). */ in _ux_pictbridge_dpshost_response_get() 177 /* So far, the length of name of the files are the same. in _ux_pictbridge_dpshost_response_get()
|
| D | ux_pictbridge_tag_name_scan.c | 43 /* This function scans the tag name from a set of allowed tags */ 48 /* tag_name the tag name to scan */ 64 /* DATE NAME DESCRIPTION */ 89 …/* There is a valid entry in the tag list. Calculate the length of the tag name from the list. */ in _ux_pictbridge_tag_name_scan()
|
| D | ux_pictbridge_xml_function_root_dps.c | 64 /* DATE NAME DESCRIPTION */ 95 /* Both length match, we may have a variable name match. Check the names */ in _ux_pictbridge_xml_function_root_dps() 113 /* Both length match, we may have a string name match. Check the names */ in _ux_pictbridge_xml_function_root_dps() 116 /* The variable name is OK. We are done. */ in _ux_pictbridge_xml_function_root_dps()
|
| D | ux_pictbridge_xml_function_root_xml.c | 64 /* DATE NAME DESCRIPTION */ 96 /* Both length match, we may have a variable name match. Check the names */ in _ux_pictbridge_xml_function_root_xml() 100 /* The variable name is OK, we do not check the xml version. */ in _ux_pictbridge_xml_function_root_xml()
|
| D | ux_pictbridge_xml_function_input_getcapability_capability_layouts.c | 68 /* DATE NAME DESCRIPTION */ 110 /* Both length match, we may have a variable name match. Check the names */ in _ux_pictbridge_xml_function_input_getcapability_capability_layouts() 124 /* The variable name is OK. We are done. */ in _ux_pictbridge_xml_function_input_getcapability_capability_layouts()
|
| D | ux_pictbridge_xml_function_input_getcapability_capability_papertypes.c | 68 /* DATE NAME DESCRIPTION */ 110 /* Both length match, we may have a variable name match. Check the names */ in _ux_pictbridge_xml_function_input_getcapability_capability_papertypes() 124 /* The variable name is OK. We are done. */ in _ux_pictbridge_xml_function_input_getcapability_capability_papertypes()
|
| /USBX-v6.2.1/common/core/src/ |
| D | ux_utility_event_flags_create.c | 48 /* name Pointer to thread name string */ 64 /* DATE NAME DESCRIPTION */ 77 UINT _ux_utility_event_flags_create(UX_EVENT_FLAGS_GROUP*group_ptr, CHAR *name) in _ux_utility_event_flags_create() argument 83 status = tx_event_flags_create(group_ptr, name); in _ux_utility_event_flags_create()
|
| D | ux_utility_thread_create.c | 48 /* name Pointer to thread name string */ 72 /* DATE NAME DESCRIPTION */ 85 UINT _ux_utility_thread_create(UX_THREAD *thread_ptr, CHAR *name, in _ux_utility_thread_create() argument 96 status = tx_thread_create(thread_ptr,name,entry_function,entry_input, in _ux_utility_thread_create()
|
| D | ux_host_stack_hcd_unregister.c | 49 /* hcd_name Name of HCD to unregister */ 74 /* DATE NAME DESCRIPTION */ 103 /* Get the length of the class name (exclude null-terminator). */ in _ux_host_stack_hcd_unregister() 131 /* Yes, compare the name (with null terminator). */ in _ux_host_stack_hcd_unregister() 136 /* Break if name match (found HCD). */ in _ux_host_stack_hcd_unregister() 216 /* hcd_name Name of HCD to unregister */ 234 /* DATE NAME DESCRIPTION */
|
| D | ux_device_stack_class_unregister.c | 51 /* class_name Name of class */ 70 /* DATE NAME DESCRIPTION */ 98 /* Get the length of the class name (exclude null-terminator). */ in _ux_device_stack_class_unregister() 116 … /* We have found a used container with a class. Compare the name (include null-terminator). */ in _ux_device_stack_class_unregister() 170 /* class_name Name of class */ 187 /* DATE NAME DESCRIPTION */
|
| D | ux_device_stack_class_register.c | 51 /* class_name Name of class */ 73 /* DATE NAME DESCRIPTION */ 99 /* Get the length of the class name (exclude null-terminator). */ in _ux_device_stack_class_register() 123 … /* We have found a free container for the class. Copy the name (with null-terminator). */ in _ux_device_stack_class_register() 186 /* class_name Name of class */ 206 /* DATE NAME DESCRIPTION */
|
| D | ux_host_stack_class_register.c | 57 /* class_name Name of class */ 77 /* DATE NAME DESCRIPTION */ 104 /* Get the length of the class name (exclude null-terminator). */ in _ux_host_stack_class_register() 127 … /* We have found a free container for the class. Copy the name (with null-terminator). */ in _ux_host_stack_class_register() 194 /* class_name Name of class */ 211 /* DATE NAME DESCRIPTION */
|
| D | ux_host_stack_hcd_register.c | 52 /* hcd_name Name of HCD to register */ 66 /* _ux_utility_memory_copy Copy name into HCD structure */ 75 /* DATE NAME DESCRIPTION */ 104 /* Get the length of the class name (exclude null-terminator). */ in _ux_host_stack_hcd_register() 129 … /* Initialize the array of the new controller with its name (include null-terminator). */ in _ux_host_stack_hcd_register() 193 /* DATE NAME DESCRIPTION */
|
| D | ux_host_stack_class_get.c | 53 /* class_name Name of class */ 73 /* DATE NAME DESCRIPTION */ 97 /* Get the length of the class name (exclude null-terminator). */ in _ux_host_stack_class_get() 158 /* class_name Name of class */ 175 /* DATE NAME DESCRIPTION */
|
| D | ux_utility_semaphore_get.c | 65 /* DATE NAME DESCRIPTION */ 83 CHAR *name; in _ux_utility_semaphore_get() local 96 tx_thread_info_get(my_thread, &name, &state, &run_count, in _ux_utility_semaphore_get()
|
| D | ux_host_stack_class_instance_verify.c | 50 /* class_name Name of class */ 69 /* DATE NAME DESCRIPTION */ 92 /* Get the length of the class name (exclude null-terminator). */ in _ux_host_stack_class_instance_verify()
|
| /USBX-v6.2.1/test/regression/ |
| D | usbx_ux_test_cdc_ecm.h | 400 static void read_packet_tcp(NX_TCP_SOCKET *tcp_socket, ULONG num_reads, CHAR *name) in read_packet_tcp() argument 409 stepinfo("%s reading tcp packet# %lu\n", name, num_reads); in read_packet_tcp() 419 …te_packet_tcp(NX_TCP_SOCKET *tcp_socket, NX_PACKET_POOL *packet_pool, ULONG num_writes, CHAR *name) in write_packet_tcp() argument 449 stepinfo("%s writing tcp packet# %lu\n", name, num_writes); in write_packet_tcp() 454 static void read_packet_udp(NX_UDP_SOCKET *udp_socket, ULONG num_reads, CHAR *name) in read_packet_udp() argument 463 stepinfo("%s reading udp packet# %lu\n", name, num_reads); in read_packet_udp() 473 …NX_PACKET_POOL *packet_pool, ULONG ip_address, ULONG port, ULONG num_writes, CHAR *name, ULONG len) in write_udp() argument 506 … stepinfo("%s writing udp packet# %lu, %ld\n", name, num_writes, out_packet->nx_packet_length); in write_udp() 511 …dp_socket, NX_PACKET_POOL *packet_pool, ULONG ip_address, ULONG port, ULONG num_writes, CHAR *name) in write_packet_udp() argument 513 write_udp(udp_socket, packet_pool, ip_address, port, num_writes, name, 4 + WRITE_APPEND_SIZE); in write_packet_udp()
|
| D | usbx_cdc_ecm_basic_ipv6_test.c | 383 static void read_packet_tcp(NX_TCP_SOCKET *tcp_socket, ULONG num_reads, CHAR *name) in read_packet_tcp() argument 392 stepinfo("%s reading tcp packet# %lu\n", name, num_reads); in read_packet_tcp() 402 …te_packet_tcp(NX_TCP_SOCKET *tcp_socket, NX_PACKET_POOL *packet_pool, ULONG num_writes, CHAR *name) in write_packet_tcp() argument 416 stepinfo("%s writing tcp packet# %lu\n", name, num_writes); in write_packet_tcp() 421 static void read_packet_udp(NX_UDP_SOCKET *udp_socket, ULONG num_reads, CHAR *name) in read_packet_udp() argument 430 stepinfo("%s reading udp packet# %lu\n", name, num_reads); in read_packet_udp() 440 …dp_socket, NX_PACKET_POOL *packet_pool, ULONG ip_address, ULONG port, ULONG num_writes, CHAR *name) in write_packet_udp() argument 454 stepinfo("%s writing udp packet# %lu\n", name, num_writes); in write_packet_udp()
|