Home
last modified time | relevance | path

Searched refs:directory (Results 101 - 125 of 787) sorted by relevance

12345678910>>...32

/third_party/googletest/googletest/src/
H A Dgtest-filepath.cc74 // Windows CE doesn't have a current directory. You should not use
75 // the current directory in tests on Windows CE, but this at least
97 // Returns the current working directory, or "" if unsuccessful.
102 // These platforms do not have a current directory, so we just return in GetCurrentDir()
189 // Returns a copy of the FilePath with the directory part removed.
191 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
200 // RemoveFileName returns the directory path with the filename removed.
217 // Helper functions for naming files in a directory for xml output.
219 // Given directory = "dir", base_name = "test", number = 0,
223 FilePath FilePath::MakeFileName(const FilePath& directory, in MakeFileName() argument
238 ConcatPaths(const FilePath& directory, const FilePath& relative_path) ConcatPaths() argument
310 GenerateUniqueFileName(const FilePath& directory, const FilePath& base_name, const char* extension) GenerateUniqueFileName() argument
[all...]
/third_party/node/deps/googletest/src/
H A Dgtest-filepath.cc77 // Windows CE doesn't have a current directory. You should not use
78 // the current directory in tests on Windows CE, but this at least
100 // Returns the current working directory, or "" if unsuccessful.
107 // These platforms do not have a current directory, so we just return in GetCurrentDir()
193 // Returns a copy of the FilePath with the directory part removed.
195 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
204 // RemoveFileName returns the directory path with the filename removed.
221 // Helper functions for naming files in a directory for xml output.
223 // Given directory = "dir", base_name = "test", number = 0,
227 FilePath FilePath::MakeFileName(const FilePath& directory, in MakeFileName() argument
242 ConcatPaths(const FilePath& directory, const FilePath& relative_path) ConcatPaths() argument
312 GenerateUniqueFileName(const FilePath& directory, const FilePath& base_name, const char* extension) GenerateUniqueFileName() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_tabnanny.py66 def __init__(self, source_code='', directory=None):
68 self.dir = directory
178 lines = [f"{tmp_dir!r}: listing directory\n",]
179 file1 = TemporaryPyFile(SOURCE_CODES["error_free"], directory=tmp_dir)
180 file2 = TemporaryPyFile(SOURCE_CODES["error_free"], directory=tmp_dir)
197 with TemporaryPyFile(SOURCE_CODES["error_free"], directory=tmp_dir):
245 SOURCE_CODES["wrong_indented"], directory=tmp_dir
248 SOURCE_CODES["error_free"], directory=tmp_dir
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dextensionmetadocgenerator.py496 self.directory = self.genOpts.directory
528 self.makeDir(self.directory)
599 promoted_extensions_fp = self.newFile(self.directory + '/promoted_extensions_' + coreVersion + self.file_suffix)
609 with self.newFile(self.directory + '/current_extensions_appendix' + self.file_suffix) as current_extensions_appendix_fp, \
610 self.newFile(self.directory + '/deprecated_extensions_appendix' + self.file_suffix) as deprecated_extensions_appendix_fp, \
611 self.newFile(self.directory + '/current_extension_appendices' + self.file_suffix) as current_extension_appendices_fp, \
612 self.newFile(self.directory + '/current_extension_appendices_toc' + self.file_suffix) as current_extension_appendices_toc_fp, \
613 self.newFile(self.directory + '/deprecated_extension_appendices' + self.file_suffix) as deprecated_extension_appendices_fp, \
614 self.newFile(self.directory
[all...]
/kernel/linux/linux-6.6/tools/perf/
H A DMakefile35 # Only pass canonical directory names as the output directory:
59 @$(MAKE) -f Makefile.perf --no-print-directory -j$(JOBS) O=$(FULL_O) $(SET_DEBUG) $@
103 @$(MAKE) SHUF=1 -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-directory tarpkg make_static make_with_gtk2 out
106 @$(MAKE) -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-directory out
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dcheck_symbol_exports.py32 def command_output(cmd, directory):
33 """Runs a command in a directory and returns its standard output stream.
40 cwd=directory,
46 raise RuntimeError('Failed to run %s in %s' % (cmd, directory))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
H A Dcheck_symbol_exports.py32 def command_output(cmd, directory):
33 """Runs a command in a directory and returns its standard output stream.
40 cwd=directory,
46 raise RuntimeError('Failed to run %s in %s' % (cmd, directory))
/third_party/spirv-tools/utils/
H A Dcheck_symbol_exports.py32 def command_output(cmd, directory):
33 """Runs a command in a directory and returns its standard output stream.
40 cwd=directory,
46 raise RuntimeError('Failed to run %s in %s' % (cmd, directory))
/third_party/curl/projects/
H A Dbuild-wolfssl.bat38 rem Calculate the program files directory
149 rem Default the start directory if one isn't specified
152 rem Check we have a program files directory
158 rem Check the start directory exists
196 rem Calculate our output directory
225 rem Calculate our output directory
256 rem The current directory must be the wolfSSL directory.
322 rem For tests to run properly the wolfSSL directory must remain the current.
344 echo Usage: build-wolfssl ^<compiler^> [platform] [configuration] [directory]
[all...]
/build/ohos/sdk/
H A Dcheck_sdk_completeness.py109 raise Exception("Error: directory {} not exits!".format(sdk_package_directory))
148 for directory in sdk_check_directories:
150 if file.startswith(directory):
151 sdk_check_directories_set.discard(directory)
163 for directory in sdk_unpacked_directories:
164 missing_set.add(directory)
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_utils_test.cpp96 const std::string directory = "/data"; in HWTEST_F() local
99 // Traverse the directory and find the dump file. in HWTEST_F()
100 for (const auto& entry : fs::recursive_directory_iterator(directory)) { in HWTEST_F()
141 const std::string directory = "/data/storage/el1/base"; in HWTEST_F() local
142 if (access(directory.c_str(), F_OK) == 0) { in HWTEST_F()
145 // Traverse the directory and find the dump file. in HWTEST_F()
146 for (const auto& entry : fs::recursive_directory_iterator(directory)) { in HWTEST_F()
/foundation/multimedia/media_foundation/engine/foundation/osal/filesystem/
H A Dfile_system.cpp75 // judge regular file, directory, symbolic link file path exists
92 if (mkdir(path.c_str(), 755) == -1) { // 755 directory access permissions in MakeDir()
134 DIR *directory; in RemoveFilesInDir() local
135 if ((directory = opendir(path.c_str())) != nullptr) { in RemoveFilesInDir()
137 while ((info = readdir(directory)) != nullptr) { in RemoveFilesInDir()
145 closedir(directory); in RemoveFilesInDir()
/third_party/python/Lib/distutils/
H A Ddir_util.py3 Utility functions for manipulating directories and directory trees."""
15 # b) it blows up if the directory already exists (I want to silently
18 """Create a directory and any missing ancestor directories.
20 If the directory already exists (or if 'name' is the empty string, which
21 means the current directory, which of course exists), then do nothing.
22 Raise DistutilsFileError if unable to create some directory along the way
23 (eg. some sub-path exists, but is a file rather than a directory).
36 # each directory in the path (the current behaviour), or only announce
54 # now 'head' contains the deepest directory that already exists
55 # (that is, the child of 'head' in 'name' is the highest directory
[all...]
/third_party/vk-gl-cts/scripts/opengl/
H A Dsrc_util.py211 def genCommandList(iface, renderCommand, directory, filename, align=False):
216 writeInlFile(os.path.join(directory, filename), lines)
218 def genCommandLists(registry, renderCommand, check, directory, filePattern, align=False):
229 genCommandList(iface, renderCommand, directory, filename, align)
H A Dgen_null_render_context.py77 directory = NULL_PLATFORM_DIR,
81 directory = NULL_PLATFORM_DIR,
/kernel/linux/linux-5.10/drivers/mtd/parsers/
H A Dredboot.c36 static int directory = CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK; variable
37 module_param(directory, int, 0);
67 * directory block pointer. in parse_redboot_of()
69 directory = dirblock; in parse_redboot_of()
94 if ( directory < 0 ) { in parse_redboot_partitions()
95 offset = master->size + directory * master->erasesize; in parse_redboot_partitions()
105 offset = directory * master->erasesize; in parse_redboot_partitions()
133 if (!memcmp(buf[i].name, "FIS directory", 14)) { in parse_redboot_partitions()
134 /* This is apparently the FIS directory entry for the in parse_redboot_partitions()
135 * FIS directory itsel in parse_redboot_partitions()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/parsers/
H A Dredboot.c36 static int directory = CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK; variable
37 module_param(directory, int, 0);
67 * directory block pointer. in parse_redboot_of()
69 directory = dirblock; in parse_redboot_of()
94 if (directory < 0) { in parse_redboot_partitions()
95 offset = master->size + directory * master->erasesize; in parse_redboot_partitions()
105 offset = directory * master->erasesize; in parse_redboot_partitions()
133 if (!memcmp(buf[i].name, "FIS directory", 14)) { in parse_redboot_partitions()
134 /* This is apparently the FIS directory entry for the in parse_redboot_partitions()
135 * FIS directory itsel in parse_redboot_partitions()
[all...]
/third_party/rust/crates/clang-sys/src/
H A Dsupport.rs48 /// a path is supplied, that is the first directory searched. Then, the
49 /// directory returned by `llvm-config --bindir` is searched. On macOS
135 /// directory if there are any matches.
136 fn find(directory: &Path, patterns: &[&str]) -> Option<PathBuf> { in find()
137 // Escape the directory in case it contains characters that have special in find()
139 let directory = if let Some(directory) = directory.to_str() { in find()
140 Path::new(&Pattern::escape(directory)).to_owned() in find()
146 let pattern = directory in find()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Ddir_asset.cpp38 void DirAsset::SetDirectory(const string directory) in SetDirectory() argument
40 directory_ = directory; in SetDirectory()
/third_party/skia/third_party/externals/angle2/scripts/
H A Dapply_clang_format_on_all_sources.py8 # Script to apply clang-format recursively on directory,
23 def main(directory):
32 for subdir, _, files in os.walk(directory):
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dentity_db.py21 'directory': data.directory
194 category='commands', directory='protos')
475 generates=None, directory=None, filename=None):
488 Default depends on directory (or if not specified, category).
489 directory -- The directory that include files (under api/ and validity/) are generated in.
494 one will be generated based on directory and entityName.
511 potential_dir = directory or category
514 # If directory is
[all...]
/foundation/ability/idl_tool/codegen/
H A Dcode_emitter.h30 void SetDirectory(const String& directory) in SetDirectory() argument
32 directory_ = directory; in SetDirectory()
/third_party/python/Doc/includes/
H A Demail-unpack.py3 """Unpack a MIME message into a directory of files."""
16 Unpack a MIME message into a directory of files.
18 parser.add_argument('-d', '--directory', required=True,
20 directory, which will be created if it doesn't already
29 os.mkdir(args.directory)
48 with open(os.path.join(args.directory, filename), 'wb') as fp:
/third_party/googletest/googletest/scripts/
H A Dfuse_gtest_files.py46 directory of the directory holding this script.
69 # We assume that this file is in the scripts/ directory in the Google
70 # Test root directory.
89 def VerifyFileExists(directory, relative_path):
92 relative_path is the file path relative to the given directory.
95 if not os.path.isfile(os.path.join(directory, relative_path)):
96 print('ERROR: Cannot find %s in directory %s.' % (relative_path,
97 directory))
98 print('Please either specify a valid project root directory '
[all...]
/third_party/mbedtls/scripts/
H A Dlcov.sh18 3. Run this script from the parent of the directory containing the library
43 # whereby lcov tries to create the output file in the root directory
48 lcov --capture --initial --directory $library_dir -o "$COVTMP/files.info"
49 lcov --rc lcov_branch_coverage=1 --capture --directory $library_dir -o "$COVTMP/tests.info"

Completed in 10 milliseconds

12345678910>>...32