/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexLookupVerifier.cpp | 1525 const int size = faces[coords.face].getWidth(); variable 1527 const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.s, prec.coordBits.x(), prec.uvwBits.x()); 1528 const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.t, prec.coordBits.y(), prec.uvwBits.y()); 1550 const CubeFaceIntCoords c00 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+0, j+0)), size); 1551 const CubeFaceIntCoords c10 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+1, j+0)), size); 1552 const CubeFaceIntCoords c01 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+0, j+1)), size); 1553 const CubeFaceIntCoords c11 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+1, j+1)), size); 2571 const int size = texture.getLevelFace(0, coords.face).getWidth(); in isGatherResultValid() local 2573 const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.s, prec.coordBits.x(), prec.uvwBits.x()); in isGatherResultValid() 2574 const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coord in isGatherResultValid() [all...] |
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
H A D | vmx.c | 2636 /* IA-32 SDM Vol 3B: VMCS size is never greater than 4kB. */ in setup_vmcs_config() 2650 vmcs_conf->size = vmx_msr_high & 0x1fff; in setup_vmcs_config() 2651 vmcs_conf->order = get_order(vmcs_conf->size); in setup_vmcs_config() 2680 memset(vmcs, 0, vmcs_config.size); in alloc_vmcs_cpu() 3414 dt->size = vmcs_read32(GUEST_IDTR_LIMIT); in vmx_get_idt() 3420 vmcs_write32(GUEST_IDTR_LIMIT, dt->size); in vmx_set_idt() 3426 dt->size = vmcs_read32(GUEST_GDTR_LIMIT); in vmx_get_gdt() 3432 vmcs_write32(GUEST_GDTR_LIMIT, dt->size); in vmx_set_gdt() 4822 * Instruction with address size override prefix opcode 0x67 in handle_rmode_exception() 5053 int size, i in handle_io() local 6244 int size = PAGE_SIZE << L1D_CACHE_ORDER; vmx_l1d_flush() local 7494 int size; vmx_check_intercept_io() local [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | regextst.cpp | 3312 while (vec.size()<idx+1) {vec.addElement(-1, status);} in set() 3318 while (vec.size()<idx+1) {vec.addElement(-1, status);} in setInt() 3535 if (groupStarts.size() != groupEnds.size()) { in regex_find() 3585 // Only need 1 loop, from above we know groupStarts.size() = groupEnds.size() in regex_find() 3586 for (i=0; i<groupStarts.size(); i++) { in regex_find() 3675 if (isMatch == false && groupStarts.size() != 0) { in regex_find() 3679 } else if (UTF8Matcher != NULL && isUTF8Match == false && groupStarts.size() != 0) { in regex_find() 3684 if (isMatch && groupStarts.size() in regex_find() [all...] |
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_nir_to_llvm.c | 301 unreachable("Unsupported bit size."); in emit_b2f() 324 unreachable("Unsupported bit size."); in emit_b2i() 1306 unsigned size = instr->op == nir_op_extract_u8 || instr->op == nir_op_extract_i8 ? 8 : 16; in visit_alu() local 1307 LLVMValueRef offset = LLVMConstInt(LLVMTypeOf(src[0]), nir_src_as_uint(instr->src[1].src) * size, false); in visit_alu() 1309 result = LLVMBuildTrunc(ctx->ac.builder, result, LLVMIntTypeInContext(ctx->ac.context, size), ""); in visit_alu() 1319 unsigned size = instr->op == nir_op_insert_u8 ? 8 : 16; in visit_alu() local 1320 LLVMValueRef offset = LLVMConstInt(LLVMTypeOf(src[0]), nir_src_as_uint(instr->src[1].src) * size, false); in visit_alu() 1321 LLVMValueRef mask = LLVMConstInt(LLVMTypeOf(src[0]), u_bit_consecutive(0, size), false); in visit_alu() 1412 LLVMValueRef size = in get_buffer_size() local 1417 /* On GFX8, the descriptor contains the size i in get_buffer_size() 1522 LLVMValueRef size = ac_build_image_opcode(ctx, &resinfo); lower_gather4_integer() local 1933 LLVMValueRef size = ac_llvm_extract_elem(&ctx->ac, descriptor, 2); emit_ssbo_comp_swap_64() local 4171 LLVMValueRef size = LLVMConstInt(ctx->ac.i32, base + range, false); visit_intrinsic() local [all...] |
/third_party/node/deps/v8/src/wasm/baseline/riscv64/ |
H A D | liftoff-assembler-riscv64.h | 180 // No need to change endianness for byte size. in ChangeEndiannessLoad() 235 // No need to change endianness for byte size. in ChangeEndiannessStore() 285 // When the frame size is bigger than 4KB, we need two instructions for in PrepareStackFrame() 338 // The frame size is bigger than 4KB, so we might overflow the available stack in PatchPrepareStackFrame() 445 int offset, int size) { in LoadFromInstance() 448 switch (size) { in LoadFromInstance() 884 load_linked, store_conditional, size, aligned) \ 894 ExtractBits(result.gp(), temp2, temp1, size, false); \ 895 ExtractBits(temp2, expected.gp(), zero_reg, size, false); \ 897 InsertBits(temp2, new_value.gp(), temp1, size); \ 444 LoadFromInstance(Register dst, Register instance, int offset, int size) LoadFromInstance() argument 1081 FillStackSlotsWithZero(int start, int size) FillStackSlotsWithZero() argument 3788 AllocateStackSlot(Register addr, uint32_t size) AllocateStackSlot() argument 3793 DeallocateStackSlot(uint32_t size) DeallocateStackSlot() argument [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | function_cfg_test.cc | 2948 EXPECT_EQ(fe.constructs().size(), 1u); in TEST_F() 2975 EXPECT_EQ(fe.constructs().size(), 1u); in TEST_F() 3011 EXPECT_EQ(constructs.size(), 2u); in TEST_F() 3058 EXPECT_EQ(constructs.size(), 2u); in TEST_F() 3102 EXPECT_EQ(constructs.size(), 2u); in TEST_F() 3139 EXPECT_EQ(constructs.size(), 2u); in TEST_F() 3280 EXPECT_EQ(constructs.size(), 3u); in TEST_F() 3329 EXPECT_EQ(constructs.size(), 4u); in TEST_F() 3388 EXPECT_EQ(constructs.size(), 4u); in TEST_F() 3448 EXPECT_EQ(constructs.size(), in TEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid5.c | 315 int size; in release_inactive_stripe_list() local 320 size = NR_STRIPE_HASH_LOCKS; in release_inactive_stripe_list() 323 size = 1; in release_inactive_stripe_list() 324 while (size) { in release_inactive_stripe_list() 325 struct list_head *list = &temp_inactive_list[size - 1]; in release_inactive_stripe_list() 340 size--; in release_inactive_stripe_list() 1538 * @srcs - (struct page *) array of size sh->disks 2386 * scribble_alloc - allocate percpu scribble buffer for required size 2390 * @cnt: scribble objs count for required size of the scribble region 2392 * The scribble buffer size mus 6561 raid5_set_cache_size(struct mddev *mddev, int size) raid5_set_cache_size() argument 6683 int size; raid5_store_stripe_size() local 6958 ssize_t size; alloc_thread_groups() local [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid5.c | 325 int size; in release_inactive_stripe_list() local 330 size = NR_STRIPE_HASH_LOCKS; in release_inactive_stripe_list() 333 size = 1; in release_inactive_stripe_list() 334 while (size) { in release_inactive_stripe_list() 335 struct list_head *list = &temp_inactive_list[size - 1]; in release_inactive_stripe_list() 350 size--; in release_inactive_stripe_list() 1616 * @srcs - (struct page *) array of size sh->disks 2457 * scribble_alloc - allocate percpu scribble buffer for required size 2461 * @cnt: scribble objs count for required size of the scribble region 2463 * The scribble buffer size mus 6896 raid5_set_cache_size(struct mddev *mddev, int size) raid5_set_cache_size() argument 7018 int size; raid5_store_stripe_size() local 7293 ssize_t size; alloc_thread_groups() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | p2p_supplicant.c | 775 unsigned int pref_freq_list[P2P_MAX_PREF_CHANNELS], size; in p2ps_group_capability() local 784 size = P2P_MAX_PREF_CHANNELS; in p2ps_group_capability() 787 (int *) pref_freq, 0, pref_freq_list, &size)) in p2ps_group_capability() 4806 /* Cut length at the maximum size. Note that we don't need to ensure 5015 * the feature capability data exceeds the string buffer size. 6696 unsigned int pref_freq_list[P2P_MAX_PREF_CHANNELS], size; local 6791 size = P2P_MAX_PREF_CHANNELS; 6793 go_intent == 15, pref_freq_list, &size); 6799 p2p_set_own_pref_freq_list(wpa_s->global->p2p, pref_freq_list, size); 7006 unsigned int i, size local 8412 unsigned int pref_freq_list[P2P_MAX_PREF_CHANNELS], size; global() local 8509 unsigned int pref_freq_list[P2P_MAX_PREF_CHANNELS], size; global() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v11_0.c | 145 amdgpu_ring_write(kiq_ring, 0); /* gds heap base:0, gds heap size:0 */ in gfx11_kiq_set_resources() 808 uint32_t size, uint32_t *dst) in gfx_v11_0_read_wave_sgprs() 813 adev, wave, 0, start + SQIND_WAVE_SGPRS_OFFSET, size, in gfx_v11_0_read_wave_sgprs() 819 uint32_t start, uint32_t size, in gfx_v11_0_read_wave_vgprs() 824 start + SQIND_WAVE_VGPRS_OFFSET, size, dst); in gfx_v11_0_read_wave_vgprs() 972 unsigned int size; member 983 rlc_autoload_info[ucode->id].size = ucode->size * 4; in gfx_v11_0_parse_rlc_toc() 997 total_size += rlc_autoload_info[id].size; in gfx_v11_0_calc_toc_total_size() 1002 rlc_autoload_info[SOC21_FIRMWARE_ID_MAX-1].size; in gfx_v11_0_calc_toc_total_size() 806 gfx_v11_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t xcc_id, uint32_t simd, uint32_t wave, uint32_t start, uint32_t size, uint32_t *dst) gfx_v11_0_read_wave_sgprs() argument 817 gfx_v11_0_read_wave_vgprs(struct amdgpu_device *adev, uint32_t xcc_id, uint32_t simd, uint32_t wave, uint32_t thread, uint32_t start, uint32_t size, uint32_t *dst) gfx_v11_0_read_wave_vgprs() argument 1064 uint32_t size; gfx_v11_0_rlc_backdoor_autoload_copy_toc_ucode() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 1147 int size = ring->desc_num * sizeof(struct hns_roce_cmq_desc); in hns_roce_alloc_cmq_desc() local 1149 ring->desc = dma_alloc_coherent(hr_dev->dev, size, in hns_roce_alloc_cmq_desc() 2358 /* Configure the size of QPC, SCCC, etc. */ in hns_roce_v2_pf_profile() 2448 u32 pg_shift, size, min_size; in alloc_link_table_buf() local 2452 size = hr_dev->caps.num_qps * HNS_ROCE_V2_EXT_LLM_ENTRY_SZ; in alloc_link_table_buf() 2456 size = max(size, min_size); in alloc_link_table_buf() 2457 link_tbl->buf = hns_roce_buf_alloc(hr_dev, size, pg_shift, 0); in alloc_link_table_buf() 2462 size = link_tbl->buf->npages * sizeof(u64); in alloc_link_table_buf() 2463 link_tbl->table.buf = dma_alloc_coherent(hr_dev->dev, size, in alloc_link_table_buf() 2478 u32 size = tbl->buf->npages * sizeof(u64); free_link_table_buf() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/ |
H A D | vmx.c | 2707 /* IA-32 SDM Vol 3B: VMCS size is never greater than 4kB. */ in setup_vmcs_config() 2723 vmcs_conf->size = vmx_msr_high & 0x1fff; in setup_vmcs_config() 2877 memset(vmcs, 0, vmcs_config.size); in alloc_vmcs_cpu() 3630 dt->size = vmcs_read32(GUEST_IDTR_LIMIT); in vmx_get_idt() 3636 vmcs_write32(GUEST_IDTR_LIMIT, dt->size); in vmx_set_idt() 3642 dt->size = vmcs_read32(GUEST_GDTR_LIMIT); in vmx_get_gdt() 3648 vmcs_write32(GUEST_GDTR_LIMIT, dt->size); in vmx_set_gdt() 5135 * Instruction with address size override prefix opcode 0x67 in handle_rmode_exception() 5364 int size, in, string; in handle_io() local 5376 size in handle_io() 6621 int size = PAGE_SIZE << L1D_CACHE_ORDER; vmx_l1d_flush() local 7928 int size; vmx_check_intercept_io() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 101 "No destructive element size set for movprfx"); in CreateFromInst() 113 "No destructive element size set for movprfx"); in CreateFromInst() 712 // size when converted, so there is no "out of range" condition when using in isSymbolicUImm12Offset() 930 for (unsigned i = 0; i != AllowedModifiers.size(); ++i) { in isMovWSymbol() 1761 // than its size. 1806 Op->Tok.Length = Str.size(); in CreateToken() 1918 Op->Barrier.Length = Str.size(); in CreateBarrier() 1931 Op->SysReg.Length = Str.size(); in CreateSysReg() 1956 Op->Barrier.Length = Str.size(); in CreatePrefetch() 1969 Op->PSBHint.Length = Str.size(); in CreatePSBHint() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fGeometryShaderTests.cpp | 819 , m_patternLength ((int)spec.pattern.size()) in OutputCountShader() 870 for (int ndx = 0; ndx < (int)spec.pattern.size(); ++ndx) in genGeometrySource() 884 " const highp float rowHeight = 2.0 / float(" << spec.pattern.size() << ");\n" in genGeometrySource() 889 for (int ndx = 0; ndx < (int)spec.pattern.size() - 1; ++ndx) in genGeometrySource() 891 str << spec.pattern[(int)spec.pattern.size() - 1] in genGeometrySource() 892 << ((spec.pattern.size() == 1) ? ("") : (")")) in genGeometrySource() 1934 throw tcu::NotSupportedError(std::string("Render target size must be at least ") + de::toString(m_viewportSize.x()) + "x" + de::toString(m_viewportSize.y())); in iterate() 2079 ctx.bufferData(GL_ARRAY_BUFFER, m_vertexPosData.size() * sizeof(tcu::Vec4), &m_vertexPosData[0], GL_STATIC_DRAW); in renderWithContext() 2088 ctx.bufferData(GL_ARRAY_BUFFER, m_vertexAttrData.size() * sizeof(tcu::Vec4), &m_vertexAttrData[0], GL_STATIC_DRAW); in renderWithContext() 2100 ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, m_indices.size() * sizeo in renderWithContext() [all...] |
/third_party/mesa3d/include/vulkan/ |
H A D | vulkan_core.h | 2698 VkDeviceSize size; member 2760 size_t size, 2770 size_t size, 2776 size_t size, 2783 size_t size, 2833 VkDeviceSize size; member 3094 VkDeviceSize size; member 3105 VkDeviceSize size; member 3112 VkDeviceSize size; member 3211 VkDeviceSize size; member 3248 VkDeviceSize size; global() member 3291 size_t size; global() member 3486 uint32_t size; global() member 3695 VkDeviceSize size; global() member 6764 VkDeviceSize size; global() member 6845 VkDeviceSize size; global() member 10074 VkDeviceSize size; global() member 13045 uint32_t size; global() member 13051 uint32_t size; global() member 13236 VkDeviceSize size; global() member 14639 VkDeviceSize size; global() member 14902 VkDeviceSize size; global() member [all...] |
/third_party/node/deps/v8/src/api/ |
H A D | api.cc | 616 // We need to store the global proxy size upfront in case we need the in CreateBlob() 1368 c_function_overloads.size() == 0 || in NewWithCFunctionOverloads() 1426 if (c_function_overloads.size() > 0) { in SetCallHandler() 1431 c_function_overloads.size() * in SetCallHandler() 1433 int function_count = static_cast<int>(c_function_overloads.size()); in SetCallHandler() 2433 static_cast<int>(export_names.size())); in CreateSyntheticModule() 3337 size_t size, in ReallocateBufferMemory() 3339 *actual_size = size; in ReallocateBufferMemory() 3340 return base::Realloc(old_buffer, size); in ReallocateBufferMemory() 3456 size_t size) in ValueDeserializer() 3336 ReallocateBufferMemory(void* old_buffer, size_t size, size_t* actual_size) ReallocateBufferMemory() argument 3455 ValueDeserializer(Isolate* isolate, const uint8_t* data, size_t size) ValueDeserializer() argument 3459 ValueDeserializer(Isolate* isolate, const uint8_t* data, size_t size, Delegate* delegate) ValueDeserializer() argument 7908 OnBytesReceived(const uint8_t* bytes, size_t size) OnBytesReceived() argument 10457 OnBytesReceived(const uint8_t* bytes, size_t size) OnBytesReceived() argument 10465 SetCompiledModuleBytes(const uint8_t* bytes, size_t size) SetCompiledModuleBytes() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_core.h | 2434 VkDeviceSize size; member 2496 size_t size, 2506 size_t size, 2512 size_t size, 2519 size_t size, 2569 VkDeviceSize size; member 2830 VkDeviceSize size; member 2841 VkDeviceSize size; member 2848 VkDeviceSize size; member 2947 VkDeviceSize size; member 2984 VkDeviceSize size; global() member 3027 size_t size; global() member 3222 uint32_t size; global() member 3431 VkDeviceSize size; global() member 8145 VkDeviceSize size; global() member 8322 VkDeviceSize size; global() member 8980 VkDeviceSize size; global() member 11995 uint32_t size; global() member 12001 uint32_t size; global() member 12193 VkDeviceSize size; global() member 13076 VkDeviceSize size; global() member 13339 VkDeviceSize size; global() member [all...] |
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/ |
H A D | vulkan_core.h | 2483 VkDeviceSize size; member 2545 size_t size, 2555 size_t size, 2561 size_t size, 2568 size_t size, 2618 VkDeviceSize size; member 2879 VkDeviceSize size; member 2890 VkDeviceSize size; member 2897 VkDeviceSize size; member 2996 VkDeviceSize size; member 3033 VkDeviceSize size; global() member 3076 size_t size; global() member 3271 uint32_t size; global() member 3480 VkDeviceSize size; global() member 8305 VkDeviceSize size; global() member 8482 VkDeviceSize size; global() member 9140 VkDeviceSize size; global() member 12155 uint32_t size; global() member 12161 uint32_t size; global() member 12353 VkDeviceSize size; global() member 13283 VkDeviceSize size; global() member 13546 VkDeviceSize size; global() member [all...] |
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | cpp_service_stub_code_emitter.cpp | 56 file.WriteData(data.c_str(), data.size());
in EmitStubHeaderFile() 205 file.WriteData(data.c_str(), data.size());
in EmitStubSourceFile()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
H A D | audio_proxy_render.cpp | 98 int32_t AudioProxyRenderGetFrameSize(const AudioHandle handle, uint64_t *size) in AudioProxyRenderGetFrameSize() argument 100 return AudioProxyRenderGetFrameParameter(AUDIO_HDI_RENDER_GET_FRAME_SIZE, handle, size); in AudioProxyRenderGetFrameSize()
|
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/ |
H A D | stream_operator_vdi_impl.cpp | 152 if (checkStreamIdVec.size() != (uint32_t)(std::distance(checkStreamIdVec.begin(), uniqueIt))) { in IsStreamsSupported() 494 std::make_shared<CaptureRequest>(captureId, info.streamIds_.size(), captureSetting,
|
/drivers/peripheral/codec/test/benchmarktest/ |
H A D | codec_benchmark_omx_test.cpp | 104 param.size = sizeof(param); in InitExtParam() 118 buffer.size = sizeof(OmxCodecBuffer); in InitOmxCodecBuffer()
|
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/ |
H A D | hdi_hostapd_hal.c | 845 static int ShowConnectedDevList(char *buf, int size, int id) in ShowConnectedDevList() argument 873 if (bufLen + staLen + 1 >= size) { in ShowConnectedDevList()
|
/kernel/linux/linux-5.10/drivers/dma/qcom/ |
H A D | hidma_ll.c | 68 #define HIDMA_INCREMENT_ITERATOR(iter, size, ring_size) \ 70 iter += size; \
|
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | mv64x60_edac.c | 709 layers[0].size = 1; in mv64x60_mc_err_probe() 712 layers[1].size = 1; in mv64x60_mc_err_probe()
|