Searched refs:data_length (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/ |
D | transport_usb.c | 37 p->msg.data_length = H4(p->msg.data_length); in fix_endians() 67 if(p->msg.data_length) { in remote_read() 68 if(usb_read(t->usb, p->data, p->msg.data_length)){ in remote_read() 84 unsigned size = p->msg.data_length; in remote_write() 92 if(p->msg.data_length == 0) return 0; in remote_write()
|
D | transport_local.c | 35 p->msg.data_length = H4(p->msg.data_length); in fix_endians() 66 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_read() 73 if(readx(t->sfd, p->data, p->msg.data_length)){ in remote_read() 88 int length = p->msg.data_length; in remote_write() 94 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_write()
|
D | adb.c | 246 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet() 247 count = p->msg.data_length; in print_packet() 324 cp->msg.data_length = fill_connect_data((char *)cp->data, in send_connect() 345 p->msg.data_length = ret; in send_auth_request() 364 p->msg.data_length = ret; in send_auth_response() 383 p->msg.data_length = ret; in send_auth_publickey() 540 send_auth_response(p->data, p->msg.data_length, t); in handle_packet() 546 if (adb_auth_verify(t->token, p->data, p->msg.data_length)) { in handle_packet() 555 adb_auth_confirm_key(p->data, p->msg.data_length, t); in handle_packet() 562 name[p->msg.data_length > 0 ? p->msg.data_length - 1 : 0] = 0; in handle_packet() [all …]
|
D | transport.c | 101 int len = p->msg.data_length; in dump_packet() 220 count = p->msg.data_length; in send_packet() 1168 if(p->msg.data_length > MAX_PAYLOAD) { in check_header() 1169 D("check_header(): %d > MAX_PAYLOAD\n", p->msg.data_length); in check_header() 1181 count = p->msg.data_length; in check_data()
|
D | adb.h | 54 unsigned data_length; /* length of payload (0 is allowed) */ member
|
D | sockets.c | 472 p->msg.data_length = p->len; in remote_socket_enqueue() 554 p->msg.data_length = len; in connect_to_remote()
|
D | protocol.txt | 35 unsigned data_length; /* length of payload (0 is allowed) */
|