Home
last modified time | relevance | path

Searched refs:size (Results 26751 - 26775 of 32081) sorted by relevance

1...<<1071107210731074107510761077107810791080>>...1284

/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp162 for (uint32_t i = 0; i < dataBuffer_.size(); i++) { in CommitTransaction()
192 if (dataBuffer_.size() >= MAX_BATCH_SIZE) { in AddToTransaction()
436 static void GetFileInfo(const string &path, int64_t &size, int64_t &dateModified) in GetFileInfo() argument
443 size = statInfo.st_size; in GetFileInfo()
513 MEDIA_WARN_LOG("no need to scan, date_modified:%{public}ld, size:%{public}ld, pending:%{public}ld", in BuildData()
556 MEDIA_WARN_LOG("file size is 0, path: %{private}s", path_.c_str()); in GetFileMetadata()
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dithumbnail_helper.cpp623 Size size; in GenMonthAndYearAstcData() local
625 size = {DEFAULT_MTH_SIZE, DEFAULT_MTH_SIZE }; in GenMonthAndYearAstcData()
627 size = {DEFAULT_YEAR_SIZE, DEFAULT_YEAR_SIZE }; in GenMonthAndYearAstcData()
633 ThumbnailUtils::GenTargetPixelmap(data, size); in GenMonthAndYearAstcData()
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/
H A Dhirecorder_impl.cpp290 if (metaDataFormats_.size() != 0 && muxerFilter_) { in Configure()
373 if (metaDataFilters_.size()) { in Prepare()
831 maxSize_ = maxFileSize.size; in ConfigureMuxer()
954 for (int32_t i = 0; i < (int32_t)capData.size(); i++) { in ConvertEncoderInfo()
/foundation/multimodalinput/input/service/device_manager/test/
H A Dinput_device_manager_test.cpp77 ASSERT_EQ(ids.size(), 2); in HWTEST_F()
100 ASSERT_EQ(keystroke.size(), 1); in HWTEST_F()
1002 EXPECT_NE(keystrokes.size(), keyCodes.size()); in HWTEST_F()
/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_manager.cpp171 int32_t MultimodalInputConnectManager::SetPointerSize(int32_t size) in SetPointerSize() argument
175 return multimodalInputConnectService_->SetPointerSize(size); in SetPointerSize()
185 int32_t MultimodalInputConnectManager::GetPointerSize(int32_t &size) in GetPointerSize() argument
189 return multimodalInputConnectService_->GetPointerSize(size); in GetPointerSize()
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_immersive_test2.cpp144 if (act.size() != expect.size()) { in SystemBarPropsEqualsTo()
187 WLOGI("TestSystemBarChangedListener tints size: %{public}zu", tints.size()); in OnSystemBarPropertyChange()
190 for (uint32_t i = 0; i < tints_.size(); i++) { in OnSystemBarPropertyChange()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dsingle_kvstore_client_query_test.cpp771 EXPECT_TRUE(results.size() == 2); in HWTEST_F()
775 EXPECT_TRUE(results.size() == 2); in HWTEST_F()
838 EXPECT_TRUE(results1.size() == 1); in HWTEST_F()
842 EXPECT_TRUE(results2.size() == 1); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_sqlite_single_ver_natural_executor_test.cpp809 * @tc.steps: step3. the size is invalid in HWTEST_F()
812 int size = 0; in HWTEST_F() local
813 EXPECT_EQ(emptyConn->Pragma(PRAGMA_RESULT_SET_CACHE_MAX_SIZE, &size), -E_INVALID_ARGS); in HWTEST_F()
814 size = 1; in HWTEST_F()
815 EXPECT_EQ(emptyConn->Pragma(PRAGMA_RESULT_SET_CACHE_MAX_SIZE, &size), E_OK); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dprotocol_proto.cpp225 // The upper layer code(inside this communicator module) guarantee that size of each Label equals COMM_LABEL_LENGTH in BuildLabelExchange()
227 inLabels.size() * COMM_LABEL_LENGTH; in BuildLabelExchange()
255 *fieldPtr = HostToNet(static_cast<uint64_t>(inLabels.size())); in BuildLabelExchange()
418 // The upper layer code(inside this communicator module) guarantee that size of inCommLabel equal COMM_LABEL_LENGTH in SetDivergeHeader()
971 // Since exception is disabled, we have to check the vector size to assure that memory is truly allocated in FrameFragmentation()
973 if (entry.first.size() != (pieceTotalLen + fragmentInfo.extendHeadSize)) { in FrameFragmentation()
1000 packet = {ptrPacket, static_cast<uint32_t>(entry.first.size()) - fragmentInfo.extendHeadSize}; in FrameFragmentation()
1083 LOGI("[Proto][ToSerial] get head data size failed,not permit to send"); in GetExtendHeadDataSize()
1087 LOGI("[Proto][ToSerial] head data size is larger than 512 or not 8 byte align"); in GetExtendHeadDataSize()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.cpp220 } else if (schema.GetTables().size() >= DBConstant::MAX_DISTRIBUTED_TABLE_COUNT) { in CreateDistributedTable()
792 if (sharedTableKey.empty() || sharedTableKey.size() > DBConstant::MAX_KEY_SIZE) { in DoDeleteSharedTable()
972 for (size_t i = 0; i < tableNames.size(); ++i) { in CalTableRef()
973 for (size_t j = i + 1; j < tableNames.size(); ++j) { in CalTableRef()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dgeneric_syncer.cpp842 return syncDevices.substr(0, syncDevices.size() - 1); in GetSyncDevicesStr()
1076 int GenericSyncer::GetSyncDataSize(const std::string &device, size_t &size) const in GetSyncDataSize()
1109 LOGE("calculate sync data size failed %d", errCode); in GetSyncDataSize()
1125 size = (totalLen >= expectedMtuSize) ? expectedMtuSize : totalLen; in GetSyncDataSize()
1266 count += static_cast<int32_t>(syncOperationMap_.size()); in GetTaskCount()
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data_record.cpp387 ret = ret && Skip(head.len, buffer.size()); in Decode()
630 if (itemData.size() == 0) { in GetUDMFValue()
634 if (itemData.size() != 1) { in GetUDMFValue()
636 "not surrport u8 map, mimeType:%{public}s, customData.size:%{public}zu", mimeType_.c_str(), in GetUDMFValue()
637 itemData.size()); in GetUDMFValue()
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_backup_js.cpp74 HILOGE("Can not get buffer size"); in DealNapiStrValue()
777 napi_call_function(env, value, method, argv.size(), argv.data(), &result); in DoCallJsMethod()
844 napi_create_string_utf8(env, backupExtInfo.c_str(), backupExtInfo.size(), &backupExtInfoVal); in ParseBackupExInfo()
862 napi_create_string_utf8(env, restoreExtInfo.c_str(), restoreExtInfo.size(), &restoreRetValue); in ParseRestoreExInfo()
899 if ((result.size() == 0) && (errCode == BError(BError::Codes::OK))) { in InvokeAppExtMethod()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket.cpp556 LOG_INFO("[sock]%{public}s size:%{public}zu", __func__, sizeof(connectInfo)); in SendAppConnectInfo()
911 LOG_INFO("[sock]%{public}s size:%{public}zu", __func__, g_allServerSockets.size()); in OnSocketExceptionNative()
986 LOG_INFO("[sock]%{public}s size:%{public}zu", __func__, g_allServerSockets.size()); in EraseSocket()
1039 LOG_INFO("[sock]%{public}s size:%{public}zu", __func__, g_allServerSockets.size()); in ClearUpAllSocket()
1040 if (g_allServerSockets.size() > 0) { in ClearUpAllSocket()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dcallbacks.c231 size: Requested size to be allocated
237 void *FillpMemCalloc(IN FILLP_UINT32 nitems, IN FILLP_UINT32 size) in FillpMemCalloc() argument
241 ptr = calloc((size_t)nitems, (size_t)size); in FillpMemCalloc()
245 void *FillpMemAlloc(IN FILLP_UINT32 size) in FillpMemAlloc() argument
249 ptr = malloc((size_t)size); in FillpMemAlloc()
/kernel/linux/linux-5.10/drivers/crypto/
H A Dmxs-dcp.c52 uint32_t size; member
247 dev_err(sdcp->dev, "Invalid block size!\n"); in mxs_dcp_run_aes()
275 desc->size = actx->fill; in mxs_dcp_run_aes()
508 * If the requested AES key size is not supported by the hardware, in mxs_dcp_aes_setkey()
573 desc->size = actx->fill; in mxs_dcp_run_sha()
580 if (rctx->init && rctx->fini && desc->size == 0) { in mxs_dcp_run_sha()
/kernel/linux/linux-5.10/drivers/dma/
H A Ds3c24xx-dma.c449 /* transfer-size and -count from len and width */ in s3c24xx_dma_start_next_sg()
829 dev_err(&s3cdma->pdev->dev, "memcpy size %zu to large\n", len); in s3c24xx_dma_prep_memcpy()
878 struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period, in s3c24xx_dma_prep_dma_cyclic()
894 size, period, s3cchan->name); in s3c24xx_dma_prep_dma_cyclic()
948 sg_len = size / period; in s3c24xx_dma_prep_dma_cyclic()
961 dsg->len = size - period * i; in s3c24xx_dma_prep_dma_cyclic()
877 s3c24xx_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period, enum dma_transfer_direction direction, unsigned long flags) s3c24xx_dma_prep_dma_cyclic() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v7_0.c371 /* size in MB on si */ in gmc_v7_0_mc_init()
396 /* set the gart size */ in gmc_v7_0_mc_init()
671 * vm size space in gmc_v7_0_gart_enable()
673 /* set vm size, must be a multiple of 4 */ in gmc_v7_0_gart_enable()
970 unsigned size; in gmc_v7_0_get_vbios_fb_size() local
973 size = AMDGPU_VBIOS_VGA_ALLOCATION; in gmc_v7_0_get_vbios_fb_size()
976 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v7_0_get_vbios_fb_size()
981 return size; in gmc_v7_0_get_vbios_fb_size()
1007 /* Adjust VM size here. in gmc_v7_0_sw_init()
1009 * Max GPUVM size fo in gmc_v7_0_sw_init()
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dataflop.c27 * - Set blk_size for proper size checking
51 * - increase gap size at start of track for HD/ED disks
268 * Maximum disk size (in kilobytes). This default is used whenever the
269 * current disk size is unknown.
1593 getprm.size = dtp->blocks; in fd_locked_ioctl()
1628 printk (KERN_INFO "floppy%d: setting size %d spt %d str %d!\n", in fd_locked_ioctl()
1629 drive, setprm.size, setprm.sect, setprm.stretch); in fd_locked_ioctl()
1654 if ( dtp->blocks == setprm.size in fd_locked_ioctl()
1687 dtp->blocks = setprm.size; in fd_locked_ioctl()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c1230 int where, int size, u32 *val) in pnv_eeh_read_config()
1242 return pnv_pci_cfg_read(pdn, where, size, val); in pnv_eeh_read_config()
1246 int where, int size, u32 val) in pnv_eeh_write_config()
1256 return pnv_pci_cfg_write(pdn, where, size, val); in pnv_eeh_write_config()
1701 * size needs to be set before calling eeh_init(). in eeh_powernv_init()
1229 pnv_eeh_read_config(struct eeh_dev *edev, int where, int size, u32 *val) pnv_eeh_read_config() argument
1245 pnv_eeh_write_config(struct eeh_dev *edev, int where, int size, u32 val) pnv_eeh_write_config() argument
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
H A Damd.c1087 store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size) in store_interrupt_enable() argument
1106 return size; in store_interrupt_enable()
1110 store_threshold_limit(struct threshold_block *b, const char *buf, size_t size) in store_threshold_limit() argument
1131 return size; in store_threshold_limit()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dmdesc.c39 u32 node_sz; /* node block size */
40 u32 name_sz; /* name block size */
41 u32 data_sz; /* data block size */
821 const u64 *size = mdesc_get_property(hp, mp, "size", NULL); in fill_in_one_cache() local
822 const u64 *line_size = mdesc_get_property(hp, mp, "line-size", NULL); in fill_in_one_cache()
831 c->icache_size = *size; in fill_in_one_cache()
834 c->dcache_size = *size; in fill_in_one_cache()
840 c->ecache_size = *size; in fill_in_one_cache()
1158 const u64 *pgsz_prop = mdesc_get_property(hp, mp, "mmu-page-size in check_one_pgsz()
[all...]
/kernel/linux/common_modules/tzdriver/core/
H A Dtc_client_driver.c316 * || exponent size || exponent buffer in is_cert_buffer_size_valid()
319 tloge("cert buffer size is invalid!\n"); in is_cert_buffer_size_valid()
595 * 2. remap a different size shared_mem in find_sharedmem()
620 unsigned long size = vma->vm_end - vma->vm_start; in remap_shared_mem() local
624 ret = remap_pfn_range(NULL, va, pa >> PAGE_SHIFT, size, pro); in remap_shared_mem()
628 unsigned long size = vma->vm_end - vma->vm_start; in remap_shared_mem() local
629 ret = remap_pfn_range(vma, vma->vm_start, pfn, size, vma->vm_page_prot); // PAGE_SHARED in remap_shared_mem()
/kernel/linux/linux-5.10/drivers/ata/
H A Dsata_dwc_460ex.c72 u32 dbtsr; /* DMA Burst Transac size */
131 #define SATA_DWC_DBTSR_MWR(size) (((size)/4) & SATA_DWC_TXFIFO_DEPTH)
132 #define SATA_DWC_DBTSR_MRD(size) ((((size)/4) & SATA_DWC_RXFIFO_DEPTH)\
929 dev_dbg(ap->dev, "%s: setting burst size in DBTSR\n", in sata_dwc_port_start()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dsh_flctl.c290 uint32_t data, size; in wait_recfifo_ready() local
301 size = readl(FLDTCNTR(flctl)) >> 24; in wait_recfifo_ready()
302 if ((size & 0xFF) == 4) in wait_recfifo_ready()
545 /* Set SNAND bit if page size is 2048byte */ in set_cmd_regs()
732 writel(16, FLDTCNTR(flctl)); /* set read size */ in execmd_write_oob()
817 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc()
860 writel(0, FLDTCNTR(flctl)); /* set 0 size */ in flctl_cmdfunc()
876 writel(flctl->index, FLDTCNTR(flctl)); /* set write size */ in flctl_cmdfunc()
887 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc()
896 writel(0, FLDTCNTR(flctl)); /* set 0 size */ in flctl_cmdfunc()
[all...]

Completed in 62 milliseconds

1...<<1071107210731074107510761077107810791080>>...1284