Home
last modified time | relevance | path

Searched refs:channel_id (Results 1 – 22 of 22) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Dmux_client_for_testing.py99 channel_id = ord(data[offset])
101 if channel_id & 0xe0 == 0xe0:
104 channel_id = struct.unpack('!L',
107 elif channel_id & 0xc0 == 0xc0:
110 channel_id = (((channel_id & 0x1f) << 16) +
113 elif channel_id & 0x80 == 0x80:
116 channel_id = struct.unpack('!H', data[offset:offset+2])[0] & 0x3fff
119 return channel_id, channel_id_length
167 channel_id, advance = _parse_channel_id(data, pos)
168 block.channel_id = channel_id
[all …]
Dtest_mux.py110 channel_id = parser.read_channel_id()
111 if channel_id == mux._CONTROL_CHANNEL_ID:
115 if not channel_id in self._channel_data:
116 self._channel_data[channel_id] = _OutgoingChannelData()
117 channel_data = self._channel_data[channel_id]
148 def get_written_messages(self, channel_id): argument
149 return self._channel_data[channel_id].messages
151 def get_written_control_messages(self, channel_id): argument
152 return self._channel_data[channel_id].control_messages
189 self.channel_events[request.channel_id] = _ChannelEvent()
[all …]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dmux.py109 def _encode_channel_id(channel_id): argument
110 if channel_id < 0:
111 raise ValueError('Channel id %d must not be negative' % channel_id)
113 if channel_id < 2 ** 7:
114 return chr(channel_id)
115 if channel_id < 2 ** 14:
116 return struct.pack('!H', 0x8000 + channel_id)
117 if channel_id < 2 ** 21:
118 first = chr(0xc0 + (channel_id >> 16))
119 return first + struct.pack('!H', channel_id & 0xffff)
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_message_service.cc27 #define GET_CHANNEL_OPENER_ID(channel_id) ((channel_id) * 2) argument
28 #define GET_CHANNEL_RECEIVERS_ID(channel_id) ((channel_id) * 2 + 1) argument
100 int channel_id = g_next_channel_id.GetNext(); in AllocatePortIdPair() local
101 int port1_id = channel_id * 2; in AllocatePortIdPair()
102 int port2_id = channel_id * 2 + 1; in AllocatePortIdPair()
109 DCHECK(GET_CHANNEL_ID(port1_id) == channel_id); in AllocatePortIdPair()
110 DCHECK(GET_CHANNEL_OPENER_ID(channel_id) == port1_id); in AllocatePortIdPair()
111 DCHECK(GET_CHANNEL_RECEIVERS_ID(channel_id) == port2_id); in AllocatePortIdPair()
/external/bluetooth/bluedroid/btif/src/
Dbtif_hl.c179 BOOLEAN btif_hl_if_channel_setup_pending(int channel_id, UINT8 *p_app_idx, UINT8 *p_mcl_idx) in btif_hl_if_channel_setup_pending() argument
194 p_mcb->is_connected && p_mcb->pcb.channel_id == channel_id ) in btif_hl_if_channel_setup_pending()
207 __FUNCTION__, found, channel_id, *p_app_idx, *p_mcl_idx); in btif_hl_if_channel_setup_pending()
728 btif_hl_pend_dch_op_t op, int *channel_id){ in btif_hl_dch_open() argument
754 *channel_id = in btif_hl_dch_open()
755 p_pcb->channel_id = (int) btif_hl_get_next_channel_id(app_id); in btif_hl_dch_open()
863 btif_hl_pend_dch_op_t op, int *channel_id){ in btif_hl_cch_open() argument
908 *channel_id = in btif_hl_cch_open()
909 p_pcb->channel_id = (int) btif_hl_get_next_channel_id(app_id); in btif_hl_cch_open()
913 p_pcb->channel_id = p_acb->delete_mdl.channel_id; in btif_hl_cch_open()
[all …]
Dbtif_media_task.c1886 BOOLEAN btif_media_aa_read_feeding(tUIPC_CH_ID channel_id) in btif_media_aa_read_feeding() argument
1969 nb_byte_read = UIPC_Read(channel_id, &event, (UINT8 *)read_buffer, read_size); in btif_media_aa_read_feeding()
/external/bluetooth/bluedroid/btif/include/
Dbtif_hl.h161 int channel_id; member
214 int channel_id; member
219 int channel_id; member
255 int channel_id; member
309 int channel_id; member
/external/chromium/chrome/browser/nacl_host/
Dnacl_broker_service_win.cc42 void NaClBrokerService::OnLoaderLaunched(const std::wstring& channel_id, in OnLoaderLaunched() argument
45 PendingLaunchesMap::iterator it = pending_launches_.find(channel_id); in OnLoaderLaunched()
Dnacl_broker_service_win.h31 void OnLoaderLaunched(const std::wstring& channel_id,
Dnacl_process_host.cc148 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); in LaunchSelLdr()
156 this, ASCIIToWide(channel_id())); in LaunchSelLdr()
Dnacl_broker_host_win.cc42 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); in Init()
/external/qemu/android/
Dhw-qemud.c895 qemud_client_alloc( int channel_id, in qemud_client_alloc() argument
909 if (channel_id < 0) { in qemud_client_alloc()
918 c->ProtocolSelector.Serial.channel = channel_id; in qemud_client_alloc()
944 int channel_id,
1153 int channel_id, in qemud_service_connect_client() argument
1157 sv->serv_connect( sv->serv_opaque, sv, channel_id, client_param ); in qemud_service_connect_client()
1164 __FUNCTION__, channel_id, sv->name); in qemud_service_connect_client()
1329 int channel_id ) in qemud_multiplexer_connect() argument
1346 if (qemud_service_connect_client(sv, channel_id, NULL) == NULL) in qemud_multiplexer_connect()
1469 int channel_id = hex2int(msg+11, 2); in qemud_multiplexer_control_recv() local
[all …]
Dhw-qemud.h93 int channel_id,
/external/chromium/chrome/browser/automation/
Dautomation_provider.cc141 bool AutomationProvider::InitializeChannel(const std::string& channel_id) { in InitializeChannel() argument
144 channel_id_ = channel_id; in InitializeChannel()
145 std::string effective_channel_id = channel_id; in InitializeChannel()
150 channel_id.find(automation::kNamedInterfacePrefix) == 0; in InitializeChannel()
152 effective_channel_id = channel_id.substr( in InitializeChannel()
Dautomation_provider.h98 bool InitializeChannel(const std::string& channel_id) WARN_UNUSED_RESULT;
/external/chromium/chrome/browser/service/
Dservice_process_control.cc50 const IPC::ChannelHandle channel_id = GetServiceProcessChannel(); in ConnectInternal() local
52 new IPC::SyncChannel(channel_id, IPC::Channel::MODE_NAMED_CLIENT, this, in ConnectInternal()
/external/chromium/chrome/browser/importer/
Dprofile_import_process_host.cc94 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); in StartProcess()
/external/chromium/chrome/browser/ui/
Dbrowser_init.h56 static bool CreateAutomationProvider(const std::string& channel_id,
Dbrowser_init.cc1429 bool BrowserInit::CreateAutomationProvider(const std::string& channel_id, in CreateAutomationProvider() argument
1435 if (!automation->InitializeChannel(channel_id)) in CreateAutomationProvider()
/external/openssh/
Dserverloop.c250 int channel_id; in client_alive_check() local
262 if ((channel_id = channel_find_open()) == -1) { in client_alive_check()
267 channel_request_start(channel_id, "keepalive@openssh.com", 1); in client_alive_check()
/external/chromium/chrome/browser/
Dutility_process_host.cc140 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); in StartProcess()
/external/webkit/PerformanceTests/Parser/resources/
Dfinal-url-en10502 http://mediresource.sympatico.ca/channel_health_news_detail.asp?channel_id=131&menu_item_id=4&news_…
10503 http://mediresource.sympatico.ca/channel_health_news_detail.asp?channel_id=133&menu_item_id=4&news_…
10504 http://mediresource.sympatico.ca/channel_health_news_detail.asp?channel_id=60&menu_item_id=4&news_i…
10505 http://mediresource.sympatico.ca/channel_health_news_detail_pf.asp?channel_id=133&menu_item_id=4&ne…
10506 http://mediresource.sympatico.ca/channel_health_news_detail_pf.asp?channel_id=60&menu_item_id=4&new…
10507 http://mediresource.sympatico.ca/health_news_detail.asp?channel_id=131&menu_item_id=&news_id=5552
10508 http://mediresource.sympatico.ca/health_news_detail.asp?channel_id=133&menu_item_id=&news_id=5552
10509 http://mediresource.sympatico.ca/health_news_detail.asp?channel_id=60&menu_item_id=&news_id=5552
25924 http://www.astro.com.my/v5/programming/weekly/weekly.asp?channel_id=M029
40832 http://www.expatica.com/source/forum_thread.asp?channel_id=1&thread_id=17674
[all …]