/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stackdepot.cc | 140 for (int idx = 0; idx < StackDepot::kTabSize; idx++) { 141 atomic_uintptr_t *p = &theDepot.tab[idx]; 156 uptr idx = InternalBinarySearch(map_, 0, map_.size(), pair, local 158 if (idx > map_.size()) 160 return map_[idx].desc->load();
|
H A D | sanitizer_deadlock_detector.h | 115 uptr getLock(uptr idx) const { return all_locks_with_contexts_[idx].lock; } 193 uptr idx = nodeToIndex(node); local 194 CHECK(!available_nodes_.getBit(idx)); 195 CHECK(recycled_nodes_.setBit(idx)); 196 g_.removeEdgesFrom(idx); 319 uptr idx = nodeToIndex(cur_node); local 320 CHECK(!tmp_bv_.getBit(idx)); 321 uptr res = g_.findShortestPath(idx, tmp_bv_, path, path_size); 369 void check_idx(uptr idx) cons 391 uptr idx = available_nodes_.getAndClearFirstOne(); local [all...] |
/external/lldb/include/lldb/Core/ |
H A D | StreamTee.h | 145 GetStreamAtIndex (uint32_t idx) argument 149 if (idx < m_streams.size()) 150 stream_sp = m_streams[idx]; 155 SetStreamAtIndex (uint32_t idx, const lldb::StreamSP& stream_sp) argument 162 if (idx >= m_streams.size()) 163 m_streams.resize(idx + 1); 164 m_streams[idx] = stream_sp;
|
/external/lldb/source/Symbol/ |
H A D | VariableList.cpp | 70 VariableList::GetVariableAtIndex(size_t idx) const 73 if (idx < m_variables.size()) 74 var_sp = m_variables[idx]; 79 VariableList::RemoveVariableAtIndex(size_t idx) argument 82 if (idx < m_variables.size()) 84 var_sp = m_variables[idx]; 85 m_variables.erase (m_variables.begin() + idx);
|
/external/icu/icu4c/source/tools/toolutil/ |
H A D | package.cpp | 422 int32_t idx; local 426 for(idx=0; idx<itemCount; ++idx) { 427 if(items[idx].isDataOwned) { 428 free(items[idx].data); 975 int32_t idx, nameLength, middleLength; local 982 idx=findNextIndex++; 983 name=items[idx].name; 1010 return idx; 1030 int32_t idx; local 1088 removeItem(int32_t idx) argument 1109 int32_t idx; local 1128 extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) argument 1186 extractItem(const char *filesPath, int32_t idx, char outType) argument 1192 int32_t idx; local [all...] |
/external/blktrace/btt/ |
H A D | btt_plot.py | 131 for idx in range(1, len(ys)): 132 if (xs[idx] - _xs[0]) > x_range: 137 _xs = [xs[idx]] 138 _ys = [ys[idx]] 140 _xs.append(xs[idx]) 141 _ys.append(ys[idx]) 285 def color(idx, style): 292 color = colors[idx % len(colors)] 294 style = l_styles[(idx / len(l_styles)) % len(l_styles)] 296 style = m_styles[(idx / le [all...] |
/external/libvncserver/x11vnc/ |
H A D | macosx.c | 547 int idx = -1, k; local 562 idx = k; 567 if (idx < 0) { 571 *x = macwins[idx].x; 572 *y = macwins[idx].y; 573 *w = macwins[idx].width; 574 *h = macwins[idx].height; 575 *frame = (Window) macwins[idx].win; 580 last_idx = idx; 588 int i, k, idx local [all...] |
H A D | macosxCGS.c | 145 int idx; local 153 idx = macosxCGS_get_qlook(w); 154 if (idx >= 0) { 155 if (macwins[idx].win == w) { 156 last_index = idx; 157 return idx; 161 for (idx=0; idx < macwinmax; idx++) { 162 if (macwins[idx] 176 macosxCGS_follow_animation_win(int win, int idx, int grow) argument 381 int j, idx = -1; local [all...] |
/external/lldb/source/Target/ |
H A D | StackFrameList.cpp | 290 uint32_t idx = m_concrete_frames_fetched++; local 293 if (idx == 0) 304 const bool success = unwinder->GetFrameInfoAtIndex(idx, cfa, pc); 316 idx, 332 const bool success = unwinder->GetFrameInfoAtIndex(idx, cfa, pc); 339 unwind_frame_sp.reset (new StackFrame (m_thread.shared_from_this(), m_frames.size(), idx, cfa, pc, NULL)); 353 if (idx > 0) 363 idx, 502 StackFrameList::GetFrameAtIndex (uint32_t idx) argument 506 uint32_t original_idx = idx; 638 SetFrameAtIndex(uint32_t idx, StackFrameSP &frame_sp) argument 684 SetSelectedFrameByIndex(uint32_t idx) argument [all...] |
/external/elfutils/src/src/ |
H A D | i386_ld.c | 448 for (size_t idx = nsym_local; idx < nsym; ++idx) 450 struct symbol *symbol = ndxtosym[idx]; 452 || ndxtosym[idx]->outdynsymidx == 0 454 || ! ndxtosym[idx]->in_dso) 469 if (((Elf32_Sym *) dynsymdata->d_buf)[ndxtosym[idx]->outdynsymidx].st_shndx != SHN_UNDEF) 478 assert(nsym - statep->nplt + (pltidx - 1) == idx); 508 rel->r_info = XELF_R_INFO (ndxtosym[idx]->outdynsymidx, R_386_JMP_SLOT); 777 size_t idx local [all...] |
H A D | strip.c | 413 Elf32_Word idx; /* Index in new file. */ member in struct:shdr_info 425 size_t idx; local 618 shdr_info[cnt].idx = 1; 663 shdr_info[cnt].idx = 0; 679 if (shdr_info[shdr_info[cnt].group_idx].idx == 0) 709 shdr_info[cnt].idx = 0; 711 idx = shdr_info[cnt].group_idx; 712 while (idx != 0) 715 assert (shdr_info[idx].data != NULL); 720 bool is_comdat = (((Elf32_Word *) shdr_info[idx] [all...] |
/external/lldb/source/Interpreter/ |
H A D | Args.cpp | 426 Args::GetArgumentAtIndex (size_t idx) const 428 if (idx < m_argv.size()) 429 return m_argv[idx]; 434 Args::GetArgumentQuoteCharAtIndex (size_t idx) const 436 if (idx < m_args_quote_char.size()) 437 return m_args_quote_char[idx]; 504 Args::InsertArgumentAtIndex (size_t idx, const char *arg_cstr, char quote_char) argument 510 size_t i = idx; 516 if (idx >= m_args_quote_char.size()) 518 m_args_quote_char.resize(idx 529 ReplaceArgumentAtIndex(size_t idx, const char *arg_cstr, char quote_char) argument 553 DeleteArgumentAtIndex(size_t idx) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | RuleBasedTimeZone.java | 323 int idx = 1; 325 for (; idx < historicRules.size() + 1; idx++) { 326 rules[idx] = historicRules.get(idx - 1); 330 rules[idx++] = finalRules[0]; 332 rules[idx] = finalRules[1]; 356 int idx = historicTransitions.size() - 1; 357 tzt = historicTransitions.get(idx); 381 idx [all...] |
/external/libedit/src/ |
H A D | readline.c | 510 int idx, sign, sub, num, begin, ret; local 516 idx = *cindex; 517 if (cmd[idx++] != history_expansion_char) 521 if (cmd[idx] == history_expansion_char || cmd[idx] == '\0') { 524 *cindex = cmd[idx]? (idx + 1):idx; 528 if (cmd[idx] == '-') { 530 idx 643 int start, end, idx, has_mods = 0; local 888 size_t idx, i, size; local 1076 int size = 1, idx = 0, i, start; local [all...] |
/external/toybox/toys/pending/ |
H A D | ip.c | 48 int idx; member in struct:arglist 116 if (!memcmp(str, alist->name, len)) return alist->idx; 126 if (!strcmp(str, alist->name)) return alist->idx; 130 static char *idx_to_string(int idx, struct arglist *list) argument 134 if (idx < 0) return NULL; 136 if (idx == alist->idx) return alist->name; 176 int32_t idx; local 180 if ((sscanf(ptr, "0x%x %s\n", &idx, toybuf) != 2) && 181 (sscanf(ptr, "0x%x %s #", &idx, toybu 288 namefromRPDB(int idx, u_int8_t whichDB) argument 323 rtmtype_idx2str(u_int8_t idx) argument 334 int idx = string_to_idx(name, rtmtypes); local 515 int idx; local 566 uint8_t idx = substring_to_idx(*argv, objectlist); local 611 uint32_t idx = get_ifaceindex(link, 1); local 645 int idx, flags = 0, masks = 0xffff, fd; local 938 int idx; local 1059 int idx = 0,length_brd = 0, length_peer = 0,length_any = 0,length_local = 0, local 1230 int idx; uint32_t netmask = 0, found = 0; local 1270 int idx = atolx(*argv); local 1427 int idx; local 1672 int idx, flag; local 1769 int family = TT.addressfamily, idx; local 1894 int idx; local 2027 int idx = 1; local 2080 int8_t idx, tflag = 0, opt = (*argv[-1] == 'a') ? RTM_NEWRULE : RTM_DELRULE; local 2303 int idx; local 2436 int idx; local 2637 int idx = 2, rtype = SIOCDELTUNNEL; local 2665 int idx; local 2732 int idx, isip = !(toys.which->name[2]); //1 -> if only ip local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | incomplete_lq_factorization.cc | 211 for (int idx = rows[i]; idx < rows[i + 1]; ++idx) { 212 q_i(cols[idx]) = values[idx]; 218 for (int idx = q_rows[r]; idx < q_rows[r + 1]; ++idx) { 219 q_i(q_cols[idx]) -= lij * q_values[idx]; [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_bitvector_test.cc | 38 uptr idx = it.next(); local 41 EXPECT_LT(last_idx, idx); 42 last_idx = idx; 43 EXPECT_TRUE(s.count(idx)); 49 uptr idx = t.getAndClearFirstOne(); local 51 EXPECT_LT(last_idx, idx); 52 last_idx = idx; 53 EXPECT_TRUE(t_s.erase(idx)); 63 uptr idx = t.getAndClearFirstOne(); local 64 fprintf(stderr, "%zd ", idx); [all...] |
/external/lldb/source/Plugins/Process/Utility/ |
H A D | UnwindLLDB.cpp | 213 UnwindLLDB::DoGetFrameInfoAtIndex (uint32_t idx, addr_t& cfa, addr_t& pc) argument 224 while (idx >= m_frames.size() && AddOneMoreFrame (abi)) 227 if (idx < m_frames.size ()) 229 cfa = m_frames[idx]->cfa; 230 pc = m_frames[idx]->start_pc; 240 uint32_t idx = frame->GetConcreteFrameIndex (); local 242 if (idx == 0) 256 while (idx >= m_frames.size()) 263 if (idx < num_frames) 265 Cursor *frame_cursor = m_frames[idx] [all...] |
/external/lldb/source/Plugins/SymbolFile/Symtab/ |
H A D | SymbolFileSymtab.cpp | 154 SymbolFileSymtab::ParseCompileUnitAtIndex(uint32_t idx) argument 160 if (idx < m_source_indexes.size()) 162 const Symbol *cu_symbol = m_obj_file->GetSymtab()->SymbolAtIndex(m_source_indexes[idx]); 208 uint32_t idx = 0; // Index into the indexes local 210 for (idx = 0; idx < num_indexes; ++idx) 212 uint32_t symbol_idx = m_code_indexes[idx]; 223 else if (idx + 1 < num_indexes) 225 next_symbol = symtab->SymbolAtIndex(m_code_indexes[idx [all...] |
/external/tcpdump/ |
H A D | print-rpki-rtr.c | 136 u_int idx; local 138 idx = 0; 139 buf[idx] = '\0'; 151 buf[idx] = '\n'; 152 idx++; 155 buf[idx] = '\t'; 156 idx++; 161 buf[idx] = ' '; 162 idx++; 169 buf[idx] [all...] |
/external/libvpx/libvpx/ |
H A D | rate_hist.c | 84 int idx = hist->frames++ % hist->samples; local 85 hist->pts[idx] = now; 86 hist->sz[idx] = (int)pkt->data.frame.sz; 107 idx = (int)(avg_bitrate * (RATE_BINS / 2) / (cfg->rc_target_bitrate * 1000)); 108 if (idx < 0) 109 idx = 0; 110 if (idx > RATE_BINS - 1) 111 idx = RATE_BINS - 1; 112 if (hist->bucket[idx].low > avg_bitrate) 113 hist->bucket[idx] [all...] |
/external/valgrind/callgrind/ |
H A D | bb.c | 123 UInt idx, size; local 152 idx = bb_hash_idx(obj, offset, bbs.size); 153 bb->next = bbs.table[idx]; 154 bbs.table[idx] = bb; 180 Int idx; local 182 idx = bb_hash_idx(obj, offset, bbs.size); 183 bb = bbs.table[idx]; 290 Int idx, size; local 295 idx = bb_hash_idx(obj, offset, bbs.size); 296 bb = bbs.table[idx]; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | TimeZoneNamesImpl.java | 596 for (int idx = 0; idx < zoneBundle.getSize(); idx++) { 597 UResourceBundle mz = zoneBundle.get(idx); 627 int idx; 631 for (idx = 0; idx <= 3; idx++) { 632 n = text.charAt(idx) - '0'; 640 for (idx [all...] |
/external/mesa3d/src/mesa/x86/rtasm/ |
H A D | x86sse.c | 98 val |= reg.idx << 3; /* reg field */ 99 val |= regmem.idx; /* r/m field */ 106 regmem.idx == reg_SP) { 173 enum x86_reg_name idx ) 178 reg.idx = idx; 212 return x86_make_reg( reg.file, reg.idx ); 308 emit_1ub(p, 0xb8 + dst.idx); 316 emit_1ub(p, 0x50 + reg.idx); 324 emit_1ub(p, 0x58 + reg.idx); [all...] |
/external/boringssl/src/crypto/x509/ |
H A D | x509_ext.c | 96 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) argument 98 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx); 147 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) argument 149 return X509V3_get_d2i(x->cert_info->extensions, nid, crit, idx); 195 void *X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx) argument 197 return X509V3_get_d2i(x->extensions, nid, crit, idx);
|