Lines Matching defs:channel_id
27 #define GET_CHANNEL_OPENER_ID(channel_id) ((channel_id) * 2)
28 #define GET_CHANNEL_RECEIVERS_ID(channel_id) ((channel_id) * 2 + 1)
100 int channel_id = g_next_channel_id.GetNext();
101 int port1_id = channel_id * 2;
102 int port2_id = channel_id * 2 + 1;
109 DCHECK(GET_CHANNEL_ID(port1_id) == channel_id);
110 DCHECK(GET_CHANNEL_OPENER_ID(channel_id) == port1_id);
111 DCHECK(GET_CHANNEL_RECEIVERS_ID(channel_id) == port2_id);