Home
last modified time | relevance | path

Searched refs:H4 (Results 1 – 2 of 2) sorted by relevance

/system/core/adb/
Dtransport_usb.c32 #define H4(x) (((x) & 0xFF000000) >> 24) | (((x) & 0x00FF0000) >> 8) | (((x) & 0x0000FF00) << 8) | … macro
35 p->msg.command = H4(p->msg.command); in fix_endians()
36 p->msg.arg0 = H4(p->msg.arg0); in fix_endians()
37 p->msg.arg1 = H4(p->msg.arg1); in fix_endians()
38 p->msg.data_length = H4(p->msg.data_length); in fix_endians()
39 p->msg.data_check = H4(p->msg.data_check); in fix_endians()
40 p->msg.magic = H4(p->msg.magic); in fix_endians()
44 return H4(n); in host_to_le32()
Dtransport_local.c29 #define H4(x) (((x) & 0xFF000000) >> 24) | (((x) & 0x00FF0000) >> 8) | (((x) & 0x0000FF00) << 8) | … macro
32 p->msg.command = H4(p->msg.command); in fix_endians()
33 p->msg.arg0 = H4(p->msg.arg0); in fix_endians()
34 p->msg.arg1 = H4(p->msg.arg1); in fix_endians()
35 p->msg.data_length = H4(p->msg.data_length); in fix_endians()
36 p->msg.data_check = H4(p->msg.data_check); in fix_endians()
37 p->msg.magic = H4(p->msg.magic); in fix_endians()