Home
last modified time | relevance | path

Searched refs:size (Results 15026 - 15050 of 57103) sorted by relevance

1...<<601602603604605606607608609610>>...2285

/third_party/json/tests/src/
H A Dunit-msgpack.cpp173 // compare result + size
176 CHECK(result.size() == 1);
204 // compare result + size
207 CHECK(result.size() == 1);
236 // compare result + size
239 CHECK(result.size() == 2);
271 // compare result + size
274 CHECK(result.size() == 3);
311 // compare result + size
314 CHECK(result.size()
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dsi_cmd_buffer.c407 * the size of the PC minus the largest possible allocation for in si_emit_graphics()
760 /* Add half the point size / line width. */ in si_write_scissors()
1528 * a buffer. The size must fit in bits [20:0]. If CP_DMA_CLEAR is set, src_va is a 32-bit
1533 uint64_t dst_va, uint64_t src_va, unsigned size, unsigned flags) in si_cs_emit_cp_dma()
1537 assert(size <= cp_dma_max_byte_count(device->physical_device->rad_info.gfx_level)); in si_cs_emit_cp_dma()
1541 command |= S_415_BYTE_COUNT_GFX9(size); in si_cs_emit_cp_dma()
1543 command |= S_415_BYTE_COUNT_GFX6(size); in si_cs_emit_cp_dma()
1591 si_emit_cp_dma(struct radv_cmd_buffer *cmd_buffer, uint64_t dst_va, uint64_t src_va, unsigned size, in si_emit_cp_dma() argument
1598 si_cs_emit_cp_dma(device, cs, predicating, dst_va, src_va, size, flags); in si_emit_cp_dma()
1621 unsigned size, boo in si_cs_cp_dma_prefetch()
1532 si_cs_emit_cp_dma(struct radv_device *device, struct radeon_cmdbuf *cs, bool predicating, uint64_t dst_va, uint64_t src_va, unsigned size, unsigned flags) si_cs_emit_cp_dma() argument
1620 si_cs_cp_dma_prefetch(const struct radv_device *device, struct radeon_cmdbuf *cs, uint64_t va, unsigned size, bool predicating) si_cs_cp_dma_prefetch() argument
1660 si_cp_dma_prefetch(struct radv_cmd_buffer *cmd_buffer, uint64_t va, unsigned size) si_cp_dma_prefetch() argument
1690 si_cp_dma_realign_engine(struct radv_cmd_buffer *cmd_buffer, unsigned size) si_cp_dma_realign_engine() argument
1711 si_cp_dma_buffer_copy(struct radv_cmd_buffer *cmd_buffer, uint64_t src_va, uint64_t dest_va, uint64_t size) si_cp_dma_buffer_copy() argument
1786 si_cp_dma_clear_buffer(struct radv_cmd_buffer *cmd_buffer, uint64_t va, uint64_t size, unsigned value) si_cp_dma_clear_buffer() argument
[all...]
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_cs.c259 cs->ib_size_ptr = &cs->ib.size; in radv_amdgpu_cs_create()
260 cs->ib.size = 0; in radv_amdgpu_cs_create()
313 /* The total ib size cannot exceed limit_dws dwords. */ in radv_amdgpu_cs_grow()
315 /* The maximum size in dwords has been reached, in radv_amdgpu_cs_grow()
383 /* max that fits in the chain size field. */ in radv_amdgpu_cs_grow()
488 cs->ib_size_ptr = &cs->ib.size; in radv_amdgpu_cs_reset()
489 cs->ib.size = 0; in radv_amdgpu_cs_reset()
666 radeon_emit(&parent->base, child->ib.size); in radv_amdgpu_cs_execute_secondary()
931 cs->base.buf[cs->base.cdw - 1] = S_3F2_CHAIN(1) | S_3F2_VALID(1) | next->ib.size; in radv_amdgpu_winsys_cs_submit_chained()
1101 /* Special path when the maximum size i in radv_amdgpu_winsys_cs_submit_sysmem()
1119 unsigned size = 0; radv_amdgpu_winsys_cs_submit_sysmem() local
1158 unsigned size = 0; radv_amdgpu_winsys_cs_submit_sysmem() local
1724 int size; radv_amdgpu_cs_submit() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationCrossInstanceSharingTests.cpp343 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
395 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
417 (deUint32)queues.size(), in createTestDevice()
423 (deUint32)extensions.size(), in createTestDevice()
689 (deUint32)queueFamilyIndices.size(), in createImage()
699 const vk::VkDeviceSize size, in createBuffer()
716 size, in createBuffer()
719 (deUint32)queueFamilyIndices.size(), in createBuffer()
775 (deUint32)resourceDesc.size.x(), in importResource()
776 de::max(1u, (deUint32)resourceDesc.size in importResource()
697 createBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkDeviceSize size, const vk::VkBufferUsageFlags usage, const vk::VkExternalMemoryHandleTypeFlagBits memoryHandleType, const std::vector<deUint32>& queueFamilyIndices) createBuffer() argument
830 const vk::VkDeviceSize size = static_cast<vk::VkDeviceSize>(resourceDesc.size.x()); importResource() local
1099 const vk::VkDeviceSize size = static_cast<vk::VkDeviceSize>(resourceDesc.size.x()); iterate() local
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DBuildSPIRV.cpp147 // - A struct: In this case, the return value is of interest as the size of the struct in the
150 // This function ignores arrayness in calculating the struct size.
222 // For structs, encode the struct to get the size, and calculate the stride based on that. in GetArrayStrideInBlock()
231 // Stride is struct size by inner array size in GetArrayStrideInBlock()
618 spirv::IdRef SPIRVBuilder::getBasicTypeId(TBasicType basicType, size_t size) in getBasicTypeId() argument
622 type.primarySize = static_cast<uint8_t>(size); in getBasicTypeId()
702 (decorations.size() == 1 && decorations[0] == spv::DecorationRelaxedPrecision)); in getArithmeticDecorations()
735 // Declaring an array. First, declare the type without the outermost array size, then in declareType()
739 subType.arraySizes = type.arraySizes.first(type.arraySizes.size() in declareType()
1374 getNullVectorConstantHelper(TBasicType type, int size) getNullVectorConstantHelper() argument
1383 getVectorConstantHelper(spirv::IdRef valueId, TBasicType type, int size) getVectorConstantHelper() argument
1400 getUvecConstant(uint32_t value, int size) getUvecConstant() argument
1411 getIvecConstant(int32_t value, int size) getIvecConstant() argument
1422 getVecConstant(float value, int size) getVecConstant() argument
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsLongStressCase.cpp264 glGetShaderInfoLog(shaderGL, (int)infoLog.size(), DE_NULL, &infoLog[0]); in getShaderInfoLog()
274 glGetProgramInfoLog(programGL, (int)infoLog.size(), DE_NULL, &infoLog[0]); in getProgramInfoLog()
368 for (int ndxInText = 0; ndxInText < (int)text.size(); ndxInText++) in addTextToBuffer()
386 const int vtxNdx = (int)m_posBuf.size()/2; in addTextToBuffer()
423 glDrawElements(GL_TRIANGLES, (int)m_ndxBuf.size(), GL_UNSIGNED_SHORT, &m_ndxBuf[0]);
629 void setData (const vector<T>& src, const deUint32 target, const deUint32 usage) { setData(&src[0], (int)(src.size()*sizeof(T)), target, usage); } in setData()
630 void setData (const void* src, int size, deUint32 target, deUint32 usage);
640 int getApproxMemUsageDiff (const vector<T>& src) const { return getApproxMemUsageDiff((int)(src.size()*sizeof(T))); } in getApproxMemUsageDiff()
664 void Buffer::setData (const void* const src, const int size, const deUint32 target, const deUint32 usage) in setData() argument
667 glBufferData(target, size, sr in setData()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationCrossInstanceSharingTests.cpp346 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
398 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
420 (deUint32)queues.size(), in createTestDevice()
426 (deUint32)extensions.size(), in createTestDevice()
692 (deUint32)queueFamilyIndices.size(), in createImage()
702 const vk::VkDeviceSize size, in createBuffer()
719 size, in createBuffer()
722 (deUint32)queueFamilyIndices.size(), in createBuffer()
778 (deUint32)resourceDesc.size.x(), in importResource()
779 de::max(1u, (deUint32)resourceDesc.size in importResource()
700 createBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkDeviceSize size, const vk::VkBufferUsageFlags usage, const vk::VkExternalMemoryHandleTypeFlagBits memoryHandleType, const std::vector<deUint32>& queueFamilyIndices) createBuffer() argument
833 const vk::VkDeviceSize size = static_cast<vk::VkDeviceSize>(resourceDesc.size.x()); importResource() local
1102 const vk::VkDeviceSize size = static_cast<vk::VkDeviceSize>(resourceDesc.size.x()); iterate() local
[all...]
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/
H A Dscreen_capture_unit_test.cpp207 MEDIA_LOGI("screen_capture_specified_window_file_01 missionInfos size:%{public}s, result:%{public}d", in HWTEST_F()
208 std::to_string(missionInfos.size()).c_str(), result); in HWTEST_F()
212 if (missionInfos.size() > 0) { in HWTEST_F()
249 MEDIA_LOGI("screen_capture_specified_window_file_02 missionInfos size:%{public}s, result:%{public}d", in HWTEST_F()
250 std::to_string(missionInfos.size()).c_str(), result); in HWTEST_F()
254 if (missionInfos.size() > 0) { in HWTEST_F()
255 config_.videoInfo.videoCapInfo.taskIDs.push_back(missionInfos[(missionInfos.size()-1)/2].id); in HWTEST_F()
291 MEDIA_LOGI("screen_capture_specified_window_file_03 missionInfos size:%{public}s, result:%{public}d", in HWTEST_F()
292 std::to_string(missionInfos.size()).c_str(), result); in HWTEST_F()
296 if (missionInfos.size() > in HWTEST_F()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c131 void amdgpu_amdkfd_reserve_system_mem(uint64_t size) in amdgpu_amdkfd_reserve_system_mem() argument
133 kfd_mem_limit.system_mem_used += size; in amdgpu_amdkfd_reserve_system_mem()
136 /* Estimate page table size needed to represent a given memory size
150 * amdgpu_amdkfd_reserve_mem_limit() - Decrease available memory by size
154 * @size: Size of buffer, in bytes, encapsulated by B0. This should be
164 uint64_t size, u32 alloc_flag, int8_t xcp_id) in amdgpu_amdkfd_reserve_mem_limit()
176 system_mem_needed = size; in amdgpu_amdkfd_reserve_mem_limit()
177 ttm_mem_needed = size; in amdgpu_amdkfd_reserve_mem_limit()
184 vram_needed = size; in amdgpu_amdkfd_reserve_mem_limit()
163 amdgpu_amdkfd_reserve_mem_limit(struct amdgpu_device *adev, uint64_t size, u32 alloc_flag, int8_t xcp_id) amdgpu_amdkfd_reserve_mem_limit() argument
240 amdgpu_amdkfd_unreserve_mem_limit(struct amdgpu_device *adev, uint64_t size, u32 alloc_flag, int8_t xcp_id) amdgpu_amdkfd_unreserve_mem_limit() argument
288 u64 size = amdgpu_bo_size(bo); amdgpu_amdkfd_release_notify() local
491 create_sg_table(uint64_t addr, uint32_t size) create_sg_table() argument
1631 amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu( struct amdgpu_device *adev, uint64_t va, uint64_t size, void *drm_priv, struct kgd_mem **mem, uint64_t *offset, uint32_t flags, bool criu_resume) amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() argument
1801 amdgpu_amdkfd_gpuvm_free_memory_of_gpu( struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv, uint64_t *size) amdgpu_amdkfd_gpuvm_free_memory_of_gpu() argument
2177 amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(struct kgd_mem *mem, void **kptr, uint64_t *size) amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel() argument
2258 amdgpu_amdkfd_gpuvm_import_dmabuf(struct amdgpu_device *adev, struct dma_buf *dma_buf, uint64_t va, void *drm_priv, struct kgd_mem **mem, uint64_t *size, uint64_t *mmap_offset) amdgpu_amdkfd_gpuvm_import_dmabuf() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dhw.c230 if (!sc_aeq->size) in irdma_process_aeq()
483 size_t size; in irdma_save_msix_info() local
488 size = sizeof(struct irdma_msix_vector) * rf->msix_count; in irdma_save_msix_info()
489 size += struct_size(iw_qvlist, qv_info, rf->msix_count); in irdma_save_msix_info()
490 rf->iw_msixtbl = kzalloc(size, GFP_KERNEL); in irdma_save_msix_info()
601 dma_free_coherent(dev->hw->device, cqp->sq.size, cqp->sq.va, in irdma_destroy_cqp()
613 u32 pg_cnt = DIV_ROUND_UP(aeq->mem.size, PAGE_SIZE); in irdma_destroy_virt_aeq()
642 aeq->sc_aeq.size = 0; in irdma_destroy_aeq()
651 dma_free_coherent(dev->hw->device, aeq->mem.size, aeq->mem.va, in irdma_destroy_aeq()
684 dma_free_coherent(dev->hw->device, iwceq->mem.size, iwce in irdma_destroy_ceq()
896 irdma_obj_aligned_mem(struct irdma_pci_f *rf, struct irdma_dma_mem *memptr, u32 size, u32 mask) irdma_obj_aligned_mem() argument
1338 irdma_create_virt_aeq(struct irdma_pci_f *rf, u32 size) irdma_create_virt_aeq() argument
1607 u32 size; irdma_initialize_dev() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassFragmentDensityMapTests.cpp237 (VkDeviceSize)(sizeof(T) * vertices.size()), // VkDeviceSize size; in createVertexBuffer()
249 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(T)); in createVertexBuffer()
440 static_cast<deUint32>(colorAttachmentRefs.size()), // deUint32 colorAttachmentCount in createRenderPassProduceDynamicDensityMap()
467 static_cast<deUint32>(attachmentDescriptions.size()), // deUint32 attachmentCount in createRenderPassProduceDynamicDensityMap()
469 static_cast<deUint32>(subpassDescriptions.size()), // deUint32 subpassCount in createRenderPassProduceDynamicDensityMap()
471 static_cast<deUint32>(subpassDependencies.size()), // deUint32 dependencyCount in createRenderPassProduceDynamicDensityMap()
512 multisampleAttachmentIndex = static_cast<deUint32>(attachmentDescriptions.size()); in createRenderPassProduceSubsampledImage()
530 copyAttachmentIndex = static_cast<deUint32>(attachmentDescriptions.size()); in createRenderPassProduceSubsampledImage()
546 densityMapAttachmentIndex = static_cast<deUint32>(attachmentDescriptions.size()); in createRenderPassProduceSubsampledImage()
762 createImagelessFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkFramebufferAttachmentImageInfo>& attachmentInfo) createImagelessFrameBuffer() argument
789 createFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkImageView>& imageViews) createFrameBuffer() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassFragmentDensityMapTests.cpp151 extensionPtrs.resize(nonCoreExtensions.size()); in getDevice()
153 for (size_t ndx = 0; ndx < nonCoreExtensions.size(); ++ndx) in getDevice()
172 (deUint32)extensionPtrs.size(), // deUint32 enabledExtensionCount; in getDevice()
233 (VkDeviceSize)(sizeof(T) * vertices.size()), // VkDeviceSize size; in createVertexBuffer()
245 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(T)); in createVertexBuffer()
436 static_cast<deUint32>(colorAttachmentRefs.size()), // deUint32 colorAttachmentCount in createRenderPassProduceDynamicDensityMap()
463 static_cast<deUint32>(attachmentDescriptions.size()), // deUint32 attachmentCount in createRenderPassProduceDynamicDensityMap()
465 static_cast<deUint32>(subpassDescriptions.size()), // deUint32 subpassCount in createRenderPassProduceDynamicDensityMap()
467 static_cast<deUint32>(subpassDependencies.size()), // deUint3 in createRenderPassProduceDynamicDensityMap()
758 createImagelessFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkFramebufferAttachmentImageInfo>& attachmentInfo) createImagelessFrameBuffer() argument
785 createFrameBuffer(const DeviceInterface& vk, VkDevice vkDevice, VkRenderPass renderPass, VkExtent3D size, const std::vector<VkImageView>& imageViews) createFrameBuffer() argument
[all...]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_sm4_cipher_part_test.cpp29 .size = HKS_SM4_IV_SIZE, \
56 .size = HKS_SM4_IV_SIZE, \
74 .size = HKS_SM4_IV_SIZE, \
92 .size = HKS_SM4_IV_SIZE, \
110 .size = NONCE_SIZE, \
116 .size = AEAD_SIZE, \
126 .size = AAD_SIZE, \
373 .size = HKS_SM4_IV_SIZE,
398 .size = HKS_SM4_IV_SIZE,
435 .size
[all...]
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_account_data.cpp175 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in AddEnableAbilityListsObserver()
186 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in RemoveEnableAbilityListsObserver()
195 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in UpdateEnableAbilityListsState()
206 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in UpdateInstallAbilityListsState()
258 HILOG_DEBUG("Add EnabledAbility: %{public}zu", enabledAbilities_.size()); in AddEnabledAbility()
272 HILOG_DEBUG("EnabledAbility size in RemoveEnabledAbility()
[all...]
/foundation/barrierfree/accessibility/services/test/xts/src/asac_register_elemnt_operator_test/
H A Dasac_account_data_benchmark.cpp175 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in AddEnableAbilityListsObserver()
186 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in RemoveEnableAbilityListsObserver()
195 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in UpdateEnableAbilityListsState()
206 HILOG_DEBUG("observer's size is %{public}zu", enableAbilityListsObservers_.size()); in UpdateInstallAbilityListsState()
258 HILOG_DEBUG("Add EnabledAbility: %{public}zu", enabledAbilities_.size()); in AddEnabledAbility()
272 HILOG_DEBUG("EnabledAbility size in RemoveEnabledAbility()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_vendor.cpp132 size_t size = PacketPayloadSize(pkt); in IsValidParameterLength() local
133 if (size >= AVRC_CT_VENDOR_FIXED_OPERAND_SIZE) { in IsValidParameterLength()
142 if (size - AVRC_CT_VENDOR_FIXED_OPERAND_SIZE == parameterLength_) { in IsValidParameterLength()
146 HILOGI("The size of the packet is invalid! actual size: %{public}zu valid min size: %{public}ju", in IsValidParameterLength()
147 size, AVRC_CT_VENDOR_FIXED_OPERAND_SIZE); in IsValidParameterLength()
423 numOfValues_ = values_.size(); in DisassembleParameters()
425 HILOGI("values_.size: %{public}zu", values_.size()); in DisassembleParameters()
[all...]
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_manager_stub.cpp121 reply.WriteInt32(successEffectList.size()); in LoadEffectLibrariesWriteReply()
259 reply.WriteInt32(static_cast<int32_t>(values.size())); in HandleGetExtraAudioParameters()
563 CHECK_AND_RETURN_RET_LOG(cnt <= AUDIO_SUPPORTED_STREAM_USAGES.size(), AUDIO_ERR, in HandleSetSupportStreamUsage()
901 int32_t size = data.ReadInt32(); in HandleSetAudioEffectProperty() local
902 CHECK_AND_RETURN_RET_LOG(size > 0 && size <= AUDIO_EFFECT_COUNT_UPPER_LIMIT, in HandleSetAudioEffectProperty()
903 ERROR_INVALID_PARAM, "Audio enhance property array size invalid"); in HandleSetAudioEffectProperty()
905 for (int32_t i = 0; i < size; i++) { in HandleSetAudioEffectProperty()
919 int32_t size = static_cast<int32_t>(propertyArray.property.size()); in HandleGetAudioEffectProperty() local
932 int32_t size = data.ReadInt32(); HandleSetAudioEnhanceProperty() local
952 int32_t size = static_cast<int32_t>(propertyArray.property.size()); HandleGetAudioEnhanceProperty() local
[all...]
/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_subscriber_handler.cpp115 uint32_t preKeySize = keyOption->GetPreKeys().size(); in SubscribeKeyEvent()
290 uint32_t preKeySize = keyOption->GetPreKeys().size(); in SubscribeHotkey()
354 MMI_HILOGI("Subscriber size:%{public}zu", iter.second.size()); in AddSubscriber()
439 return items.size() != 1 ? enableCombineKey_ : true; in IsEnableCombineKey()
443 if (items.size() != 1) { in IsEnableCombineKey()
652 if (preKeys.size() == 0) { in IsPreKeysMatch()
656 if (preKeys.size() != pressedKeys.size()) { in IsPreKeysMatch()
672 if (preKeys.size() ! in IsEqualPreKeys()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_assets_operation_sync_test.cpp50 .modifyTime = "123456", .createTime = "0", .size = "1024", .hash = "DEC"
239 if (i - 1 < templateAsset.size()) { in GetAssets()
288 ASSERT_GT(dbSchema.tables.size(), 0u); in CheckAssetsCount()
291 ASSERT_EQ(allData.size(), expectCount.size()); in CheckAssetsCount()
303 EXPECT_EQ(assets.size(), expectCount[index]); in CheckAssetsCount()
323 EXPECT_EQ(assets.size(), 2u); // one record has 2 asset in ForkDownloadAndRemoveAsset()
334 ASSERT_GT(dbSchema.tables.size(), 0u); in CheckAssetData()
336 ASSERT_EQ(allData.size(), 60ul); in CheckAssetData()
379 expectCount[expectCount.size() in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_data_generator.cpp76 int randIdx = GetRandInt(0, charSet.size() - 1); in GenerateFixedLenRandString()
86 MST_LOG("ERROR:The size of key or value given is too small!"); in GenerateRandRecord()
143 keyTail.assign(ONE_K_LONG_STRING - entry.key.size(), ('k' + num)); in GenerateMaxBigRecord()
222 for (unsigned int index = 0; index < serialNoStr.size(); ++index) { in GenerateFixedLenKVRecord()
259 if ((entrySize.keySize < len) || (entrySize.valSize < (len + IMAGE_VALUE_PRE.size()))) { in GenerateOneRecordForImage()
260 MST_LOG("ERROR:The size of key or value given is too small!"); in GenerateOneRecordForImage()
264 for (unsigned int cnt = 0; cnt < (entrySize.keySize - len - keyPrefix.size()); cnt++) { in GenerateOneRecordForImage()
267 for (unsigned int it = 0; it < (entrySize.valSize - len - IMAGE_VALUE_PRE.size()); it++) { in GenerateOneRecordForImage()
289 if ((entrySize.keySize < keyPrefix.size() + len) || (entrySize.valSize < valPrefix.size() in GenerateAppointPrefixAndSizeRecord()
[all...]
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dpt.c185 size_t size; in pt_pmu_hw_init() local
240 size = sizeof(struct attribute *) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
241 attrs = kzalloc(size, GFP_KERNEL); in pt_pmu_hw_init()
245 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
246 de_attrs = kzalloc(size, GFP_KERNEL); in pt_pmu_hw_init()
554 * @size: total size of all entries in this table
561 size_t size; member
604 #define TOPA_ENTRY_SIZE(t, i) (sizes(TOPA_ENTRY((t), (i))->size))
605 #define TOPA_ENTRY_PAGES(t, i) (1 << TOPA_ENTRY((t), (i))->size)
1620 pt_event_snapshot_aux(struct perf_event *event, struct perf_output_handle *handle, unsigned long size) pt_event_snapshot_aux() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/
H A Devdev.c779 unsigned int type, unsigned int size, in handle_eviocgbit()
799 return bits_to_user(bits, len, size, p, compat_mode); in handle_eviocgbit()
920 unsigned int size, in evdev_handle_mt_request()
933 max_slots = (size - sizeof(__u32)) / sizeof(__s32); in evdev_handle_mt_request()
965 /* we allow unknown types and 'codes_size > size' for forward-compat */ in evdev_set_mask()
998 size_t cnt, size, xfer_size; in evdev_get_mask() local
1002 /* we allow unknown types and 'codes_size > size' for forward-compat */ in evdev_get_mask()
1004 size = sizeof(unsigned long) * BITS_TO_LONGS(cnt); in evdev_get_mask()
1005 xfer_size = min_t(size_t, codes_size, size); in evdev_get_mask()
1040 unsigned int size; in evdev_do_ioctl() local
778 handle_eviocgbit(struct input_dev *dev, unsigned int type, unsigned int size, void __user *p, int compat_mode) handle_eviocgbit() argument
919 evdev_handle_mt_request(struct input_dev *dev, unsigned int size, int __user *ip) evdev_handle_mt_request() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dvmw_balloon.c142 * @VMW_BALLOON_CMD_GET_TARGET: Gets the balloon target size.
160 * size changes.
266 * @max_page_size: maximum supported page size for ballooning.
273 * @size: balloon actual size in basic page size (frames).
275 * While we currently do not support size which is bigger than 32-bit,
278 atomic64_t size; member
281 * @target: balloon target size in basic page size (frame
444 vmballoon_stats_page_inc(struct vmballoon *b, enum vmballoon_stat_page stat, enum vmballoon_page_size_type size) vmballoon_stats_page_inc() argument
452 vmballoon_stats_page_add(struct vmballoon *b, enum vmballoon_stat_page stat, enum vmballoon_page_size_type size, unsigned int val) vmballoon_stats_page_add() argument
965 int64_t size, target; vmballoon_change() local
1415 unsigned long size; vmballoon_pop() local
[all...]
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_sbc.c608 * size of the I/O being submitted. in sbc_compare_and_write()
794 unsigned int size; in sbc_parse_cdb() local
948 size = sbc_get_size(cmd, 1); in sbc_parse_cdb()
983 * Double size because we have two buffers, note that in sbc_parse_cdb()
986 size = 2 * sbc_get_size(cmd, sectors); in sbc_parse_cdb()
994 size = READ_CAP_LEN; in sbc_parse_cdb()
1010 size = get_unaligned_be32(&cdb[10]); in sbc_parse_cdb()
1025 size = 0; in sbc_parse_cdb()
1037 size = get_unaligned_be16(&cdb[7]); in sbc_parse_cdb()
1047 size in sbc_parse_cdb()
1143 int size; sbc_execute_unmap() local
[all...]
/kernel/linux/linux-5.10/net/tls/
H A Dtls_device.c250 int size) in tls_append_frag()
257 skb_frag_size_add(frag, size); in tls_append_frag()
262 skb_frag_size_set(frag, size); in tls_append_frag()
267 pfrag->offset += size; in tls_append_frag()
268 record->len += size; in tls_append_frag()
381 if (pfrag->size > pfrag->offset) in tls_do_allocation()
418 size_t size, int flags, in tls_push_data()
427 size_t orig_size = size; in tls_push_data()
474 size = orig_size; in tls_push_data()
485 copy = min_t(size_t, size, (pfra in tls_push_data()
248 tls_append_frag(struct tls_record_info *record, struct page_frag *pfrag, int size) tls_append_frag() argument
416 tls_push_data(struct sock *sk, struct iov_iter *msg_iter, size_t size, int flags, unsigned char record_type) tls_push_data() argument
541 tls_device_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) tls_device_sendmsg() argument
565 tls_device_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags) tls_device_sendpage() argument
[all...]

Completed in 56 milliseconds

1...<<601602603604605606607608609610>>...2285