| /third_party/vk-gl-cts/modules/gles31/functional/ |
| H A D | es31fNegativeSampleVariablesTests.cpp | 119 for (int idx = 0; idx < DE_LENGTH_OF_ARRAY(testConfigs); idx++) in write_to_read_only_types() 127 << testConfigs[idx].varyingCheck in write_to_read_only_types() 131 ctx.beginSection("OES_sample_variables: trying to write to built-in read-only variable" + testConfigs[idx].builtInType); in write_to_read_only_types() 162 for (int idx = 0; idx < DE_LENGTH_OF_ARRAY(testConfigs); idx++) in access_built_in_types_inside_other_shaders() 169 << testConfigs[idx].varyingCheck in access_built_in_types_inside_other_shaders() 173 ctx.beginSection("OES_sample_variables: trying to use fragment shader built-in sampler variable " + testConfigs[idx] in access_built_in_types_inside_other_shaders() [all...] |
| /third_party/skia/third_party/externals/tint/src/transform/ |
| H A D | robustness.cc | 117 Value idx; // index value in Transform() local 130 idx.i32 = idx_constant.Elements()[0].i32; in Transform() 131 idx.is_signed = true; in Transform() 133 idx.u32 = idx_constant.Elements()[0].u32; in Transform() 134 idx.is_signed = false; in Transform() 144 idx.expr = ctx.Clone(expr->index); in Transform() 145 idx.is_signed = idx_ty->Is<sem::I32>(); in Transform() 149 if (idx.expr || limit.expr) { in Transform() 150 // One of, or both of idx and limit are non-constant. in Transform() 153 if (idx in Transform() [all...] |
| /third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
| H A D | RbnfMapperTest.java | 52 int idx = 0; in testSingleRuleset() 54 rbnfRule(SPELLOUT_RULES, "2d-year", PRIVATE, "0", "hundred;", ++idx), in testSingleRuleset() 55 rbnfRule(SPELLOUT_RULES, "2d-year", PRIVATE, "1", "oh-=%first-set=;", ++idx), in testSingleRuleset() 56 rbnfRule(SPELLOUT_RULES, "2d-year", PRIVATE, "10", "=%first-set=;", ++idx)); in testSingleRuleset() 75 int idx = 0; in testMultipleRulesets() 77 rbnfRule(SPELLOUT_RULES, "first-set", PUBLIC, "-x", "one;", ++idx), in testMultipleRulesets() 78 rbnfRule(SPELLOUT_RULES, "first-set", PUBLIC, "Inf", "two;", ++idx), in testMultipleRulesets() 79 rbnfRule(SPELLOUT_RULES, "second-set", PUBLIC, "-x", "five;", ++idx), in testMultipleRulesets() 80 rbnfRule(SPELLOUT_RULES, "second-set", PUBLIC, "Inf", "six;", ++idx), in testMultipleRulesets() 81 rbnfRule(SPELLOUT_RULES, "first-set", PUBLIC, "NaN", "three;", ++idx), in testMultipleRulesets() [all...] |
| /third_party/mesa3d/src/gallium/drivers/freedreno/ |
| H A D | freedreno_batch_cache.c | 290 cache->batches[batch->idx] = NULL; in fd_bc_invalidate_batch() 291 cache->batch_mask &= ~(1 << batch->idx); in fd_bc_invalidate_batch() 298 for (unsigned idx = 0; idx < key->num_surfs; idx++) { in fd_bc_invalidate_batch() 299 struct fd_resource *rsc = fd_resource(key->surf[idx].texture); in fd_bc_invalidate_batch() 300 rsc->track->bc_batch_mask &= ~(1 << batch->idx); in fd_bc_invalidate_batch() 339 uint32_t idx; variable 343 while ((idx = ffs(~cache->batch_mask)) == 0) { 347 debug_printf("%d: needs_flush=%d, depends:", batch->idx, batc 485 key_surf(struct fd_batch_key *key, unsigned idx, unsigned pos, struct pipe_surface *psurf) key_surf() argument 499 unsigned idx = 0, n = pfb->nr_cbufs + (pfb->zsbuf ? 1 : 0); fd_batch_from_fb() local [all...] |
| /third_party/mbedtls/library/ |
| H A D | debug.c | 121 size_t i, idx = 0; in mbedtls_debug_print_buf() local 130 mbedtls_snprintf(str + idx, sizeof(str) - idx, "dumping '%s' (%u bytes)\n", in mbedtls_debug_print_buf() 143 mbedtls_snprintf(str + idx, sizeof(str) - idx, " %s\n", txt); in mbedtls_debug_print_buf() 146 idx = 0; in mbedtls_debug_print_buf() 150 idx += mbedtls_snprintf(str + idx, sizeof(str) - idx, "%04x: ", in mbedtls_debug_print_buf() 155 idx in mbedtls_debug_print_buf() 198 size_t i, idx = 0; mbedtls_debug_print_ec_coord() local 271 size_t idx = 0; mbedtls_debug_print_mpi() local [all...] |
| /third_party/nghttp2/lib/ |
| H A D | nghttp2_map.c | 103 nghttp2_map_bucket *bkt, size_t idx) { in distance() 104 return (idx - h2idx(bkt->hash, tablelenbits)) & (tablelen - 1); in distance() 132 size_t idx; in nghttp2_map_print_distance() local 143 idx = h2idx(bkt->hash, map->tablelenbits); in nghttp2_map_print_distance() 145 bkt->hash, bkt->key, idx, in nghttp2_map_print_distance() 146 distance(map->tablelen, map->tablelenbits, bkt, idx)); in nghttp2_map_print_distance() 154 size_t idx = h2idx(hash, tablelenbits); in insert() local 159 bkt = &table[idx]; in insert() 166 dd = distance(tablelen, tablelenbits, bkt, idx); in insert() 179 idx in insert() 102 distance(uint32_t tablelen, uint32_t tablelenbits, nghttp2_map_bucket *bkt, size_t idx) distance() argument 250 size_t idx; nghttp2_map_find() local 280 size_t idx, didx; nghttp2_map_remove() local [all...] |
| /third_party/node/deps/ngtcp2/ngtcp2/lib/ |
| H A D | ngtcp2_map.c | 103 ngtcp2_map_bucket *bkt, size_t idx) { in distance() 104 return (idx - h2idx(bkt->hash, tablelenbits)) & (tablelen - 1); in distance() 131 size_t idx; in ngtcp2_map_print_distance() local 142 idx = h2idx(bkt->hash, map->tablelenbits); in ngtcp2_map_print_distance() 144 bkt->hash, bkt->key, idx, in ngtcp2_map_print_distance() 145 distance(map->tablelen, map->tablelenbits, bkt, idx)); in ngtcp2_map_print_distance() 152 size_t idx = h2idx(hash, tablelenbits); in insert() local 157 bkt = &table[idx]; in insert() 164 dd = distance(tablelen, tablelenbits, bkt, idx); in insert() 177 idx in insert() 102 distance(uint32_t tablelen, uint32_t tablelenbits, ngtcp2_map_bucket *bkt, size_t idx) distance() argument 248 size_t idx; ngtcp2_map_find() local 278 size_t idx, didx; ngtcp2_map_remove() local [all...] |
| /third_party/node/deps/nghttp2/lib/ |
| H A D | nghttp2_map.c | 103 nghttp2_map_bucket *bkt, size_t idx) { in distance() 104 return (idx - h2idx(bkt->hash, tablelenbits)) & (tablelen - 1); in distance() 131 size_t idx; in nghttp2_map_print_distance() local 142 idx = h2idx(bkt->hash, map->tablelenbits); in nghttp2_map_print_distance() 144 bkt->hash, bkt->key, idx, in nghttp2_map_print_distance() 145 distance(map->tablelen, map->tablelenbits, bkt, idx)); in nghttp2_map_print_distance() 152 size_t idx = h2idx(hash, tablelenbits); in insert() local 157 bkt = &table[idx]; in insert() 164 dd = distance(tablelen, tablelenbits, bkt, idx); in insert() 177 idx in insert() 102 distance(uint32_t tablelen, uint32_t tablelenbits, nghttp2_map_bucket *bkt, size_t idx) distance() argument 248 size_t idx; nghttp2_map_find() local 278 size_t idx, didx; nghttp2_map_remove() local [all...] |
| /third_party/node/deps/ngtcp2/nghttp3/lib/ |
| H A D | nghttp3_map.c | 104 nghttp3_map_bucket *bkt, size_t idx) { in distance() 105 return (idx - h2idx(bkt->hash, tablelenbits)) & (tablelen - 1); in distance() 132 size_t idx; in nghttp3_map_print_distance() local 143 idx = h2idx(bkt->hash, map->tablelenbits); in nghttp3_map_print_distance() 145 bkt->hash, bkt->key, idx, in nghttp3_map_print_distance() 146 distance(map->tablelen, map->tablelenbits, bkt, idx)); in nghttp3_map_print_distance() 153 size_t idx = h2idx(hash, tablelenbits); in insert() local 158 bkt = &table[idx]; in insert() 165 dd = distance(tablelen, tablelenbits, bkt, idx); in insert() 178 idx in insert() 103 distance(uint32_t tablelen, uint32_t tablelenbits, nghttp3_map_bucket *bkt, size_t idx) distance() argument 249 size_t idx; nghttp3_map_find() local 279 size_t idx, didx; nghttp3_map_remove() local [all...] |
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-ot-shape-complex-vowel-constraints.cc | 59 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints() 96 buffer->idx + 2 < count && in _hb_preprocess_text_vowel_constraints() 110 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints() 131 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints() 167 for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;) in _hb_preprocess_text_vowel_constraints() 191 for (buffer->idx in _hb_preprocess_text_vowel_constraints() [all...] |
| /device/soc/rockchip/common/sdk_linux/include/trace/events/ |
| H A D | cpuhp.h | 12 TP_PROTO(unsigned int cpu, int target, int idx, int (*fun)(unsigned int)), 14 TP_ARGS(cpu, target, idx, fun), 16 TP_STRUCT__entry(__field(unsigned int, cpu) __field(int, target) __field(int, idx) __field(void *, fun)), 18 TP_fast_assign(__entry->cpu = cpu; __entry->target = target; __entry->idx = idx; __entry->fun = fun;), 20 TP_printk("cpu: %04u target: %3d step: %3d (%ps)", __entry->cpu, __entry->target, __entry->idx, 25 TP_PROTO(unsigned int cpu, int target, int idx, int (*fun)(unsigned int, struct hlist_node *), 28 TP_ARGS(cpu, target, idx, fun, node), 30 TP_STRUCT__entry(__field(unsigned int, cpu) __field(int, target) __field(int, idx) __field(void *, fun)), 32 TP_fast_assign(__entry->cpu = cpu; __entry->target = target; __entry->idx [all...] |
| /third_party/skia/tools/perf-canvaskit-puppeteer/ |
| H A D | benchmark.js | 41 let idx = -1; 59 idx++; 60 if (idx >= warmupFrames) { 61 idx = -1; 67 if (idx >= 0) { 69 totalFrame[idx] = start - previousFrame; 72 idx++; 78 if (idx >= withFlush.length) { 82 'total_frame_ms': Array.from(totalFrame).slice(0, idx), 84 'with_flush_ms': Array.from(withFlush).slice(0, idx), [all...] |
| /third_party/openssl/test/ |
| H A D | x509_time_test.c | 256 static int test_x509_cmp_time(int idx) in test_x509_cmp_time() argument 262 t.type = x509_cmp_tests[idx].type; in test_x509_cmp_time() 263 t.data = (unsigned char*)(x509_cmp_tests[idx].data); in test_x509_cmp_time() 264 t.length = strlen(x509_cmp_tests[idx].data); in test_x509_cmp_time() 267 result = X509_cmp_time(&t, &x509_cmp_tests[idx].cmp_time); in test_x509_cmp_time() 268 if (!TEST_int_eq(result, x509_cmp_tests[idx].expected)) { in test_x509_cmp_time() 270 idx, x509_cmp_tests[idx].expected, result); in test_x509_cmp_time() 352 static int test_x509_time(int idx) in test_x509_time() argument 357 if (x509_format_tests[idx] in test_x509_time() 538 test_x509_time_print_rfc_822(int idx) test_x509_time_print_rfc_822() argument 566 test_x509_time_print_iso_8601(int idx) test_x509_time_print_iso_8601() argument [all...] |
| /device/soc/rockchip/rk2206/sdk_liteos/platform/system/ |
| H A D | printf.c | 119 typedef void (*out_fct_type)(char character, void* buffer, size_t idx, size_t maxlen); 128 static inline void _out_buffer(char character, void* buffer, size_t idx, size_t maxlen) in _out_buffer() argument 130 if (idx < maxlen) { in _out_buffer() 131 ((char*)buffer)[idx] = character; in _out_buffer() 136 static inline void _out_null(char character, void* buffer, size_t idx, size_t maxlen) in _out_null() argument 140 (void)idx; in _out_null() 150 static inline void _out_char(char character, void* buffer, size_t idx, size_t maxlen) in _out_char() argument 153 (void)idx; in _out_char() 162 static inline void _out_fct(char character, void* buffer, size_t idx, size_t maxlen) in _out_fct() argument 164 (void)idx; in _out_fct() 209 size_t idx = buffer_idx; _out_rev() local 237 _ntoa_format(out_fct_type out, char* buffer, size_t idx, size_t maxlen, char* buf, size_t buf_len, bool negative, unsigned int base, unsigned int prec, unsigned int prec_width, unsigned int flags) _ntoa_format() argument 292 _ntoa_long(out_fct_type out, char* buffer, size_t idx, size_t maxlen, unsigned long l_value, bool negative, unsigned long base, unsigned int prec, unsigned int width, unsigned int l_flags) _ntoa_long() argument 328 _ntoa_long_long(out_fct_type out, char* buffer, size_t idx, size_t maxlen, unsigned long long l_value, bool negative, unsigned long long base, unsigned int prec, unsigned int width, unsigned int l_flags) _ntoa_long_long() argument 381 _ftoa(out_fct_type out, char* buffer, size_t idx, size_t maxlen, double d_value, unsigned int i_prec, unsigned int i_width, unsigned int flags) _ftoa() argument 533 _etoa(out_fct_type out, char* buffer, size_t idx, size_t maxlen, double value, unsigned int prec, unsigned int width, unsigned int flags) _etoa() argument 689 size_t idx = 0U; vsnprintf_s() local [all...] |
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| H A D | dhd_flowring.h | 78 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role) 79 #define DHD_IF_ROLE_AP(pub, idx) (DHD_IF_ROLE(pub, idx) == WLC_E_IF_ROLE_AP) 80 #define DHD_IF_ROLE_STA(pub, idx) (DHD_IF_ROLE(pub, idx) == WLC_E_IF_ROLE_STA) 81 #define DHD_IF_ROLE_P2PGC(pub, idx) (DHD_IF_ROLE(pub, idx) == WLC_E_IF_ROLE_P2P_CLIENT) 82 #define DHD_IF_ROLE_P2PGO(pub, idx) (DHD_IF_ROLE(pub, idx) [all...] |
| /third_party/ltp/testcases/network/stress/ns-tools/ |
| H A D | ns-common.c | 91 size_t idx; in maximize_sockbuf() local 96 for (idx = 0; idx < (sizeof(level) / sizeof(int)); idx++) { in maximize_sockbuf() 101 if ((fp = fopen(procfile[idx], "r")) == NULL) { in maximize_sockbuf() 102 fprintf(stderr, "Failed to open %s\n", procfile[idx]); in maximize_sockbuf() 107 procfile[idx]); in maximize_sockbuf() 111 (sd, SOL_SOCKET, level[idx], &bufsiz, sizeof(int))) { in maximize_sockbuf() 116 procfile[idx]); in maximize_sockbuf() 123 (sd, SOL_SOCKET, level[idx], in maximize_sockbuf() 182 size_t idx; fill_payload() local 260 size_t idx; eth_pton() local 518 uint32_t idx; create_source_filter() local [all...] |
| /device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/ |
| H A D | devices.c | 41 uint16_t cfg_idx; //idx of sg_usart_config[] 52 \param[in] instance idx, must not exceed return value of target_get_usart_count() 56 int32_t target_usart_init(int32_t idx, uint32_t *base, uint32_t *irq) in target_usart_init() argument 58 if (idx >= sizeof(s_usart_pin_map) / sizeof(usart_pin_map_t)) { in target_usart_init() 62 *base = sg_usart_config[s_usart_pin_map[idx].cfg_idx].base; in target_usart_init() 63 *irq = sg_usart_config[s_usart_pin_map[idx].cfg_idx].irq; in target_usart_init() 64 return s_usart_pin_map[idx].cfg_idx; in target_usart_init() 84 int32_t target_get_timer(int32_t idx, uint32_t *base, uint32_t *irq) in target_get_timer() argument 86 if (idx >= target_get_timer_count()) { in target_get_timer() 90 *base = sg_timer_config[idx] in target_get_timer() 150 uint32_t idx; target_gpio_pin_init() local [all...] |
| /third_party/skia/third_party/externals/freetype/src/psaux/ |
| H A D | psstack.c | 186 CF2_UInt idx ) in FT_LOCAL_DEF() 190 if ( idx >= cf2_stack_count( stack ) ) in FT_LOCAL_DEF() 196 switch ( stack->buffer[idx].type ) in FT_LOCAL_DEF() 199 return cf2_intToFixed( stack->buffer[idx].u.i ); in FT_LOCAL_DEF() 201 return cf2_fracToFixed( stack->buffer[idx].u.f ); in FT_LOCAL_DEF() 203 return stack->buffer[idx].u.r; in FT_LOCAL_DEF() 211 CF2_UInt idx, in cf2_stack_setReal() 214 if ( idx > cf2_stack_count( stack ) ) in cf2_stack_setReal() 220 stack->buffer[idx].u.r = val; in cf2_stack_setReal() 221 stack->buffer[idx] in cf2_stack_setReal() 210 cf2_stack_setReal( CF2_Stack stack, CF2_UInt idx, CF2_Fixed val ) cf2_stack_setReal() argument 247 CF2_Int start_idx, idx, i; cf2_stack_roll() local [all...] |
| H A D | psintrp.c | 343 CF2_UInt idx; in cf2_doFlex() local 350 idx = 0; in cf2_doFlex() 359 idx++ ) ); in cf2_doFlex() 370 CF2_Fixed lastVal = cf2_stack_getReal( opStack, idx ); in cf2_doFlex() 388 cf2_stack_getReal( opStack, idx++ ) ); in cf2_doFlex() 394 cf2_stack_getReal( opStack, idx ) ); in cf2_doFlex() 865 CF2_UInt idx; in cf2_interpT2CharString() local 871 for ( idx = 0; idx < count; idx in cf2_interpT2CharString() 888 CF2_UInt idx; cf2_interpT2CharString() local 919 CF2_UInt idx = 0; cf2_interpT2CharString() local 1743 FT_Int idx; cf2_interpT2CharString() local 1902 FT_UInt idx; cf2_interpT2CharString() local 2012 CF2_UInt idx; cf2_interpT2CharString() local 2034 CF2_UInt idx; cf2_interpT2CharString() local 2185 CF2_UInt idx; cf2_interpT2CharString() local 2200 CF2_UInt idx; cf2_interpT2CharString() local 2332 CF2_Int idx; cf2_interpT2CharString() local 2364 CF2_Int idx; cf2_interpT2CharString() local 2703 CF2_UInt idx = 0; cf2_interpT2CharString() local 2745 CF2_UInt idx = 0; cf2_interpT2CharString() local 2790 CF2_UInt idx = 0; cf2_interpT2CharString() local 2836 CF2_UInt idx = 0; cf2_interpT2CharString() local [all...] |
| /third_party/elfutils/tests/ |
| H A D | elfputzdata.c | 78 size_t idx = elf_ndxscn (scn); in main() local 85 printf ("Cannot compress %zd %s\n", idx, name); in main() 90 printf ("Already compressed %zd %s\n", idx, name); in main() 96 idx, name, shdr->sh_size); in main() 100 printf ("Couldn't get orig data for section %zd\n", idx); in main() 107 printf ("Unexpected data size for orig section %zd\n", idx); in main() 116 printf ("No memory to copy section %zd data\n", idx); in main() 135 idx, elf_errmsg (-1)); in main() 151 idx, elf_errmsg (-1)); in main() 164 idx); in main() [all...] |
| /third_party/mesa3d/src/virtio/vulkan/ |
| H A D | vn_renderer_internal.c | 39 const int idx = u_bit_scan(&cache->bucket_mask); in vn_renderer_shmem_cache_fini() local 40 struct vn_renderer_shmem_bucket *bucket = &cache->buckets[idx]; in vn_renderer_shmem_cache_fini() 59 const uint32_t idx = ffsll(size) - 1; in choose_bucket() local 60 if (unlikely(idx >= ARRAY_SIZE(cache->buckets))) in choose_bucket() 63 *out_idx = idx; in choose_bucket() 64 return &cache->buckets[idx]; in choose_bucket() 73 const int idx = u_bit_scan(&bucket_mask); in vn_renderer_shmem_cache_remove_expired_locked() local 74 struct vn_renderer_shmem_bucket *bucket = &cache->buckets[idx]; in vn_renderer_shmem_cache_remove_expired_locked() 99 int idx; in vn_renderer_shmem_cache_add() local 101 choose_bucket(cache, shmem->mmap_size, &idx); in vn_renderer_shmem_cache_add() 124 int idx; vn_renderer_shmem_cache_get() local 169 const int idx = u_bit_scan(&bucket_mask); vn_renderer_shmem_cache_debug_dump() local [all...] |
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| H A D | mali_kbase_jm_rb.c | 113 int idx) in kbase_gpu_inspect() 119 if ((SLOT_RB_ENTRIES(rb) - 1) < idx) in kbase_gpu_inspect() 120 return NULL; /* idx out of range */ in kbase_gpu_inspect() 122 return rb->entries[(rb->read_idx + idx) & SLOT_RB_MASK].katom; in kbase_gpu_inspect() 481 struct kbase_jd_atom **katom, int idx, int js) in kbase_jm_protected_entry() 512 katom[idx]->event_code = BASE_JD_EVENT_JOB_INVALID; in kbase_jm_protected_entry() 513 kbase_gpu_mark_atom_for_return(kbdev, katom[idx]); in kbase_jm_protected_entry() 519 if (idx == 0 || katom[0]->gpu_rb_state == in kbase_jm_protected_entry() 522 kbase_jm_return_atom_to_js(kbdev, katom[idx]); in kbase_jm_protected_entry() 532 kbase_jd_katom_is_protected(katom[idx]) in kbase_jm_protected_entry() 112 kbase_gpu_inspect(struct kbase_device *kbdev, int js, int idx) kbase_gpu_inspect() argument 480 kbase_jm_protected_entry(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_protected_entry() argument 543 kbase_jm_enter_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_enter_protected_mode() argument 718 kbase_jm_exit_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_exit_protected_mode() argument 839 int idx; kbase_backend_slot_update() local 1391 int idx; kbase_backend_reset() local 1819 int idx; kbase_gpu_dump_slots() local [all...] |
| /third_party/mesa3d/src/compiler/glsl/ |
| H A D | ast_array_index.cpp | 49 update_max_array_access(ir_rvalue *ir, int idx, YYLTYPE *loc, in update_max_array_access() argument 54 if (idx > (int)var->data.max_array_access) { in update_max_array_access() 55 var->data.max_array_access = idx; in update_max_array_access() 60 check_builtin_array_max_size(var->name, idx+1, *loc, state); in update_max_array_access() 99 if (idx > max_ifc_array_access[field_idx]) { in update_max_array_access() 100 max_ifc_array_access[field_idx] = idx; in update_max_array_access() 107 check_builtin_array_max_size(field_name, idx+1, *loc, state); in update_max_array_access() 145 ir_rvalue *array, ir_rvalue *idx, in _mesa_ast_array_index_to_hir() 157 if (!idx->type->is_error()) { in _mesa_ast_array_index_to_hir() 158 if (!idx in _mesa_ast_array_index_to_hir() 143 _mesa_ast_array_index_to_hir(void *mem_ctx, struct _mesa_glsl_parse_state *state, ir_rvalue *array, ir_rvalue *idx, YYLTYPE &loc, YYLTYPE &idx_loc) _mesa_ast_array_index_to_hir() argument 172 const int idx = const_index->value.i[0]; _mesa_ast_array_index_to_hir() local [all...] |
| /third_party/vk-gl-cts/external/amber/src/src/ |
| H A D | descriptor_set_and_binding_parser.cc | 30 size_t idx = 0; in Parse() local 33 if (!std::isdigit(buffer_id[idx]) && std::isalpha(buffer_id[idx]) && in Parse() 34 buffer_id[idx] != ':' && buffer_id[idx] != '-') { in Parse() 35 idx++; in Parse() 36 while (idx < buffer_id.size() && buffer_id[idx] != ':') in Parse() 37 idx++; in Parse() 39 pipeline_name_ = buffer_id.substr(0, idx); in Parse() [all...] |
| /third_party/pulseaudio/src/pulsecore/ |
| H A D | idxset.h | 60 /* Store a new item in the idxset. The index of the item is returned in *idx */ 61 int pa_idxset_put(pa_idxset*s, void *p, uint32_t *idx); 63 /* Get the entry by its idx */ 64 void* pa_idxset_get_by_index(pa_idxset*s, uint32_t idx); 66 /* Get the entry by its data. The index is returned in *idx */ 67 void* pa_idxset_get_by_data(pa_idxset*s, const void *p, uint32_t *idx); 70 void* pa_idxset_remove_by_index(pa_idxset*s, uint32_t idx); 73 void* pa_idxset_remove_by_data(pa_idxset*s, const void *p, uint32_t *idx); 80 next following. The function is best called with *idx = 84 void* pa_idxset_rrobin(pa_idxset *s, uint32_t *idx); [all...] |