Home
last modified time | relevance | path

Searched refs:stat (Results 1251 - 1275 of 7859) sorted by relevance

1...<<51525354555657585960>>...315

/third_party/skia/third_party/externals/tint/src/utils/io/
H A Dcommand_posix.cc18 #include <sys/stat.h>
101 struct stat s {}; in ExecutableExists()
102 if (stat(path.c_str(), &s) != 0) { in ExecutableExists()
/third_party/selinux/secilc/
H A Dsecil2tree.c35 #include <sys/stat.h>
72 struct stat filedata; in main()
153 rc = stat(argv[i], &filedata); in main()
155 fprintf(stderr, "Could not stat file: %s\n", argv[i]); in main()
/third_party/vk-gl-cts/framework/common/
H A DtcuLibDrm.cpp35 #include <sys/stat.h>
120 struct stat statBuf; in findDeviceNode()
122 int res = stat(devices[i]->nodes[j], &statBuf); in findDeviceNode()
/vendor/hisilicon/hispark_aries/hals/security/permission_lite/
H A Dhal_pms.c21 #include <sys/stat.h>
200 struct stat buf; in HalIsValidPath()
201 stat(path, &buf); in HalIsValidPath()
/vendor/hisilicon/hispark_taurus/hals/security/permission_lite/
H A Dhal_pms.c21 #include <sys/stat.h>
200 struct stat buf; in HalIsValidPath()
201 stat(path, &buf); in HalIsValidPath()
/vendor/hisilicon/hispark_taurus_linux/hals/security/permission_lite/
H A Dhal_pms.c21 #include <sys/stat.h>
200 struct stat buf; in HalIsValidPath()
201 stat(path, &buf); in HalIsValidPath()
/vendor/hisilicon/hispark_taurus_mini_system/hals/security/permission_lite/
H A Dhal_pms.c21 #include <sys/stat.h>
200 struct stat buf; in HalIsValidPath()
201 stat(path, &buf); in HalIsValidPath()
/vendor/ohemu/qemu_small_system_demo/hals/security/permission_lite/
H A Dhal_pms.c21 #include <sys/stat.h>
202 struct stat buf; in HalIsValidPath()
203 stat(path, &buf); in HalIsValidPath()
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c442 int stat = pvr2_hdw_check_cropcap(cptr->hdw); in ctrl_cropl_min_get() local
443 if (stat != 0) { in ctrl_cropl_min_get()
444 return stat; in ctrl_cropl_min_get()
453 int stat = pvr2_hdw_check_cropcap(cptr->hdw); in ctrl_cropl_max_get() local
454 if (stat != 0) { in ctrl_cropl_max_get()
455 return stat; in ctrl_cropl_max_get()
467 int stat = pvr2_hdw_check_cropcap(cptr->hdw); in ctrl_cropt_min_get() local
468 if (stat != 0) { in ctrl_cropt_min_get()
469 return stat; in ctrl_cropt_min_get()
478 int stat in ctrl_cropt_max_get() local
492 int stat, bleftend, cleft; ctrl_cropw_max_get() local
508 int stat, btopend, ctop; ctrl_croph_max_get() local
524 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbl() local
535 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbt() local
546 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbw() local
557 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbh() local
568 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdl() local
579 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdt() local
590 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdw() local
601 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdh() local
612 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcappan() local
623 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcappad() local
3274 int stat = 0; pvr2_hdw_get_cropcap() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c442 int stat = pvr2_hdw_check_cropcap(cptr->hdw); in ctrl_cropl_min_get() local
443 if (stat != 0) { in ctrl_cropl_min_get()
444 return stat; in ctrl_cropl_min_get()
453 int stat = pvr2_hdw_check_cropcap(cptr->hdw); in ctrl_cropl_max_get() local
454 if (stat != 0) { in ctrl_cropl_max_get()
455 return stat; in ctrl_cropl_max_get()
467 int stat = pvr2_hdw_check_cropcap(cptr->hdw); in ctrl_cropt_min_get() local
468 if (stat != 0) { in ctrl_cropt_min_get()
469 return stat; in ctrl_cropt_min_get()
478 int stat in ctrl_cropt_max_get() local
492 int stat, bleftend, cleft; ctrl_cropw_max_get() local
508 int stat, btopend, ctop; ctrl_croph_max_get() local
524 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbl() local
535 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbt() local
546 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbw() local
557 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapbh() local
568 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdl() local
579 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdt() local
590 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdw() local
601 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcapdh() local
612 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcappan() local
623 int stat = pvr2_hdw_check_cropcap(cptr->hdw); ctrl_get_cropcappad() local
3274 int stat = 0; pvr2_hdw_get_cropcap() local
[all...]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A DNodeTools.js582 let stat = 0;
584 while (p < s.length && stat < STAT_SIZE) {
585 switch (stat) {
588 stat = 1;
591 stat = STAT_SIZE;
596 stat = 2;
604 stat = 0;
607 stat = STAT_SIZE;
/foundation/resourceschedule/memmgr/common/src/
H A Dkernel_interface.cpp25 #include <sys/stat.h>
77 struct stat st = {}; in IsFileExists()
78 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) { in IsFileExists()
183 struct stat st = {}; in IsDirExists()
184 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in IsDirExists()
253 std::string statPath = JoinPath("/proc/", std::to_string(procInfo.pid), "/stat"); in GetPidProcInfo()
257 std::string stat; in GetPidProcInfo() local
262 if (!ReadFromFile(statPath, stat)) { in GetPidProcInfo()
263 HILOGD("stat file error!"); in GetPidProcInfo()
266 std::istringstream isStat(stat); in GetPidProcInfo()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kvm/intc/
H A Dls7a_irq.c46 kvm->stat.ls7a_ioapic_update++; in kvm_ls7a_ioapic_raise()
67 kvm->stat.ls7a_ioapic_update++; in kvm_ls7a_ioapic_lower()
88 kvm->stat.ls7a_msi_irq++; in kvm_ls7a_send_userspace_msi()
132 kvm->stat.ls7a_ioapic_set_irq++; in kvm_ls7a_ioapic_set_irq()
301 kvm->stat.ioapic_reg_write++; in ls7a_ioapic_reg_write()
446 kvm->stat.ioapic_reg_read++; in ls7a_ioapic_reg_read()
561 kvm->stat.get_ls7a_ioapic++; in kvm_get_ls7a_ioapic()
578 kvm->stat.set_ls7a_ioapic++; in kvm_set_ls7a_ioapic()
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-atapi.c424 u8 stat, ireason, dsc = 0; in ide_pc_intr() local
433 stat = tp_ops->read_status(hwif); in ide_pc_intr()
442 if (rc || (drive->media == ide_tape && (stat & ATA_ERR))) { in ide_pc_intr()
454 if ((stat & ATA_DRQ) == 0) { in ide_pc_intr()
466 (stat & ATA_ERR) && scsi_req(rq)->cmd[0] == REQUEST_SENSE) in ide_pc_intr()
467 stat &= ~ATA_ERR; in ide_pc_intr()
469 if ((stat & ATA_ERR) || (pc->flags & PC_FLAG_DMA_ERROR)) { in ide_pc_intr()
492 if ((pc->flags & PC_FLAG_WAIT_FOR_DSC) && (stat & ATA_DSC) == 0) in ide_pc_intr()
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
H A Dsolo6x10-regs.h122 #define SOLO_P2M_CURRENT_ID(stat) (0xff & (stat))
186 #define DISP_PAGE(stat) ((stat) & 0x07)
581 #define SOLO_UART_RX_BUFF_CNT(stat) (((stat)>>6) & 0x1f)
583 #define SOLO_UART_TX_BUFF_CNT(stat) (((stat)>>0) & 0x1f)
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-ocores.c160 static void ocores_process(struct ocores_i2c *i2c, u8 stat) in ocores_process() argument
179 if (stat & OCI2C_STAT_ARBLOST) { in ocores_process()
189 if (stat & OCI2C_STAT_NACK) { in ocores_process()
240 u8 stat = oc_getreg(i2c, OCI2C_STATUS); in ocores_isr() local
243 if ((stat & OCI2C_STAT_IF) && !(stat & OCI2C_STAT_BUSY)) in ocores_isr()
245 } else if (!(stat & OCI2C_STAT_IF)) { in ocores_isr()
248 ocores_process(i2c, stat); in ocores_isr()
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dadin.c653 const struct adin_hw_stat *stat, in adin_read_mmd_stat_regs()
658 ret = phy_read_mmd(phydev, MDIO_MMD_VEND1, stat->reg1); in adin_read_mmd_stat_regs()
664 if (stat->reg2 == 0) in adin_read_mmd_stat_regs()
667 ret = phy_read_mmd(phydev, MDIO_MMD_VEND1, stat->reg2); in adin_read_mmd_stat_regs()
679 const struct adin_hw_stat *stat = &adin_hw_stats[i]; in adin_get_stat() local
684 if (stat->reg1 > 0x1f) { in adin_get_stat()
685 ret = adin_read_mmd_stat_regs(phydev, stat, &val); in adin_get_stat()
689 ret = phy_read(phydev, stat->reg1); in adin_get_stat()
652 adin_read_mmd_stat_regs(struct phy_device *phydev, const struct adin_hw_stat *stat, u32 *val) adin_read_mmd_stat_regs() argument
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_rtbitmap.c771 int *stat) /* out: 1 for matches, 0 for not */ in xfs_rtcheck_range()
830 *stat = 0; in xfs_rtcheck_range()
876 *stat = 0; in xfs_rtcheck_range()
921 *stat = 0; in xfs_rtcheck_range()
931 *stat = 1; in xfs_rtcheck_range()
947 int stat; in xfs_rtcheck_alloc_range() local
950 error = xfs_rtcheck_range(mp, tp, bno, len, 0, &new, &stat); in xfs_rtcheck_alloc_range()
953 ASSERT(stat); in xfs_rtcheck_alloc_range()
764 xfs_rtcheck_range( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t start, xfs_extlen_t len, int val, xfs_rtblock_t *new, int *stat) xfs_rtcheck_range() argument
H A Dxfs_ialloc_btree.c94 int *stat, in __xfs_inobt_alloc_block()
117 *stat = 0; in __xfs_inobt_alloc_block()
123 *stat = 1; in __xfs_inobt_alloc_block()
133 int *stat) in xfs_inobt_alloc_block()
135 return __xfs_inobt_alloc_block(cur, start, new, stat, XFS_AG_RESV_NONE); in xfs_inobt_alloc_block()
143 int *stat) in xfs_finobt_alloc_block()
146 return xfs_inobt_alloc_block(cur, start, new, stat); in xfs_finobt_alloc_block()
147 return __xfs_inobt_alloc_block(cur, start, new, stat, in xfs_finobt_alloc_block()
90 __xfs_inobt_alloc_block( struct xfs_btree_cur *cur, union xfs_btree_ptr *start, union xfs_btree_ptr *new, int *stat, enum xfs_ag_resv_type resv) __xfs_inobt_alloc_block() argument
129 xfs_inobt_alloc_block( struct xfs_btree_cur *cur, union xfs_btree_ptr *start, union xfs_btree_ptr *new, int *stat) xfs_inobt_alloc_block() argument
139 xfs_finobt_alloc_block( struct xfs_btree_cur *cur, union xfs_btree_ptr *start, union xfs_btree_ptr *new, int *stat) xfs_finobt_alloc_block() argument
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_rtbitmap.c771 int *stat) /* out: 1 for matches, 0 for not */ in xfs_rtcheck_range()
830 *stat = 0; in xfs_rtcheck_range()
876 *stat = 0; in xfs_rtcheck_range()
921 *stat = 0; in xfs_rtcheck_range()
931 *stat = 1; in xfs_rtcheck_range()
947 int stat; in xfs_rtcheck_alloc_range() local
950 error = xfs_rtcheck_range(mp, tp, bno, len, 0, &new, &stat); in xfs_rtcheck_alloc_range()
953 ASSERT(stat); in xfs_rtcheck_alloc_range()
764 xfs_rtcheck_range( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t start, xfs_extlen_t len, int val, xfs_rtblock_t *new, int *stat) xfs_rtcheck_range() argument
H A Dxfs_ialloc_btree.c96 int *stat, in __xfs_inobt_alloc_block()
119 *stat = 0; in __xfs_inobt_alloc_block()
125 *stat = 1; in __xfs_inobt_alloc_block()
135 int *stat) in xfs_inobt_alloc_block()
137 return __xfs_inobt_alloc_block(cur, start, new, stat, XFS_AG_RESV_NONE); in xfs_inobt_alloc_block()
145 int *stat) in xfs_finobt_alloc_block()
148 return xfs_inobt_alloc_block(cur, start, new, stat); in xfs_finobt_alloc_block()
149 return __xfs_inobt_alloc_block(cur, start, new, stat, in xfs_finobt_alloc_block()
92 __xfs_inobt_alloc_block( struct xfs_btree_cur *cur, const union xfs_btree_ptr *start, union xfs_btree_ptr *new, int *stat, enum xfs_ag_resv_type resv) __xfs_inobt_alloc_block() argument
131 xfs_inobt_alloc_block( struct xfs_btree_cur *cur, const union xfs_btree_ptr *start, union xfs_btree_ptr *new, int *stat) xfs_inobt_alloc_block() argument
141 xfs_finobt_alloc_block( struct xfs_btree_cur *cur, const union xfs_btree_ptr *start, union xfs_btree_ptr *new, int *stat) xfs_finobt_alloc_block() argument
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dadin.c758 const struct adin_hw_stat *stat, in adin_read_mmd_stat_regs()
763 ret = phy_read_mmd(phydev, MDIO_MMD_VEND1, stat->reg1); in adin_read_mmd_stat_regs()
769 if (stat->reg2 == 0) in adin_read_mmd_stat_regs()
772 ret = phy_read_mmd(phydev, MDIO_MMD_VEND1, stat->reg2); in adin_read_mmd_stat_regs()
784 const struct adin_hw_stat *stat = &adin_hw_stats[i]; in adin_get_stat() local
789 if (stat->reg1 > 0x1f) { in adin_get_stat()
790 ret = adin_read_mmd_stat_regs(phydev, stat, &val); in adin_get_stat()
794 ret = phy_read(phydev, stat->reg1); in adin_get_stat()
757 adin_read_mmd_stat_regs(struct phy_device *phydev, const struct adin_hw_stat *stat, u32 *val) adin_read_mmd_stat_regs() argument
/kernel/linux/linux-6.6/drivers/media/pci/solo6x10/
H A Dsolo6x10-regs.h122 #define SOLO_P2M_CURRENT_ID(stat) (0xff & (stat))
186 #define DISP_PAGE(stat) ((stat) & 0x07)
581 #define SOLO_UART_RX_BUFF_CNT(stat) (((stat)>>6) & 0x1f)
583 #define SOLO_UART_TX_BUFF_CNT(stat) (((stat)>>0) & 0x1f)
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-ocores.c159 static void ocores_process(struct ocores_i2c *i2c, u8 stat) in ocores_process() argument
178 if (stat & OCI2C_STAT_ARBLOST) { in ocores_process()
188 if (stat & OCI2C_STAT_NACK) { in ocores_process()
239 u8 stat = oc_getreg(i2c, OCI2C_STATUS); in ocores_isr() local
242 if ((stat & OCI2C_STAT_IF) && !(stat & OCI2C_STAT_BUSY)) in ocores_isr()
244 } else if (!(stat & OCI2C_STAT_IF)) { in ocores_isr()
247 ocores_process(i2c, stat); in ocores_isr()
/third_party/jerryscript/jerry-core/api/
H A Dgenerate-bytecode.c120 struct stat file_stat = { 0 }; in read_js_or_snapshot_file()
274 struct stat file_stat = { 0 }; in init_directory_list()
276 if ((filefolder == NULL) || (stat(filefolder, &file_stat) < 0)) { in init_directory_list()
390 struct stat file_stat = { 0 }; in visit_directory()
406 if (stat(input_file_path, &file_stat) < 0) { in visit_directory()
520 struct stat file_stat = { 0 }; in walk_del_bytecode()
528 if ((filefolder == NULL) || (stat(filefolder, &file_stat) < 0)) { in walk_del_bytecode()
577 if (stat(input_file_path, &file_stat) < 0) { in walk_del_bytecode()

Completed in 27 milliseconds

1...<<51525354555657585960>>...315