Lines Matching refs:uint8_t
38 static const uint8_t kMIDIChanCmd_KeyDown = 9;
39 static const uint8_t kMIDIChanCmd_KeyUp = 8;
40 static const uint8_t kMIDIChanCmd_PolyPress = 10;
41 static const uint8_t kMIDIChanCmd_Control = 11;
42 static const uint8_t kMIDIChanCmd_ProgramChange = 12;
43 static const uint8_t kMIDIChanCmd_ChannelPress = 13;
44 static const uint8_t kMIDIChanCmd_PitchWheel = 14;
46 static const uint8_t kMIDISysCmd_SysEx = 0xF0;
47 static const uint8_t kMIDISysCmd_EndOfSysEx = 0xF7;
48 static const uint8_t kMIDISysCmd_ActiveSensing = 0xFE;
49 static const uint8_t kMIDISysCmd_Reset = 0xFF;
59 #define makeMIDICmd(cmd, channel) (uint8_t)((cmd << 4) | (channel & 0x0F))
61 uint8_t warmupMsg[] = {makeMIDICmd(kMIDIChanCmd_Control, 0), 0, 0};
62 uint8_t msg0[] = {makeMIDICmd(kMIDIChanCmd_KeyDown, 0), 64, 120};
63 uint8_t msg1[] = {makeMIDICmd(kMIDIChanCmd_KeyUp, 0), 64, 35};
67 uint8_t* mMsgBytes;
78 bool set(uint8_t* msgBytes, int numMsgBytes) { in set()
83 mMsgBytes = new uint8_t[numMsgBytes]; in set()
84 memcpy(mMsgBytes, msgBytes, mNumMsgBytes * sizeof(uint8_t)); in set()
135 static void logBytes(uint8_t* bytes, int count) { in logBytes()
153 bool MidiTestManager::matchStream(uint8_t* bytes, int count) { in matchStream()
200 int portSend(AMidiInputPort* sendPort, uint8_t* msg, int length, bool throttle) { in portSend()
251 uint8_t readBuffer[128]; in ProcessInput()
381 uint8_t* sysExMsg = new uint8_t[sysExSize]; in RunTest()
384 sysExMsg[index] = (uint8_t)index; in RunTest()