Home
last modified time | relevance | path

Searched refs:idx (Results 1 - 25 of 3857) sorted by relevance

12345678910>>...155

/third_party/mesa3d/src/gallium/auxiliary/draw/
H A 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[ in FUNC()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedBase.cpp97 bool DrawBuffersIndexedBase::BlendMaskStateMachine::CheckEnumForBuffer(int idx, glw::GLenum e, glw::GLenum s) 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 to " << s 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] in CheckBuffer()
210 SetEnablei(int idx) SetEnablei() argument
216 SetDisablei(int idx) SetDisablei() argument
222 SetColorMaski(int idx, glw::GLboolean r, glw::GLboolean g, glw::GLboolean b, glw::GLboolean a) SetColorMaski() argument
232 SetBlendEquationi(int idx, glw::GLenum mode) SetBlendEquationi() argument
239 SetBlendEquationSeparatei(int idx, glw::GLenum rgb, glw::GLenum a) SetBlendEquationSeparatei() argument
246 SetBlendFunci(int idx, glw::GLenum src, glw::GLenum dst) SetBlendFunci() argument
255 SetBlendFuncSeparatei(int idx, glw::GLenum src_rgb, glw::GLenum dst_rgb, glw::GLenum src_a, glw::GLenum dst_a) SetBlendFuncSeparatei() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/camellia/asm/
H A 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,
[all...]
/third_party/openssl/crypto/camellia/asm/
H A 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,
[all...]
/third_party/python/Lib/json/
H A Dscanner.py28 def _scan_once(string, idx):
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
[all...]
/third_party/eudev/src/shared/
H A Dhashmap.c402 static struct hashmap_base_entry *bucket_at(HashmapBase *h, unsigned idx) { in bucket_at() argument
404 (storage_ptr(h) + idx * hashmap_type_info[h->type].entry_size); in bucket_at()
407 static struct plain_hashmap_entry *plain_bucket_at(Hashmap *h, unsigned idx) { in plain_bucket_at() argument
408 return (struct plain_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx); in plain_bucket_at()
411 static struct ordered_hashmap_entry *ordered_bucket_at(OrderedHashmap *h, unsigned idx) { in ordered_bucket_at() argument
412 return (struct ordered_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx); in ordered_bucket_at()
415 static struct set_entry *set_bucket_at(Set *h, unsigned idx) { in set_bucket_at() argument
416 return (struct set_entry*) bucket_at(HASHMAP_BASE(h), idx); in set_bucket_at()
419 static struct ordered_hashmap_entry *bucket_at_swap(struct swap_entries *swap, unsigned idx) { in bucket_at_swap() argument
420 return &swap->e[idx in bucket_at_swap()
425 bucket_at_virtual(HashmapBase *h, struct swap_entries *swap, unsigned idx) bucket_at_virtual() argument
441 bucket_distance(HashmapBase *h, unsigned idx, unsigned from) bucket_distance() argument
446 bucket_calculate_dib(HashmapBase *h, unsigned idx, dib_raw_t raw_dib) bucket_calculate_dib() argument
469 bucket_set_dib(HashmapBase *h, unsigned idx, unsigned dib) bucket_set_dib() argument
473 skip_free_buckets(HashmapBase *h, unsigned idx) skip_free_buckets() argument
485 bucket_mark_free(HashmapBase *h, unsigned idx) bucket_mark_free() argument
526 next_idx(HashmapBase *h, unsigned idx) next_idx() argument
530 prev_idx(HashmapBase *h, unsigned idx) prev_idx() argument
549 base_remove_entry(HashmapBase *h, unsigned idx) base_remove_entry() argument
605 unsigned idx; hashmap_iterate_in_insertion_order() local
655 unsigned idx; hashmap_iterate_in_internal_order() local
738 unsigned idx; internal_hashmap_iterate() local
924 unsigned idx; internal_hashmap_clear_free() local
937 unsigned idx; hashmap_clear_free_free() local
963 hashmap_put_robin_hood(HashmapBase *h, unsigned idx, struct swap_entries *swap) hashmap_put_robin_hood() argument
1021 hashmap_base_put_boldly(HashmapBase *h, unsigned idx, struct swap_entries *swap, bool may_resize) hashmap_base_put_boldly() argument
1080 unsigned idx, optimal_idx; resize_buckets() local
1213 base_bucket_scan(HashmapBase *h, unsigned idx, const void *key) base_bucket_scan() argument
1242 unsigned hash, idx; hashmap_put() local
1264 unsigned hash, idx; set_put() local
1281 unsigned hash, idx; hashmap_replace() local
1312 unsigned hash, idx; hashmap_update() local
1328 unsigned hash, idx; internal_hashmap_get() local
1344 unsigned hash, idx; hashmap_get2() local
1373 unsigned hash, idx; internal_hashmap_remove() local
1393 unsigned hash, idx; hashmap_remove2() local
1423 unsigned old_hash, new_hash, idx; hashmap_remove_and_put() local
1450 unsigned old_hash, new_hash, idx; set_remove_and_put() local
1511 unsigned hash, idx; hashmap_remove_value() local
1540 unsigned idx; internal_hashmap_first() local
1551 unsigned idx; internal_hashmap_first_key() local
1564 unsigned idx; internal_hashmap_steal_first() local
1580 unsigned idx; internal_hashmap_steal_first_key() local
1611 unsigned idx; internal_hashmap_merge() local
1629 unsigned idx; set_merge() local
1667 unsigned idx; internal_hashmap_move() local
1710 unsigned h_hash, other_hash, idx; internal_hashmap_move_one() local
1778 unsigned idx, n; internal_hashmap_get_strv() local
1794 unsigned hash, idx; ordered_hashmap_next() local
[all...]
/third_party/pulseaudio/src/pulsecore/
H A 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 in pa_idxset_put()
230 pa_idxset_get_by_index(pa_idxset*s, uint32_t idx) pa_idxset_get_by_index() argument
244 pa_idxset_get_by_data(pa_idxset*s, const void *p, uint32_t *idx) pa_idxset_get_by_data() argument
261 pa_idxset_remove_by_index(pa_idxset*s, uint32_t idx) pa_idxset_remove_by_index() argument
279 pa_idxset_remove_by_data(pa_idxset*s, const void *data, uint32_t *idx) pa_idxset_remove_by_data() argument
314 pa_idxset_rrobin(pa_idxset *s, uint32_t *idx) pa_idxset_rrobin() argument
337 pa_idxset_iterate(pa_idxset *s, void **state, uint32_t *idx) pa_idxset_iterate() argument
370 pa_idxset_steal_first(pa_idxset *s, uint32_t *idx) pa_idxset_steal_first() argument
388 pa_idxset_first(pa_idxset *s, uint32_t *idx) pa_idxset_first() argument
403 pa_idxset_next(pa_idxset *s, uint32_t *idx) pa_idxset_next() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DAsciiUtil.java57 int idx = 0; in toLowerString()
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 in toUpperString()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DAsciiUtil.java61 int idx = 0; in toLowerString()
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 in toUpperString()
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c42 unsigned *idx) in translate_vs_ps_semantic()
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 in translate_vs_ps_semantic()
39 translate_vs_ps_semantic(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned *usage, unsigned *idx) translate_vs_ps_semantic() argument
178 ps30_input(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) ps30_input() argument
327 ps30_output(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) ps30_output() argument
391 vs30_input(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) vs30_input() argument
449 vs30_output(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) vs30_output() argument
520 svga_tgsi_sampler_type(const struct svga_shader_emitter *emit, int idx) svga_tgsi_sampler_type() argument
541 ps30_sampler(struct svga_shader_emitter *emit, unsigned idx) ps30_sampler() argument
579 unsigned idx; svga_translate_decl_sm30() local
[all...]
/third_party/mesa3d/src/intel/perf/
H A Dintel_perf_regs.h51 #define GFX7_OA_PERF_A32(idx) (0x2800 + (idx) * 4)
58 #define GFX8_OA_PERF_A64_LDW(idx) (0x2800 + (idx) * 8)
59 #define GFX8_OA_PERF_A64_UDW(idx) (0x2800 + (idx) * 8 + 4)
60 #define GFX8_OA_PERF_A32(idx) (0x2900 + (idx) * 4)
61 #define GFX8_OA_PERF_B32(idx) (0x2920 + (idx) *
[all...]
/third_party/elfutils/src/
H A 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()
602 check_symtab(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_symtab() argument
1075 is_rel_dyn(Ebl *ebl, const GElf_Ehdr *ehdr, int idx, const GElf_Shdr *shdr, bool is_rela) is_rel_dyn() argument
1249 check_reloc_shdr(Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, int idx, int reltype, GElf_Shdr **destshdrp, GElf_Shdr *destshdr_memp, struct loaded_segment **loadedp) check_reloc_shdr() argument
1296 idx, section_name (ebl, idx)); check_reloc_shdr() local
1371 check_one_reloc(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *relshdr, int idx, size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, GElf_Addr r_offset, GElf_Xword r_info, const GElf_Shdr *destshdr, bool reldyn, struct loaded_segment *loaded, enum load_state *statep) check_one_reloc() argument
1492 check_rela(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_rela() argument
1543 check_rel(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_rel() argument
1598 check_dynamic(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_dynamic() argument
1669 shdr->sh_link, idx, section_name (ebl, idx)); check_dynamic() local
1929 check_symtab_shndx(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_symtab_shndx() argument
2023 check_sysv_hash(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) check_sysv_hash() argument
2077 check_sysv_hash64(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) check_sysv_hash64() argument
2134 check_gnu_hash(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) check_gnu_hash() argument
2303 check_hash(int tag, Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_hash() argument
2601 check_null(Ebl *ebl, GElf_Shdr *shdr, int idx) check_null() argument
2621 check_group(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_group() argument
2930 check_versym(Ebl *ebl, int idx) check_versym() argument
3087 check_verneed(Ebl *ebl, GElf_Shdr *shdr, int idx) check_verneed() argument
3234 check_verdef(Ebl *ebl, GElf_Shdr *shdr, int idx) check_verdef() argument
3443 check_attributes(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_attributes() argument
4456 check_note_section(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) check_note_section() argument
[all...]
/third_party/alsa-lib/src/pcm/
H A 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] in snd_pcm_ladspa_find_port()
147 unsigned long idx; snd_pcm_ladspa_find_sport() local
163 unsigned long idx; snd_pcm_ladspa_find_port_idx() local
197 unsigned int idx; snd_pcm_ladspa_free() local
322 unsigned int idx; snd_pcm_ladspa_free_instances() local
361 snd_pcm_ladspa_add_to_carray(snd_pcm_ladspa_array_t *array, unsigned int idx, unsigned int val) snd_pcm_ladspa_add_to_carray() argument
386 snd_pcm_ladspa_add_to_array(snd_pcm_ladspa_array_t *array, unsigned int idx, unsigned int val) snd_pcm_ladspa_add_to_array() argument
410 unsigned int port, channels, idx, idx1; snd_pcm_ladspa_connect_plugin1() local
458 snd_pcm_ladspa_connect_plugin_duplicate1(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *io, snd_pcm_ladspa_eps_t *eps, unsigned int idx) snd_pcm_ladspa_connect_plugin_duplicate1() argument
489 snd_pcm_ladspa_connect_plugin_duplicate(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *in_io, snd_pcm_ladspa_plugin_io_t *out_io, snd_pcm_ladspa_instance_t *instance, unsigned int idx) snd_pcm_ladspa_connect_plugin_duplicate() argument
572 unsigned long idx, midx; snd_pcm_ladspa_connect_controls() local
593 unsigned int idx, midx; snd_pcm_ladspa_check_connect() local
614 unsigned int depth, idx, count; snd_pcm_ladspa_allocate_instances() local
679 snd_pcm_ladspa_allocate_zero(snd_pcm_ladspa_t *ladspa, unsigned int idx) snd_pcm_ladspa_allocate_zero() argument
693 unsigned int idx, chn; snd_pcm_ladspa_allocate_memory() local
863 unsigned int idx, chn, size1, size2; snd_pcm_ladspa_write_areas() local
924 unsigned int idx, chn, size1, size2;; snd_pcm_ladspa_read_areas() local
976 unsigned int idx, midx; snd_pcm_ladspa_dump_direction() local
1004 unsigned int val, idx = 0; snd_pcm_ladspa_dump_array() local
1098 long idx; snd_pcm_ladspa_check_file() local
1231 unsigned long idx; snd_pcm_ladspa_add_default_controls() local
1534 int idx = 0, hit, err; snd_pcm_ladspa_build_plugins() local
[all...]
/third_party/elfutils/libdwfl/
H A 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 in reify_segments()
258 int idx = lookup (dwfl, address, -1); dwfl_addrsegment() local
[all...]
/third_party/elfutils/lib/
H A 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] in lookup()
83 insert_entry_2(NAME *htab, HASHTYPE hval, size_t idx, TYPE data) insert_entry_2() argument
212 size_t idx; NAME() local
236 size_t idx; NAME() local
256 size_t idx; NAME() local
[all...]
/third_party/skia/third_party/externals/brotli/research/
H A Dfind_opt_references.cc76 int idx, int left_ix, int right_ix, int left_lcp, in PrintReference()
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, in in StoreReference()
75 PrintReference(sarray_type* sarray, lcp_type* lcp, size_t size, int idx, int left_ix, int right_ix, int left_lcp, int right_lcp, FILE* fout) PrintReference() argument
115 StoreReference(sarray_type* sarray, lcp_type* lcp, size_t size, int idx, int left_ix, int right_ix, int left_lcp, int right_lcp, entry_type* entries) StoreReference() argument
167 size_t idx; ProcessEntries() local
[all...]
/third_party/nghttp2/src/
H A 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 in test_shrpx_router_match()
160 ssize_t idx; test_shrpx_router_match_prefix() local
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A 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 in reg_freemask()
150 unsigned idx = force_idx; ra_reg() local
[all...]
/third_party/ltp/testcases/kernel/fs/ftest/
H A 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, bu in ft_dumpiov()
103 int idx, nout, i; ft_dumpbuf() local
137 ft_mkname(char *name, char *dirname, int me, int idx) ft_mkname() argument
[all...]
/third_party/skia/src/gpu/
H A DGrSwizzle.h39 int idx = (fKey >> (4U * i)) & 0xfU; in operator []() local
40 return IToC(idx); in operator []()
63 static constexpr float ComponentIndexToFloat(std::array<float, 4>, int idx);
65 static constexpr char IToC(int idx);
84 int idx = (key & 15); in applyTo() local
85 float outR = ComponentIndexToFloat(color, idx); in applyTo()
87 idx = (key & 15); in applyTo()
88 float outG = ComponentIndexToFloat(color, idx); in applyTo()
90 idx = (key & 15); in applyTo()
91 float outB = ComponentIndexToFloat(color, idx); in applyTo()
98 ComponentIndexToFloat(std::array<float, 4> color, int idx) ComponentIndexToFloat() argument
124 IToC(int idx) IToC() argument
139 int idx = (b.fKey >> (4U * i)) & 0xfU; Concat() local
[all...]
/third_party/python/Lib/test/test_json/
H A Dtest_fail.py82 for idx, doc in enumerate(JSONDOCS):
83 idx = idx + 1
84 if idx in SKIPS:
92 self.fail("Expected failure for fail{0}.json: {1!r}".format(idx, doc))
128 for data, msg, idx in test_cases:
133 self.assertEqual(err.pos, idx)
135 self.assertEqual(err.colno, idx + 1)
138 (msg, idx + 1, idx))
[all...]
/third_party/libfuse/example/
H A 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 in fsel_release() local
147 int idx = fi->fh; fsel_read() local
167 int idx = fi->fh; fsel_poll() local
219 unsigned idx = 0, nr = 1; fsel_producer() local
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_shader.c75 for (int idx = 0; idx < shader->uniforms.count; ++idx) { in etna_dump_shader()
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 < shade in etna_dump_shader()
[all...]
/third_party/toybox/toys/other/
H A Dfmt.c45 int idx, indent, count; in fmt_line() local
51 for (line = *pline, idx = count = 0; isspace(line[idx]); idx++) { in fmt_line()
52 if (line[idx]=='\t') count += 8-(count&7); in fmt_line()
53 else if (line[idx]==' ') count++; in fmt_line()
55 indent = idx; in fmt_line()
58 if (idx==len) { in fmt_line()
70 while (idx<len) { in fmt_line()
71 char *word = line+idx; in fmt_line()
[all...]
/third_party/python/Modules/
H A D_json.c85 scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
87 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
344 raise_stop_iteration(Py_ssize_t idx) in raise_stop_iteration() argument
346 PyObject *value = PyLong_FromSsize_t(idx); in raise_stop_iteration()
354 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx) { in _build_rval_index_tuple() argument
355 /* return (rval, idx) tuple, stealing reference to rval */ in _build_rval_index_tuple()
359 steal a reference to rval, returns (rval, idx) in _build_rval_index_tuple()
364 pyidx = PyLong_FromSsize_t(idx); in _build_rval_index_tuple()
678 _parse_object_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) in _parse_object_unicode() argument
681 idx i in _parse_object_unicode()
809 _parse_array_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) _parse_array_unicode() argument
884 _parse_constant(PyScannerObject *s, const char *constant, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) _parse_constant() argument
923 Py_ssize_t idx = start; _match_number_unicode() local
1027 scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) scan_once_unicode() argument
1144 Py_ssize_t idx; scanner_call() local
1512 Py_ssize_t idx; encoder_listencode_dict() local
[all...]

Completed in 16 milliseconds

12345678910>>...155