/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_l2cap_if.c | 39 static void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 40 static void RFCOMM_ConnectCnf (UINT16 lcid, UINT16 err); 41 static void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 42 static void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 43 static void RFCOMM_DisconnectInd (UINT16 lcid, BOOLEAN is_clear); 45 static void RFCOMM_BufDataInd (UINT16 lcid, BT_HDR *p_buf); 46 static void RFCOMM_CongestionStatusInd (UINT16 lcid, BOOLEAN is_congested); 87 void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) 96 p_mcb->pending_lcid = lcid; 102 RFCOMM_TRACE_DEBUG2 ("RFCOMM_ConnectInd start timer for collision, initiator's LCID(0x%x), acceptor's LCID(0x%x)" [all...] |
rfc_mx_fsm.c | 123 if ((p_mcb->lcid = L2CA_ConnectReq (BT_PSM_RFCOMM, p_mcb->bd_addr)) == 0) 128 /* Save entry for quicker access to mcb based on the LCID */ 129 rfc_save_lcid_mcb (p_mcb, p_mcb->lcid); 144 L2CA_ConnectRsp (p_mcb->bd_addr, *((UINT8 *)p_data), p_mcb->lcid, L2CAP_CONN_OK, 0); 214 L2CA_DisconnectReq (p_mcb->lcid); 224 rfc_save_lcid_mcb (NULL, p_mcb->lcid); 225 p_mcb->lcid = p_mcb->pending_lcid; 226 rfc_save_lcid_mcb (p_mcb, p_mcb->lcid); 290 L2CA_DisconnectReq (p_mcb->lcid); 352 L2CA_DisconnectReq (p_mcb->lcid); [all...] |
/external/bluetooth/bluedroid/stack/avct/ |
avct_l2c.c | 38 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 39 void avct_l2c_connect_cfm_cback(UINT16 lcid, UINT16 result); 40 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 41 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 42 void avct_l2c_disconnect_ind_cback(UINT16 lcid, BOOLEAN ack_needed); 43 void avct_l2c_disconnect_cfm_cback(UINT16 lcid, UINT16 result); 44 void avct_l2c_congestion_ind_cback(UINT16 lcid, BOOLEAN is_congested); 45 void avct_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf); 103 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) 138 lcid, result, p_lcb->ch_state) [all...] |
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_l2c.c | 38 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 39 void avdt_l2c_connect_cfm_cback(UINT16 lcid, UINT16 result); 40 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 41 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 42 void avdt_l2c_disconnect_ind_cback(UINT16 lcid, BOOLEAN ack_needed); 43 void avdt_l2c_disconnect_cfm_cback(UINT16 lcid, UINT16 result); 44 void avdt_l2c_congestion_ind_cback(UINT16 lcid, BOOLEAN is_congested); 45 void avdt_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf); 94 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK); 96 /* store idx in LCID table, store LCID in routing table * [all...] |
avdt_ad.c | 195 ** Description Find adaption layer transport channel table entry by LCID. 201 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_lcid(UINT16 lcid) 205 idx = avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; 379 L2CA_SetTxPriority(avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][AVDT_CHAN_SIG].lcid, L2CAP_CHNL_PRIORITY_HIGH); 397 /* put lcid in event data */ 401 open.lcid = avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].lcid; 492 ** transport channel. It looks up the LCID of the channel 510 return L2CA_DataWrite(avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid, p_buf); 533 UINT16 lcid; local [all...] |
/external/skia/tools/ |
win_lcid.cpp | 15 LCID lcid = LocaleNameToLCID(pStr, NULL); local 16 if (lcid == 0) { 17 wprintf(L"Error %d getting LCID\n", GetLastError()); 21 if (lcid > 0x8000) { 24 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer);
|
/external/bluetooth/bluedroid/stack/mcap/ |
mca_l2c.c | 82 MCA_TRACE_DEBUG2 ("lcid:x%x id:x%x", p_tbl->lcid, p_tbl->id); 91 L2CA_ErtmConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK, &ertm_info); 98 L2CA_ConfigReq(p_tbl->lcid, &cfg); 102 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, L2CAP_CONN_OK); 131 L2CA_ConfigReq(p_tbl->lcid, &cfg); 135 L2CA_DisconnectReq (p_tbl->lcid); 148 void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) 158 MCA_TRACE_EVENT3 ("mca_l2c_cconn_ind_cback: lcid:x%x psm:x%x id:x%x", lcid, psm, id) [all...] |
mca_dact.c | 117 if ((p_dcb->lcid == 0) || (L2CA_DisconnectReq(p_dcb->lcid) == FALSE)) 121 close.lcid = 0; 140 status = L2CA_DataWrite (p_dcb->lcid, p_data->p_pkt);
|
mca_int.h | 58 UINT16 lcid; /* L2CAP LCID */ member in struct:__anon3933 65 UINT16 lcid; /* L2CAP LCID */ member in struct:__anon3934 169 UINT16 lcid; /* L2CAP LCID */ member in struct:__anon3941 180 UINT8 lcid_tbl[MAX_L2CAP_CHANNELS]; /* map LCID to tc_tbl index */ 214 UINT16 lcid; /* L2CAP lcid for this control channel */ member in struct:__anon3945 246 UINT16 lcid; /* L2CAP lcid * member in struct:__anon3947 [all...] |
mca_main.c | 146 p_tbl->lcid = p_ccb->lcid; 147 mca_cb.tc.lcid_tbl[p_ccb->lcid - L2CAP_BASE_APPL_CID] = i; 187 p_tbl->lcid = p_dcb->lcid; 188 mca_cb.tc.lcid_tbl[p_dcb->lcid - L2CAP_BASE_APPL_CID] = i; 198 ** Description Find the transport channel table entry by LCID. 204 tMCA_TC_TBL *mca_tc_tbl_by_lcid(UINT16 lcid) 208 if (lcid) 210 idx = mca_cb.tc.lcid_tbl[lcid - L2CAP_BASE_APPL_CID] [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
winutil.h | 31 int32_t lcid; member in struct:Win32Utilities::LCIDRecord
|
winnmtst.cpp | 132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...) 187 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); 193 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); 197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); 201 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); 207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); 211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) 238 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); 240 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32) [all...] |
winutil.cpp | 53 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); 55 localeID = uprv_convertToPosix(lcidRecords[lcidCount].lcid, &status);
|
windttst.cpp | 121 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); 122 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); 123 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, sizeof(int32_t)); 134 wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(wdBuffer)); 135 wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer));
|
/external/icu4c/test/intltest/ |
winutil.h | 31 int32_t lcid; member in struct:Win32Utilities::LCIDRecord
|
winnmtst.cpp | 132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...) 187 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); 193 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); 197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); 201 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); 207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); 211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) 238 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); 240 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32) [all...] |
winutil.cpp | 53 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); 55 localeID = uprv_convertToPosix(lcidRecords[lcidCount].lcid, &status);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
LocaleWinTest.cpp | 87 String formatDate(LCID lcid, int year, int month, int day) 89 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); 94 unsigned firstDayOfWeek(LCID lcid) 96 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); 100 String monthLabel(LCID lcid, unsigned index) 102 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); 106 String weekDayShortLabel(LCID lcid, unsigned index [all...] |
/external/chromium_org/chrome_frame/ |
com_type_info_holder.h | 106 HRESULT GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo** info) { 115 HRESULT GetIDsOfNames(REFIID riid, OLECHAR** names, UINT count, LCID lcid, 122 HRESULT Invoke(IDispatch* p, DISPID dispid, REFIID riid, LCID lcid, 149 STDMETHOD(GetTypeInfo)(UINT itinfo, LCID lcid, ITypeInfo** pptinfo) { 150 return type_info_.GetTypeInfo(itinfo, lcid, pptinfo); 154 LCID lcid, DISPID* dispids) [all...] |
com_message_event.h | 50 STDMETHOD(GetTypeInfo)(UINT which_info, LCID lcid, ITypeInfo** type_info); 52 LCID lcid, DISPID* dispids); 53 STDMETHOD(Invoke)(DISPID dispid, REFIID iid, LCID lcid, WORD flags,
|
buggy_bho_handling.h | 21 REFIID riid, LCID lcid, WORD flags, 75 DISPID dispid, REFIID riid, LCID lcid, WORD flags, DISPPARAMS* params,
|
com_message_event.cc | 58 STDMETHODIMP ComMessageEvent::GetTypeInfo(UINT which_info, LCID lcid, 65 UINT count_names, LCID lcid, 89 hr = basic_event_->GetIDsOfNames(IID_IDispatch, &names[i], 1, lcid, 104 STDMETHODIMP ComMessageEvent::Invoke(DISPID dispid, REFIID iid, LCID lcid, 138 hr = basic_event_->Invoke(dispid, iid, lcid, flags, params, result,
|
/external/chromium_org/third_party/icu/source/i18n/ |
winnmfmt.cpp | 79 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) 83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 84 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); 86 GetLocaleInfoA(lcid, LOCALE_SGROUPING, buf, 10); 90 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6); 93 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6); 95 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT)); 106 static void getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) 110 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 111 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)) [all...] |
/external/icu4c/i18n/ |
winnmfmt.cpp | 79 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) 83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 84 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); 86 GetLocaleInfoA(lcid, LOCALE_SGROUPING, buf, 10); 90 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6); 93 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6); 95 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT)); 106 static void getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) 110 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 111 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)) [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_main.c | 504 static void gatt_l2cif_connect_ind_cback (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) 511 GATT_TRACE_ERROR1("Connection indication cid = %d", lcid); 522 p_tcb->att_lcid = lcid; 531 L2CA_ConnectRsp(bd_addr, id, lcid, result, 0); 544 L2CA_ConfigReq(lcid, &cfg); 558 void gatt_l2cif_connect_cfm_cback(UINT16 lcid, UINT16 result) 564 if ((p_tcb = gatt_find_tcb_by_cid(lcid)) != NULL) 566 GATT_TRACE_DEBUG3("gatt_l2c_connect_cfm_cback result: %d ch_state: %d, lcid:0x%x", result, gatt_get_ch_state(p_tcb), p_tcb->att_lcid); 581 L2CA_ConfigReq(lcid, &cfg); 594 L2CA_DisconnectReq(lcid); [all...] |