/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | caching_file_system.py | 43 dir_path, file_path = posixpath.split(path) 44 dir_path = ToDirectory(dir_path) 50 if path == dir_path: 56 (path, dir_path, dir_stat.child_versions)) 59 dir_stat = self._stat_cache.Get(dir_path).Get() 66 self._stat_cache.Set(dir_path, dir_stat) 68 return self._MemoizedStatAsyncFromFileSystem(dir_path).Then(next) 71 def _MemoizedStatAsyncFromFileSystem(self, dir_path): argument 76 assert IsDirectory(dir_path) 77 return self._file_system.StatAsync(dir_path)
|
D | test_file_system.py | 84 dir_path = path[:slash_index] + '/' 85 self._path_stats[dir_path] = max(self._path_stats.get(dir_path, 0), 87 if dir_path == '/':
|
/external/chromium_org/net/test/ |
D | python_utils.cc | 22 std::string dir_path; in AppendToPythonPath() local 24 dir_path = base::WideToUTF8(dir.value()); in AppendToPythonPath() 26 dir_path = dir.value(); in AppendToPythonPath() 29 env->SetVar(kPythonPathEnv, dir_path.c_str()); in AppendToPythonPath() 30 } else if (old_path.find(dir_path) == std::string::npos) { in AppendToPythonPath() 37 new_path.append(dir_path.c_str()); in AppendToPythonPath()
|
/external/chromium_org/tools/grit/grit/tool/ |
D | resize.py | 238 dir_path = os.path.join(self.base_folder, project_name) 239 if not os.path.isdir(dir_path): 240 os.mkdir(dir_path) 251 fname = os.path.join(dir_path, '%s.vcproj' % project_name) 275 fname = os.path.join(dir_path, '%s.rc' % project_name) 282 fname = os.path.join(dir_path, 'resource.h')
|
/external/chromium_org/remoting/host/ |
D | ipc_constants.cc | 23 base::FilePath dir_path; in GetInstalledBinaryPath() local 24 if (!PathService::Get(base::DIR_EXE, &dir_path)) { in GetInstalledBinaryPath() 29 base::FilePath path = dir_path.Append(binary); in GetInstalledBinaryPath()
|
D | sas_injector_win.cc | 144 base::FilePath dir_path; in InjectSas() local 145 if (!PathService::Get(base::DIR_EXE, &dir_path)) { in InjectSas() 150 sas_dll_.Reset(base::LoadNativeLibrary(dir_path.Append(kSasDllFileName), in InjectSas()
|
/external/chromium_org/ui/base/resource/ |
D | resource_bundle_unittest.cc | 394 const base::FilePath& locale_path = dir_path().Append( in CreateResourceBundleWithEmptyLocalePak() 407 const base::FilePath& dir_path() { return dir_.path(); } in dir_path() function in ui::ResourceBundleImageTest 419 base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak")); in TEST_F() 442 base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak")); in TEST_F() 444 dir_path().Append(FILE_PATH_LITERAL("sample_2x.pak")); in TEST_F() 482 base::FilePath data_1x_path = dir_path().AppendASCII("sample_1x.pak"); in TEST_F() 483 base::FilePath data_2x_path = dir_path().AppendASCII("sample_2x.pak"); in TEST_F() 538 base::FilePath data_path = dir_path().AppendASCII("sample.pak"); in TEST_F() 539 base::FilePath data_2x_path = dir_path().AppendASCII("sample_2x.pak"); in TEST_F() 577 base::FilePath data_path = dir_path().AppendASCII("sample.pak"); in TEST_F() [all …]
|
/external/chromium_org/tools/checkperms/ |
D | checkperms.py | 229 def get_git_root(dir_path): argument 231 root = capture(['git', 'rev-parse', '--show-toplevel'], dir_path).strip() 397 def get_scm(dir_path, bare): argument 400 root = get_git_root(dir_path or cwd) 404 return ApiGit(dir_path or root, bare) 408 print('Failed to determine the SCM for %s' % dir_path) 409 return ApiBase(dir_path or cwd, bare)
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_internal_file_ref_backend.cc | 227 std::string dir_path = path_; in ReadDirectoryComplete() local 228 if (dir_path.empty() || dir_path[dir_path.size() - 1] != '/') in ReadDirectoryComplete() 229 dir_path += '/'; in ReadDirectoryComplete() 244 dir_path + storage::FilePathToString(base::FilePath(it->name)); in ReadDirectoryComplete()
|
/external/chromium_org/ppapi/native_client/tests/breakpad_crash_test/ |
D | crash_dump_tester.py | 66 def ListPathsInDir(dir_path): argument 67 if os.path.exists(dir_path): 68 return [os.path.join(dir_path, name) 69 for name in os.listdir(dir_path)]
|
/external/chromium_org/net/url_request/ |
D | url_request_file_dir_job.cc | 27 const base::FilePath& dir_path) in URLRequestFileDirJob() argument 29 lister_(dir_path, this), in URLRequestFileDirJob() 30 dir_path_(dir_path), in URLRequestFileDirJob()
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe_test_baselinefile.cc | 120 std::string dir_path = webrtc::test::OutputPath() + kResourceSubDir; in VerifyOrWrite() local 121 if (!webrtc::test::CreateDir(dir_path)) { in VerifyOrWrite() 122 printf("WARNING: Cannot create output dir: %s\n", dir_path.c_str()); in VerifyOrWrite()
|
/external/chromium_org/build/android/gyp/util/ |
D | build_utils.py | 36 def MakeDirectory(dir_path): argument 38 os.makedirs(dir_path) 43 def DeleteDirectory(dir_path): argument 44 if os.path.exists(dir_path): 45 shutil.rmtree(dir_path)
|
D | md5_check.py | 43 def _UpdateMd5ForDirectory(md5, dir_path): argument 44 for root, _, files in os.walk(dir_path):
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
D | filereader.py | 135 for dir_path, dir_names, file_names in os.walk(directory): 137 file_path = self.filesystem.join(dir_path, file_name)
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | discover.py | 27 for dir_path, _, filenames in os.walk(start_dir): 38 module_rel_path = os.path.relpath(os.path.join(dir_path, filename),
|
/external/chromium_org/net/base/ |
D | directory_lister_unittest.cc | 119 base::FilePath dir_path = dir_data.first.AppendASCII(dir_name); in SetUp() local 120 ASSERT_TRUE(base::CreateDirectory(dir_path)); in SetUp() 121 directories.push_back(std::make_pair(dir_path, dir_data.second + 1)); in SetUp()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_browsertest.cc | 282 const base::FilePath& dir_path) { in PackExtension() argument 291 dir_path.ReplaceExtension(FILE_PATH_LITERAL(".pem")); in PackExtension() 303 return PackExtensionWithOptions(dir_path, crx_path, pem_path, pem_path_out); in PackExtension() 307 const base::FilePath& dir_path, in PackExtensionWithOptions() argument 311 if (!base::PathExists(dir_path)) { in PackExtensionWithOptions() 312 ADD_FAILURE() << "Extension dir not found: " << dir_path.value(); in PackExtensionWithOptions() 322 if (!creator->Run(dir_path, in PackExtensionWithOptions()
|
/external/chromium_org/tools/export_tarball/ |
D | export_tarball.py | 103 dir_path = os.path.join(GetSourceDirectory(), nonessential_dir) 104 if (name.startswith(dir_path) and
|
D | export_v8_tarball.py | 82 dir_path = os.path.join(GetV8Directory(), nonessential_dir) 83 if (name.startswith(dir_path) and
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | parse-events.c | 166 char dir_path[MAXPATHLEN]; in tracepoint_id_to_path() local 177 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, in tracepoint_id_to_path() 179 evt_dir = opendir(dir_path); in tracepoint_id_to_path() 185 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path() 999 char dir_path[MAXPATHLEN]; in print_tracepoint_events() local 1013 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, in print_tracepoint_events() 1015 evt_dir = opendir(dir_path); in print_tracepoint_events() 1048 char dir_path[MAXPATHLEN]; in is_valid_tracepoint() local 1059 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, in is_valid_tracepoint() 1061 evt_dir = opendir(dir_path); in is_valid_tracepoint()
|
/external/chromium_org/tools/perf/benchmarks/ |
D | blink_perf.py | 33 def _AddDir(dir_path, skipped): argument 34 for candidate_path in os.listdir(dir_path): 37 candidate_path = os.path.join(dir_path, candidate_path)
|
/external/chromium_org/build/android/ |
D | provision_devices.py | 127 dir_path = '/'.join(path_list[:len(path_list)-1]) 128 device.RunShellCommand('mkdir -p %s' % dir_path, as_root=True) 129 device.RunShellCommand('restorecon %s' % dir_path, as_root=True)
|
/external/chromium_org/mojo/nacl/generator/ |
D | generate_nacl_bindings.py | 374 def OutFile(dir_path, name): argument 375 if not os.path.exists(dir_path): 376 os.makedirs(dir_path) 377 return open(os.path.join(dir_path, name), 'w')
|
/external/chromium_org/storage/browser/database/ |
D | vfs_backend.cc | 97 base::File VfsBackend::OpenTempFileInDirectory(const base::FilePath& dir_path, in OpenTempFileInDirectory() argument 108 if (!base::CreateTemporaryFileInDir(dir_path, &temp_file_path)) in OpenTempFileInDirectory()
|