Home
last modified time | relevance | path

Searched refs:yy (Results 1 – 25 of 30) sorted by relevance

12

/system/tools/aidl/
Daidl_language_l.ll57 return yy::parser::token::C_STR; }
87 "<<" { return(yy::parser::token::LSHIFT); }
88 ">>" { return(yy::parser::token::RSHIFT); }
89 "&&" { return(yy::parser::token::LOGICAL_AND); }
90 "||" { return(yy::parser::token::LOGICAL_OR); }
93 "<=" { return(yy::parser::token::LEQ); }
94 ">=" { return(yy::parser::token::GEQ); }
95 "==" { return(yy::parser::token::EQUALITY); }
96 "!=" { return(yy::parser::token::NEQ); }
100 return yy::parser::token::ANNOTATION;
[all …]
Dparser.cpp44 if (yy::parser(parser.get()).parse() != 0 || parser->HasError()) { in Parse()
Daidl_language_y.yy29 int yylex(yy::parser::semantic_type *, yy::parser::location_type *, void *);
31 AidlLocation loc(const yy::parser::location_type& begin, const yy::parser::location_type& end) {
46 AidlLocation loc(const yy::parser::location_type& l) {
744 void yy::parser::error(const yy::parser::location_type& l, const std::string& errstr) {
/system/bt/stack/sdp/
Dsdp_db.cc54 uint16_t xx, yy; in sdp_db_service_search() local
68 for (yy = 0; yy < p_seq->num_uids; yy++) { in sdp_db_service_search()
73 &p_seq->uuid_entry[yy].value[0], in sdp_db_service_search()
74 p_seq->uuid_entry[yy].len)) in sdp_db_service_search()
78 &p_seq->uuid_entry[yy].value[0], in sdp_db_service_search()
79 p_seq->uuid_entry[yy].len, 0)) in sdp_db_service_search()
88 if (yy == p_seq->num_uids) return (p_rec); in sdp_db_service_search()
196 uint16_t xx, yy, len; in sdp_compose_proto_list() local
220 for (yy = 0; yy < p_elem_list->num_params; yy++) { in sdp_compose_proto_list()
223 UINT8_TO_BE_STREAM(p, p_elem_list->params[yy]); in sdp_compose_proto_list()
[all …]
/system/bt/stack/btm/
Dbtm_pm.cc748 int xx, yy, zz; in btm_pm_proc_mode_change() local
779 for (yy = 0; yy <= BTM_MAX_PM_RECORDS; yy++) { in btm_pm_proc_mode_change()
782 (p_cb->req_mode[yy].mode == BTM_PM_MD_HOLD)) in btm_pm_proc_mode_change()
783 p_cb->req_mode[yy].mode = BTM_PM_MD_ACTIVE; in btm_pm_proc_mode_change()
805 for (yy = 0; yy < BTM_MAX_PM_RECORDS; yy++) { in btm_pm_proc_mode_change()
806 if (btm_cb.pm_reg_db[yy].mask & BTM_PM_REG_NOTIF) { in btm_pm_proc_mode_change()
807 (*btm_cb.pm_reg_db[yy].cback)(p->remote_addr, mode, interval, hci_status); in btm_pm_proc_mode_change()
832 int xx, yy; in btm_pm_proc_ssr_evt() local
855 for (yy = 0; yy < BTM_MAX_PM_RECORDS; yy++) { in btm_pm_proc_ssr_evt()
856 if (btm_cb.pm_reg_db[yy].mask & BTM_PM_REG_NOTIF) { in btm_pm_proc_ssr_evt()
[all …]
Dbtm_inq.cc1738 uint8_t xx, yy, num_resp; in btm_sort_inq_result() local
1750 for (yy = xx + 1, p_next = p_ent + 1; yy < num_resp; yy++, p_next++) { in btm_sort_inq_result()
2267 uint8_t yy, xx; in BTM_GetEirUuidList() local
2288 for (yy = 0; yy < *p_num_uuid; yy++) { in BTM_GetEirUuidList()
2289 STREAM_TO_UINT16(*(p_uuid16 + yy), p_uuid_data); in BTM_GetEirUuidList()
2290 BTM_TRACE_DEBUG(" 0x%04X", *(p_uuid16 + yy)); in BTM_GetEirUuidList()
2293 for (yy = 0; yy < *p_num_uuid; yy++) { in BTM_GetEirUuidList()
2294 STREAM_TO_UINT32(*(p_uuid32 + yy), p_uuid_data); in BTM_GetEirUuidList()
2295 BTM_TRACE_DEBUG(" 0x%08X", *(p_uuid32 + yy)); in BTM_GetEirUuidList()
2298 for (yy = 0; yy < *p_num_uuid; yy++) { in BTM_GetEirUuidList()
[all …]
/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc212 uint8_t xx, yy, zz; in nfa_hci_is_valid_cfg() local
234 for (yy = xx + 1; yy < NFA_HCI_MAX_APP_CB; yy++) { in nfa_hci_is_valid_cfg()
235 if ((nfa_hci_cb.cfg.reg_app_names[yy][0] != 0) && in nfa_hci_is_valid_cfg()
237 &nfa_hci_cb.cfg.reg_app_names[yy][0], in nfa_hci_is_valid_cfg()
264 for (yy = xx + 1; yy < NFA_HCI_MAX_GATE_CB; yy++) { in nfa_hci_is_valid_cfg()
265 if ((nfa_hci_cb.cfg.dyn_gates[yy].gate_id != 0) && in nfa_hci_is_valid_cfg()
267 nfa_hci_cb.cfg.dyn_gates[yy].gate_id)) { in nfa_hci_is_valid_cfg()
355 for (yy = xx + 1; yy < NFA_HCI_MAX_PIPE_CB; yy++) { in nfa_hci_is_valid_cfg()
356 if ((nfa_hci_cb.cfg.dyn_pipes[yy].pipe_id != 0) && in nfa_hci_is_valid_cfg()
358 nfa_hci_cb.cfg.dyn_pipes[yy].pipe_id)) { in nfa_hci_is_valid_cfg()
Dnfa_hci_act.cc233 int xx, yy; in nfa_hci_api_register() local
253 for (yy = 0; yy < NFA_HCI_MAX_GATE_CB; yy++, pg++) { in nfa_hci_api_register()
401 int xx, yy; in nfa_hci_api_get_gate_pipe_list() local
415 for (yy = 0; yy < NFA_HCI_MAX_PIPE_CB; yy++, pp++) { in nfa_hci_api_get_gate_pipe_list()
439 for (yy = 0, pg = nfa_hci_cb.cfg.dyn_gates; yy < NFA_HCI_MAX_GATE_CB; in nfa_hci_api_get_gate_pipe_list()
440 yy++, pg++) { in nfa_hci_api_get_gate_pipe_list()
/system/tools/hidl/
Dhidl-gen_y-helpers.h31 android::Location convertYYLoc(const yy::parser::location_type& loc, const android::AST* ast);
Dhidl-gen_l.ll57 using token = yy::parser::token;
203 int res = yy::parser(scanner, ast, &scopeStack).parse();
DAndroid.bp124 "hidl-gen_y.yy",
/system/bt/bta/hh/
Dbta_hh_utils.cc246 uint16_t xx, yy, key_idx = 0; in bta_hh_parse_keybd_rpt() local
281 for (yy = 0; yy < BTA_HH_MAX_RPT_CHARS; yy++) { in bta_hh_parse_keybd_rpt()
282 if (this_report[xx] == p_kb->last_report[yy]) { in bta_hh_parse_keybd_rpt()
/system/bt/stack/avrc/
Davrc_bld_tg.cc910 uint8_t *p_item_len, yy; in avrc_bld_get_folder_items_rsp() local
1025 for (yy = 0; yy < p_media->attr_count; yy++) { in avrc_bld_get_folder_items_rsp()
1026 if (p_attr[yy].name.p_str && in avrc_bld_get_folder_items_rsp()
1027 AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_attr[yy].attr_id) && in avrc_bld_get_folder_items_rsp()
1028 (len_left >= (p_attr[yy].name.str_len + 8))) { in avrc_bld_get_folder_items_rsp()
1030 UINT32_TO_BE_STREAM(p_data, p_attr[yy].attr_id); in avrc_bld_get_folder_items_rsp()
1031 UINT16_TO_BE_STREAM(p_data, p_attr[yy].name.charset_id); in avrc_bld_get_folder_items_rsp()
1032 UINT16_TO_BE_STREAM(p_data, p_attr[yy].name.str_len); in avrc_bld_get_folder_items_rsp()
1033 ARRAY_TO_BE_STREAM(p_data, p_attr[yy].name.p_str, in avrc_bld_get_folder_items_rsp()
1034 p_attr[yy].name.str_len); in avrc_bld_get_folder_items_rsp()
[all …]
Davrc_pars_tg.cc102 uint8_t xx, yy; in avrc_pars_vendor_cmd() local
170 for (xx = 0, yy = 0; xx < p_result->get_cur_app_val.num_attr; xx++) { in avrc_pars_vendor_cmd()
172 if (AVRC_IsValidPlayerAttr(*p)) p_u8[yy++] = *p; in avrc_pars_vendor_cmd()
175 p_result->get_cur_app_val.num_attr = yy; in avrc_pars_vendor_cmd()
176 if (yy == 0) { in avrc_pars_vendor_cmd()
/system/nfc/src/nfc/nfc/
Dnfc_main.cc200 int yy = 0; in nfc_enabled() local
220 (yy < NFC_NFCC_MAX_NUM_VS_INTERFACE)) { in nfc_enabled()
222 nfc_cb.vs_interface[yy++] = *p; in nfc_enabled()
269 (yy < NFC_NFCC_MAX_NUM_VS_INTERFACE)) { in nfc_enabled()
271 nfc_cb.vs_interface[yy++] = *p; in nfc_enabled()
820 uint8_t xx, yy, num_intf, intf_mask; in NFC_DiscoveryMap() local
837 for (yy = 0; yy < NFC_NFCC_MAX_NUM_VS_INTERFACE; yy++) { in NFC_DiscoveryMap()
838 if (nfc_cb.vs_interface[yy] == p_maps[xx].intf_type) in NFC_DiscoveryMap()
/system/nfc/src/nfc/nci/
Dnci_hrcv.cc388 uint8_t yy; in nci_proc_ee_management_ntf() local
402 yy = *pp; in nci_proc_ee_management_ntf()
413 pp = p + yy; in nci_proc_ee_management_ntf()
418 yy, nfc_response.nfcee_info.num_tlvs); in nci_proc_ee_management_ntf()
427 p_tlv->len = yy = *pp++; in nci_proc_ee_management_ntf()
/system/bt/bta/dm/
Dbta_dm_api.cc345 uint8_t xx, yy; in BTA_GetEirService() local
355 for (yy = 0; yy < BTA_MAX_SERVICE_ID; yy++) { in BTA_GetEirService()
356 if (*(p_uuid16 + xx) == bta_service_id_to_uuid_lkup_tbl[yy]) { in BTA_GetEirService()
/system/bt/stack/l2cap/
Dl2c_ble.cc815 uint16_t qq, yy, qq_remainder; in l2c_ble_link_adjust_allocation() local
831 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_ble_link_adjust_allocation()
878 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_ble_link_adjust_allocation()
900 yy, p_lcb->acl_priority, p_lcb->link_xmit_quota); in l2c_ble_link_adjust_allocation()
Dl2c_link.cc677 uint16_t qq, yy, qq_remainder; in l2c_link_adjust_allocation() local
695 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_link_adjust_allocation()
743 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) { in l2c_link_adjust_allocation()
765 "l2c_link_adjust_allocation LCB %d Priority: %d XmitQuota: %d", yy, in l2c_link_adjust_allocation()
/system/bt/gd/packet/parser/
DAndroid.bp34 "language_y.yy",
Dlanguage_y.yy13 extern int yylex(yy::parser::semantic_type*, yy::parser::location_type*, void *);
15 ParseLocation toParseLocation(yy::parser::location_type loc) {
727 void yy::parser::error(const yy::parser::location_type& loc, const std::string& error) {
Dlanguage_l.ll10 using token = yy::parser::token;
/system/tools/hidl/c2hal/
DAndroid.bp32 "c2hal_y.yy",
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc124 int xx, yy = 0; in nfa_ee_trace_aid() local
135 yy += snprintf(&buff[yy], MAX_BUFF_SIZE - yy, "%02x ", *p); in nfa_ee_trace_aid()
641 int xx, yy, aid_len_offset, offset; in nfa_ee_find_aid_offset() local
646 for (yy = 0; yy <= nfa_ee_cb.cur_ee; yy++) { in nfa_ee_find_aid_offset()
666 p_ecb = &nfa_ee_cb.ecb[yy]; in nfa_ee_find_aid_offset()
695 for (uint8_t yy = 0; yy < p_ecb->sys_code_cfg_entries; yy++) { in nfa_ee_find_sys_code_offset() local
700 if (p_entry) *p_entry = yy; in nfa_ee_find_sys_code_offset()
2482 int xx, yy; in nfa_ee_get_tech_route() local
2493 for (yy = 0; yy < nfa_ee_cb.cur_ee; yy++, p_cb--) { in nfa_ee_get_tech_route()
/system/nfc/src/gki/common/
Dgki_buffer.cc858 uint32_t yy; in GKI_find_buf_start() local
864 yy = (uint32_t)(p_ua - p_cb->pool_start[xx]); in GKI_find_buf_start()
868 yy = (yy / size) * size; in GKI_find_buf_start()
870 return ((void*)(p_cb->pool_start[xx] + yy + sizeof(BUFFER_HDR_T))); in GKI_find_buf_start()

12