Home
last modified time | relevance | path

Searched refs:stat_res (Results 1 – 25 of 50) sorted by relevance

12

/dports/databases/py-python-swiftclient/python-swiftclient-3.12.0/examples/
H A Dstat.py18 for stat_res in stats_it:
19 if stat_res['success']:
20 header_data[stat_res['object']] = stat_res['headers']
23 'Failed to retrieve stats for %s' % stat_res['object']
/dports/www/py-notebook/notebook-6.4.5/notebook/
H A Dutils.py95 def is_file_hidden_win(abs_path, stat_res=None): argument
127 def is_file_hidden_posix(abs_path, stat_res=None): argument
146 if stat_res is None or stat.S_ISLNK(stat_res.st_mode):
148 stat_res = os.stat(abs_path)
155 if stat.S_ISDIR(stat_res.st_mode):
161 if getattr(stat_res, 'st_flags', 0) & UF_HIDDEN:
/dports/lang/spidermonkey60/firefox-60.9.0/tools/fuzzing/libfuzzer/
H A DFuzzerShmemPosix.cpp65 struct stat stat_res; in Open() local
66 if (0 != fstat(fd, &stat_res)) in Open()
68 assert(stat_res.st_size == kShmemSize); in Open()
/dports/devel/tinygo/tinygo-0.14.1/lib/compiler-rt/lib/fuzzer/
H A DFuzzerShmemPosix.cpp70 struct stat stat_res; in Open() local
71 if (0 != fstat(fd, &stat_res)) in Open()
73 assert(stat_res.st_size == kShmemSize); in Open()
/dports/devel/py-jupyter-core/jupyter_core-4.9.1/jupyter_core/
H A Dpaths.py276 def is_file_hidden_win(abs_path, stat_res=None): argument
295 if stat_res is None:
297 stat_res = os.stat(abs_path)
304 if stat_res.st_file_attributes & stat.FILE_ATTRIBUTE_HIDDEN:
316 def is_file_hidden_posix(abs_path, stat_res=None): argument
335 if stat_res is None or stat.S_ISLNK(stat_res.st_mode):
337 stat_res = os.stat(abs_path)
344 if stat.S_ISDIR(stat_res.st_mode):
350 if getattr(stat_res, 'st_flags', 0) & UF_HIDDEN:
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/router/src/http/src/
H A Dhttp_auth_backend.h65 using stat_res = std::pair<std::error_code, struct stat>; member
73 static stat_res stat(const std::string &filename);
75 stat_res res;
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/
H A Dgdal_cp.py95 stat_res = gdal.VSIStatL(targetfile)
97 stat_res = gdal.VSIStatL(targetfile + '/')
99 if (stat_res is None and targetfile.endswith('/')) or \
100 (stat_res is not None and stat.S_ISDIR(stat_res.mode)):
/dports/graphics/gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/
H A Dgdal_cp.py95 stat_res = gdal.VSIStatL(targetfile)
97 stat_res = gdal.VSIStatL(targetfile + '/')
99 if (stat_res is None and targetfile.endswith('/')) or \
100 (stat_res is not None and stat.S_ISDIR(stat_res.mode)):
/dports/graphics/py-gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/samples/
H A Dgdal_cp.py95 stat_res = gdal.VSIStatL(targetfile)
97 stat_res = gdal.VSIStatL(targetfile + '/')
99 if (stat_res is None and targetfile.endswith('/')) or \
100 (stat_res is not None and stat.S_ISDIR(stat_res.mode)):
/dports/shells/fish/fish-3.3.1/src/
H A Dwildcard.cpp419 static const wchar_t *file_get_desc(int lstat_res, const struct stat &lbuf, int stat_res, in file_get_desc() argument
426 if (!stat_res) { in file_get_desc()
470 int stat_res = -1; in wildcard_test_flags_then_complete() local
475 stat_res = wstat(filepath, &stat_buf); in wildcard_test_flags_then_complete()
477 if (stat_res < 0) { in wildcard_test_flags_then_complete()
484 stat_res = lstat_res; in wildcard_test_flags_then_complete()
488 const long long file_size = stat_res == 0 ? stat_buf.st_size : 0; in wildcard_test_flags_then_complete()
489 const bool is_directory = stat_res == 0 && S_ISDIR(stat_buf.st_mode); in wildcard_test_flags_then_complete()
490 const bool is_executable = stat_res == 0 && S_ISREG(stat_buf.st_mode); in wildcard_test_flags_then_complete()
510 desc = file_get_desc(lstat_res, lstat_buf, stat_res, stat_buf, stat_errno); in wildcard_test_flags_then_complete()
H A Dpath.cpp316 int stat_res = 0; in create_directory() local
318 while ((stat_res = wstat(d, &buf)) != 0) { in create_directory()
322 if (stat_res == 0) { in create_directory()
/dports/emulators/yuzu/yuzu-0b47f7a46/src/core/file_sys/
H A Dvfs_libzip.cpp36 const auto stat_res = zip_stat_index(zip.get(), i, 0, &stat); in ExtractZIP() local
37 if (stat_res == -1) in ExtractZIP()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/router/src/harness/src/stdx/io/
H A Dfile_handle.cc380 auto stat_res = impl::fstat(handle); in file() local
381 if (!stat_res) { in file()
382 return stdx::make_unexpected(stat_res.error()); in file()
385 auto st = stat_res.value(); in file()
/dports/net-mgmt/statsite/statsite-0.8.0/src/
H A Dstatsite.c110 int stat_res = stat(pid_file, &buf); in write_pidfile() local
111 if (stat_res == 0) { in write_pidfile()
/dports/devel/mercurial/mercurial-6.0/mercurial/cffi/
H A Dosutil.py37 class stat_res(object): class
78 stat_res(
/dports/archivers/opkg-openwrt/opkg-b07cde3/libbb/
H A Dunarchive.c121 int stat_res; in extract_archive() local
122 stat_res = lstat(full_name, &oldfile); in extract_archive()
123 if (stat_res == 0) { /* The file already exists */ in extract_archive()
182 if (stat_res != 0) { in extract_archive()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pipenv/pipenv/patched/piptools/
H A Dio.py172 stat_res = os.stat(path)
173 return cls.from_int(stat.S_IMODE(stat_res.st_mode))
386 stat_res = os.stat(self.dest_path)
387 file_perms = stat.S_IMODE(stat_res.st_mode)
/dports/sysutils/busybox/busybox-1.26.2/archival/
H A Drpm.c239 int stat_res; in fileaction_dobackup() local
243 stat_res = lstat(filename, &oldfile); in fileaction_dobackup()
244 if (stat_res == 0 && S_ISREG(oldfile.st_mode)) { in fileaction_dobackup()
/dports/misc/vxl/vxl-3.3.2/contrib/gel/vifa/
H A Dvifa_histogram.cxx1112 int stat_res = this->GetRes(); in WritePlot() local
1114 auto * x = new float[2*stat_res]; in WritePlot()
1115 auto * y = new float[2*stat_res]; in WritePlot()
1121 for (int i=0; i < stat_res ;i++) in WritePlot()
1129 for (int j = 0; j < 2*stat_res; j++) in WritePlot()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-stat.c53 static const value_string stat_res[] =
62 VALS(stat_res), 0, NULL, HFILL };
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-stat.c53 static const value_string stat_res[] = variable
62 VALS(stat_res), 0, NULL, HFILL };
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-stat.c53 static const value_string stat_res[] =
62 VALS(stat_res), 0, NULL, HFILL };
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-stat.c53 static const value_string stat_res[] = variable
62 VALS(stat_res), 0, NULL, HFILL };
/dports/graphics/darktable38/darktable-3.8.0/src/control/
H A Dcrawler.c110 int stat_res = -1; in dt_control_crawler_run() local
117 stat_res = _wstati64(wfilename, &statbuf); in dt_control_crawler_run()
122 stat_res = stat(xmp_path_locale, &statbuf); in dt_control_crawler_run()
125 if(stat_res) continue; // TODO: shall we report these? in dt_control_crawler_run()
/dports/lang/mono/mono-5.10.1.57/mono/metadata/
H A Dw32file.c856 gint stat_res; in mono_filesize_from_path() local
858 stat_res = stat (path, &buf); in mono_filesize_from_path()
860 if (stat_res == -1) in mono_filesize_from_path()

12