Home
last modified time | relevance | path

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

12345678910>>...127

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_async_work.cpp92 napi_status stat = napi_invalid_arg; in Enqueue() local
94 stat = napi_create_promise(contextBase->env, &contextBase->deferred, &promise); in Enqueue()
95 NAPI_CHECK_ARGS(contextBase, stat == napi_ok, stat, TextErrorCode::ERROR, return nullptr, in Enqueue()
96 "Failed to create promise, stat:%d", static_cast<int>(stat)); in Enqueue()
98 stat = napi_get_undefined(contextBase->env, &promise); in Enqueue()
99 NAPI_CHECK_ARGS(contextBase, stat == napi_ok, stat, TextErrorCode::ERROR, return nullptr, in Enqueue()
100 "Failed to get undefined, stat in Enqueue()
143 napi_status stat = napi_invalid_arg; GenerateOutput() local
[all...]
/third_party/toybox/toys/other/
H A Dstat.c0 /* stat.c : display file or file system status
5 USE_STAT(NEWTOY(stat, "<1c:(format)fLt", TOYFLAG_BIN))
8 bool stat
11 usage: stat [-tfL] [-c FORMAT] FILE...
47 struct stat st;
49 } stat;
76 struct stat *stat = (struct stat *)&TT.stat; in print_stat() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dnftw.h39 #include <sys/stat.h>
112 int test_func1(const char *, const struct stat *, int, struct FTW *);
113 int test_func3(const char *, const struct stat *, int, struct FTW *);
114 int test_func4(const char *, const struct stat *, int, struct FTW *);
115 int test_func5(const char *, const struct stat *, int, struct FTW *);
116 int test_func7(const char *, const struct stat *, int, struct FTW *);
117 int test_func8(const char *, const struct stat *, int, struct FTW *);
118 int test_func9(const char *, const struct stat *, int, struct FTW *);
119 int test_func10(const char *, const struct stat *, int, struct FTW *);
120 int test_func11(const char *, const struct stat *, in
[all...]
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpost_event_utils.cpp155 void PostEventUtils::PostThumbnailStat(const VariantMap &stat) in PostThumbnailStat() argument
165 "GNUMS", GetIntValue(KEY_GNUMS, stat), in PostThumbnailStat()
166 "ANUMS", GetIntValue(KEY_ANUMS, stat)); in PostThumbnailStat()
172 void PostEventUtils::PostDbUpgradeStat(const VariantMap &stat) in PostDbUpgradeStat() argument
174 int32_t preVersion = GetIntValue(KEY_PRE_VERSION, stat); in PostDbUpgradeStat()
175 int32_t afterVersion = GetIntValue(KEY_AFTER_VERSION, stat); in PostDbUpgradeStat()
203 void PostEventUtils::PostAgingStat(const VariantMap &stat) in PostAgingStat() argument
211 "COUNT", GetIntValue(KEY_COUNT, stat)); in PostAgingStat()
217 void PostEventUtils::PostMscFirstVisitStat(const VariantMap &stat) in PostMscFirstVisitStat() argument
219 string photoId = GetStringValue(KEY_PHOTO_ID, stat); in PostMscFirstVisitStat()
232 PostMscRequestPolicyStat(const VariantMap &stat) PostMscRequestPolicyStat() argument
251 PostMscTriggerRatioStat(const VariantMap &stat) PostMscTriggerRatioStat() argument
266 PostMscTotalTimeCostStat(const VariantMap &stat) PostMscTotalTimeCostStat() argument
281 PostMscResultStat(const VariantMap &stat) PostMscResultStat() argument
333 PostCloudEnhanceStat(const VariantMap &stat) PostCloudEnhanceStat() argument
350 PostStatProcess(const uint32_t &statType, const VariantMap &stat) PostStatProcess() argument
[all...]
/third_party/rust/crates/rustix/tests/fs/
H A Dy2038.rs47 let stat = statat(&dir, "foo", AtFlags::empty()).unwrap(); in test_y2038_with_utimensat()
50 TryInto::<u64>::try_into(stat.st_mtime).unwrap() as u64, in test_y2038_with_utimensat()
55 assert_eq!(stat.st_mtime_nsec as u32, m_nsec); in test_y2038_with_utimensat()
57 assert_eq!(stat.st_mtimensec as u32, m_nsec); in test_y2038_with_utimensat()
59 assert!(TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 >= a_sec); in test_y2038_with_utimensat()
63 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat()
64 || stat.st_atime_nsec as u32 >= a_nsec in test_y2038_with_utimensat()
68 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat()
69 || stat.st_atimensec as u32 >= a_nsec in test_y2038_with_utimensat()
74 let stat in test_y2038_with_utimensat()
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-truncate.js34 let stat;
41 stat = fs.statSync(filename);
42 assert.strictEqual(stat.size, 1024 * 16);
45 stat = fs.statSync(filename);
46 assert.strictEqual(stat.size, 1024);
49 stat = fs.statSync(filename);
50 assert.strictEqual(stat.size, 0);
56 stat = fs.statSync(filename);
57 assert.strictEqual(stat.size, 1024 * 16);
60 stat
[all...]
H A Dtest-fs-promises.js29 stat,
79 function verifyStatObject(stat) {
80 assert.strictEqual(typeof stat, 'object');
81 assert.strictEqual(typeof stat.dev, 'number');
82 assert.strictEqual(typeof stat.mode, 'number');
85 function verifyStatFsObject(stat, isBigint = false) {
88 assert.strictEqual(typeof stat, 'object');
89 assert.strictEqual(typeof stat.type, valueType);
90 assert.strictEqual(typeof stat.bsize, valueType);
91 assert.strictEqual(typeof stat
[all...]
/third_party/lame/frontend/
H A Dbrhist.c251 stats_line(double *stat) in stats_line() argument
256 n += stats_head(stat[1], " mono"); in stats_line()
257 n += stats_head(stat[2], " IS "); in stats_line()
258 n += stats_head(stat[3], " LR "); in stats_line()
259 n += stats_head(stat[4], " MS "); in stats_line()
262 n += stats_head(stat[5], " long "); in stats_line()
263 n += stats_head(stat[6], "switch"); in stats_line()
264 n += stats_head(stat[7], " short"); in stats_line()
265 n += stats_head(stat[8], " mixed"); in stats_line()
276 console_printf("\n %5.1f ", stat[ in stats_line()
314 double stat[9] = { 0 }; brhist_disp() local
[all...]
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Ddistributed_kv_data_manager_test.cpp428 Status stat = manager.CloseKvStore(appId, storeId64); in HWTEST_F() local
429 EXPECT_EQ(stat, Status::SUCCESS); in HWTEST_F()
448 Status stat = manager.CloseKvStore(appId, storeId64); in HWTEST_F() local
449 EXPECT_EQ(stat, Status::STORE_NOT_OPEN); in HWTEST_F()
462 Status stat = manager.CloseKvStore(appId, storeIdEmpty); in HWTEST_F() local
463 EXPECT_EQ(stat, Status::INVALID_ARGUMENT); in HWTEST_F()
476 Status stat = manager.CloseKvStore(appId, storeId65); in HWTEST_F() local
477 EXPECT_EQ(stat, Status::INVALID_ARGUMENT); in HWTEST_F()
490 Status stat = manager.CloseKvStore(appId, storeId64); in HWTEST_F() local
491 EXPECT_EQ(stat, Statu in HWTEST_F()
514 Status stat = manager.CloseKvStore(appId, storeId64); HWTEST_F() local
546 Status stat = manager.CloseKvStore(appId, storeId64); HWTEST_F() local
579 Status stat = manager.CloseAllKvStore(appId); HWTEST_F() local
603 Status stat = manager.CloseKvStore(appId, storeId64); HWTEST_F() local
625 Status stat = manager.CloseKvStore(appId, storeId64); HWTEST_F() local
648 Status stat = manager.DeleteKvStore(appId, storeId64, create.baseDir); HWTEST_F() local
662 Status stat = manager.DeleteKvStore(appId, storeId64, create.baseDir); HWTEST_F() local
676 Status stat = manager.DeleteKvStore(appId, storeIdEmpty); HWTEST_F() local
691 Status stat = manager.DeleteKvStore(appId, storeId65); HWTEST_F() local
713 Status stat = manager.CloseKvStore(appId, storeId64); HWTEST_F() local
745 Status stat = manager.CloseKvStore(appId, storeId64); HWTEST_F() local
762 Status stat = manager.DeleteAllKvStore(appId, create.baseDir); HWTEST_F() local
784 Status stat = manager.CloseKvStore(appId, storeId64); HWTEST_F() local
[all...]
/third_party/node/deps/npm/node_modules/isexe/
H A Dmode.js7 fs.stat(path, function (er, stat) {
8 cb(er, er ? false : checkStat(stat, options))
16 function checkStat (stat, options) {
17 return stat.isFile() && checkMode(stat, options)
20 function checkMode (stat, options) {
21 var mod = stat.mode
22 var uid = stat.uid
23 var gid = stat
[all...]
/third_party/python/Mac/BuildScript/resources/
H A Dinstall_certificates.command14 import stat
18 STAT_0o775 = ( stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR
19 | stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP
20 | stat.S_IROTH | stat.S_IXOTH )
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dutime_sup.c18 #include <sys/stat.h>
35 struct stat info; in utime_0100()
41 stat(file, &info); in utime_0100()
47 stat(file, &info); in utime_0100()
70 struct stat buf1; in utime_0200()
71 struct stat buf2; in utime_0200()
73 stat(path, &buf1); in utime_0200()
79 stat(path, &buf2); in utime_0200()
99 struct stat info; in utime64_0100()
105 stat(fil in utime64_0100()
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_dfinder_hidump.c123 const uint64_t *stat = GetStatistics(); in DumpStatisticsInfo() local
126 stat[STATS_INVALID_OPT_AND_PAYLOAD]); in DumpStatisticsInfo()
127 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "DECODE_FAILED: %" PRIu64 CRLF, stat[STATS_DECODE_FAILED]); in DumpStatisticsInfo()
128 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "ENCODE_FAILED: %" PRIu64 CRLF, stat[STATS_ENCODE_FAILED]); in DumpStatisticsInfo()
129 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "CREATE_HEADER_FAILED: %" PRIu64 CRLF, stat[STATS_CREATE_HEADER_FAILED]); in DumpStatisticsInfo()
130 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "BUILD_PKT_FAILED: %" PRIu64 CRLF, stat[STATS_BUILD_PKT_FAILED]); in DumpStatisticsInfo()
131 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "SOCKET_ERROR: %" PRIu64 CRLF, stat[STATS_SOCKET_ERROR]); in DumpStatisticsInfo()
132 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "EPOLL_ERROR: %" PRIu64 CRLF, stat[STATS_EPOLL_ERROR]); in DumpStatisticsInfo()
133 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "CREATE_SERVER_FAILED: %" PRIu64 CRLF, stat[STATS_CREATE_SERVER_FAILED]); in DumpStatisticsInfo()
134 DUMP_MSG_ADD_CHECK(ret, buf, index, size, "CREATE_CLIENT_FAILED: %" PRIu64 CRLF, stat[STATS_CREATE_CLIENT_FAILE in DumpStatisticsInfo()
[all...]
/third_party/skia/src/gpu/
H A DGrThreadSafePipelineBuilder.h46 int numInlineProgramCacheResult(ProgramCacheResult stat) const { in numInlineProgramCacheResult()
47 return fInlineProgramCacheStats[(int) stat]; in numInlineProgramCacheResult()
49 void incNumInlineProgramCacheResult(ProgramCacheResult stat) { in incNumInlineProgramCacheResult() argument
50 ++fInlineProgramCacheStats[(int) stat]; in incNumInlineProgramCacheResult()
56 int numPreProgramCacheResult(ProgramCacheResult stat) const { in numPreProgramCacheResult()
57 return fPreProgramCacheStats[(int) stat]; in numPreProgramCacheResult()
59 void incNumPreProgramCacheResult(ProgramCacheResult stat) { in incNumPreProgramCacheResult() argument
60 ++fPreProgramCacheStats[(int) stat]; in incNumPreProgramCacheResult()
93 void incNumInlineProgramCacheResult(ProgramCacheResult stat) {} in incNumInlineProgramCacheResult() argument
95 void incNumPreProgramCacheResult(ProgramCacheResult stat) {} in incNumPreProgramCacheResult() argument
[all...]
/third_party/python/Lib/
H A Dgenericpath.py7 import stat namespace
19 os.stat(path)
30 st = os.stat(path)
33 return stat.S_ISREG(st.st_mode)
42 st = os.stat(s)
45 return stat.S_ISDIR(st.st_mode)
49 """Return the size of a file, reported by os.stat()."""
50 return os.stat(filename).st_size
54 """Return the last modification time of a file, reported by os.stat()."""
55 return os.stat(filenam
[all...]
/third_party/mesa3d/src/util/
H A Du_hash_table.c33 #include <sys/stat.h>
62 struct stat stat; in hash_fd() local
64 fstat(fd, &stat); in hash_fd()
66 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_fd()
78 struct stat stat1, stat2; in equal_fd()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dutimes.c19 #include <sys/stat.h>
40 struct stat buf1; in utimes_0100()
41 struct stat buf2; in utimes_0100()
43 stat(path, &buf1); in utimes_0100()
51 stat(path, &buf2); in utimes_0100()
74 struct stat st; in utimes_0200()
81 stat(path, &st); in utimes_0200()
103 struct stat buf1; in utimes_time64_0100()
104 struct stat buf2; in utimes_time64_0100()
106 stat(pat in utimes_time64_0100()
[all...]
/third_party/eudev/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/libmp3lame/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/mpglib/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/misc/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/node/deps/cares/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/node/deps/cares/config/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]

Completed in 10 milliseconds

12345678910>>...127