Searched refs:idx (Results 126 - 150 of 2166) sorted by relevance

1234567891011>>

/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Devsel-roundtrip-name.c9 int type, op, err = 0, ret = 0, i, idx; local
32 idx = 0;
44 if (evsel->idx != idx)
47 ++idx;
83 if (strcmp(perf_evsel__name(evsel), names[evsel->idx])) {
85 pr_debug("%s != %s\n", perf_evsel__name(evsel), names[evsel->idx]);
/external/llvm/include/llvm/IR/
H A DCFG.h115 unsigned idx; member in class:llvm::SuccIterator
118 inline bool index_is_valid(int idx) { argument
119 return idx >= 0 && (unsigned) idx < Term->getNumSuccessors();
135 it.Term->setSuccessor(it.idx, r);
143 explicit inline SuccIterator(Term_ T) : Term(T), idx(0) {// begin iterator
148 idx = Term->getNumSuccessors();
155 idx = 0;
160 idx = I.idx;
[all...]
/external/ceres-solver/internal/ceres/
H A Dcompressed_row_sparse_matrix.cc120 const int idx = index[i]; local
121 ++rows_[m.rows()[idx] + 1];
122 cols_[i] = m.cols()[idx];
123 values_[i] = m.values()[idx];
167 for (int idx = rows_[r]; idx < rows_[r + 1]; ++idx) {
168 y[r] += values_[idx] * x[cols_[idx]];
178 for (int idx
[all...]
/external/lldb/source/Symbol/
H A DLineTable.cpp172 LineTable::GetLineEntryAtIndex(uint32_t idx, LineEntry& line_entry) argument
174 if (idx < m_entries.size())
176 ConvertEntryAtIndexToLineEntry (idx, line_entry);
261 LineTable::ConvertEntryAtIndexToLineEntry (uint32_t idx, LineEntry &line_entry) argument
263 if (idx < m_entries.size())
265 const Entry& entry = m_entries[idx];
269 if (!entry.is_terminal_entry && idx + 1 < m_entries.size())
270 line_entry.range.SetByteSize(m_entries[idx+1].file_addr - entry.file_addr);
304 for (size_t idx = start_idx; idx < coun
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DSHA1Digest.java185 int idx = 0;
189 // E = rotateLeft(A, 5) + f(B, C, D) + E + X[idx++] + Y1
191 E += (A << 5 | A >>> 27) + f(B, C, D) + X[idx++] + Y1;
194 D += (E << 5 | E >>> 27) + f(A, B, C) + X[idx++] + Y1;
197 C += (D << 5 | D >>> 27) + f(E, A, B) + X[idx++] + Y1;
200 B += (C << 5 | C >>> 27) + f(D, E, A) + X[idx++] + Y1;
203 A += (B << 5 | B >>> 27) + f(C, D, E) + X[idx++] + Y1;
212 // E = rotateLeft(A, 5) + h(B, C, D) + E + X[idx++] + Y2
214 E += (A << 5 | A >>> 27) + h(B, C, D) + X[idx++] + Y2;
217 D += (E << 5 | E >>> 27) + h(A, B, C) + X[idx
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dshaders_cache.c256 int idx = 0, sh; local
267 shaders[idx] = &shaders_paint_asm[(sh >> SHADERS_PAINT_SHIFT) - 1];
268 assert(shaders[idx]->id == sh);
269 idx++;
281 shaders[idx] = &shaders_image_asm[(sh >> SHADERS_IMAGE_SHIFT) - 1];
282 assert(shaders[idx]->id == sh);
283 idx++;
290 assert(idx == ((!sh || sh == VEGA_IMAGE_NORMAL_SHADER) ? 1 : 2));
296 shaders[idx] = &shaders_color_transform_asm[
298 assert(shaders[idx]
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dshaders_cache.c256 int idx = 0, sh; local
267 shaders[idx] = &shaders_paint_asm[(sh >> SHADERS_PAINT_SHIFT) - 1];
268 assert(shaders[idx]->id == sh);
269 idx++;
281 shaders[idx] = &shaders_image_asm[(sh >> SHADERS_IMAGE_SHIFT) - 1];
282 assert(shaders[idx]->id == sh);
283 idx++;
290 assert(idx == ((!sh || sh == VEGA_IMAGE_NORMAL_SHADER) ? 1 : 2));
296 shaders[idx] = &shaders_color_transform_asm[
298 assert(shaders[idx]
[all...]
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_at.c85 UINT16 idx; local
90 for (idx = 0; p_cb->p_at_tbl[idx].p_cmd[0] != 0; idx++)
92 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf))
99 if (p_cb->p_at_tbl[idx].p_cmd[0] != 0)
102 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd);
139 if ((arg_type & p_cb->p_at_tbl[idx].arg_type) != 0)
143 p_cb->p_at_tbl[idx].fmt == BTA_AG_AT_INT)
146 if (int_arg < (INT16) p_cb->p_at_tbl[idx]
[all...]
/external/openssl/crypto/x509v3/
H A Dv3_lib.c101 int idx; local
107 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp);
108 if(idx == -1) return NULL;
109 return sk_X509V3_EXT_METHOD_value(ext_list, idx);
180 * The "idx" variable returns the last found extension and can
183 * due to a badly encoded certificate so if idx is NULL we
194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx)
199 if(idx) *idx = -1;
203 if(idx) lastpo
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLExtensions.cpp27 int idx = SkTSearch<SkString, extension_compare>(&strings.front(), local
31 return idx;
110 int idx = find_string(*fStrings, ext); local
111 if (idx >= 0) {
116 fStrings->push_back_n(idx, &oldStrings->front());
117 fStrings->push_back_n(oldStrings->count() - idx - 1, &(*oldStrings)[idx] + 1);
125 int idx = find_string(*fStrings, ext); local
126 if (idx < 0) {
/external/chromium_org/third_party/sqlite/src/src/
H A Dvdbetrace.c70 int idx = 0; /* Index of a host parameter */ local
101 sqlite3GetInt32(&zRawSql[1], &idx);
103 idx = nextIndex;
110 idx = sqlite3VdbeParameterIndex(p, zRawSql, nToken);
111 assert( idx>0 );
114 nextIndex = idx + 1;
115 assert( idx>0 && idx<=p->nVar );
116 pVar = &p->aVar[idx-1];
/external/skia/src/gpu/gl/
H A DGrGLExtensions.cpp27 int idx = SkTSearch<SkString, extension_compare>(&strings.front(), local
31 return idx;
110 int idx = find_string(*fStrings, ext); local
111 if (idx >= 0) {
116 fStrings->push_back_n(idx, &oldStrings->front());
117 fStrings->push_back_n(oldStrings->count() - idx - 1, &(*oldStrings)[idx] + 1);
125 int idx = find_string(*fStrings, ext); local
126 if (idx < 0) {
/external/blktrace/btt/
H A Dunplug_hist.c53 int idx, n_unplugs = be64_to_cpu(*val); local
56 idx = (n_unplugs / BKT_WIDTH);
57 if (idx > EXCESS_BKT)
58 idx = EXCESS_BKT;
60 hbp->hist[idx]++;
/external/bluetooth/bluedroid/stack/avct/
H A Davct_ccb.c128 tAVCT_CCB *avct_ccb_by_idx(UINT8 idx) argument
133 if (idx < AVCT_NUM_CONN)
135 p_ccb = &avct_cb.ccb[idx];
141 AVCT_TRACE_WARNING("ccb %d not allocated", idx);
147 AVCT_TRACE_WARNING("No ccb for idx %d", idx);
/external/compiler-rt/lib/tsan/benchmarks/
H A Dmini_bench_shared.cc12 void Run(int idx) { argument
18 long idx = (long)arg; local
19 printf("Thread %ld started\n", idx);
21 Run(idx);
22 printf("Thread %ld done\n", idx);
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlua.h144 LUA_API int (lua_absindex) (lua_State *L, int idx);
146 LUA_API void (lua_settop) (lua_State *L, int idx);
147 LUA_API void (lua_pushvalue) (lua_State *L, int idx);
148 LUA_API void (lua_remove) (lua_State *L, int idx);
149 LUA_API void (lua_insert) (lua_State *L, int idx);
150 LUA_API void (lua_replace) (lua_State *L, int idx);
161 LUA_API int (lua_isnumber) (lua_State *L, int idx);
162 LUA_API int (lua_isstring) (lua_State *L, int idx);
163 LUA_API int (lua_iscfunction) (lua_State *L, int idx);
164 LUA_API int (lua_isuserdata) (lua_State *L, int idx);
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bitvector.h34 bool setBit(uptr idx) { argument
36 bits_ |= mask(idx);
41 bool clearBit(uptr idx) { argument
43 bits_ &= ~mask(idx);
47 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; }
51 uptr idx = LeastSignificantSetBitIndex(bits_); local
52 clearBit(idx);
53 return idx;
85 // uptr idx
144 setBit(uptr idx) argument
159 clearBit(uptr idx) argument
[all...]
/external/fio/
H A Dsmalloc.c101 unsigned int idx, size_t nr_blocks,
115 if (this_blocks + idx > SMALLOC_BPI) {
116 this_blocks = SMALLOC_BPI - idx;
117 idx = SMALLOC_BPI - this_blocks;
123 mask = ((1U << this_blocks) - 1) << idx;
129 idx = 0;
156 unsigned int idx, size_t nr_blocks)
158 return blocks_iter(pool, pool_idx, idx, nr_blocks, mask_cmp);
162 unsigned int idx, size_t nr_blocks)
164 blocks_iter(pool, pool_idx, idx, nr_block
100 blocks_iter(struct pool *pool, unsigned int pool_idx, unsigned int idx, size_t nr_blocks, int (*func)(unsigned int *map, unsigned int mask)) argument
155 blocks_free(struct pool *pool, unsigned int pool_idx, unsigned int idx, size_t nr_blocks) argument
161 set_blocks(struct pool *pool, unsigned int pool_idx, unsigned int idx, size_t nr_blocks) argument
167 clear_blocks(struct pool *pool, unsigned int pool_idx, unsigned int idx, size_t nr_blocks) argument
304 unsigned int i, idx; local
370 unsigned int idx; local
[all...]
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttpost.c209 FT_Int idx; local
212 idx = glyph_indices[n];
213 if ( idx >= 258 )
215 idx -= 257;
216 if ( idx > num_names )
217 num_names = (FT_UShort)idx;
343 FT_Long idx = (FT_Long)n + offset_table[n]; local
346 if ( idx < 0 || idx > num_glyphs )
465 /* idx
[all...]
/external/freetype/src/sfnt/
H A Dttpost.c209 FT_Int idx; local
212 idx = glyph_indices[n];
213 if ( idx >= 258 )
215 idx -= 257;
216 if ( idx > num_names )
217 num_names = (FT_UShort)idx;
343 FT_Long idx = (FT_Long)n + offset_table[n]; local
346 if ( idx < 0 || idx > num_glyphs )
465 /* idx
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttpost.c209 FT_Int idx; local
212 idx = glyph_indices[n];
213 if ( idx >= 258 )
215 idx -= 257;
216 if ( idx > num_names )
217 num_names = (FT_UShort)idx;
343 FT_Long idx = (FT_Long)n + offset_table[n]; local
346 if ( idx < 0 || idx > num_glyphs )
465 /* idx
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DClassDefsSection.java133 int idx = 0;
144 idx = orderItems0(type, idx, sz - idx);
153 * @param idx {@code >= 0;} the next index to assign
158 private int orderItems0(Type type, int idx, int maxDepth) { argument
162 return idx;
174 idx = orderItems0(superclass, idx, maxDepth);
180 idx
[all...]
/external/elfutils/0.153/libdw/
H A Ddwarf_getabbrevattr.c61 dwarf_getabbrevattr (abbrev, idx, namep, formp, offsetp)
63 size_t idx;
89 while (cnt++ < idx);
/external/libnl/src/lib/
H A Dct.c142 if (argc > ++idx)
143 nfnl_ct_set_icmp_id(ct, 0, strtoul(argv[idx++], NULL, 0));
145 if (argc > ++idx)
146 nfnl_ct_set_icmp_type(ct, 0, strtoul(argv[idx++], NULL, 0));
148 if (argc > ++idx)
149 nfnl_ct_set_icmp_code(ct, 0, strtoul(argv[idx++], NULL, 0));
151 if (argc > ++idx)
152 nfnl_ct_set_icmp_id(ct, 1, strtoul(argv[idx++], NULL, 0));
154 if (argc > ++idx)
155 nfnl_ct_set_icmp_type(ct, 1, strtoul(argv[idx
[all...]
/external/lldb/include/lldb/Core/
H A DValueObjectList.h60 GetValueObjectAtIndex (size_t idx);
63 RemoveValueObjectAtIndex (size_t idx);
66 SetValueObjectAtIndex (size_t idx,

Completed in 3723 milliseconds

1234567891011>>