/external/chromium_org/chrome/tools/ |
D | check_grd_for_unused_strings.py | 81 for src_dir in src_dirs: 82 for root, dirs, files in os.walk(src_dir): 116 src_dir = os.path.dirname(os.path.dirname(chrome_tools_dir)) 129 ash_base_dir = os.path.join(src_dir, 'ash') 130 chrome_dir = os.path.join(src_dir, 'chrome') 133 device_base_dir = os.path.join(src_dir, 'device') 134 ui_base_dir = os.path.join(src_dir, 'ui', 'base',) 154 os.path.join(src_dir, 'ui', 'resources', 'ui_resources.grd'), 155 os.path.join(src_dir, 'ui', 'webui', 'resources', 'webui_resources.grd'), 163 os.path.join(src_dir, 'app'), [all …]
|
/external/chromium_org/third_party/zlib/google/ |
D | zip_unittest.cc | 152 base::FilePath src_dir; in TEST_F() local 153 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F() 154 src_dir = src_dir.AppendASCII("test"); in TEST_F() 160 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TEST_F() 165 base::FilePath src_dir; in TEST_F() local 166 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F() 167 src_dir = src_dir.AppendASCII("test"); in TEST_F() 173 EXPECT_TRUE(zip::Zip(src_dir, zip_file, false)); in TEST_F() 178 base::FilePath src_dir; in TEST_F() local 179 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); in TEST_F() [all …]
|
D | zip.cc | 27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { in AddFileToZip() argument 30 if (stream.OpenSync(src_dir, flags) != 0) { in AddFileToZip() 32 << src_dir.value(); in AddFileToZip() 43 << src_dir.value(); in AddFileToZip() 147 bool ZipWithFilterCallback(const base::FilePath& src_dir, in ZipWithFilterCallback() argument 150 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback() 161 base::FileEnumerator file_enumerator(src_dir, true /* recursive */, in ZipWithFilterCallback() 169 if (!AddEntryToZip(zip_file, path, src_dir)) { in ZipWithFilterCallback() 183 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, in Zip() argument 187 src_dir, dest_file, base::Bind(&ExcludeNoFilesFilter)); in Zip() [all …]
|
D | zip.h | 19 bool ZipWithFilterCallback(const base::FilePath& src_dir, 26 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, 34 bool ZipFiles(const base::FilePath& src_dir,
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
D | zip.cc | 27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { in AddFileToZip() argument 30 if (stream.OpenSync(src_dir, flags) != 0) { in AddFileToZip() 32 << src_dir.value(); in AddFileToZip() 43 << src_dir.value(); in AddFileToZip() 127 bool ZipWithFilterCallback(const base::FilePath& src_dir, in ZipWithFilterCallback() argument 130 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback() 141 base::FileEnumerator file_enumerator(src_dir, true /* recursive */, in ZipWithFilterCallback() 149 if (!AddEntryToZip(zip_file, path, src_dir)) { in ZipWithFilterCallback() 163 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, in Zip() argument 167 src_dir, dest_file, base::Bind(&ExcludeNoFilesFilter)); in Zip() [all …]
|
D | zip.h | 19 bool ZipWithFilterCallback(const base::FilePath& src_dir, 26 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, 34 bool ZipFiles(const base::FilePath& src_dir,
|
/external/chromium/chrome/common/ |
D | zip_unittest.cc | 120 FilePath src_dir; in TEST_F() local 121 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &src_dir)); in TEST_F() 122 src_dir = src_dir.AppendASCII("zip").AppendASCII("test"); in TEST_F() 128 EXPECT_TRUE(Zip(src_dir, zip_file, true)); in TEST_F() 133 FilePath src_dir; in TEST_F() local 134 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &src_dir)); in TEST_F() 135 src_dir = src_dir.AppendASCII("zip").AppendASCII("test"); in TEST_F() 141 EXPECT_TRUE(Zip(src_dir, zip_file, false)); in TEST_F()
|
D | zip.cc | 204 static bool AddFileToZip(zipFile zip_file, const FilePath& src_dir) { in AddFileToZip() argument 207 if (stream.Open(src_dir, flags) != 0) { in AddFileToZip() 209 << src_dir.value(); in AddFileToZip() 220 << src_dir.value(); in AddFileToZip() 265 bool Zip(const FilePath& src_dir, const FilePath& dest_file, in Zip() argument 267 DCHECK(file_util::DirectoryExists(src_dir)); in Zip() 277 std::string src_dir_str = src_dir.value(); in Zip() 293 src_dir, true, // recursive in Zip() 302 if (!AddEntryToZip(zip_file, path, src_dir)) { in Zip()
|
/external/chromium-trace/trace-viewer/build/ |
D | fixjsstyle | 5 src_dir = os.path.join(os.path.dirname(__file__), '..') variable 7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags')) 8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter')) 13 os.chdir(src_dir)
|
D | gjslint | 5 src_dir = os.path.join(os.path.dirname(__file__), '..') variable 7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags')) 8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter')) 13 os.chdir(src_dir)
|
/external/chromium-trace/ |
D | systrace.py | 130 src_dir = os.path.join(script_dir, options.asset_dir, 'src') 133 js_files, js_flattenizer, css_files, templates = get_assets(src_dir, build_dir) 135 css = '\n'.join(linked_css_tag % (os.path.join(src_dir, f)) for f in css_files) 137 js += '\n'.join(linked_js_tag % (os.path.join(src_dir, f)) for f in js_files) 245 def read_asset(src_dir, filename): argument 246 return open(os.path.join(src_dir, filename)).read() 248 def get_assets(src_dir, build_dir): argument 254 load_sequence = parse_deps.calc_load_sequence(filenames, src_dir) 262 js_files.append(os.path.relpath(module.filename, src_dir)) 270 css_files.append(os.path.relpath(style_sheet.filename, src_dir))
|
D | systrace-legacy.py | 133 src_dir = os.path.join(script_dir, options.asset_dir, 'src') 136 js_files, js_flattenizer, css_files, templates = get_assets(src_dir, build_dir) 138 css = '\n'.join(linked_css_tag % (os.path.join(src_dir, f)) for f in css_files) 140 js += '\n'.join(linked_js_tag % (os.path.join(src_dir, f)) for f in js_files) 211 def read_asset(src_dir, filename): argument 212 return open(os.path.join(src_dir, filename)).read() 214 def get_assets(src_dir, build_dir): argument 220 load_sequence = parse_deps.calc_load_sequence(filenames, src_dir) 228 js_files.append(os.path.relpath(module.filename, src_dir)) 236 css_files.append(os.path.relpath(style_sheet.filename, src_dir))
|
/external/chromium_org/content/browser/gpu/ |
D | test_support_gpu.gypi | 9 'src_dir': '../../..', 15 '<(src_dir)', 56 '<(src_dir)/build/linux/system.gyp:gtk', 61 '<(src_dir)/build/linux/system.gyp:ssl', 66 '<(src_dir)/ui/views/views.gyp:views',
|
/external/chromium/chrome/browser/extensions/ |
D | extension_startup_browsertest.cc | 50 FilePath src_dir; in SetUpCommandLine() local 51 PathService::Get(chrome::DIR_TEST_DATA, &src_dir); in SetUpCommandLine() 52 src_dir = src_dir.AppendASCII("extensions").AppendASCII("good"); in SetUpCommandLine() 54 file_util::CopyFile(src_dir.AppendASCII("Preferences"), in SetUpCommandLine() 56 file_util::CopyDirectory(src_dir.AppendASCII("Extensions"), in SetUpCommandLine()
|
/external/chromium_org/chrome/test/nacl_test_injection/ |
D | find_chrome.py | 16 def FindChrome(src_dir, configs, verbose=False): argument 46 chrome_filename = os.path.join(src_dir, chrome) 92 src_dir = args[0] 93 chrome_path = FindChrome(src_dir, options.config, options.verbose)
|
/external/chromium_org/build/android/pylib/host_driven/ |
D | test_server.py | 82 src_dir = constants.DIR_SOURCE_ROOT 84 abs_dirs = [os.path.join(src_dir, d) for d in _PYTHONPATH_DIRS] 86 abs_dirs.extend([os.path.join(src_dir, constants.GetOutDirectory(), d) 97 cmd = ['python', os.path.join(src_dir, test_server_path),
|
/external/chromium/chrome/common/extensions/docs/build/ |
D | build.py | 121 src_dir = os.path.normpath(chrome_dir + "/../") 133 search_locations.append(src_dir + "/sconsbuild/Release/DumpRenderTree") 134 search_locations.append(src_dir + "/out/Release/DumpRenderTree") 135 search_locations.append(src_dir + "/sconsbuild/Debug/DumpRenderTree") 136 search_locations.append(src_dir + "/out/Debug/DumpRenderTree") 141 search_locations.append(src_dir + 143 search_locations.append(src_dir +
|
/external/chromium_org/content/browser/fileapi/ |
D | file_system_operation_impl_unittest.cc | 307 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local 310 operation_runner()->Move(src_dir, dest_dir, in TEST_F() 320 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local 324 operation_runner()->Move(src_dir, dest_file, in TEST_F() 335 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local 339 operation_runner()->Move(src_dir, dest_dir, in TEST_F() 349 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local 363 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local 364 operation_runner()->Move(src_dir, URLForPath("nonexistent/deset"), in TEST_F() 406 FileSystemURL src_dir(CreateDirectory("src")); in TEST_F() local [all …]
|
/external/chromium_org/chrome/test/pyautolib/ |
D | pyauto_paths.py | 32 src_dir = GetSourceDir() 35 build_dirs += [os.path.join(src_dir, dir, 'Debug')] 36 build_dirs += [os.path.join(src_dir, dir, 'Release')]
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_startup_browsertest.cc | 70 base::FilePath src_dir; in SetUpUserDataDirectory() local 71 PathService::Get(chrome::DIR_TEST_DATA, &src_dir); in SetUpUserDataDirectory() 72 src_dir = src_dir.AppendASCII("extensions").AppendASCII("good"); in SetUpUserDataDirectory() 74 base::CopyFile(src_dir.AppendASCII("Preferences"), preferences_file_); in SetUpUserDataDirectory() 75 base::CopyDirectory(src_dir.AppendASCII("Extensions"), in SetUpUserDataDirectory()
|
/external/chromium_org/build/android/gyp/ |
D | process_resources.py | 63 src_dir = os.path.join(res_root, src_dir_name) 64 if not os.path.isdir(src_dir): 71 for src_file_name in os.listdir(src_dir): 74 src_file = os.path.join(src_dir, src_file_name)
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
D | private_api_misc.cc | 105 base::FilePath src_dir = file_manager::util::GetLocalPathFromURL( in RunImpl() local 107 if (src_dir.empty()) in RunImpl() 129 if (drive::util::IsUnderDriveMountPoint(src_dir)) in RunImpl() 132 base::FilePath dest_file = src_dir.Append(params->dest_name); in RunImpl() 139 if (!src_dir.AppendRelativePath(file_path, &relative_path)) in RunImpl() 145 src_dir, in RunImpl()
|
/external/chromium_org/webkit/tools/layout_tests/ |
D | run_webkit_tests.py | 13 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..', '..')) 14 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
|
D | run_http_server.py | 14 src_dir=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname( 16 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
|
/external/zlib/ |
D | update_zlib.sh | 24 src_dir=$base_dir/src 25 rm -rf $src_dir
|