/system/tools/hidl/ |
H A D | DocComment.cpp | 37 size_t idx = 0; local 38 for (; idx < line.size() && isspace(line[idx]); idx++) 40 if (idx < line.size() && line[idx] == '*') idx++; 41 if (idx < line.size() && line[idx] == ' ') idx [all...] |
/system/bt/btif/src/ |
H A D | btif_hf.cc | 182 * Description Internal function to get idx by bdaddr 184 * Returns idx 225 static void send_at_result(uint8_t ok_flag, uint16_t errcode, int idx) { argument 231 BTA_AgResult(btif_hf_cb[idx].handle, BTA_AG_UNAT_RES, ag_res); 280 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 281 if (idx < 0 || idx > BTA_AG_MAX_NUM_CLIENTS) { 282 LOG(WARNING) << __func__ << ": invalid index " << idx << " for " 286 return btif_hf_cb[idx].state == BTHF_CONNECTION_STATE_SLC_CONNECTED; 308 int idx local 760 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 776 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 799 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 815 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 838 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 863 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 889 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 913 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 937 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 967 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 986 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1007 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1055 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1309 int idx = btif_hf_idx_by_bdaddr(bd_addr); local [all...] |
/system/core/libcutils/tests/ |
H A D | fs_config.cpp | 71 for (size_t idx = 0; idx < paths.size(); ++idx) { 73 std::string path(paths[idx]); 75 for (second = idx + 1; second < paths.size(); ++second) { 77 GTEST_LOG_(ERROR) << "duplicate paths in " << config_name << ": " << paths[idx]; 90 << paths[idx] << " and " << paths[second] 107 GTEST_LOG_(ERROR) << "replace path in " << config_name << ": " << paths[idx] 124 for (size_t idx = 0; paths[idx] [all...] |
/system/bt/bta/ag/ |
H A D | bta_ag_at.cc | 80 uint16_t idx; local 85 for (idx = 0; p_cb->p_at_tbl[idx].p_cmd[0] != 0; idx++) { 86 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf)) { 92 if (p_cb->p_at_tbl[idx].p_cmd[0] != 0) { 94 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd); 124 if ((arg_type & p_cb->p_at_tbl[idx].arg_type) != 0) { 127 p_cb->p_at_tbl[idx].fmt == BTA_AG_AT_INT) { 129 if (int_arg < (int16_t)p_cb->p_at_tbl[idx] [all...] |
/system/bt/stack/avct/ |
H A D | avct_ccb.cc | 120 tAVCT_CCB* avct_ccb_by_idx(uint8_t idx) { argument 124 if (idx < AVCT_NUM_CONN) { 125 p_ccb = &avct_cb.ccb[idx]; 130 AVCT_TRACE_WARNING("ccb %d not allocated", idx); 134 AVCT_TRACE_WARNING("No ccb for idx %d", idx);
|
H A D | avct_bcb_act.cc | 164 for (int idx = 0; idx < AVCT_NUM_CONN; idx++, p_ccb++) { 226 for (int idx = 0; idx < AVCT_NUM_CONN; idx++, p_ccb++) { 248 for (int idx = 0; idx < AVCT_NUM_CONN; idx++, p_ccb++) { 283 for (int idx 663 uint8_t idx = 0; local 686 int idx; local [all...] |
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | utils.h | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms);
|
H A D | utils.c | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms) argument 16 ? key->source_type - 1 : idx], 19 ? key->target_type - 1 : idx],
|
/system/core/lmkd/include/ |
H A D | lmkd.h | 78 int idx = 0; local 79 packet[idx++] = htonl(LMK_TARGET); 81 packet[idx++] = htonl(targets->minfree); 82 packet[idx++] = htonl(targets->oom_adj_score); 86 return idx * sizeof(int);
|
/system/nfc/src/nfc/llcp/ |
H A D | llcp_util.cc | 164 uint8_t idx, rx_congest_start; local 169 for (idx = 0; idx < LLCP_MAX_DATA_LINK; idx++) { 170 if (llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) { 171 if (rx_congest_start > llcp_cb.dlcb[idx].local_rw) { 176 if (llcp_cb.dlcb[idx].local_rw + 1 > LLCP_DL_MIN_RX_CONGEST) 177 llcp_cb.dlcb[idx].rx_congest_threshold = 178 llcp_cb.dlcb[idx].local_rw + 1; 180 llcp_cb.dlcb[idx] 203 uint8_t idx; local 330 int idx; local [all...] |
H A D | llcp_link.cc | 394 uint8_t local_sap, idx; local 423 for (idx = 0; idx < LLCP_MAX_DATA_LINK; idx++) { 424 if (llcp_cb.dlcb[idx].state != LLCP_DLC_STATE_IDLE) { 425 p_dlcb = &(llcp_cb.dlcb[idx]); 609 uint8_t sap, idx; local 654 for (idx = 0; idx < LLCP_MAX_DATA_LINK; idx 688 uint8_t xx, sap, idx; local [all...] |
/system/security/keystore-engine/ |
H A D | methods.h | 55 int keyhandle_new(void*, void*, CRYPTO_EX_DATA* ad, int idx, long, void*); 57 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *);
|
/system/libufdt/tests/ |
H A D | verifyDTBO.sh | 33 for idx in ${overlay_idx//,/ } 35 arg="${arg}dumped_dtbo.${idx} "
|
/system/tools/hidl/docs/src/parser/files/ |
H A D | AbstractFileParser.kt | 97 val idx = indexInsertionPointforDocTokens(tokensCopy) 98 if (idx != -1) { 100 repeat(idx) { 119 var idx = 0 125 idx++ 128 return if (token.identifier == TokenGrammar.DOC_END) -1 else idx+1
|
/system/core/logcat/include/log/ |
H A D | getopt.h | 60 const struct option* long_options, int* idx,
|
/system/libufdt/ |
H A D | ufdt_prop_dict.c | 47 int idx = hash & (size - 1); local 48 /* If collision, use linear probing to find idx in the hash table */ 50 const struct fdt_property **prop_ptr = &dict->props[idx]; 57 idx = (idx + 1) & (size - 1);
|
/system/tools/hidl/docs/src/parser/elements/declarations/ |
H A D | EnumDeclarationParser.kt | 72 val idx = statementTokens.indexOfFirst { it.identifier == TokenGrammar.DOC_END } 73 if (idx == -1) throw ParseException("Unable to find doc_end", this.indexStart) 75 val docTokens = statementTokens.subList(0, idx+1) 77 statementTokens = statementTokens.subList(idx+1, statementTokens.size)
|
H A D | CompoundDeclarationParser.kt | 67 val idx = statementTokens.indexOfFirst { it.identifier == TokenGrammar.DOC_END } 68 if (idx == -1) throw ParseException("Unable to find doc_end", this.indexStart) 69 val docTokens = statementTokens.subList(0, idx+1) 71 statementTokens = statementTokens.subList(idx+1, statementTokens.size)
|
/system/update_engine/payload_consumer/ |
H A D | cached_file_descriptor_unittest.cc | 99 for (size_t idx = 0; idx < blob_in.size(); idx++) { 100 Write(&blob_in[idx], 1); 115 for (size_t idx = 0; idx < kRandomIterations; idx++) { 119 std::fill_n(&blob_in[start], size, idx % 256);
|
/system/update_engine/scripts/update_payload/ |
H A D | common.py | 178 idx, inc = (len(items), -1) if reverse else (1, 1) 182 item_name = '%s[%d]' % (base_name, idx) 186 idx += inc
|
/system/media/audio_utils/ |
H A D | PowerLog.cpp | 126 const size_t idx = (mIdx + numberOfEntries - offset - 1) % numberOfEntries; // reverse direction local 127 const int64_t time = mEntries[idx].first; 128 const float energy = mEntries[idx].second; 175 const size_t idx = (mIdx + numberOfEntries - offset - 1) % numberOfEntries; local 176 const int64_t time = mEntries[idx].first; 177 const float energy = mEntries[idx].second;
|
/system/bt/stack/rfcomm/ |
H A D | rfc_l2cap_if.cc | 166 uint8_t idx = p_mcb->port_inx[i]; local 167 if (idx != 0) { 169 p_mcb->port_inx[i + 1] = idx; 170 rfc_cb.port.port[idx - 1].dlci += 1; 171 RFCOMM_TRACE_DEBUG("RFCOMM MX, port_handle=%d, DLCI[%d->%d]", idx, i, 172 rfc_cb.port.port[idx - 1].dlci);
|
/system/core/logcat/ |
H A D | getopt_long.cpp | 115 const struct option* long_options, int* idx, 230 if (idx) *idx = match; 241 const struct option* long_options, int* idx, 333 optchar = parse_long_options_r(nargv, options, long_options, idx, 374 optchar = parse_long_options_r(nargv, options, long_options, idx, false, 114 parse_long_options_r(char* const* nargv, const char* options, const struct option* long_options, int* idx, bool short_too, struct getopt_context* context) argument 240 getopt_long_r(int nargc, char* const* nargv, const char* options, const struct option* long_options, int* idx, struct getopt_context* context) argument
|
/system/core/storaged/ |
H A D | storaged_info.cpp | 207 int idx = (recent_perf.size() + nr_samples - 1 - i) % recent_perf.size(); local 208 ret[start + i] = recent_perf[idx]; 213 int idx = (daily_perf.size() + nr_days - 1 - i) % daily_perf.size(); local 214 ret[start + i] = daily_perf[idx]; 219 int idx = (weekly_perf.size() + nr_weeks - 1 - i) % weekly_perf.size(); local 220 ret[start + i] = weekly_perf[idx];
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | framing.c | 158 OI_UINT idx; local 159 idx = oldcrc ^ next; 160 crc = crc8_wide[idx >> 1]; 161 if (idx % 2) { 172 OI_UINT idx; local 173 idx = (oldcrc ^ next) >> 4; 174 crc = crc8_wide[idx >> 1]; 175 if (idx % 2) {
|