Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 4153) sorted by relevance

12345678910>>...167

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_decompose_tmp.h50 unsigned idx[6], i; in FUNC() local
65 idx[0] = GET_ELT(i); in FUNC()
66 POINT(idx[0]); in FUNC()
73 idx[0] = GET_ELT(i); in FUNC()
74 idx[1] = GET_ELT(i + 1); in FUNC()
75 LINE(flags, idx[0], idx[1]); in FUNC()
83 idx[1] = GET_ELT(0); in FUNC()
84 idx[2] = idx[1]; in FUNC()
87 idx[0] = idx[1]; in FUNC()
88 idx[1] = GET_ELT(i); in FUNC()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedBase.cpp97 bool DrawBuffersIndexedBase::BlendMaskStateMachine::CheckEnumForBuffer(int idx, glw::GLenum e, glw:… in CheckEnumForBuffer() argument
103 gl.getIntegeri_v(e, idx, &i); in CheckEnumForBuffer()
104 gl.getInteger64i_v(e, idx, &li); in CheckEnumForBuffer()
105 gl.getBooleani_v(e, idx, &b); in CheckEnumForBuffer()
108 …testLog << tcu::TestLog::Message << "State for " << e << " in buffer #" << idx << " should be set … in CheckEnumForBuffer()
118 bool DrawBuffersIndexedBase::BlendMaskStateMachine::CheckBuffer(int idx) in CheckBuffer() argument
120 if (gl.isEnabledi(GL_BLEND, idx) != state[idx].enable) in CheckBuffer()
122 …testLog << tcu::TestLog::Message << "Blending for buffer #" << idx << " set to: " << !state[idx].e… in CheckBuffer()
123 << " but should be " << state[idx].enable << "!" << tcu::TestLog::EndMessage; in CheckBuffer()
129 result &= CheckEnumForBuffer(idx, GL_BLEND_EQUATION_RGB, state[idx].mode_rgb); in CheckBuffer()
[all …]
/third_party/openssl/crypto/camellia/asm/
Dcmll-x86.pl57 $idx="esi";
93 &xor ($t0,$idx); # t0^=key[0]
95 &movz ($idx,&HB($t0)); # (t0>>8)&0xff
96 &mov ($t3,&DWP($SBOX3_3033,$Tbl,$idx,8)); # t3=SBOX3_3033[0]
97 &movz ($idx,&LB($t0)); # (t0>>0)&0xff
98 &xor ($t3,&DWP($SBOX4_4404,$Tbl,$idx,8)); # t3^=SBOX4_4404[0]
100 &movz ($idx,&LB($t1)); # (t1>>0)&0xff
101 &mov ($t2,&DWP($SBOX1_1110,$Tbl,$idx,8)); # t2=SBOX1_1110[1]
102 &movz ($idx,&HB($t0)); # (t0>>24)&0xff
103 &xor ($t3,&DWP($SBOX1_1110,$Tbl,$idx,8)); # t3^=SBOX1_1110[0]
[all …]
/third_party/node/deps/openssl/openssl/crypto/camellia/asm/
Dcmll-x86.pl57 $idx="esi";
93 &xor ($t0,$idx); # t0^=key[0]
95 &movz ($idx,&HB($t0)); # (t0>>8)&0xff
96 &mov ($t3,&DWP($SBOX3_3033,$Tbl,$idx,8)); # t3=SBOX3_3033[0]
97 &movz ($idx,&LB($t0)); # (t0>>0)&0xff
98 &xor ($t3,&DWP($SBOX4_4404,$Tbl,$idx,8)); # t3^=SBOX4_4404[0]
100 &movz ($idx,&LB($t1)); # (t1>>0)&0xff
101 &mov ($t2,&DWP($SBOX1_1110,$Tbl,$idx,8)); # t2=SBOX1_1110[1]
102 &movz ($idx,&HB($t0)); # (t0>>24)&0xff
103 &xor ($t3,&DWP($SBOX1_1110,$Tbl,$idx,8)); # t3^=SBOX1_1110[0]
[all …]
/third_party/pulseaudio/src/pulsecore/
Didxset.c38 uint32_t idx; member
131 BY_INDEX(s)[e->idx % NBUCKETS] = e->index_next; in remove_entry()
160 static struct idxset_entry* index_scan(pa_idxset *s, unsigned hash, uint32_t idx) { in index_scan() argument
166 if (e->idx == idx) in index_scan()
172 int pa_idxset_put(pa_idxset*s, void *p, uint32_t *idx) { in pa_idxset_put() argument
181 if (idx) in pa_idxset_put()
182 *idx = e->idx; in pa_idxset_put()
191 e->idx = s->current_index++; in pa_idxset_put()
200 hash = e->idx % NBUCKETS; in pa_idxset_put()
224 if (idx) in pa_idxset_put()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dgen_indices.metal30 inline ushort getIndexAligned(constant ushort *inputAligned, uint offset, uint idx)
32 return inputAligned[offset / 2 + idx];
34 inline uint getIndexAligned(constant uint *inputAligned, uint offset, uint idx)
36 return inputAligned[offset / 4 + idx];
38 inline uchar getIndexAligned(constant uchar *input, uint offset, uint idx)
40 return input[offset + idx];
42 inline ushort getIndexUnalignedU16(constant uchar *input, uint offset, uint idx)
44 ushort inputLo = input[offset + 2 * idx];
45 ushort inputHi = input[offset + 2 * idx + 1];
49 inline uint getIndexUnalignedU32(constant uchar *input, uint offset, uint idx)
[all …]
/third_party/python/Lib/json/
Dscanner.py28 def _scan_once(string, idx): argument
30 nextchar = string[idx]
32 raise StopIteration(idx) from None
35 return parse_string(string, idx + 1, strict)
37 return parse_object((string, idx + 1), strict,
40 return parse_array((string, idx + 1), _scan_once)
41 elif nextchar == 'n' and string[idx:idx + 4] == 'null':
42 return None, idx + 4
43 elif nextchar == 't' and string[idx:idx + 4] == 'true':
44 return True, idx + 4
[all …]
/third_party/elfutils/src/
Delflint.c95 GElf_Shdr *shdr, int idx);
299 section_name (Ebl *ebl, int idx) in section_name() argument
305 if ((unsigned int) idx > shnum) in section_name()
308 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name()
552 check_scn_group (Ebl *ebl, int idx) in check_scn_group() argument
554 if (scnref[idx] == 0) in check_scn_group()
560 for (cnt = idx + 1; cnt < shnum; ++cnt) in check_scn_group()
583 if (grpdata[inner] == (Elf32_Word) idx) in check_scn_group()
591 idx, section_name (ebl, idx)); in check_scn_group()
595 idx, section_name (ebl, idx), in check_scn_group()
[all …]
/third_party/typescript/tests/baselines/reference/
DjsDeclarationsClassesErr.symbols28 [idx: string]: string;
29 >idx : Symbol(idx, Decl(index.js, 12, 5))
40 [idx: string]: "ok";
41 >idx : Symbol(idx, Decl(index.js, 18, 5))
48 [idx: number]: "ok";
49 >idx : Symbol(idx, Decl(index.js, 22, 5))
56 [idx: string]: "ok";
57 >idx : Symbol(idx, Decl(index.js, 26, 5))
59 [idx: number]: never;
60 >idx : Symbol(idx, Decl(index.js, 27, 5))
[all …]
DjsDeclarationsClassesErr.types23 [idx: string]: string;
24 >idx : string
35 [idx: string]: "ok";
36 >idx : string
43 [idx: number]: "ok";
44 >idx : number
51 [idx: string]: "ok";
52 >idx : string
54 [idx: number]: never;
55 >idx : number
[all …]
DjsDeclarationsInterfaces.js63 [idx: string]: string;
69 [idx: string]: "ok";
73 [idx: number]: "ok";
77 [idx: string]: "ok";
78 [idx: number]: never;
82 [idx: number]: string;
89 [idx: string]: string;
93 [idx: number]: "ok";
97 [idx: string]: string;
98 [idx: number]: "ok";
[all …]
/third_party/elfutils/lib/
Ddynamicsizehash.c51 size_t idx = 1 + (hval < htab->size ? hval : hval % htab->size); in lookup() local
53 if (htab->table[idx].hashval != 0) in lookup()
57 if (htab->table[idx].hashval == hval in lookup()
58 && COMPARE (htab->table[idx].data, val) == 0) in lookup()
59 return idx; in lookup()
66 if (idx <= hash) in lookup()
67 idx = htab->size + idx - hash; in lookup()
69 idx -= hash; in lookup()
72 if (htab->table[idx].hashval == hval in lookup()
73 && COMPARE (htab->table[idx].data, val) == 0) in lookup()
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_ladspa.c116 unsigned int res = 0, idx; in snd_pcm_ladspa_count_ports() local
117 for (idx = 0; idx < lplug->desc->PortCount; idx++) { in snd_pcm_ladspa_count_ports()
118 if ((lplug->desc->PortDescriptors[idx] & pdesc) == pdesc) in snd_pcm_ladspa_count_ports()
129 unsigned long idx; in snd_pcm_ladspa_find_port() local
131 for (idx = 0; idx < lplug->desc->PortCount; idx++) in snd_pcm_ladspa_find_port()
132 if ((lplug->desc->PortDescriptors[idx] & pdesc) == pdesc) { in snd_pcm_ladspa_find_port()
134 *res = idx; in snd_pcm_ladspa_find_port()
147 unsigned long idx; in snd_pcm_ladspa_find_sport() local
149 for (idx = 0; idx < lplug->desc->PortCount; idx++) in snd_pcm_ladspa_find_sport()
150 if ((lplug->desc->PortDescriptors[idx] & pdesc) == pdesc && in snd_pcm_ladspa_find_sport()
[all …]
/third_party/mesa3d/src/intel/perf/
Dintel_perf_regs.h51 #define GFX7_OA_PERF_A32(idx) (0x2800 + (idx) * 4) argument
58 #define GFX8_OA_PERF_A64_LDW(idx) (0x2800 + (idx) * 8) argument
59 #define GFX8_OA_PERF_A64_UDW(idx) (0x2800 + (idx) * 8 + 4) argument
60 #define GFX8_OA_PERF_A32(idx) (0x2900 + (idx) * 4) argument
61 #define GFX8_OA_PERF_B32(idx) (0x2920 + (idx) * 4) argument
62 #define GFX8_OA_PERF_C32(idx) (0x2940 + (idx) * 4) argument
69 #define GFX12_OAG_PERF_A64_LDW(idx) (0xd980 + (idx) * 8) argument
70 #define GFX12_OAG_PERF_A64_UDW(idx) (0xd980 + (idx) * 8 + 4) argument
71 #define GFX12_OAG_PERF_A32(idx) (0xda80 + (idx) * 4) argument
72 #define GFX12_OAG_PERF_B32(idx) (0xda94 + (idx) * 4) argument
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_decl_sm30.c42 unsigned *idx) in translate_vs_ps_semantic() argument
46 *idx = semantic.Index; in translate_vs_ps_semantic()
50 *idx = semantic.Index; in translate_vs_ps_semantic()
54 *idx = semantic.Index + 2; /* sharing with COLOR */ in translate_vs_ps_semantic()
58 *idx = 0; in translate_vs_ps_semantic()
63 *idx = semantic.Index; in translate_vs_ps_semantic()
67 *idx = svga_remap_generic_index(emit->key.generic_remap_table, in translate_vs_ps_semantic()
72 *idx = semantic.Index; in translate_vs_ps_semantic()
80 *idx = 0; in translate_vs_ps_semantic()
85 *idx = 0; in translate_vs_ps_semantic()
[all …]
/third_party/python/Modules/
D_json.c83 scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
85 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
342 raise_stop_iteration(Py_ssize_t idx) in raise_stop_iteration() argument
344 PyObject *value = PyLong_FromSsize_t(idx); in raise_stop_iteration()
352 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx) { in _build_rval_index_tuple() argument
362 pyidx = PyLong_FromSsize_t(idx); in _build_rval_index_tuple()
676 _parse_object_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) in _parse_object_unicode() argument
709 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind,str, idx))) idx++; in _parse_object_unicode()
712 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '}') { in _parse_object_unicode()
717 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '"') { in _parse_object_unicode()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DAsciiUtil.java61 int idx = 0; in toLowerString() local
62 for (; idx < s.length(); idx++) { in toLowerString()
63 char c = s.charAt(idx); in toLowerString()
68 if (idx == s.length()) { in toLowerString()
71 StringBuilder buf = new StringBuilder(s.substring(0, idx)); in toLowerString()
72 for (; idx < s.length(); idx++) { in toLowerString()
73 buf.append(toLower(s.charAt(idx))); in toLowerString()
79 int idx = 0; in toUpperString() local
80 for (; idx < s.length(); idx++) { in toUpperString()
81 char c = s.charAt(idx); in toUpperString()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DAsciiUtil.java57 int idx = 0; in toLowerString() local
58 for (; idx < s.length(); idx++) { in toLowerString()
59 char c = s.charAt(idx); in toLowerString()
64 if (idx == s.length()) { in toLowerString()
67 StringBuilder buf = new StringBuilder(s.substring(0, idx)); in toLowerString()
68 for (; idx < s.length(); idx++) { in toLowerString()
69 buf.append(toLower(s.charAt(idx))); in toLowerString()
75 int idx = 0; in toUpperString() local
76 for (; idx < s.length(); idx++) { in toUpperString()
77 char c = s.charAt(idx); in toUpperString()
[all …]
/third_party/elfutils/libdwfl/
Dsegment.c143 size_t idx = (l + u) / 2; in lookup() local
144 if (address < dwfl->lookup_addr[idx]) in lookup()
145 u = idx; in lookup()
148 l = idx + 1; in lookup()
150 return idx; in lookup()
170 int idx = lookup (dwfl, start, hint); in reify_segments() local
171 if (unlikely (idx < 0)) in reify_segments()
176 idx = 0; in reify_segments()
179 else if (dwfl->lookup_addr[idx] > start) in reify_segments()
182 if (unlikely (insert (dwfl, idx + 1, start, end, in reify_segments()
[all …]
/third_party/ltp/testcases/kernel/fs/ftest/
Dlibftest.c32 int idx, nout, i; in ft_dumpiov() local
37 idx = 0; in ft_dumpiov()
44 if (i == idx + 1) in ft_dumpiov()
46 buf[idx] & 0xff); in ft_dumpiov()
48 tst_resm(TINFO, "\t%d*%" PRIx32 "x, ", i - idx, in ft_dumpiov()
49 buf[idx] & 0xff); in ft_dumpiov()
50 idx = i; in ft_dumpiov()
60 if (i == idx + 1) in ft_dumpiov()
61 tst_resm(TINFO, "\t%" PRIx32 "x", buf[idx] & 0xff); in ft_dumpiov()
63 tst_resm(TINFO, "\t%d*%" PRIx32 "x", i - idx, buf[idx]); in ft_dumpiov()
[all …]
/third_party/skia/third_party/externals/brotli/research/
Dfind_opt_references.cc76 int idx, int left_ix, int right_ix, int left_lcp, in PrintReference() argument
84 int dist = idx - sarray[max_lcp_ix]; in PrintReference()
87 fwrite(&idx, sizeof(int), 1, fout); // Position in input. in PrintReference()
91 inline void GoLeft(sarray_type* sarray, lcp_type* lcp, int idx, int left_ix, in GoLeft() argument
97 if (sarray[left_ix] < idx) { in GoLeft()
98 entry->second.push_back(idx - sarray[left_ix]); in GoLeft()
103 inline void GoRight(sarray_type* sarray, lcp_type* lcp, int idx, size_t size, in GoRight() argument
109 if (sarray[right_ix] < idx) { in GoRight()
110 entry->second.push_back(idx - sarray[right_ix]); in GoRight()
116 int idx, int left_ix, int right_ix, int left_lcp, in StoreReference() argument
[all …]
/third_party/nghttp2/src/
Dshrpx_router_test.cc35 size_t idx; member
56 router.add_route(p.pattern, p.idx); in test_shrpx_router_match()
59 ssize_t idx; in test_shrpx_router_match() local
61 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
64 CU_ASSERT(0 == idx); in test_shrpx_router_match()
66 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
69 CU_ASSERT(1 == idx); in test_shrpx_router_match()
71 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
74 CU_ASSERT(2 == idx); in test_shrpx_router_match()
76 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
[all …]
/third_party/libfuse/example/
Dpoll.c68 int idx; in fsel_getattr() local
78 idx = fsel_path_index(path); in fsel_getattr()
79 if (idx < 0) in fsel_getattr()
84 stbuf->st_size = fsel_cnt[idx]; in fsel_getattr()
112 int idx = fsel_path_index(path); in fsel_open() local
114 if (idx < 0) in fsel_open()
118 if (fsel_open_mask & (1 << idx)) in fsel_open()
120 fsel_open_mask |= (1 << idx); in fsel_open()
127 fi->fh = idx; in fsel_open()
136 int idx = fi->fh; in fsel_release() local
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c75 for (int idx = 0; idx < shader->uniforms.count; ++idx) { in etna_dump_shader() local
77 idx / 4, in etna_dump_shader()
78 tgsi_swizzle_names[idx % 4], in etna_dump_shader()
79 *((float *)&shader->uniforms.data[idx]), in etna_dump_shader()
80 shader->uniforms.data[idx], in etna_dump_shader()
81 shader->uniforms.contents[idx]); in etna_dump_shader()
84 for (int idx = 0; idx < shader->infile.num_reg; ++idx) { in etna_dump_shader() local
85 printf(" [%i] name=%s comps=%i\n", shader->infile.reg[idx].reg, in etna_dump_shader()
87 gl_vert_attrib_name(shader->infile.reg[idx].slot) : in etna_dump_shader()
88 gl_varying_slot_name_for_stage(shader->infile.reg[idx].slot, shader->stage), in etna_dump_shader()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_ra.c88 reg_mask(struct ir2_context *ctx, unsigned idx) in reg_mask() argument
90 return ctx->reg_state[idx / 8] >> idx % 8 * 4 & 0xf; in reg_mask()
94 reg_setmask(struct ir2_context *ctx, unsigned idx, unsigned c) in reg_setmask() argument
96 idx = idx * 4 + c; in reg_setmask()
97 ctx->reg_state[idx / 32] |= 1 << idx % 32; in reg_setmask()
101 reg_freemask(struct ir2_context *ctx, unsigned idx, unsigned c) in reg_freemask() argument
103 idx = idx * 4 + c; in reg_freemask()
104 ctx->reg_state[idx / 32] &= ~(1 << idx % 32); in reg_freemask()
150 unsigned idx = force_idx; in ra_reg() local
164 for (idx = 0; idx < 64; idx++) { in ra_reg()
[all …]

12345678910>>...167