Home
last modified time | relevance | path

Searched refs:status_byte (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/media/midi/
Dmidi_message_util.cc9 size_t GetMidiMessageLength(uint8 status_byte) { in GetMidiMessageLength() argument
10 if (status_byte < 0x80) in GetMidiMessageLength()
12 if (0x80 <= status_byte && status_byte <= 0xbf) in GetMidiMessageLength()
14 if (0xc0 <= status_byte && status_byte <= 0xdf) in GetMidiMessageLength()
16 if (0xe0 <= status_byte && status_byte <= 0xef) in GetMidiMessageLength()
18 if (status_byte == 0xf0) in GetMidiMessageLength()
20 if (status_byte == 0xf1) in GetMidiMessageLength()
22 if (status_byte == 0xf2) in GetMidiMessageLength()
24 if (status_byte == 0xf3) in GetMidiMessageLength()
26 if (0xf4 <= status_byte && status_byte <= 0xf6) in GetMidiMessageLength()
[all …]
Dmidi_message_queue.cc87 const uint8 status_byte = next_message_[0]; in Get() local
90 if (status_byte == kSysEx) { in Get()
100 DCHECK_NE(kSysEx, status_byte); in Get()
101 const size_t target_len = GetMidiMessageLength(status_byte); in Get()
110 next_message_.push_back(status_byte); in Get()
Dmidi_message_util.h21 MEDIA_EXPORT size_t GetMidiMessageLength(uint8 status_byte);
Dmidi_manager_win.cc296 void OnShortMessageReceived(uint8 status_byte, in OnShortMessageReceived() argument
302 const size_t len = GetMidiMessageLength(status_byte); in OnShortMessageReceived()
305 const uint8 kData[] = { status_byte, first_data_byte, second_data_byte }; in OnShortMessageReceived()
/external/tcpdump/
Dprint-isoclns.c1970 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; in isis_print_extd_ip_reach() local
1981 status_byte=*(tptr++); in isis_print_extd_ip_reach()
1982 bit_length = status_byte&0x3f; in isis_print_extd_ip_reach()
1994 status_byte=*(tptr++); in isis_print_extd_ip_reach()
2030 ISIS_MASK_TLV_EXTD_IP_UPDOWN(status_byte) ? "down" : "up", in isis_print_extd_ip_reach()
2033 if (afi == AF_INET && ISIS_MASK_TLV_EXTD_IP_SUBTLV(status_byte)) in isis_print_extd_ip_reach()
2038 ISIS_MASK_TLV_EXTD_IP6_IE(status_byte) ? "External" : "Internal", in isis_print_extd_ip_reach()
2039 ISIS_MASK_TLV_EXTD_IP6_SUBTLV(status_byte) ? ", sub-TLVs present" : ""); in isis_print_extd_ip_reach()
2042 if ((afi == AF_INET && ISIS_MASK_TLV_EXTD_IP_SUBTLV(status_byte)) in isis_print_extd_ip_reach()
2044 || (afi == AF_INET6 && ISIS_MASK_TLV_EXTD_IP6_SUBTLV(status_byte)) in isis_print_extd_ip_reach()