Home
last modified time | relevance | path

Searched refs:stat (Results 1 - 25 of 1578) sorted by relevance

12345678910>>...64

/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/members/
H A Dstat.test.js33 * Enter the path or fd parameter to get the file stat.
44 let stat = fileIO.statSync(fpath);
45 expect(stat !== null).assertTrue();
104 * Enter the path or fd parameter to get stat.ino of the file.
115 let stat = fileIO.statSync(fpath);
116 expect(isBigInt(stat.ino)).assertTrue();
133 * Enter the path or fd parameter to get stat.mode of the file.
144 let stat = fileIO.statSync(fpath);
145 expect(isIntNum(stat.mode)).assertTrue();
162 * Enter the path or fd parameter to get stat
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_pmu.c82 u32 stat; in mali_pmu_power_up_all() local
92 stat = mali_hw_core_register_read(&pmu->hw_core, PMU_REG_ADDR_MGMT_STATUS); in mali_pmu_power_up_all()
93 mali_pmu_power_up(pmu, stat); in mali_pmu_power_up_all()
100 u32 stat; in mali_pmu_power_down() local
112 stat = mali_hw_core_register_read(&pmu->hw_core, PMU_REG_ADDR_MGMT_STATUS); in mali_pmu_power_down()
118 MALI_DEBUG_ASSERT((stat & mask) == 0); in mali_pmu_power_down()
122 if (mask == 0 || ((~stat) & mask) == 0) { in mali_pmu_power_down()
133 if (mali_is_mali450() || mali_is_mali470() || pmu->registered_cores_mask != (mask | stat)) { in mali_pmu_power_down()
144 stat = mali_hw_core_register_read(&pmu->hw_core, PMU_REG_ADDR_MGMT_STATUS); in mali_pmu_power_down()
145 MALI_DEBUG_ASSERT(mask == (stat in mali_pmu_power_down()
153 u32 stat; mali_pmu_power_down_all() local
169 u32 stat; mali_pmu_power_up() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_pmu.c87 u32 stat; in mali_pmu_power_up_all() local
97 stat = mali_hw_core_register_read(&pmu->hw_core, in mali_pmu_power_up_all()
99 mali_pmu_power_up(pmu, stat); in mali_pmu_power_up_all()
106 u32 stat; in mali_pmu_power_down_all() local
114 stat = mali_hw_core_register_read(&pmu->hw_core, in mali_pmu_power_down_all()
116 mali_pmu_power_down(pmu, (~stat) & pmu->registered_cores_mask); in mali_pmu_power_down_all()
123 u32 stat; in mali_pmu_power_down() local
137 stat = mali_hw_core_register_read(&pmu->hw_core, in mali_pmu_power_down()
144 MALI_DEBUG_ASSERT(0 == (stat & mask)); in mali_pmu_power_down()
148 if (0 == mask || 0 == ((~stat) in mali_pmu_power_down()
180 u32 stat; mali_pmu_power_up() local
[all...]
/test/xts/acts/communication_lite/wifiservice_hal/src/
H A Dwifiservice_func_test.c123 printf("WifiConnectionChanged:info is null, stat is %d.\n", state); in OnWifiConnectionChangedHandler()
215 // check wifi stat in WifiServiceFuncTestSuiteSetUp()
229 // check AP stat in WifiServiceFuncTestSuiteSetUp()
296 int stat = IsWifiActive(); variable
297 TEST_ASSERT_EQUAL_INT(WIFI_STATE_NOT_AVALIABLE, stat);
301 stat = IsWifiActive();
302 TEST_ASSERT_EQUAL_INT(WIFI_STATE_AVAILABLE, stat);
306 stat = IsWifiActive();
307 TEST_ASSERT_EQUAL_INT(WIFI_STATE_AVAILABLE, stat);
311 stat
330 int stat = IsWifiActive(); global() variable
511 int stat = IsHotspotActive(); global() variable
592 int stat = IsWifiActive(); global() variable
646 int stat = IsWifiActive(); global() variable
674 int stat = IsWifiActive(); global() variable
719 int stat = IsWifiActive(); global() variable
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_dbg_ring.c80 memset(&ring->stat, 0, sizeof(ring->stat)); in dhd_dbg_ring_deinit()
119 if (ring->stat.written_bytes > ring->stat.read_bytes) { in dhd_dbg_ring_get_pending_len()
120 pending_len = ring->stat.written_bytes - ring->stat.read_bytes; in dhd_dbg_ring_get_pending_len()
121 } else if (ring->stat.written_bytes < ring->stat.read_bytes) { in dhd_dbg_ring_get_pending_len()
122 pending_len = PENDING_LEN_MAX - ring->stat.read_bytes + ring->stat in dhd_dbg_ring_get_pending_len()
[all...]
H A Ddhd_linux.h239 #define wifi_chk_adapter_status(adapter, stat) (test_bit(stat, &(adapter)->status))
240 #define wifi_get_adapter_status(adapter, stat) (test_bit(stat, &(adapter)->status))
241 #define wifi_set_adapter_status(adapter, stat) (set_bit(stat, &(adapter)->status))
242 #define wifi_clr_adapter_status(adapter, stat) (clear_bit(stat, &(adapter)->status))
243 #define wifi_chg_adapter_status(adapter, stat) (change_bit(stat,
[all...]
/test/xts/hats/kernel/syscalls/fileio/fstat/
H A DFstatApiTest.cpp23 #include <sys/stat.h>
64 struct stat stat = { 0 }; in HWTEST_F() local
68 int ret = fstat(fd, &stat); in HWTEST_F()
85 struct stat stat = { 0 }; in HWTEST_F() local
87 int ret = fstat(-1, &stat); in HWTEST_F()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/
H A Dstat.h2 * @defgroup stat Stat
31 #include <bits/stat.h>
86 * @ingroup stat
89 * The stat() function shall obtain information about the named file and write it to the area pointed to by the buf
92 * @param buf [IN] A pointer to a stat structure, defined in the <sys/stat.h> header,
132 * <ul><li>stat.h</li></ul>
135 int stat(const char *__restrict, struct stat *__restrict);
138 * @ingroup stat
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
H A Ddrv_trng_v100.c35 rng_stat stat; in drv_trng_randnum() local
60 stat.u32 = trng_read(RNG_STAT); in drv_trng_randnum()
61 if (stat.bits.rng_data_count == 0x00) { in drv_trng_randnum()
68 stat.u32 = trng_read(RNG_STAT); in drv_trng_randnum()
69 if (stat.bits.rng_data_count > 0x00) { in drv_trng_randnum()
82 stat.u32 = trng_read(RNG_STAT); in drv_trng_randnum()
83 if (stat.bits.rng_data_count > 0x00) { in drv_trng_randnum()
H A Ddrv_trng_v200.c31 hisec_com_trng_data_st stat; in drv_trng_randnum() local
57 stat.u32 = trng_read(HISEC_COM_TRNG_DATA_ST); in drv_trng_randnum()
58 if (stat.bits.trng_fifo_data_cnt == 0) { in drv_trng_randnum()
64 stat.u32 = trng_read(HISEC_COM_TRNG_DATA_ST); in drv_trng_randnum()
65 if (stat.bits.trng_fifo_data_cnt > 0) { in drv_trng_randnum()
/test/xts/hats/kernel/syscalls/fileio/fchownat/
H A DFchownatApiTest.cpp25 #include <sys/stat.h>
72 struct stat stat1; in HWTEST_F()
73 struct stat stat2; in HWTEST_F()
108 struct stat stat1; in HWTEST_F()
109 struct stat stat2; in HWTEST_F()
164 struct stat stat1; in HWTEST_F()
165 struct stat stat2; in HWTEST_F()
207 struct stat stat1; in HWTEST_F()
208 struct stat stat2; in HWTEST_F()
250 struct stat stat in HWTEST_F()
[all...]
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
H A Dmediaavsourcendk.cpp24 #include <sys/stat.h>
53 struct stat fileStatus {}; in AVSourceCreateWithFD()
55 if (stat(fileName, &fileStatus) == ZEROVAL) { in AVSourceCreateWithFD()
82 struct stat fileStatus {}; in AVSourceDestroy()
84 if (stat(fileName, &fileStatus) == ZEROVAL) { in AVSourceDestroy()
110 struct stat fileStatus {}; in AVSourceGetSourceFormat()
112 if (stat(fileName, &fileStatus) == ZEROVAL) { in AVSourceGetSourceFormat()
141 struct stat fileStatus {}; in AVSourceGetTrackFormat()
143 if (stat(fileName, &fileStatus) == ZEROVAL) { in AVSourceGetTrackFormat()
/test/xts/hats/kernel/syscalls/fileio/ftruncate/
H A DFtruncateApiTest.cpp23 #include <sys/stat.h>
66 struct stat stat; in HWTEST_F() local
73 ret = fstat(fd, &stat); in HWTEST_F()
77 EXPECT_EQ(stat.st_size, len); in HWTEST_F()
/test/xts/acts/
H A Dget_dependency.py21 import stat namespace
112 file_descriptor = os.open(file_name, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP)
119 file_descriptor = os.open(file_name, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP)
/test/xts/hats/kernel/syscalls/fileio/utimensat/
H A DUtimensatApiTest.cpp27 #include <sys/stat.h>
74 struct stat fileStat1; in HWTEST_F()
75 struct stat fileStat2; in HWTEST_F()
88 ret = stat(UTIMENSAT_TEST_FILE, &fileStat1); in HWTEST_F()
101 ret = stat(UTIMENSAT_TEST_FILE, &fileStat2); in HWTEST_F()
123 struct stat fileStat1; in HWTEST_F()
136 ret = stat(UTIMENSAT_TEST_FILE, &fileStat1); in HWTEST_F()
/test/xts/acts/kernel_lite/fs_posix/src/
H A DFsStatTest.cpp20 #include <sys/stat.h>
57 * @tc.name basic function test : Run the stat function to test limt.
65 struct stat buf; in HWTEST_F()
77 EXPECT_NE(stat(filePath, &buf), -1) << "> fstat errno = " << errno; in HWTEST_F()
100 struct stat buf; in HWTEST_F()
135 struct stat buf; in HWTEST_F()
239 struct stat buf; in HWTEST_F()
248 EXPECT_NE(stat(fileName, &buf), -1) << "> fstat errno = " << errno; in HWTEST_F()
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c393 u32 stat; member
862 int stat; in dw_hdmi_i2c_read() local
877 stat = wait_for_completion_timeout(&i2c->cmp, HZ / 0xA); in dw_hdmi_i2c_read()
878 if (!stat) { in dw_hdmi_i2c_read()
885 if (i2c->stat & I2CM_NACK_RCVD_IRQ) { in dw_hdmi_i2c_read()
892 dev_dbg(hdmi->dev, "i2c read done! i2c->stat:%02x 0x%02x\n", i2c->stat, in dw_hdmi_i2c_read()
904 int stat; in dw_hdmi_i2c_write() local
921 stat = wait_for_completion_timeout(&i2c->cmp, HZ / 0xA); in dw_hdmi_i2c_write()
922 if (!stat) { in dw_hdmi_i2c_write()
1066 u32 stat, ret; dw_hdmi_qp_set_earc() local
1433 int i = 0, stat; hdmi_start_flt() local
2096 u32 stat; dw_hdmi_qp_main_hardirq() local
2141 u32 stat; dw_hdmi_qp_avp_hardirq() local
2157 u32 stat; dw_hdmi_qp_earc_hardirq() local
2173 u32 stat; dw_hdmi_qp_avp_irq() local
2188 u32 stat; dw_hdmi_qp_earc_irq() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c186 u32 stat; member
672 int stat; in dw_hdmi_i2c_read() local
689 stat = wait_for_completion_timeout(&i2c->cmp, HZ / 10); in dw_hdmi_i2c_read()
690 if (!stat) { in dw_hdmi_i2c_read()
697 if (i2c->stat & I2CM_NACK_RCVD_IRQ) { in dw_hdmi_i2c_read()
704 dev_dbg(hdmi->dev, "i2c read done! i2c->stat:%02x 0x%02x\n", in dw_hdmi_i2c_read()
705 i2c->stat, hdmi_readl(hdmi, I2CM_INTERFACE_RDDATA_0_3)); in dw_hdmi_i2c_read()
717 int stat; in dw_hdmi_i2c_write() local
736 stat = wait_for_completion_timeout(&i2c->cmp, HZ / 10); in dw_hdmi_i2c_write()
737 if (!stat) { in dw_hdmi_i2c_write()
885 u32 stat, ret; dw_hdmi_qp_set_earc() local
1261 int i = 0, stat; hdmi_start_flt() local
1971 u32 stat; dw_hdmi_qp_main_hardirq() local
2025 u32 stat; dw_hdmi_qp_avp_hardirq() local
2041 u32 stat; dw_hdmi_qp_earc_hardirq() local
2057 u32 stat; dw_hdmi_qp_avp_irq() local
2072 u32 stat; dw_hdmi_qp_earc_irq() local
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dmntentndk1.cpp23 #include <sys/stat.h>
35 struct stat statbuff; in GetMnTent()
54 ret = stat(TEMP_FILE, &statbuff); in GetMnTent()
86 struct stat statbuff; in GetMnTentR()
105 ret = stat(TEMP_FILE, &statbuff); in GetMnTentR()
H A Dstatndk.cpp27 #include <sys/stat.h>
71 struct stat sb = {PARAM_0}; in Stat()
73 intValue = stat(PATH, &sb); in Stat()
75 intValue = stat(nullptr, &sb); in Stat()
213 struct stat sb = {PARAM_0}; in Fstat()
231 struct stat sb = {PARAM_0}; in Fstat64()
249 struct stat st = {PARAM_0}; in Fstatat()
267 struct stat st = {PARAM_0}; in Fstatat64()
337 struct stat newFifo = {PARAM_0}; in MkNodAt()
340 ret = stat(pat in MkNodAt()
[all...]
/test/xts/hats/kernel/syscalls/fileio/openat/
H A DOpenatApiTest.cpp23 #include <sys/stat.h>
232 struct stat buf; in HWTEST_F()
237 stat(TEST_FILE, &buf); in HWTEST_F()
241 EXPECT_TRUE(stat(TEST_FILE, &buf) == 0); in HWTEST_F()
260 struct stat buf; in HWTEST_F()
267 stat(TEST_FILE, &buf); in HWTEST_F()
274 stat(TEST_FILE, &buf); in HWTEST_F()
322 struct stat bufFirst; in HWTEST_F()
323 struct stat bufSecond; in HWTEST_F()
329 stat(TEST_FIL in HWTEST_F()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dftw.h9 #include <sys/stat.h>
29 int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
30 int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int);
/test/testfwk/developer_test/examples/detector/src/
H A Ddetector.cpp21 #include <sys/stat.h>
57 struct stat myStat; in FileExist()
58 return (!stat(fileName, &myStat)); in FileExist()
/test/xts/tools/lite/checksum/src/
H A Dmain.c25 #include <sys/stat.h>
36 struct stat sBuf; in main()
42 int result = stat(filePath, &sBuf); // 获取文件信息,把信息放到sBuf中 in main()
44 printf("error: fail to get the stat of %s: %s.\n", filePath, strerror(errno)); in main()
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dfnmatchndk32.cpp32 #include <sys/stat.h>
122 extern "C" int __fstat_time64(int, struct stat *);
127 struct stat stat {}; in FStat_time64() struct
128 returnParam = __fstat_time64(fileDescribe, &stat); in FStat_time64()
135 extern "C" int __lstat_time64(const char *__restrict, struct stat *__restrict);
140 struct stat stat {}; in LStat_time64() struct
141 returnParam = __lstat_time64(test, &stat); in LStat_time64()
147 extern "C" int __stat_time64(const char *__restrict, struct stat *__restric
152 struct stat stat {}; Stat_time64() struct
[all...]

Completed in 16 milliseconds

12345678910>>...64