Searched refs:path_stat (Results 1 – 5 of 5) sorted by relevance
/external/rootdev/ |
D | main.c | 114 struct stat path_stat; in main() local 129 if (stat(flag_path, &path_stat) != 0) in main() 131 root_dev = path_stat.st_dev; in main()
|
/external/openssh/openbsd-compat/ |
D | glob.c | 572 struct glob_path_stat *path_stat; local 577 if ((path_stat = calloc(n, sizeof(*path_stat))) == NULL) 580 path_stat[i].gps_path = pglob->gl_pathv[o + i]; 581 path_stat[i].gps_stat = pglob->gl_statv[o + i]; 583 qsort(path_stat, n, sizeof(*path_stat), compare_gps); 585 pglob->gl_pathv[o + i] = path_stat[i].gps_path; 586 pglob->gl_statv[o + i] = path_stat[i].gps_stat; 588 free(path_stat);
|
/external/llvm-project/libcxx/src/filesystem/ |
D | operations.cpp | 374 const StatT& path_stat, error_code* ec) { in create_file_status() argument 387 auto const mode = path_stat.st_mode; in create_file_status() 405 fs_tmp.permissions(detail::posix_get_perms(path_stat)); in create_file_status() 409 file_status posix_stat(path const& p, StatT& path_stat, error_code* ec) { in posix_stat() argument 411 if (::stat(p.c_str(), &path_stat) == -1) in posix_stat() 413 return create_file_status(m_ec, p, path_stat, ec); in posix_stat() 417 StatT path_stat; in posix_stat() local 418 return posix_stat(p, path_stat, ec); in posix_stat() 421 file_status posix_lstat(path const& p, StatT& path_stat, error_code* ec) { in posix_lstat() argument 423 if (::lstat(p.c_str(), &path_stat) == -1) in posix_lstat() [all …]
|
/external/libcxx/src/filesystem/ |
D | operations.cpp | 383 const StatT& path_stat, error_code* ec) { in create_file_status() argument 396 auto const mode = path_stat.st_mode; in create_file_status() 414 fs_tmp.permissions(detail::posix_get_perms(path_stat)); in create_file_status() 418 file_status posix_stat(path const& p, StatT& path_stat, error_code* ec) { in posix_stat() argument 420 if (::stat(p.c_str(), &path_stat) == -1) in posix_stat() 422 return create_file_status(m_ec, p, path_stat, ec); in posix_stat() 426 StatT path_stat; in posix_stat() local 427 return posix_stat(p, path_stat, ec); in posix_stat() 430 file_status posix_lstat(path const& p, StatT& path_stat, error_code* ec) { in posix_lstat() argument 432 if (::lstat(p.c_str(), &path_stat) == -1) in posix_lstat() [all …]
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | DNB.cpp | 342 struct stat path_stat; in DNBProcessLaunch() local 343 if (::stat(path, &path_stat) == -1) { in DNBProcessLaunch() 1692 struct stat path_stat; in DNBResolveExecutablePath() local 1693 if (::stat(path, &path_stat) == 0) { in DNBResolveExecutablePath() 1694 if ((path_stat.st_mode & S_IFMT) == S_IFDIR) { in DNBResolveExecutablePath()
|