/external/libbrillo/brillo/ |
D | file_utils.h | 2 // Use of this source code is governed by a BSD-style license that can be 12 #include <base/files/file_path.h> 13 #include <base/files/scoped_file.h> 26 BRILLO_EXPORT bool TouchFile(const base::FilePath& path, 35 BRILLO_EXPORT bool TouchFile(const base::FilePath& path); 37 // Opens the absolute |path| to a regular file or directory ensuring that none 39 // relative, or contains any symbolic links, or points to a non-regular file or 40 // directory, an invalid FD is returned instead. |mode| is ignored unless 45 // path - An absolute path of the file to open 46 // flags - Flags to pass to open. [all …]
|
/external/cronet/base/fuchsia/ |
D | test_component_context_for_process.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/fuchsia/test_component_context_for_process.h" 9 #include <lib/fdio/directory.h> 13 #include "base/files/file_enumerator.h" 14 #include "base/fuchsia/filtered_service_directory.h" 15 #include "base/fuchsia/fuchsia_logging.h" 16 #include "base/fuchsia/process_context.h" 17 #include "base/run_loop.h" 19 namespace base { namespace 30 base::ComponentContextForProcess()->svc()); in TestComponentContextForProcess() [all …]
|
D | file_utils.h | 2 // Use of this source code is governed by a BSD-style license that can be 10 #include "base/base_export.h" 11 #include "base/files/file_path.h" 13 namespace base { 15 // Persisted data directory, i.e. /data . 18 // Persisted cache directory, i.e. /cache . 21 // Services directory, i.e. /svc . 24 // Package root directory, i.e. /pkg . 27 // Returns a read-only fuchsia.io.Directory for the specified |path|, or an 28 // invalid InterfaceHandle if the path doesn't exist or it's not a directory. [all …]
|
D | filtered_service_directory_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/fuchsia/filtered_service_directory.h" 13 #include "base/fuchsia/process_context.h" 14 #include "base/fuchsia/scoped_service_binding.h" 15 #include "base/fuchsia/test_component_context_for_process.h" 16 #include "base/fuchsia/test_interface_impl.h" 17 #include "base/test/task_environment.h" 20 namespace base { namespace 26 fidl::InterfaceHandle<::fuchsia::io::Directory> directory; in FilteredServiceDirectoryTest() local 27 EXPECT_EQ(filtered_service_directory_.ConnectClient(directory.NewRequest()), in FilteredServiceDirectoryTest() [all …]
|
D | process_context.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/fuchsia/process_context.h" 12 #include "base/no_destructor.h" 14 namespace base { namespace 19 static base::NoDestructor<std::unique_ptr<sys::ComponentContext>> value( in GetComponentContextPtr() 25 fidl::ClientEnd<fuchsia_io::Directory>* GetIncomingServiceDirectory() { in GetIncomingServiceDirectory() 26 static base::NoDestructor<fidl::ClientEnd<fuchsia_io::Directory>> value( in GetIncomingServiceDirectory() 28 GetComponentContextPtr()->get()->svc()->CloneChannel())); in GetIncomingServiceDirectory() 37 return GetComponentContextPtr()->get(); in ComponentContextForProcess() 40 fidl::UnownedClientEnd<fuchsia_io::Directory> [all …]
|
/external/cronet/components/metrics/ |
D | file_metrics_provider.cc | 2 // Use of this source code is governed by a BSD-style license that can be 12 #include "base/command_line.h" 13 #include "base/containers/flat_map.h" 14 #include "base/feature_list.h" 15 #include "base/files/file.h" 16 #include "base/files/file_enumerator.h" 17 #include "base/files/file_util.h" 18 #include "base/files/memory_mapped_file.h" 19 #include "base/functional/bind.h" 20 #include "base/logging.h" [all …]
|
D | file_metrics_provider.h | 2 // Use of this source code is governed by a BSD-style license that can be 14 #include "base/files/file_path.h" 15 #include "base/functional/callback_forward.h" 16 #include "base/gtest_prod_util.h" 17 #include "base/memory/raw_ptr.h" 18 #include "base/memory/scoped_refptr.h" 19 #include "base/memory/weak_ptr.h" 20 #include "base/metrics/statistics_recorder.h" 21 #include "base/sequence_checker.h" 22 #include "base/time/time.h" [all …]
|
/external/python/cpython2/Lib/distutils/command/ |
D | install.py | 27 'purelib': '$base', 28 'platlib': '$base', 29 'headers': '$base/Include/$dist_name', 30 'scripts': '$base/Scripts', 31 'data' : '$base', 35 'purelib': '$base/Lib/site-packages', 36 'platlib': '$base/Lib/site-packages', 37 'headers': '$base/Include/$dist_name', 38 'scripts': '$base/Scripts', 39 'data' : '$base', [all …]
|
D | clean.py | 5 # contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18 18 ('build-base=', 'b', 19 "base build directory (default: 'build.build-base')"), 20 ('build-lib=', None, 21 "build directory for all modules (default: 'build.build-lib')"), 22 ('build-temp=', 't', 23 "temporary build directory (default: 'build.build-temp')"), 24 ('build-scripts=', None, 25 "build directory for scripts (default: 'build.build-scripts')"), 26 ('bdist-base=', None, [all …]
|
/external/angle/build/util/ |
D | lastchange.py | 3 # Use of this source code is governed by a BSD-style license that can be 7 lastchange.py -- Chromium revision fetching utility. 28 def RunGitCommand(directory, command): argument 43 command = ['sh', '-c', ' '.join(command)] 48 cwd=directory, 56 def _RunGitCommand(directory, command): argument 70 command = ['sh', '-c', ' '.join(command)] 72 logging.info("Executing '%s' in %s", ' '.join(command), directory) 76 cwd=directory, 88 " ".join(command), directory, proc.returncode, stdout, stderr)) [all …]
|
/external/cronet/build/util/ |
D | lastchange.py | 3 # Use of this source code is governed by a BSD-style license that can be 7 lastchange.py -- Chromium revision fetching utility. 28 def RunGitCommand(directory, command): argument 43 command = ['sh', '-c', ' '.join(command)] 48 cwd=directory, 56 def _RunGitCommand(directory, command): argument 70 command = ['sh', '-c', ' '.join(command)] 72 logging.info("Executing '%s' in %s", ' '.join(command), directory) 76 cwd=directory, 88 " ".join(command), directory, proc.returncode, stdout, stderr)) [all …]
|
/external/python/setuptools/setuptools/_distutils/command/ |
D | install.py | 27 'purelib': '{base}/Lib/site-packages', 28 'platlib': '{base}/Lib/site-packages', 29 'headers': '{base}/Include/{dist_name}', 30 'scripts': '{base}/Scripts', 31 'data' : '{base}', 36 'purelib': '{base}/lib/{implementation_lower}{py_version_short}/site-packages', 37 'platlib': '{platbase}/{platlibdir}/{implementation_lower}{py_version_short}/site-packages', 38 'headers': '{base}/include/{implementation_lower}{py_version_short}{abiflags}/{dist_name}', 39 'scripts': '{base}/bin', 40 'data' : '{base}', [all …]
|
D | clean.py | 5 # contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18 16 ('build-base=', 'b', 17 "base build directory (default: 'build.build-base')"), 18 ('build-lib=', None, 19 "build directory for all modules (default: 'build.build-lib')"), 20 ('build-temp=', 't', 21 "temporary build directory (default: 'build.build-temp')"), 22 ('build-scripts=', None, 23 "build directory for scripts (default: 'build.build-scripts')"), 24 ('bdist-base=', None, [all …]
|
/external/python/cpython3/Lib/distutils/command/ |
D | clean.py | 5 # contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18 16 ('build-base=', 'b', 17 "base build directory (default: 'build.build-base')"), 18 ('build-lib=', None, 19 "build directory for all modules (default: 'build.build-lib')"), 20 ('build-temp=', 't', 21 "temporary build directory (default: 'build.build-temp')"), 22 ('build-scripts=', None, 23 "build directory for scripts (default: 'build.build-scripts')"), 24 ('bdist-base=', None, [all …]
|
/external/cronet/base/files/ |
D | important_file_writer_cleaner.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/files/important_file_writer_cleaner.h" 12 #include "base/files/file_enumerator.h" 13 #include "base/files/file_util.h" 14 #include "base/functional/bind.h" 15 #include "base/no_destructor.h" 16 #include "base/process/process.h" 17 #include "base/task/sequenced_task_runner.h" 18 #include "base/task/task_traits.h" 19 #include "base/task/thread_pool.h" [all …]
|
D | file_path_watcher_win.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/files/file_path_watcher.h" 9 #include "base/files/file.h" 10 #include "base/files/file_path.h" 11 #include "base/files/file_util.h" 12 #include "base/functional/bind.h" 13 #include "base/logging.h" 14 #include "base/memory/ptr_util.h" 15 #include "base/memory/raw_ptr.h" 16 #include "base/strings/string_util.h" [all …]
|
/external/libchrome/libchrome_tools/ |
D | update_libchrome.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 25 --chromium_root=${PATH_TO_YOUR_LOCAL_CHROMIUM_REPO} 28 - Clean existing libchrome code, except some manually created files and tools. 29 - Copy necessary files from original Chromium repository. 30 - Apply patches to the copied files, if necessary. 47 # Files in this list or in the directory listed here will be just copied. 48 # Paths ends with '/' is interpreted as directory. 81 'base/allocator/buildflags.h', 82 'base/android/java/src/org/chromium/base/BuildConfig.java', 83 'base/cfi_buildflags.h', [all …]
|
/external/openthread/third_party/nlbuild-autotools/repo/automake/pre/macros/ |
D | coverage.am | 2 # Copyright 2015-2016 Nest Labs Inc. All Rights Reserved. 8 # http://www.apache.org/licenses/LICENSE-2.0 46 nl__v_LCOV_FLAGS_0 = --quiet 56 nl__v_GENHTML_FLAGS_0 = --quiet 60 # generate-coverage-report <directory> 62 # Capture, using lcov, a coverage report from the specified directory 'directory' 65 # <directory> - The directory from which lcov should search for coverage data (*.gcno & *.gcda) 67 # - create baseline coverage data file (base.info) with '-i|--initial' option 68 # - create test coverage data file (test.info) 69 # - combine baseline and test coverage data to create the final "info" file [all …]
|
/external/cronet/base/win/ |
D | pe_image.cc | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include "base/win/pe_image.h" 15 #include "base/no_destructor.h" 16 #include "base/win/current_module.h" 18 namespace base { namespace 43 return (*reinterpret_cast<const unsigned char*>(s1) - in StrCmpByByte() 100 reinterpret_cast<char*>(dos_header) + dos_header->e_lfanew); in GetNTHeaders() 107 if (section < nt_headers->FileHeader.NumberOfSections) in GetSectionHeader() 114 return GetNTHeaders()->FileHeader.NumberOfSections; in GetNumSections() 117 DWORD PEImage::GetImageDirectoryEntrySize(UINT directory) const { in GetImageDirectoryEntrySize() [all …]
|
/external/libbrillo/brillo/files/ |
D | file_util.cc | 2 // Use of this source code is governed by a BSD-style license that can be 13 #include <base/files/file_util.h> 14 #include <base/logging.h> 15 #include <base/strings/stringprintf.h> 24 Directory, enumerator 39 SafeFD::SafeFDResult (SafeFD::*maker)(const base::FilePath&, mode_t, uid_t, in OpenOrRemake() 41 if (type == FSObjectType::Directory) { in OpenOrRemake() 49 (parent->*maker)(base::FilePath(name), permissions, uid, gid, flags); in OpenOrRemake() 55 // a directory was expected and a non-directory was found or when a in OpenOrRemake() 56 // directory was found but not expected, so XOR was used. in OpenOrRemake() [all …]
|
/external/libchrome/base/metrics/ |
D | persistent_histogram_storage.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/metrics/persistent_histogram_storage.h" 7 #include "base/files/file_util.h" 8 #include "base/files/important_file_writer.h" 9 #include "base/logging.h" 10 #include "base/metrics/persistent_histogram_allocator.h" 11 #include "base/metrics/persistent_memory_allocator.h" 12 #include "base/strings/string_util.h" 13 #include "base/strings/stringprintf.h" 14 #include "base/time/time.h" [all …]
|
/external/libchrome/base/files/ |
D | file_util.h | 2 // Use of this source code is governed by a BSD-style license that can be 24 #include "base/base_export.h" 25 #include "base/files/file.h" 26 #include "base/files/file_path.h" 27 #include "base/strings/string16.h" 31 #include "base/win/windows_types.h" 33 #include "base/file_descriptor_posix.h" 34 #include "base/logging.h" 35 #include "base/posix/eintr_wrapper.h" 38 namespace base { [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/ |
D | default.build | 4 <property name="base.dir" value="${path::get-full-path( project::get-base-directory() )}" /> 17 <property name="src.dir" value="${base.dir}/" /> 18 <property name="test.src.dir" value="${base.dir}/../Antlr3.Runtime.Tests" /> 32 <!-- Copy Antlr3.Runtime.Tests dependencies --> 52 <!-- delete VS.NET project artifacts directory --> 53 <echo message="Deleting VS.NET artifacts directory '${base.dir}/bin'" /> 54 <delete dir="${base.dir}/bin" failonerror="false" /> 55 <echo message="Deleting VS.NET artifacts directory '${base.dir}/obj'" /> 56 <delete dir="${base.dir}/obj" failonerror="false" /> 58 <!-- delete VS.NET project artifacts directory for Tests projects--> [all …]
|
/external/cronet/base/ |
D | os_compat_android.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/os_compat_android.h" 14 #include "base/strings/string_util.h" 20 #include "base/files/file.h" 21 #include "base/numerics/safe_conversions.h" 22 #include "base/rand_util.h" 23 #include "base/strings/string_piece.h" 30 return base::checked_cast<int>(syscall(__NR_utimensat, fd, NULL, NULL, 0)); in futimes() 35 return -1; in futimes() 44 return base::checked_cast<int>(syscall(__NR_utimensat, fd, NULL, ts, 0)); in futimes() [all …]
|
/external/zlib/google/ |
D | zip.cc | 2 // Use of this source code is governed by a BSD-style license that can be 10 #include "base/bind.h" 11 #include "base/files/file.h" 12 #include "base/files/file_enumerator.h" 13 #include "base/files/file_util.h" 14 #include "base/logging.h" 15 #include "base/memory/ptr_util.h" 16 #include "base/strings/string_util.h" 26 bool IsHiddenFile(const base::FilePath& file_path) { in IsHiddenFile() 30 // Creates a directory at |extract_dir|/|entry_path|, including any parents. [all …]
|