| /third_party/mesa3d/src/amd/vulkan/ |
| H A D | radv_device.c | 643 int idx = 0; in radv_physical_device_init_queue_table() local 644 pdevice->vk_queue_to_radv[idx] = RADV_QUEUE_GENERAL; in radv_physical_device_init_queue_table() 645 idx++; in radv_physical_device_init_queue_table() 652 pdevice->vk_queue_to_radv[idx] = RADV_QUEUE_COMPUTE; in radv_physical_device_init_queue_table() 653 idx++; in radv_physical_device_init_queue_table() 655 pdevice->num_queues = idx; in radv_physical_device_init_queue_table() 2599 int idx; in radv_get_physical_device_queue_family_properties() local 2612 idx = 0; in radv_get_physical_device_queue_family_properties() 2614 *pQueueFamilyProperties[idx] = (VkQueueFamilyProperties){ in radv_get_physical_device_queue_family_properties() 2621 idx in radv_get_physical_device_queue_family_properties() 2851 radv_queue_init(struct radv_device *device, struct radv_queue *queue, int idx, const VkDeviceQueueCreateInfo *create_info, const VkDeviceQueueGlobalPriorityCreateInfoKHR *global_priority) radv_queue_init() argument 3002 unsigned idx = 0; radv_device_init_vs_prologs() local [all...] |
| /third_party/mesa3d/src/gallium/frontends/nine/ |
| H A D | nine_ff.c | 630 const unsigned idx = (key->tc_idx >> (i * 3)) & 0x7; in nine_ff_build_vs() local 646 /* NINED3DTSS_TCI_PASSTHRU => Use texcoord coming from index idx * in nine_ff_build_vs() 647 * Else the idx is used only to determine wrapping mode. */ in nine_ff_build_vs() 648 vs->aTex[idx] = build_vs_add_input(vs, NINE_DECLUSAGE_i(TEXCOORD,idx)); in nine_ff_build_vs() 649 ureg_MOV(ureg, input_coord, vs->aTex[idx]); in nine_ff_build_vs() 1673 unsigned idx = context->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] & 7; in nine_ff_get_vs() local 1679 if (!input_texture_coord[idx] && gen == NINED3DTSS_TCI_PASSTHRU) in nine_ff_get_vs() 1683 key.tc_idx |= idx << (s * 3); in nine_ff_get_vs() 1684 key.tc_dim_input |= ((input_texture_coord[idx] in nine_ff_get_vs() [all...] |
| /third_party/ltp/tools/sparse/sparse-src/ |
| H A D | evaluate.c | 3267 struct expression *idx = expr->index, *m; in evaluate_offsetof() local 3268 struct symbol *i_type = evaluate_expression(idx); in evaluate_offsetof() 3276 unrestrict(idx, i_class, &i_type); in evaluate_offsetof() 3277 old_idx_flags = idx->flags; in evaluate_offsetof() 3278 idx = cast_to(idx, size_t_ctype); in evaluate_offsetof() 3279 idx->flags = old_idx_flags; in evaluate_offsetof() 3285 expr->left = idx; in evaluate_offsetof() 3289 expr->flags = m->flags & idx->flags & ~CEF_CONST_MASK; in evaluate_offsetof()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
| H A D | vktVideoBaseDecodeUtils.cpp | 1850 uint8_t idx = (uint8_t)pin->RefPicSetStCurrBefore[i]; 1852 if (idx < HEVC_MAX_DPB_SLOTS) 1854 pStdPictureInfo->RefPicSetStCurrBefore[numPocStCurrBefore++] = frmListToDpb[idx] & 0xf; 1870 uint8_t idx = (uint8_t)pin->RefPicSetStCurrAfter[i]; 1872 if (idx < HEVC_MAX_DPB_SLOTS) 1874 pStdPictureInfo->RefPicSetStCurrAfter[numPocStCurrAfter++] = frmListToDpb[idx] & 0xf; 1891 uint8_t idx = (uint8_t)pin->RefPicSetLtCurr[i]; 1893 if (idx < HEVC_MAX_DPB_SLOTS) 1895 pStdPictureInfo->RefPicSetLtCurr[numPocLtCurr++] = frmListToDpb[idx] & 0xf;
|
| /third_party/backends/backend/ |
| H A D | umax_pp_low.c | 2905 int n, idx, remain; in ECPbufferRead() local 2907 idx = 0; in ECPbufferRead() 2922 return idx; in ECPbufferRead() 2931 return idx; in ECPbufferRead() 2944 "ECPbufferRead failed, time-out waiting for FIFO idx=%d (%s:%d)\n", in ECPbufferRead() 2945 idx, __FILE__, __LINE__); in ECPbufferRead() 2946 return idx; in ECPbufferRead() 2948 Insb (ECPDATA, dest + idx, 16); in ECPbufferRead() 2949 idx += 16; in ECPbufferRead() 2961 dest[idx] in ECPbufferRead() 3009 int n, idx; ECPbufferWrite() local 9138 int w, idx = 0; encodeCoefficient() local [all...] |
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| H A D | inst_generator.cpp | 245 int idx = 0; in PopulateStoreArrayPair() local 246 inst->SetInput(idx++, array); in PopulateStoreArrayPair() 248 inst->SetInput(idx++, index); in PopulateStoreArrayPair() 250 inst->SetInput(idx++, val1); in PopulateStoreArrayPair() 251 inst->SetInput(idx++, val2); in PopulateStoreArrayPair()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| H A D | dump.cpp | 307 for (size_t idx = 0; idx < GetInputsCount(); ++idx) { in DumpInputs() 308 Inst *input = GetInput(idx).GetInst(); in DumpInputs() 309 auto block = GetPhiInputBb(idx); in DumpInputs()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| H A D | circuit_builder.cpp | 963 size_t idx = 0; in AddPhiOperand() local 967 idx++; in AddPhiOperand() 968 val = AddOperandToSelector(val, idx, preVal); in AddPhiOperand() 973 GateRef Variable::AddOperandToSelector(GateRef val, size_t idx, GateRef in) in AddOperandToSelector() argument 975 GateAccessor(env_->GetCircuit()).NewIn(val, idx, in); in AddOperandToSelector()
|
| /third_party/ffmpeg/libavcodec/ |
| H A D | pngdec.c | 1382 const uint8_t idx = row[x]; in decode_frame_common() local 1384 row[4*x+2] = s->palette[idx] & 0xFF; in decode_frame_common() 1385 row[4*x+1] = (s->palette[idx] >> 8 ) & 0xFF; in decode_frame_common() 1386 row[4*x+0] = (s->palette[idx] >> 16) & 0xFF; in decode_frame_common() 1387 row[4*x+3] = s->palette[idx] >> 24; in decode_frame_common()
|
| H A D | exr.c | 1119 const int idx = (x >> 3) + (y >> 3) * dc_w + dc_w * dc_h * j; in dwa_uncompress() local 1123 dc_val.i = half2float(dc[idx], s->mantissatable, in dwa_uncompress() 1146 const int idx = xx + yy * 8; in dwa_uncompress() local 1148 convert(yb[idx], ub[idx], vb[idx], &bo[xx], &go[xx], &ro[xx]); in dwa_uncompress()
|
| /third_party/ffmpeg/libavdevice/ |
| H A D | decklink_dec.cpp | 161 /* Return the VANC idx for Unknown mode */ in get_vanc_line_idx() 1009 int idx = get_vanc_line_idx(ctx->bmd_mode); in VideoInputFrameArrived() local 1010 for (i = vanc_line_numbers[idx].vanc_start; i <= vanc_line_numbers[idx].vanc_end; i++) { in VideoInputFrameArrived() 1024 if (i == vanc_line_numbers[idx].field0_vanc_end) in VideoInputFrameArrived() 1025 i = vanc_line_numbers[idx].field1_vanc_start - 1; in VideoInputFrameArrived()
|
| /third_party/ffmpeg/libavformat/ |
| H A D | asfdec_o.c | 1524 int idx, ret; in asf_read_seek() local 1527 idx = av_index_search_timestamp(st, timestamp, flags); in asf_read_seek() 1528 if (idx < 0 || idx >= sti->nb_index_entries) in asf_read_seek() 1530 avio_seek(s->pb, sti->index_entries[idx].pos, SEEK_SET); in asf_read_seek()
|
| /third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
| H A D | radv_amdgpu_cs.c | 574 int idx = cs->virtual_buffer_hash_table[hash]; in radv_amdgpu_cs_add_virtual_buffer() local 575 if (cs->virtual_buffers[idx] == bo) { in radv_amdgpu_cs_add_virtual_buffer() 1106 unsigned idx = 0; in radv_amdgpu_winsys_cs_submit_sysmem() local 1112 new_cs_array[idx++] = &cs->old_cs_buffers[j]; in radv_amdgpu_winsys_cs_submit_sysmem() 1113 new_cs_array[idx++] = cs_array[i]; in radv_amdgpu_winsys_cs_submit_sysmem()
|
| /third_party/mesa3d/src/broadcom/compiler/ |
| H A D | vir.c | 1730 skip_compile_strategy(struct v3d_compile *c, uint32_t idx) in skip_compile_strategy() argument 1736 assert(idx > 0); in skip_compile_strategy() 1739 if (strategies[idx].max_tmu_spills != in skip_compile_strategy() 1740 strategies[idx - 1].max_tmu_spills) { in skip_compile_strategy() 1744 switch (idx) { in skip_compile_strategy()
|
| /third_party/mesa3d/src/gallium/drivers/d3d12/ |
| H A D | d3d12_draw.cpp | 434 unsigned idx = shader->state_vars[j].var - D3D12_STATE_VAR_TRANSFORM_GENERIC0; in fill_compute_state_vars() local 435 ptr[0] = ctx->transform_state_vars[idx * 4]; in fill_compute_state_vars() 436 ptr[1] = ctx->transform_state_vars[idx * 4 + 1]; in fill_compute_state_vars() 437 ptr[2] = ctx->transform_state_vars[idx * 4 + 2]; in fill_compute_state_vars() 438 ptr[3] = ctx->transform_state_vars[idx * 4 + 3]; in fill_compute_state_vars()
|
| /third_party/rust/crates/bindgen/bindgen/ir/ |
| H A D | context.rs | 1633 let idx = children in instantiate_template() 1636 if let Some(idx) = idx { in instantiate_template() 1639 .take(idx) in instantiate_template() 1642 children = children.into_iter().skip(idx + 1).collect(); in instantiate_template()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1549 int idx = Mask[i]; in commuteMask() local 1550 if (idx < 0) in commuteMask() 1552 else if (idx < (int)NumElems) in commuteMask() 1553 Mask[i] = idx + NumElems; in commuteMask() 1555 Mask[i] = idx - NumElems; in commuteMask()
|
| /third_party/node/deps/simdutf/ |
| H A D | simdutf.cpp | 13261 const uint8_t idx = in convert_masked_utf8_to_utf16() local 13267 if (idx < 64) { in convert_masked_utf8_to_utf16() 13270 uint16x8_t composed = convert_utf8_1_to_2_byte_to_utf16(in, idx); in convert_masked_utf8_to_utf16() 13279 } else if (idx < 145) { in convert_masked_utf8_to_utf16() 13282 uint8x16_t sh = vld1q_u8(reinterpret_cast<const uint8_t*>(simdutf::tables::utf8_to_utf16::shufutf8[idx])); in convert_masked_utf8_to_utf16() 13324 } else if (idx < 209) { in convert_masked_utf8_to_utf16() 13377 uint8x16_t sh = vld1q_u8(reinterpret_cast<const uint8_t*>(simdutf::tables::utf8_to_utf16::shufutf8[idx])); in convert_masked_utf8_to_utf16() 13515 const uint8_t idx = in convert_masked_utf8_to_utf32() local 13521 if (idx < 64) { in convert_masked_utf8_to_utf32() 13524 uint16x8_t composed_utf16 = convert_utf8_1_to_2_byte_to_utf16(in, idx); in convert_masked_utf8_to_utf32() 13665 const uint8_t idx = convert_masked_utf8_to_latin1() local 15145 size_t idx; global() member [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
| H A D | wpa_auth.c | 154 enum wpa_alg alg, const u8 *addr, int idx, in wpa_auth_set_key() 166 return wpa_auth->cb->set_key(wpa_auth->cb_ctx, vlan_id, alg, addr, idx, in wpa_auth_set_key() 172 const u8 *addr, int idx, u8 *seq) in wpa_auth_get_seqnum() 178 res = wpa_auth->cb->get_seqnum(wpa_auth->cb_ctx, addr, idx, seq); in wpa_auth_get_seqnum() 180 if (!addr && idx < 4 && wpa_auth->conf.gtk_rsc_override_set) { in wpa_auth_get_seqnum() 189 if (!addr && idx >= 4 && idx <= 5 && in wpa_auth_get_seqnum() 3168 int idx; in SM_STATE() local 3171 idx = bitfield_get_first_zero(wpa_auth->ip_pool); in SM_STATE() 3172 if (idx > in SM_STATE() 152 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len, enum key_flag key_flag) wpa_auth_set_key() argument 171 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) wpa_auth_get_seqnum() argument [all...] |
| /third_party/mesa3d/src/amd/compiler/ |
| H A D | aco_instruction_selection.cpp | 340 emit_extract_vector(isel_context* ctx, Temp src, uint32_t idx, Temp dst) in emit_extract_vector() argument 343 bld.pseudo(aco_opcode::p_extract_vector, Definition(dst), src, Operand::c32(idx)); in emit_extract_vector() 347 emit_extract_vector(isel_context* ctx, Temp src, uint32_t idx, RegClass dst_rc) in emit_extract_vector() argument 351 assert(idx == 0); in emit_extract_vector() 355 assert(src.bytes() > (idx * dst_rc.bytes())); in emit_extract_vector() 358 if (it != ctx->allocated_vec.end() && dst_rc.bytes() == it->second[idx].regClass().bytes()) { in emit_extract_vector() 359 if (it->second[idx].regClass() == dst_rc) { in emit_extract_vector() 360 return it->second[idx]; in emit_extract_vector() 363 assert(dst_rc.type() == RegType::vgpr && it->second[idx].type() == RegType::sgpr); in emit_extract_vector() 364 return bld.copy(bld.def(dst_rc), it->second[idx]); in emit_extract_vector() [all...] |
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| H A D | pandagen.cpp | 1564 void PandaGen::CreateObjectWithBuffer(const ir::AstNode *node, uint32_t idx) in CreateObjectWithBuffer() argument 1566 ASSERT(util::Helpers::IsInteger<uint32_t>(idx)); in CreateObjectWithBuffer() 1567 std::string idxStr = std::string(context_->Binder()->Program()->RecordName()) + "_" + std::to_string(idx); in CreateObjectWithBuffer() 1595 void PandaGen::CreateArrayWithBuffer(const ir::AstNode *node, uint32_t idx) in CreateArrayWithBuffer() argument 1597 ASSERT(util::Helpers::IsInteger<uint32_t>(idx)); in CreateArrayWithBuffer() 1598 std::string idxStr = std::string(context_->Binder()->Program()->RecordName()) + "_" + std::to_string(idx); in CreateArrayWithBuffer()
|
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_serialize.c | 116 read_lookup_object(read_ctx *ctx, uint32_t idx) in read_lookup_object() argument 118 assert(idx < ctx->idx_table_len); in read_lookup_object() 119 return ctx->idx_table[idx]; in read_lookup_object() 860 unsigned idx = write_lookup_object(ctx, alu->src[i].src.ssa); in write_alu() local 861 assert(idx < (1 << 16)); in write_alu() 862 blob_write_uint16(ctx->blob, idx); in write_alu()
|
| /third_party/nghttp2/src/ |
| H A D | nghttp.cc | 337 auto idx = res_hdidx[token]; in get_res_header() local 338 if (idx == -1) { in get_res_header() 341 return &res_nva[idx]; in get_res_header() 345 auto idx = req_hdidx[token]; in get_req_header() local 346 if (idx == -1) { in get_req_header() 349 return &req_nva[idx]; in get_req_header()
|
| /third_party/openssl/ohos_lite/include/openssl/ |
| H A D | ssl.h | 2015 __owur int SSL_set_ex_data(SSL *ssl, int idx, void *data); 2016 void *SSL_get_ex_data(const SSL *ssl, int idx); 2019 __owur int SSL_SESSION_set_ex_data(SSL_SESSION *ss, int idx, void *data); 2020 void *SSL_SESSION_get_ex_data(const SSL_SESSION *ss, int idx); 2023 __owur int SSL_CTX_set_ex_data(SSL_CTX *ssl, int idx, void *data); 2024 void *SSL_CTX_get_ex_data(const SSL_CTX *ssl, int idx);
|
| /third_party/skia/third_party/externals/tint/src/resolver/ |
| H A D | resolver.cc | 1169 auto* idx = Sem(expr->index); 1185 auto* idx_ty = idx->Type()->UnwrapRef(); 1189 idx->Declaration()->source); 1197 if (!idx->Declaration()->As<ast::IntLiteralExpression>()) { 1199 idx->Declaration()->source); 1214 sem->Behaviors() = idx->Behaviors() + obj->Behaviors();
|