Home
last modified time | relevance | path

Searched refs:path_stat (Results 1 – 5 of 5) sorted by relevance

/external/rootdev/
Dmain.c114 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/u-boot/tools/
Dzynqmpimage.c372 struct stat path_stat; in zynqmpimage_parse_initparams() local
381 err = fstat(fileno(fp), &path_stat); in zynqmpimage_parse_initparams()
387 if (!S_ISREG(path_stat.st_mode)) { in zynqmpimage_parse_initparams()
433 struct stat path_stat; in zynqmpimage_vrec_header() local
451 err = fstat(fileno(fpmu), &path_stat); in zynqmpimage_vrec_header()
458 if (!S_ISREG(path_stat.st_mode)) { in zynqmpimage_vrec_header()
Dzynqimage.c237 struct stat path_stat; in zynqimage_parse_initparams() local
246 err = fstat(fileno(fp), &path_stat); in zynqimage_parse_initparams()
252 if (!S_ISREG(path_stat.st_mode)) { in zynqimage_parse_initparams()
/external/openssh/openbsd-compat/
Dglob.c568 struct glob_path_stat *path_stat; local
573 if ((path_stat = calloc(n, sizeof(*path_stat))) == NULL)
576 path_stat[i].gps_path = pglob->gl_pathv[o + i];
577 path_stat[i].gps_stat = pglob->gl_statv[o + i];
579 qsort(path_stat, n, sizeof(*path_stat), compare_gps);
581 pglob->gl_pathv[o + i] = path_stat[i].gps_path;
582 pglob->gl_statv[o + i] = path_stat[i].gps_stat;
584 free(path_stat);
/external/libcxx/src/filesystem/
Doperations.cpp383 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 …]