/third_party/skia/tools/ |
D | rewrite_includes.py | 77 for file_path in to_rewrite(): 78 if ('/generated/' in file_path or 79 'tests/sksl/' in file_path or 80 'third_party/skcms' in file_path): 82 if (file_path.endswith('.h') or 83 file_path.endswith('.c') or 84 file_path.endswith('.m') or 85 file_path.endswith('.mm') or 86 file_path.endswith('.inc') or 87 file_path.endswith('.cc') or [all …]
|
D | sanitize_source_files.py | 87 def TrailingWhitespaceRemover(line, file_path, line_number): argument 91 print('Removing trailing whitespace in %s:%s' % (file_path, line_number)) 95 def CrlfReplacer(line, file_path, line_number): argument 98 print('Replacing CRLF with LF in %s:%s' % (file_path, line_number)) 102 def TabReplacer(line, file_path, line_number): argument 105 print('Replacing Tab with whitespace in %s:%s' % (file_path, line_number)) 119 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path): argument 124 print('Added exactly one newline to %s' % file_path) 128 def SvnEOLChecker(file_content, file_path): argument 131 'svn propget svn:eol-style %s' % file_path) [all …]
|
/third_party/flutter/skia/tools/ |
D | rewrite_includes.py | 71 for file_path in to_rewrite(): 72 if 'generated' in file_path: 74 if (file_path.endswith('.h') or 75 file_path.endswith('.c') or 76 file_path.endswith('.m') or 77 file_path.endswith('.mm') or 78 file_path.endswith('.inc') or 79 file_path.endswith('.fp') or 80 file_path.endswith('.cc') or 81 file_path.endswith('.cpp')): [all …]
|
D | sanitize_source_files.py | 85 def TrailingWhitespaceRemover(line, file_path, line_number): argument 89 print 'Removing trailing whitespace in %s:%s' % (file_path, line_number) 93 def CrlfReplacer(line, file_path, line_number): argument 96 print 'Replacing CRLF with LF in %s:%s' % (file_path, line_number) 100 def TabReplacer(line, file_path, line_number): argument 103 print 'Replacing Tab with whitespace in %s:%s' % (file_path, line_number) 117 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path): argument 122 print 'Added exactly one newline to %s' % file_path 126 def SvnEOLChecker(file_content, file_path): argument 129 'svn propget svn:eol-style %s' % file_path) [all …]
|
/third_party/python/Lib/test/ |
D | test_tabnanny.py | 75 self.file_path = f.name 76 return self.file_path 79 unlink(self.file_path) 167 with TemporaryPyFile(SOURCE_CODES["error_free"]) as file_path: 168 self.verify_tabnanny_check(file_path) 182 for file_path in (file1_path, file2_path): 202 with TemporaryPyFile(SOURCE_CODES["wrong_indented"]) as file_path: 206 self.verify_tabnanny_check(file_path, err=err) 210 with TemporaryPyFile(SOURCE_CODES["incomplete_expression"]) as file_path: 213 self.verify_tabnanny_check(file_path, err=err) [all …]
|
/third_party/json/third_party/amalgamate/ |
D | amalgamate.py | 46 def actual_path(self, file_path): argument 47 if not os.path.isabs(file_path): 48 file_path = os.path.join(self.source_path, file_path) 49 return file_path 53 def find_included_file(self, file_path, source_dir): argument 59 search_path = os.path.join(search_dir, file_path) 89 for file_path in self.sources: 93 print(" - processing \"{0}\"".format(file_path)) 94 t = TranslationUnit(file_path, self, True) 254 def __init__(self, file_path, amalgamation, is_root): argument [all …]
|
/third_party/boost/libs/mpl/preprocessed/ |
D | preprocess.py | 24 file_path = "%s.hpp" % os.path.splitext( file )[0] 29 , 'file_path': file_path 32 os.rename( file_path, "%s.tmp" % file_path ) 33 pp.main( "%s.tmp" % file_path, file_path ) 34 os.remove( "%s.tmp" % file_path ) 36 filename = os.path.basename(file_path)
|
/third_party/skia/third_party/externals/tint/src/ |
D | source.h | 149 : range(rng), file_path(file->path), file_content(&file->content) {} in Source() 159 : range(rng), file_path(path), file_content(content) {} in range() 163 return Source(Range{range.begin}, file_path, file_content); in Begin() 168 return Source(Range{range.end}, file_path, file_content); in End() 175 return Source(range + n, file_path, file_content); 182 if (file_path != rhs.file_path) { 198 start.file_path, start.file_content); in Combine() 204 std::string file_path; variable
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | sysboot.c | 11 static int do_get_ext2(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr) in do_get_ext2() argument 16 fs_argv[4] = (void *)file_path; in do_get_ext2() 24 static int do_get_fat(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr) in do_get_fat() argument 29 fs_argv[4] = (void *)file_path; in do_get_fat() 37 static int do_get_any(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr) in do_get_any() argument 42 fs_argv[4] = (void *)file_path; in do_get_any()
|
/third_party/skia/infra/bots/ |
D | utils.py | 137 file_path = os.path.join(*path) 138 if not os.path.exists(file_path): 143 file_path = os.path.normcase(file_path) 146 ['cmd.exe', '/c', 'rd', '/q', '/s', file_path]))) 147 if not subprocess.call(['cmd.exe', '/c', 'rd', '/q', '/s', file_path]): 193 for root, dirs, files in os.walk(file_path, topdown=False): 203 remove_with_retry(os.rmdir, file_path)
|
/third_party/flutter/skia/infra/bots/ |
D | utils.py | 134 file_path = os.path.join(*path) 135 if not os.path.exists(file_path): 140 file_path = os.path.normcase(file_path) 143 ['cmd.exe', '/c', 'rd', '/q', '/s', file_path])) 144 if not subprocess.call(['cmd.exe', '/c', 'rd', '/q', '/s', file_path]): 190 for root, dirs, files in os.walk(file_path, topdown=False): 200 remove_with_retry(os.rmdir, file_path)
|
/third_party/boost/tools/quickbook/src/ |
D | include_paths.cpp | 130 if (fs::exists(complete_path.file_path)) { in include_search_glob() 131 state.dependencies.add_glob_match(complete_path.file_path); in include_search_glob() 154 fs::path base_dir = new_location.file_path.empty() in include_search_glob() 156 : new_location.file_path; in include_search_glob() 172 state.dependencies.add_glob_match(r.file_path); in include_search_glob() 230 if (state.dependencies.add_dependency(path2.file_path)) { in include_search() 276 boost::swap(x.file_path, y.file_path); in swap() 287 : file_path < other.file_path; in operator <() 298 file_path /= x2; in operator /=() 306 file_path.parent_path(), include_path_offset, in parent_path()
|
/third_party/flutter/engine/flutter/third_party/txt/tests/ |
D | txt_test_utils.cc | 68 std::stringstream file_path; in RegisterFontsFromPath() local 69 file_path << directory_path << "/" << file_name; in RegisterFontsFromPath() 72 SkTypeface::MakeFromFile(file_path.str().c_str())); in RegisterFontsFromPath() 99 std::stringstream file_path; in RegisterFontsFromPath() 100 file_path << directory_path << "/" << file_name; in RegisterFontsFromPath() 103 SkTypeface::MakeFromFile(file_path.str().c_str())); in RegisterFontsFromPath()
|
/third_party/cef/libcef/common/ |
D | app_manager.cc | 95 static wchar_t file_path[MAX_PATH + 1] = {0}; in GetResourceDllName() local 97 if (file_path[0] == 0) { in GetResourceDllName() 103 wcsncpy(file_path, wstr.c_str(), count); in GetResourceDllName() 104 file_path[count] = 0; in GetResourceDllName() 107 return file_path; in GetResourceDllName()
|
/third_party/cef/libcef/common/alloy/ |
D | alloy_main_delegate.cc | 117 base::FilePath file_path = in BasicStartupComplete() local 119 if (!file_path.empty()) { in BasicStartupComplete() 121 file_path); in BasicStartupComplete() 133 base::FilePath file_path = in BasicStartupComplete() local 135 if (!file_path.empty()) in BasicStartupComplete() 136 command_line->AppendSwitchPath(switches::kFrameworkDirPath, file_path); in BasicStartupComplete() 140 base::FilePath file_path = in BasicStartupComplete() local 142 if (!file_path.empty()) in BasicStartupComplete() 143 command_line->AppendSwitchPath(switches::kMainBundlePath, file_path); in BasicStartupComplete() 218 base::FilePath file_path = in BasicStartupComplete() local [all …]
|
/third_party/gn/src/gn/ |
D | function_read_file.cc | 60 base::FilePath file_path = in RunReadFile() local 64 g_scheduler->AddGenDependency(file_path); in RunReadFile() 68 if (!base::ReadFileToString(file_path, &file_contents)) { in RunReadFile() 70 "I resolved this to \"" + FilePathToUTF8(file_path) + "\"."); in RunReadFile()
|
/third_party/cef/tools/ |
D | cef_version.py | 47 file_path = os.path.join(self.src_path, 'chrome', 'VERSION') 48 assert os.path.isfile(file_path), file_path 49 read_version_file(file_path, self._chrome_version) 55 file_path = os.path.join(self.cef_path, 'VERSION.in') 56 assert os.path.isfile(file_path), file_path 57 read_version_file(file_path, self._cef_version)
|
/third_party/boost/libs/compute/test/ |
D | test_program.cpp | 136 std::string file_path(BOOST_COMPUTE_TEST_DATA_PATH); in BOOST_AUTO_TEST_CASE() local 139 file_path += "/program.spirv64"; in BOOST_AUTO_TEST_CASE() 143 file_path += "/program.spirv32"; in BOOST_AUTO_TEST_CASE() 150 file_path, context in BOOST_AUTO_TEST_CASE() 164 std::string file_path(BOOST_COMPUTE_TEST_DATA_PATH); in BOOST_AUTO_TEST_CASE() local 167 file_path += "/program.spirv64"; in BOOST_AUTO_TEST_CASE() 171 file_path += "/program.spirv32"; in BOOST_AUTO_TEST_CASE() 178 file_path, context in BOOST_AUTO_TEST_CASE() 396 std::string file_path(BOOST_COMPUTE_TEST_DATA_PATH "/invalid_program.cl"); in BOOST_AUTO_TEST_CASE() local 397 BOOST_CHECK_THROW(compute::program::build_with_source_file(file_path, context), in BOOST_AUTO_TEST_CASE()
|
/third_party/python/Lib/test/test_importlib/ |
D | util.py | 36 EXTENSIONS.file_path = None 44 file_path = os.path.join(path, filename) 45 if os.path.exists(file_path): 49 EXTENSIONS.file_path = file_path 378 file_path = temp_dir 380 file_path = os.path.join(file_path, directory) 381 if not os.path.exists(file_path): 382 os.mkdir(file_path) 383 created_paths.append(file_path) 384 file_path = os.path.join(file_path, name_parts[-1] + '.py') [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | annotation_test_util.h | 52 std::string file_path; member 55 explicit ExpectedOutput(const std::string& file_path) in ExpectedOutput() 56 : file_path(file_path) {} in ExpectedOutput()
|
/third_party/flutter/skia/modules/skparagraph/utils/ |
D | TestFontCollection.cpp | 23 SkString file_path; in TestFontCollection() local 24 file_path.printf("%s/%s", fResourceDir.c_str(), path.c_str()); in TestFontCollection() 26 auto data = SkData::MakeFromFileName(file_path.c_str()); in TestFontCollection()
|
/third_party/cef/libcef/browser/ |
D | path_util_impl.cc | 50 base::FilePath file_path; in CefGetPath() local 51 if (base::PathService::Get(pref_key, &file_path)) { in CefGetPath() 52 path = file_path.value(); in CefGetPath()
|
/third_party/flutter/engine/flutter/fml/platform/win/ |
D | paths_win.cc | 88 std::string file_path = uri.substr(kFileURLPrefixLength); in FromURI() local 89 std::replace(file_path.begin(), file_path.end(), '/', '\\'); in FromURI() 90 return SanitizeURIEscapedCharacters(file_path); in FromURI()
|
/third_party/skia/buildtools/checkdeps/ |
D | proto_checker.py | 112 def IsProtoFile(file_path): argument 116 return os.path.splitext(file_path)[1] in ProtoChecker.EXTENSIONS 118 def ShouldCheck(self, file_path): argument 127 return self.IsProtoFile(file_path)
|
D | cpp_checker.py | 118 def IsCppFile(file_path): argument 122 return os.path.splitext(file_path)[1] in CppChecker.EXTENSIONS 124 def ShouldCheck(self, file_path): argument 133 return self.IsCppFile(file_path)
|