Searched refs:idx (Results 251 - 275 of 1845) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_format.c37 const int idx = ilo_format_translate(dev, format, PIPE_BIND_VERTEX_BUFFER); local
39 return (idx >= 0 && ilo_state_vf_valid_element_format(dev, idx));
46 const int idx = ilo_format_translate(dev, format, PIPE_BIND_STREAM_OUTPUT); local
48 return (idx >= 0 && ilo_state_surface_valid_format(dev,
49 ILO_STATE_SURFACE_ACCESS_DP_SVB, idx));
56 const int idx = ilo_format_translate(dev, format, PIPE_BIND_SAMPLER_VIEW); local
58 return (idx >= 0 && ilo_state_surface_valid_format(dev,
59 ILO_STATE_SURFACE_ACCESS_SAMPLER, idx));
66 const int idx local
[all...]
/external/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c100 unsigned int i, idx = 0; local
106 p[idx++] = *e;
109 p[idx] = NULL;
/external/pdfium/third_party/freetype/src/base/
H A Dftsnames.c44 FT_UInt idx,
55 if ( idx < (FT_UInt)ttface->num_names )
57 TT_NameEntryRec* entry = ttface->name_table.names + idx;
/external/webrtc/webrtc/base/
H A Darray_view.h105 T& operator[](size_t idx) const {
106 RTC_DCHECK_LT(idx, size_);
107 RTC_DCHECK(data_); // Follows from size_ > idx and the class invariant.
108 return data_[idx];
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
H A Dneteq_isac_quality_test.cc88 for (int idx = 0; idx < subblocks; idx++, pointer += subblock_length) {
/external/libusb/libusb/os/
H A Dwindows_nt_common.c208 unsigned long idx; local
228 idx = hval;
230 if (htab_table[idx].used) {
231 if ((htab_table[idx].used == hval) && (safe_strcmp(str, htab_table[idx].str) == 0))
232 return idx; // existing hash
234 usbi_dbg("hash collision ('%s' vs '%s')", str, htab_table[idx].str);
241 if (idx <= hval2)
242 idx = htab_size + idx
[all...]
/external/libvpx/libvpx/test/
H A Dexternal_frame_buffer_test.cc63 const int idx = FindFreeBufferIndex(); local
64 if (idx == num_buffers_) return -1;
66 if (ext_fb_list_[idx].size < min_size) {
67 delete[] ext_fb_list_[idx].data;
68 ext_fb_list_[idx].data = new uint8_t[min_size];
69 memset(ext_fb_list_[idx].data, 0, min_size);
70 ext_fb_list_[idx].size = min_size;
73 SetFrameBuffer(idx, fb);
81 const int idx = FindFreeBufferIndex(); local
82 if (idx
138 SetFrameBuffer(int idx, vpx_codec_frame_buffer_t *fb) argument
[all...]
/external/valgrind/callgrind/
H A Dsim.c693 int i, j, idx; \
711 idx = (set1 * L.assoc) + (set[0] & ~L.tag_mask); \
712 L.use[idx].count ++; \
713 L.use[idx].mask |= use_mask; \
714 CLG_DEBUG(6," Hit0 [idx %d] (line %#lx from %#lx): %x => %08x, count %u\n",\
715 idx, L.loaded[idx].memline, L.loaded[idx].iaddr, \
716 use_mask, L.use[idx].mask, L.use[idx]
852 update_LL_use(int idx, Addr memline) argument
889 int i, j, idx; local
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRHashMap.h80 - (ANTLRMapElement *)getptrBufferEntry:(int)idx;
81 - (void)setptrBuffer:(ANTLRMapElement *)np Index:(int)idx;
89 - (void) insertObject:(id)aRule atIndex:(NSInteger)idx;
90 - (id) objectAtIndex:(NSInteger)idx;
91 - (void) setObject:(id)aRule atIndex:(NSInteger)idx;
/external/e2fsprogs/lib/ss/
H A Dexecute_cmd.c32 * get_request(tbl, idx)
35 * Gets the idx'th request from the request table pointed to
40 * idx (int)
51 static struct _ss_request_entry * get_request (tbl, idx)
53 int idx;
57 return e + idx;
60 #define get_request(tbl,idx) ((tbl) -> requests + (idx))
/external/llvm/lib/CodeGen/
H A DSafeStackColoring.h127 int idx = V.find_first(); local
129 while (idx >= 0) {
134 OS << idx; local
135 idx = V.find_next(idx);
/external/mesa3d/src/mapi/
H A Dstub.c90 int idx; local
92 idx = num_dynamic_stubs;
94 if (idx >= MAPI_TABLE_NUM_DYNAMIC - 1)
97 stub = &dynamic_stubs[idx];
109 num_dynamic_stubs = idx + 1;
/external/mesa3d/src/mesa/main/
H A Dformat_parser.py166 def __getitem__(self, idx):
174 if isinstance(idx, int):
175 assert idx >= Swizzle.SWIZZLE_X and idx <= Swizzle.SWIZZLE_NONE
176 if idx <= Swizzle.SWIZZLE_W:
177 return self.__list.__getitem__(idx)
179 return idx
180 elif isinstance(idx, str):
181 if idx in 'xyzw':
182 idx
[all...]
H A Dscissor.c42 set_scissor_no_notify(struct gl_context *ctx, unsigned idx, argument
45 if (x == ctx->Scissor.ScissorArray[idx].X &&
46 y == ctx->Scissor.ScissorArray[idx].Y &&
47 width == ctx->Scissor.ScissorArray[idx].Width &&
48 height == ctx->Scissor.ScissorArray[idx].Height)
52 ctx->Scissor.ScissorArray[idx].X = x;
53 ctx->Scissor.ScissorArray[idx].Y = y;
54 ctx->Scissor.ScissorArray[idx].Width = width;
55 ctx->Scissor.ScissorArray[idx].Height = height;
109 _mesa_set_scissor(struct gl_context *ctx, unsigned idx, argument
[all...]
/external/skia/src/gpu/
H A DGrProcessorSet.h40 const GrFragmentProcessor* colorFragmentProcessor(int idx) const {
41 SkASSERT(idx < fColorFragmentProcessorCnt);
42 return fFragmentProcessors[idx + fFragmentProcessorOffset];
44 const GrFragmentProcessor* coverageFragmentProcessor(int idx) const {
45 return fFragmentProcessors[idx + fColorFragmentProcessorCnt + fFragmentProcessorOffset];
/external/harfbuzz_ng/src/
H A Dhb-buffer-private.hh93 unsigned int idx; /* Cursor into ->info and ->pos arrays */ member in struct:hb_buffer_t
102 inline hb_glyph_info_t &cur (unsigned int i = 0) { return info[idx + i]; }
103 inline hb_glyph_info_t cur (unsigned int i = 0) const { return info[idx + i]; }
105 inline hb_glyph_position_t &cur_pos (unsigned int i = 0) { return pos[idx + i]; }
106 inline hb_glyph_position_t cur_pos (unsigned int i = 0) const { return pos[idx + i]; }
175 { return have_output? out_len : idx; }
177 { return len - idx; }
199 /* Makes a copy of the glyph at idx to output and replace glyph_index */
202 /* Copies glyph at idx to output but doesn't advance idx */
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDataDrivenNumberFormatTestUtility.java275 for (int idx = 0; colIdx < max - 1 && idx < len; ++idx) {
276 char ch = fileLine.charAt(idx);
279 fileLine.substring(colStart, idx));
281 colStart = idx + 1;
296 int idx = line.length();
297 for (; idx > 0; idx--) {
298 if (!isSpace(line.charAt(idx
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDataDrivenNumberFormatTestUtility.java274 for (int idx = 0; colIdx < max - 1 && idx < len; ++idx) {
275 char ch = fileLine.charAt(idx);
278 fileLine.substring(colStart, idx));
280 colStart = idx + 1;
295 int idx = line.length();
296 for (; idx > 0; idx--) {
297 if (!isSpace(line.charAt(idx
[all...]
/external/ltp/testcases/kernel/mem/vmtests/
H A Dstack_space.c349 int idx; local
360 idx = 0;
365 if (i == idx + 1)
366 tst_resm(TINFO, "%x, ", buf[idx] & 0xff);
368 tst_resm(TINFO, "%d*%x, ", i - idx,
369 buf[idx] & 0xff);
371 idx = i;
383 if (i == idx + 1)
384 tst_resm(TINFO, "%x\n", buf[idx] & 0xff);
386 tst_resm(TINFO, "%d*%x\n", i - idx, bu
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_prim_assembler.c100 unsigned idx = indices[i]; local
103 unsigned input_offset = asmblr->input_verts->stride * idx;
114 unsigned idx,
119 unsigned input_offset = asmblr->input_verts->stride * idx;
136 unsigned idx)
141 inject_primid(asmblr, idx, asmblr->primid++);
143 indices[0] = idx;
196 #define GET_ELT(idx) (start + (idx))
201 #define GET_ELT(idx) (elt
113 inject_primid(struct draw_assembler *asmblr, unsigned idx, unsigned primid) argument
135 prim_point(struct draw_assembler *asmblr, unsigned idx) argument
[all...]
/external/boringssl/src/crypto/x509/
H A Dx509_lu.c463 size_t idx; local
464 if (!sk_X509_OBJECT_find(h, &idx, &stmp))
472 for (tidx = idx + 1; tidx < (int)sk_X509_OBJECT_num(h); tidx++) {
480 return idx;
492 int idx; local
493 idx = X509_OBJECT_idx_by_subject(h, type, name);
494 if (idx == -1)
496 return sk_X509_OBJECT_value(h, idx);
501 int i, idx, cnt; local
509 idx
547 int i, idx, cnt; local
587 size_t idx, i; local
623 int idx, ret; local
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepot.cc140 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();
/external/icu/icu4c/source/tools/toolutil/
H A Dflagparser.c29 int32_t idx, i; local
72 idx = extractFlag(buffer, currentBufferSize, tmpFlagBuffer, flagBufferSize, flagNames, numOfFlags, status);
82 if (idx >= 0) {
83 uprv_strcpy(flagBuffer[idx], tmpFlagBuffer);
118 int32_t i, idx = -1; local
153 idx = i;
159 return idx;
/external/libdrm/freedreno/msm/
H A Dmsm_ringbuffer.c98 /* maps fd_bo to idx: */
204 uint32_t idx; local
206 idx = APPEND(&msm_ring->submit, bos);
207 idx = APPEND(msm_ring, bos);
209 msm_ring->submit.bos[idx].flags = 0;
210 msm_ring->submit.bos[idx].handle = bo->handle;
211 msm_ring->submit.bos[idx].presumed = to_msm_bo(bo)->presumed;
213 msm_ring->bos[idx] = fd_bo_ref(bo);
215 return idx;
218 /* add (if needed) bo, return idx
223 uint32_t idx; local
478 uint32_t idx = APPEND(cmd, relocs); local
523 uint32_t idx = 0; local
[all...]
/external/linux-kselftest/tools/testing/selftests/vm/
H A Dtranshuge-stress.c117 size_t idx = pfn >> (HPAGE_SHIFT - PAGE_SHIFT); local
120 if (idx >= map_len) {
121 map = realloc(map, idx + 1);
124 memset(map + map_len, 0, idx + 1 - map_len);
125 map_len = idx + 1;
127 if (!map[idx])
129 map[idx] = 1;

Completed in 957 milliseconds

<<11121314151617181920>>