Home
last modified time | relevance | path

Searched refs:directory (Results 1 - 25 of 400) sorted by relevance

12345678910>>...16

/third_party/skia/tools/
H A Dgit-sync-deps18 will use the file ../DEPS relative to this script's directory.
76 def git_repository_sync_is_disabled(git, directory):
79 [git, 'config', 'sync-deps.disable'], cwd=directory)
85 def is_git_toplevel(git, directory):
86 """Return true iff the directory is the top level of a Git repository.
91 directory (string) the path into which the repository
96 [git, 'rev-parse', '--show-toplevel'], cwd=directory).strip()
97 return os.path.realpath(directory) == os.path.realpath(toplevel.decode())
102 def status(directory, commithash, change):
109 directory
[all...]
/third_party/rust/crates/clang-sys/build/
H A Dcommon.rs132 /// `libclang` directory patterns for Haiku.
142 /// `libclang` directory patterns for Linux (and FreeBSD).
153 /// `libclang` directory patterns for macOS.
161 /// `libclang` directory patterns for Windows.
175 /// `libclang` directory patterns for illumos
185 /// Finds the files in a directory that match one or more filename glob patterns
187 fn search_directory(directory: &Path, filenames: &[String]) -> Vec<(PathBuf, String)> { in search_directory()
188 // Escape the specified directory in case it contains characters that have in search_directory()
190 let directory = Pattern::escape(directory in search_directory()
[all...]
H A Dstatic.rs63 fn get_clang_libraries<P: AsRef<Path>>(directory: P) -> Vec<String> { in get_clang_libraries()
64 // Escape the directory in case it contains characters that have special in get_clang_libraries()
66 let directory = Pattern::escape(directory.as_ref().to_str().unwrap()); in get_clang_libraries()
67 let directory = Path::new(&directory); in get_clang_libraries()
69 let pattern = directory.join("libclang*.a").to_str().unwrap().to_owned(); in get_clang_libraries()
79 /// Finds a directory containing LLVM and Clang static libraries and returns the
80 /// path to that directory.
89 if let Some((directory, in find()
[all...]
/third_party/glslang/
H A Dbuild_info.py43 <commit> - The git commit information for the directory taken from
52 def mkdir_p(directory):
53 """Make the directory, and all its ancestors as required. Any of the
56 if directory == "":
57 # We're being asked to make the current directory.
61 os.makedirs(directory)
63 if e.errno == errno.EEXIST and os.path.isdir(directory):
69 def command_output(cmd, directory):
70 """Runs a command in a directory and returns its standard output stream.
77 cwd=directory,
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dgenvk.py71 """Returns a directory of [ generator function, generator options ] indexed
103 # Output target directory
104 directory = args.directory
177 directory = directory,
202 directory = directory,
220 directory = directory,
[all...]
H A Ddocgenerator.py228 def writeInclude(self, directory, basename, contents):
231 - directory - subdirectory to put file in
235 directory = self.genOpts.directory + '/' + directory
236 self.makeDir(directory)
239 filename = directory + '/' + basename + self.file_suffix
266 filename = f'{directory}/{basename}.no-xref{self.file_suffix}'
281 directory = Path(self.genOpts.directory) / 'enum
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dupdate_build_version.py24 # - The software version deduced from the CHANGES file in the given directory.
26 # git commit information for the directory. The commit information
42 def mkdir_p(directory):
43 """Make the directory, and all its ancestors as required. Any of the
46 if directory == "":
47 # We're being asked to make the current directory.
51 os.makedirs(directory)
53 if e.errno == errno.EEXIST and os.path.isdir(directory):
59 def command_output(cmd, directory):
60 """Runs a command in a directory an
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
H A Dupdate_build_version.py24 # - The software version deduced from the CHANGES file in the given directory.
26 # git commit information for the directory. The commit information
42 def mkdir_p(directory):
43 """Make the directory, and all its ancestors as required. Any of the
46 if directory == "":
47 # We're being asked to make the current directory.
51 os.makedirs(directory)
53 if e.errno == errno.EEXIST and os.path.isdir(directory):
59 def command_output(cmd, directory):
60 """Runs a command in a directory an
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_preview.cpp53 dng_preview_tag_set (dng_tiff_directory &directory,
63 dng_preview_tag_set::dng_preview_tag_set (dng_tiff_directory &directory, in dng_preview_tag_set() argument
67 : dng_basic_tag_set (directory, ifd) in dng_preview_tag_set()
105 directory.Add (&fApplicationNameTag); in dng_preview_tag_set()
112 directory.Add (&fApplicationVersionTag); in dng_preview_tag_set()
119 directory.Add (&fSettingsNameTag); in dng_preview_tag_set()
126 directory.Add (&fSettingsDigestTag); in dng_preview_tag_set()
133 directory.Add (&fColorSpaceTag); in dng_preview_tag_set()
140 directory.Add (&fDateTimeTag); in dng_preview_tag_set()
147 directory in dng_preview_tag_set()
280 dng_jpeg_preview_tag_set(dng_tiff_directory &directory, const dng_jpeg_preview &preview, const dng_ifd &ifd) dng_jpeg_preview_tag_set() argument
470 dng_raw_preview_tag_set(dng_tiff_directory &directory, const dng_raw_preview &preview, const dng_ifd &ifd) dng_raw_preview_tag_set() argument
[all...]
/third_party/skia/third_party/externals/dawn/generator/
H A Dremove_files.py19 def check_in_subdirectory(path, directory):
20 return path.startswith(directory) and not '/' in path[len(directory):]
25 check_in_subdirectory(path, directory) for directory in allowed_dirs)
30 for (directory, _, files) in os.walk(find_directory):
31 result += [os.path.join(directory, filename) for filename in files]
42 help='The root directory, all other paths in files are relative to it.'
66 for directory in allowed_dirs:
67 if not directory
[all...]
H A Dgenerator_lib.py25 output a file into a temporary output directory through Jinja2 expansion.
45 # output: Output file path, relative to temporary output directory.
192 # It assumes that any path outside of the root directory is system.
258 help=('Optional source root directory for Python dependency '
334 for directory in allowed_dirs:
335 if not directory.endswith('/'):
336 print('Allowed directory entry "{}" doesn\'t '
337 'end with /'.format(directory))
340 def check_in_subdirectory(path, directory):
342 directory) an
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A DLPdir_win.c74 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument
76 if (ctx == NULL || directory == NULL) { in LP_find_file()
83 size_t dirlen = strlen(directory); in LP_find_file()
108 directory, len_0, in LP_find_file()
114 directory, len_0, in LP_find_file()
124 if (!MultiByteToWideChar(cp, 0, directory, len_0, in LP_find_file()
141 wdir[index] = (TCHAR)directory[index]; in LP_find_file()
154 if (directory[dirlen - 1] != '*') { in LP_find_file()
157 strcpy(buf, directory); in LP_find_file()
163 directory in LP_find_file()
[all...]
/third_party/openssl/crypto/
H A DLPdir_win.c74 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument
76 if (ctx == NULL || directory == NULL) { in LP_find_file()
83 size_t dirlen = strlen(directory); in LP_find_file()
108 directory, len_0, in LP_find_file()
114 directory, len_0, in LP_find_file()
124 if (!MultiByteToWideChar(cp, 0, directory, len_0, in LP_find_file()
141 wdir[index] = (TCHAR)directory[index]; in LP_find_file()
154 if (directory[dirlen - 1] != '*') { in LP_find_file()
157 strcpy(buf, directory); in LP_find_file()
163 directory in LP_find_file()
[all...]
/third_party/vk-gl-cts/external/amber/src/tools/
H A Dupdate_build_version.py17 # Generates build-versions.h in the src/ directory.
33 def command_output(cmd, directory):
35 cwd=directory,
40 raise RuntimeError('Failed to run {} in {}\nstdout: {}\nstderr: {}'.format(cmd, directory, stdout, stderr))
44 def describe(directory):
45 if not os.path.exists(directory):
48 ['git', 'log', '-1', '--format=%h'], directory).rstrip().decode()
51 def get_version_string(project, directory):
53 return "#define {}_VERSION \"{}\"".format(name, describe(directory))
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DSharedLibrary.cpp28 std::string directory(filename); in getModuleDirectory()
29 return directory.substr(0, directory.find_last_of("\\/") + 1).c_str(); in getModuleDirectory()
44 std::string directory(dl_info.dli_fname); in getModuleDirectory()
45 return directory.substr(0, directory.find_last_of("\\/") + 1).c_str(); in getModuleDirectory()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dsystem_utils_posix.cpp82 std::string directory; in GetModuleDirectory() local
87 directory = moduleName.substr(0, moduleName.find_last_of('/') + 1); in GetModuleDirectory()
92 if (cwd.valid() && !IsFullPath(directory)) in GetModuleDirectory()
94 directory = ConcatenatePath(cwd.value(), directory); in GetModuleDirectory()
96 return directory; in GetModuleDirectory()
148 std::string directory; in OpenSharedLibraryWithExtension() local
153 directory = GetExecutableDirectory() + "/Frameworks/"; in OpenSharedLibraryWithExtension()
155 directory = GetModuleDirectory(); in OpenSharedLibraryWithExtension()
165 std::string fullPath = directory in OpenSharedLibraryWithExtension()
[all...]
/third_party/python/Lib/test/
H A Dtest_compileall.py56 self.directory = tempfile.mkdtemp()
57 self.source_path = os.path.join(self.directory, '_test.py')
61 self.source_path2 = os.path.join(self.directory, '_test2.py')
64 self.subdirectory = os.path.join(self.directory, '_subdir')
70 shutil.rmtree(self.directory)
73 self.bad_source_path = os.path.join(self.directory, '_test_bad.py')
118 compileall.compile_dir(self.directory, force=False, quiet=True)
131 # Test compiling a single file, and complete directory
142 self.assertTrue(compileall.compile_dir(self.directory, force=False,
152 self.assertFalse(compileall.compile_dir(self.directory,
[all...]
/third_party/skia/third_party/externals/angle2/scripts/
H A Dprocess_angle_perf_results.py131 for directory in directories:
136 with open(os.path.join(directory, 'test_results.json')) as json_data:
142 logging.warning('No results produced for %s, skipping upload' % directory)
181 for directory in directories:
182 benchmark_log_file = os.path.join(directory, 'benchmark_log.txt')
211 def _get_benchmark_name(directory):
212 return os.path.basename(directory).replace(" benchmark", "")
224 for directory in directory_list:
225 for f in os.listdir(os.path.join(task_output_dir, directory)):
226 path = os.path.join(task_output_dir, directory,
[all...]
/third_party/skia/experimental/tools/
H A Dpdf-comparison.py107 def getfilesoftype(directory, ending):
108 for dirpath, _, filenames in os.walk(directory):
109 rp = os.path.normpath(os.path.relpath(dirpath, directory))
202 directory = os.path.join(tempfile.gettempdir(), 'skpdf_control_tree')
204 if os.path.isdir(directory):
206 check_call(['git', 'checkout', commit], cwd=directory)
207 return directory
209 shutil.rmtree(directory)
210 check_call(['git', 'worktree', 'add', '-f', directory, commit])
211 return directory
[all...]
/third_party/spirv-tools/test/tools/
H A Dexpect.py119 all_files = os.listdir(status.directory)
121 if all([f.startswith(status.directory) for f in input_files]):
122 all_files = [os.path.join(status.directory, f) for f in all_files]
252 os.path.join(status.directory, object_filename))
267 os.path.join(status.directory, object_filename), 0x10300)
282 os.path.join(status.directory, object_filename), 0x10500)
297 os.path.join(status.directory, object_filename), 0x10600)
315 obj_file = str(os.path.join(status.directory, object_filename))
325 cwd=status.directory)
348 os.path.join(status.directory, object_filenam
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dexpect.py119 all_files = os.listdir(status.directory)
121 if all([f.startswith(status.directory) for f in input_files]):
122 all_files = [os.path.join(status.directory, f) for f in all_files]
252 os.path.join(status.directory, object_filename))
267 os.path.join(status.directory, object_filename), 0x10300)
282 os.path.join(status.directory, object_filename), 0x10500)
300 obj_file = str(os.path.join(status.directory, object_filename))
310 cwd=status.directory)
333 os.path.join(status.directory, object_filename))
345 target_filename = os.path.join(status.directory, sel
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dexpect.py119 all_files = os.listdir(status.directory)
121 if all([f.startswith(status.directory) for f in input_files]):
122 all_files = [os.path.join(status.directory, f) for f in all_files]
252 os.path.join(status.directory, object_filename))
267 os.path.join(status.directory, object_filename), 0x10300)
282 os.path.join(status.directory, object_filename), 0x10500)
300 obj_file = str(os.path.join(status.directory, object_filename))
310 cwd=status.directory)
333 os.path.join(status.directory, object_filename))
345 target_filename = os.path.join(status.directory, sel
[all...]
/third_party/python/Doc/includes/
H A Demail-dir.py3 """Send the contents of a directory as a MIME message."""
18 Send the contents of a directory as a MIME message.
23 parser.add_argument('-d', '--directory',
24 help="""Mail the contents of the specified directory,
25 otherwise use the current directory. Only the regular
26 files in the directory are sent, and we don't recurse to
39 directory = args.directory
40 if not directory:
41 directory
[all...]
/third_party/vulkan-loader/scripts/
H A Dloader_genvk.py43 # Returns a directory of [ generator function, generator options ] indexed
76 # Output target directory
77 directory = args.directory
135 directory = directory,
159 directory = directory,
183 directory = directory,
[all...]
/third_party/mbedtls/tests/scripts/
H A Dtest_config_script.py40 def output_file_name(directory, stem, extension):
41 return os.path.join(directory,
45 def cleanup_directory(directory):
48 pattern = output_file_name(directory, '*', extension)
53 def prepare_directory(directory):
54 """Create the output directory if it doesn't exist yet.
58 if os.path.exists(directory):
59 cleanup_directory(directory)
61 os.makedirs(directory)
123 # directory nam
[all...]

Completed in 10 milliseconds

12345678910>>...16