/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | demuxer_filter_unit_test.cpp | 21 #include <sys/stat.h> 146 struct stat fileStatus {}; in SetDataSource() 147 if (stat(srtPath.c_str(), &fileStatus) == 0) { in SetDataSource()
|
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_tone_player/ |
H A D | system_tone_player_impl.cpp | 19 #include <sys/stat.h> 64 struct stat buffer; in IsFileExisting() 65 return (stat(fileUri.c_str(), &buffer) == 0); in IsFileExisting()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_operation_utils.cpp | 21 #include <sys/stat.h> 354 struct stat sstat; in GetObjectDataDeal() 407 struct stat sstat; in DoRecevieSendObject()
|
/foundation/multimodalinput/input/tools/vuinput/src/ |
H A D | virtual_device.cpp | 19 #include <sys/stat.h> 553 struct stat statbuf = { 0 }; in GetFileSize() 554 if (stat(filePath.c_str(), &statbuf) != 0) { in GetFileSize()
|
/foundation/systemabilitymgr/samgr_lite/samgr_server/source/ |
H A D | samgr_server_rpc.c | 25 #include <sys/stat.h> 674 struct stat fileInfo; in GetJsonStream() 677 if (stat(path, &fileInfo) != 0 || (size = fileInfo.st_size) == 0) { in GetJsonStream()
|
H A D | samgr_server.c | 19 #include <sys/stat.h>
564 struct stat fileInfo;
in GetJsonStream() 567 if (stat(path, &fileInfo) != 0 || (size = fileInfo.st_size) == 0) {
in GetJsonStream()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_security_manager.cpp | 22 #include <sys/stat.h>
615 struct stat fileInfo;
in IsKeyFileEmpty() 616 auto errCode = stat(keyFile.c_str(), &fileInfo);
in IsKeyFileEmpty()
|
/foundation/distributedhardware/distributed_audio/services/test_example/ |
H A D | distributedaudiotest.cpp | 23 #include <sys/stat.h> 378 struct stat statbuf; in StartRender() 379 stat(SPK_FILE_PATH, &statbuf); in StartRender()
|
/foundation/filemanagement/dfs_service/utils/dentry/src/ |
H A D | meta_file_clouddisk.cpp | 22 #include <sys/stat.h> 328 struct stat fileStat; in HandleFileByFd() 649 struct stat fileStat; in LoadChildren()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | swim.c | 295 int stat; in swim_readbit() local 301 stat = swim_read(base, handshake); in swim_readbit() 303 return (stat & SENSE) == 0; in swim_readbit()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | device_pm.c | 701 enum pm_qos_flags_status stat; in acpi_pm_device_sleep_state() local 703 stat = dev_pm_qos_flags(dev, PM_QOS_FLAG_NO_POWER_OFF); in acpi_pm_device_sleep_state() 704 if (stat == PM_QOS_FLAGS_ALL) in acpi_pm_device_sleep_state()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | vector_user.c | 17 #include <sys/stat.h> 816 struct stat statbuf; in uml_vector_user_bpf() 822 if (stat(filename, &statbuf) < 0) { in uml_vector_user_bpf()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | hisi504_nand.c | 523 int max_bitflips = 0, stat = 0, stat_max = 0, status_ecc; in hisi_nand_read_page_hwecc() local 540 stat = stat_1 + stat_2; in hisi_nand_read_page_hwecc() 543 mtd->ecc_stats.corrected += stat; in hisi_nand_read_page_hwecc()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | vector_user.c | 18 #include <sys/stat.h> 817 struct stat statbuf; in uml_vector_user_bpf() 823 if (stat(filename, &statbuf) < 0) { in uml_vector_user_bpf()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_crt.c | 556 u32 stat; in intel_crt_detect_hotplug() local 588 stat = intel_de_read(dev_priv, PORT_HOTPLUG_STAT); in intel_crt_detect_hotplug() 589 if ((stat & CRT_HOTPLUG_MONITOR_MASK) != CRT_HOTPLUG_MONITOR_NONE) in intel_crt_detect_hotplug()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | mvebu-uart.c | 121 unsigned int stat; member 785 mvuart->pm_regs.stat = readl(port->membase + UART_STAT); in mvebu_uart_suspend() 803 writel(mvuart->pm_regs.stat, port->membase + UART_STAT); in mvebu_uart_resume()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | uss720.c | 309 unsigned char stat; in clear_epp_timeout() local 311 if (get_1284_register(pp, 1, &stat, GFP_KERNEL)) in clear_epp_timeout() 313 return stat & 1; in clear_epp_timeout()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | unifdef.c | 47 #include <sys/stat.h> 330 struct stat ist, ost; in main() 331 if (stat(ofilename, &ost) == 0 && in main()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | s390-cpumsf.c | 151 #include <sys/stat.h> 1097 struct stat stbuf; in s390_cpumsf__config() 1108 rc = stat(sf->logdir, &stbuf); in s390_cpumsf__config()
|
/kernel/linux/linux-5.10/mm/ |
H A D | backing-dev.c | 313 err = percpu_counter_init(&wb->stat[i], 0, gfp); in wb_init() 322 percpu_counter_destroy(&wb->stat[i]); in wb_init() 363 percpu_counter_destroy(&wb->stat[i]); in wb_exit()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_fsmap.c | 195 bool *stat) in xfs_getfsmap_is_shared() 203 *stat = false; in xfs_getfsmap_is_shared() 222 *stat = flen > 0; in xfs_getfsmap_is_shared() 191 xfs_getfsmap_is_shared( struct xfs_trans *tp, struct xfs_getfsmap_info *info, struct xfs_rmap_irec *rec, bool *stat) xfs_getfsmap_is_shared() argument
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | generic.c | 16 #include <linux/stat.h> 136 static int proc_getattr(const struct path *path, struct kstat *stat, in proc_getattr() argument 148 generic_fillattr(inode, stat); in proc_getattr()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
H A D | inno_hdmi.c | 636 u8 stat; in inno_hdmi_i2c_irq() local 638 stat = hdmi_readb(hdmi, HDMI_INTERRUPT_STATUS1); in inno_hdmi_i2c_irq() 639 if (!(stat & m_INT_EDID_READY)) in inno_hdmi_i2c_irq()
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zoran_device.c | 928 u32 stat, astat; in zoran_irq() local 930 stat = count_reset_interrupt(zr); in zoran_irq() 931 astat = stat & IRQ_MASK; in zoran_irq()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | hisi504_nand.c | 523 int max_bitflips = 0, stat = 0, stat_max = 0, status_ecc; in hisi_nand_read_page_hwecc() local 540 stat = stat_1 + stat_2; in hisi_nand_read_page_hwecc() 543 mtd->ecc_stats.corrected += stat; in hisi_nand_read_page_hwecc()
|