Home
last modified time | relevance | path

Searched refs:file_utils (Results 1 – 25 of 1289) sorted by relevance

12345678910>>...52

/dports/devel/pytype/pytype-2021.9.9/pytype/
H A Dfile_utils_test.py5 from pytype import file_utils
23 with file_utils.Tempdir() as d:
58 with file_utils.Tempdir() as d:
61 with file_utils.cd(d.path):
68 with file_utils.cd(None):
70 with file_utils.cd(""):
88 with file_utils.Tempdir() as d:
102 with file_utils.Tempdir() as d:
119 with file_utils.cd(d.path):
131 with file_utils.cd(d.path):
[all …]
H A Dload_pytd_test.py9 from pytype import file_utils
24 with file_utils.Tempdir() as d:
66 with file_utils.Tempdir() as d:
74 with file_utils.Tempdir() as d1:
86 with file_utils.Tempdir() as d1:
93 with file_utils.Tempdir() as d:
102 with file_utils.Tempdir() as d:
109 with file_utils.Tempdir() as d:
122 with file_utils.Tempdir() as d:
132 with file_utils.Tempdir() as d:
[all …]
H A Dimports_map_loader_test.py6 from pytype import file_utils
39 with file_utils.Tempdir() as d:
47 with file_utils.Tempdir() as d:
/dports/sysutils/py-google-compute-engine/compute-image-packages-20190522/packages/python-google-compute-engine/google_compute_engine/tests/
H A Dfile_utils_test.py18 from google_compute_engine import file_utils
37 file_utils._SetSELinuxContext(path)
48 file_utils._SetSELinuxContext('1')
49 file_utils._SetSELinuxContext('2')
50 file_utils._SetSELinuxContext('3')
83 file_utils.SetPermissions(path)
114 operation = file_utils.fcntl.LOCK_EX | file_utils.fcntl.LOCK_NB
120 operation = file_utils.fcntl.LOCK_EX
146 operation = file_utils.fcntl.LOCK_UN | file_utils.fcntl.LOCK_NB
147 file_utils.Unlock(self.fd, self.path)
[all …]
/dports/finance/beancount/beancount-2.3.3/beancount/utils/
H A Dfile_utils_test.py13 from beancount.utils import file_utils
42 return sorted(clean(self.tempdir, file_utils.find_files(fords)))
63 self.assertEqual('csv', file_utils.guess_file_format('/user/output.csv'))
64 self.assertEqual('text', file_utils.guess_file_format('/user/output.text'))
65 self.assertEqual('text', file_utils.guess_file_format('/user/output.txt'))
66 self.assertEqual('html', file_utils.guess_file_format('/user/output.html'))
67 self.assertEqual('html', file_utils.guess_file_format('/user/output.xhtml'))
68 self.assertEqual(None, file_utils.guess_file_format('/user/output'))
72 file_utils.path_greedy_split('/tmp/tmp.ju3h4h/blabla'))
74 file_utils.path_greedy_split('/tmp/tmp.ju3h4h/bla.tgz'))
[all …]
/dports/devel/pytype/pytype-2021.9.9/pytype/tools/
H A Dconfig_test.py5 from pytype import file_utils
15 with file_utils.Tempdir() as d:
20 with file_utils.Tempdir() as d:
26 with file_utils.Tempdir() as d:
32 with file_utils.Tempdir() as d:
37 with file_utils.Tempdir() as d:
45 with file_utils.Tempdir() as d:
53 with file_utils.Tempdir() as d:
63 with file_utils.Tempdir() as d:
76 with file_utils.Tempdir() as d:
[all …]
H A Denvironment_test.py5 from pytype import file_utils
14 with file_utils.Tempdir() as d:
19 with file_utils.Tempdir() as d:
26 with file_utils.Tempdir() as d:
34 with file_utils.Tempdir() as d:
42 with file_utils.Tempdir() as d:
/dports/devel/pytype/pytype-2021.9.9/pytype/tools/analyze_project/
H A Dconfig_test.py7 from pytype import file_utils
59 with file_utils.Tempdir() as d:
67 with file_utils.Tempdir() as d:
81 with file_utils.Tempdir() as d:
130 with file_utils.Tempdir() as d:
137 with file_utils.Tempdir() as d:
143 with file_utils.cd(d.path):
154 with file_utils.Tempdir() as d:
189 with file_utils.cd(d.path):
198 with file_utils.cd(sub):
[all …]
H A Dconfig.py9 from pytype import file_utils
109 'exclude': lambda v: file_utils.expand_source_files(v, cwd),
111 'inputs': lambda v: file_utils.expand_source_files(v, cwd),
112 'output': lambda v: file_utils.expand_path(v, cwd),
114 'pythonpath': lambda v: file_utils.expand_pythonpath(v, cwd),
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/core/configurations/
H A Dnamed_configs.py30 from googlecloudsdk.core.util import files as file_utils unknown
240 file_utils.MakeDir(paths.named_config_directory)
241 file_utils.WriteFileContents(file_path, '')
242 except file_utils.Error as e:
312 file_utils.WriteFileContents(
314 except file_utils.Error as e:
485 config_name = file_utils.ReadFileContents(path)
494 except file_utils.MissingFileError:
496 except file_utils.Error as exc:
588 file_utils.MakeDir(paths.named_config_directory)
[all …]
/dports/devel/pytype/pytype-2021.9.9/pytype/pytd/
H A Dserialize_ast_test.py4 from pytype import file_utils
65 with file_utils.Tempdir() as d:
78 with file_utils.Tempdir() as d:
95 with file_utils.Tempdir() as d:
139 with file_utils.Tempdir() as d:
176 with file_utils.Tempdir() as d:
198 with file_utils.Tempdir() as d:
216 with file_utils.Tempdir() as d:
228 with file_utils.Tempdir() as d:
240 with file_utils.Tempdir() as d:
[all …]
H A Dmain_test.py6 from pytype import file_utils
49 with file_utils.Tempdir() as d:
56 with file_utils.Tempdir() as d:
64 with file_utils.Tempdir() as d:
81 with file_utils.Tempdir() as d:
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/core/updater/
H A Dlocal_state.py42 from googlecloudsdk.core.util import files as file_utils unknown
217 file_utils.MakeDir(self._state_directory)
364 with file_utils.TemporaryDirectory() as t:
468 file_utils.RmTree(self.__sdk_staging_root)
481 file_utils.RmTree(self.__backup_directory)
494 file_utils.RmTree(self.__trash_directory)
585 file_utils.RmTree(d)
651 with file_utils.ChDir(self.sdk_root):
698 with file_utils.FileWriter(self.manifest_file) as fp:
743 with file_utils.FileReader(self.manifest_file) as f:
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_processing/transient/
H A DBUILD.gn57 "file_utils.cc",
58 "file_utils.h",
71 "file_utils.cc",
72 "file_utils.h",
96 "file_utils.cc",
97 "file_utils.h",
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_processing/transient/
H A DBUILD.gn56 "file_utils.cc",
57 "file_utils.h",
70 "file_utils.cc",
71 "file_utils.h",
94 "file_utils.cc",
95 "file_utils.h",
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_processing/transient/
H A DBUILD.gn56 "file_utils.cc",
57 "file_utils.h",
70 "file_utils.cc",
71 "file_utils.h",
94 "file_utils.cc",
95 "file_utils.h",
/dports/audio/webrtc-audio-processing/webrtc-audio-processing-1.0/webrtc/modules/audio_processing/transient/
H A DBUILD.gn56 "file_utils.cc",
57 "file_utils.h",
70 "file_utils.cc",
71 "file_utils.h",
94 "file_utils.cc",
95 "file_utils.h",
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/transient/
H A DBUILD.gn67 "file_utils.cc",
68 "file_utils.h",
81 "file_utils.cc",
82 "file_utils.h",
105 "file_utils.cc",
106 "file_utils.h",
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/systrace/atrace_helper/jni/
H A Dprocfs_utils.cc13 using file_utils::ForEachPidInProcPath;
14 using file_utils::ReadProcFile;
15 using file_utils::ReadProcFileTrimmed;
25 if (!file_utils::ReadProcFileTrimmed(pid, path, buf, size)) in ReadProcString()
118 ssize_t rsize = file_utils::ReadFile("/proc/meminfo", buf, sizeof(buf)); in ReadMemInfoStats()
122 file_utils::LineReader reader(buf, rsize); in ReadMemInfoStats()
/dports/misc/libpostal/libpostal-1.1-alpha/src/
H A DMakefile.am15 …nsliterate.c tokens.c trie.c trie_search.c trie_utils.c string_utils.c file_utils.c utf8proc/utf8p…
31 libpostal_SOURCES = strndup.c main.c json_encode.c file_utils.c string_utils.c utf8proc/utf8proc.c
46 …_SOURCES = strndup.c address_dictionary_builder.c address_dictionary.c file_utils.c string_utils.c…
48 build_numex_table_SOURCES = strndup.c numex_table_builder.c numex.c file_utils.c string_utils.c tok…
50 …c transliteration_table_builder.c transliterate.c trie.c trie_search.c file_utils.c string_utils.c…
52 …nsliterate.c trie.c trie_search.c trie_utils.c string_utils.c tokens.c file_utils.c shuffle.c utf8…
56 …nsliterate.c trie.c trie_search.c trie_utils.c string_utils.c tokens.c file_utils.c utf8proc/utf8p…
60 … trie.c trie_search.c trie_utils.c address_dictionary.c string_utils.c file_utils.c utf8proc/utf8p…
63 … trie.c trie_search.c trie_utils.c address_dictionary.c string_utils.c file_utils.c utf8proc/utf8p…
66 … trie.c trie_search.c trie_utils.c address_dictionary.c string_utils.c file_utils.c utf8proc/utf8p…
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/surface/auth/
H A Dconfigure_docker.py29 from googlecloudsdk.core.util import files as file_utils unknown
59 return file_utils.SearchForExecutableOnPath(
60 'docker-credential-gcloud') or file_utils.SearchForExecutableOnPath(
64 return file_utils.SearchForExecutableOnPath(
65 'docker') or file_utils.SearchForExecutableOnPath('docker.exe')
/dports/net-p2p/libtorrent/libtorrent-0.13.8/src/torrent/data/
H A DMakefile.am22 file_utils.cc \
23 file_utils.h \
41 file_utils.h \
/dports/sysutils/py-ansible-lint/ansible-lint-5.3.1/test/
H A DTestUtils.py38 from ansiblelint import cli, constants, file_utils, utils
42 from ansiblelint.file_utils import (
274 file_utils.discover_lintables(options)
305 files = file_utils.discover_lintables(options)
322 files = file_utils.discover_lintables(options)
435 monkeypatch.setattr(file_utils, 'discover_lintables', mockreturn)
436 result = file_utils.discover_lintables(options)
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/audio_processing/
H A Daudio_processing_tests.gypi22 'transient/file_utils.cc',
23 'transient/file_utils.h',
34 'transient/file_utils.cc',
35 'transient/file_utils.h',
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/
H A Ddialyzer_common.erl132 case file_utils:file_type(Filename) of
134 {ok, ListFiles} = file_utils:list_dir(Filename, ".erl",
139 case file_utils:file_type(FilenameErl) of
162 case file_utils:diff(NewResFile, OldResFile) of
197 {ok, Files} = file_utils:list_dir(Dirname, ".erl", true),
220 file_utils:file_type(F) =:= {ok, 'directory'}],
291 {ok, Files} = file_utils:list_dir(Dirname, ".erl", true),

12345678910>>...52