HomeSort by relevance Sort by last modified time
    Searched defs:Open (Results 101 - 125 of 248) sorted by null

1 2 3 45 6 7 8 910

  /prebuilts/go/linux-x86/src/archive/zip/
reader.go 48 // OpenReader will open the Zip file specified by name and return a ReadCloser.
50 f, err := os.Open(name)
144 // Most callers should instead use Open, which transparently
154 // Open returns a ReadCloser that provides access to the File's contents.
156 func (f *File) Open() (io.ReadCloser, error) {
  /prebuilts/go/linux-x86/src/crypto/cipher/
gcm.go 17 // and Open.
33 // Open decrypts and authenticates ciphertext, authenticates the
44 Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error)
162 func (g *gcm) Open(dst, nonce, ciphertext, data []byte) ([]byte, error) {
  /prebuilts/go/linux-x86/src/os/
file.go 9 // if a call that takes a file name fails, such as Open or Stat, the error
18 // file, err := os.Open("file.go") // For read access.
23 // If the open fails, the error string will be self-explanatory, like
25 // open file.go: no such file or directory
44 // Name returns the name of the file as presented to Open.
47 // Stdin, Stdout, and Stderr are open Files pointing to the standard input,
62 O_RDONLY int = syscall.O_RDONLY // open the file read-only.
63 O_WRONLY int = syscall.O_WRONLY // open the file write-only.
64 O_RDWR int = syscall.O_RDWR // open the file read-write.
68 O_SYNC int = syscall.O_SYNC // open for synchronous I/O
    [all...]
  /system/extras/iotop/
taskstats.cpp 1 // Copyright (C) 2015 The Android Open Source Project
31 bool TaskstatsSocket::Open() {
40 LOG(FATAL) << nl_geterror(ret) << std::endl << "Unable to open netlink socket (are you root?)";
  /art/runtime/base/unix_file/
fd_file.cc 2 * Copyright (C) 2009 The Android Open Source Project
58 Open(path, flags, mode);
131 bool FdFile::Open(const std::string& path, int flags) {
132 return Open(path, flags, 0640);
135 bool FdFile::Open(const std::string& path, int flags, mode_t mode) {
139 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode));
359 int cur_fd = TEMP_FAILURE_RETRY(open(file_path_.c_str(), O_RDONLY));
  /device/google/dragon/bluetooth/
vendor_interface.cc 2 // Copyright 2016 The Android Open Source Project
167 return g_vendor_interface->Open(initialize_complete_cb, event_cb, acl_cb,
181 bool VendorInterface::Open(InitializeCompleteCallback initialize_complete_cb,
191 ALOGE("%s unable to open %s (%s)", __func__, VENDOR_LIBRARY_NAME,
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleFileSystem/
SimpleFileSystem.h 50 Open the root directory on a volume.
54 Root - Returns an Open file handle for the root directory
87 Open the root directory on a volume.
93 OpenMode - Open mode for file.
111 // Open modes
216 EFI_UNSUPPORT - Writes to Open directory are not supported
221 EFI_ACCESS_DENIED - The file was open for read only
244 EFI_UNSUPPORTED - Seek request for non-zero is not valid on open.
266 EFI_UNSUPPORTED - Seek request for non-zero is not valid on open.
298 EFI_ACCESS_DENIED - The file was open for read only
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/
AcpiSdt.c 25 Open,
518 // Do not open NameString as handle
559 Open (
961 // Great! Find it, open
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
AcpiSystemDescriptionTable.h 255 EFI_ACPI_OPEN Open;
SimpleFileSystem.h 46 Open the root directory on a volume.
48 @param This A pointer to the volume to open the root directory.
93 handle to the source location. This would typically be an open
100 @param OpenMode The mode to open the file. The only valid combinations that the
112 @retval EFI_WRITE_PROTECTED An attempt was made to create a file, or open a file for write
115 @retval EFI_OUT_OF_RESOURCES Not enough resources were available to open the file.
130 // Open modes
216 @retval EFI_UNSUPPORTED Writes to open directory files are not supported.
242 @retval EFI_UNSUPPORTED The seek request for nonzero is not valid on open
262 @retval EFI_UNSUPPORTED The request is not valid on open directories.
    [all...]
  /external/chromium-trace/catapult/tracing/tracing/trace_data/
trace_data.py 215 def Open(self):
247 with open(self._file_path) as f:
  /external/libbrillo/brillo/streams/
file_stream.cc 208 StreamPtr FileStream::Open(const base::FilePath& path,
242 int fd = HANDLE_EINTR(open(path.value().c_str(), open_flags, creation_mode));
264 // below and pass just the temp directory path to open(), so the actual file
267 // a temp file first and then open it.
274 int fd = HANDLE_EINTR(open(path.value().c_str(), open_flags, creation_mode));
  /external/libchrome/base/memory/
shared_memory_posix.cc 63 // It doesn't make sense to have a open-existing private piece of shmem
91 // Also open as readonly so that we can ShareReadOnlyToProcess.
92 readonly_fd->reset(HANDLE_EINTR(open(path->value().c_str(), O_RDONLY)));
94 DPLOG(ERROR) << "open(\"" << path->value() << "\", O_RDONLY) failed";
233 open(path.value().c_str(), O_RDWR | O_CREAT | O_EXCL, kOwnerOnly));
235 // If this doesn't work, try and open an existing file in append mode.
241 // is opened, so O_NOFOLLOW is passed to open().
243 open(path.value().c_str(), O_RDWR | O_APPEND | O_NOFOLLOW));
265 // Also open as readonly so that we can ShareReadOnlyToProcess.
266 readonly_fd.reset(HANDLE_EINTR(open(path.value().c_str(), O_RDONLY)))
    [all...]
  /external/libchrome/base/process/
process_posix.cc 249 Process Process::Open(ProcessId pid) {
260 return Open(pid);
  /external/libmojo/base/android/linker/
legacy_linker_jni.cc 104 if (!opener.Open(library.GetPtr(), library_name, context)) {
128 bool Open(crazy_library_t** library,
133 bool FileLibraryOpener::Open(crazy_library_t** library,
137 LOG_ERROR("Could not open %s: %s",
148 bool Open(crazy_library_t** library,
155 bool ZipLibraryOpener::Open(crazy_library_t** library,
162 LOG_ERROR("Could not open %s in zip file %s: %s",
  /external/lzma/CPP/7zip/Archive/
SplitHandler.cpp 251 STDMETHODIMP CHandler::Open(IInStream *stream, const UInt64 *, IArchiveOpenCallback *callback)
  /external/lzma/CPP/Windows/
FileIO.cpp 311 bool CInFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes)
319 { return Open(fileName, FILE_SHARE_READ | (shareForWrite ? FILE_SHARE_WRITE : 0), OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL); }
321 bool CInFile::Open(CFSTR fileName)
374 bool COutFile::Open(CFSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes)
377 bool COutFile::Open(CFSTR fileName, DWORD creationDisposition)
378 { return Open(fileName, FILE_SHARE_READ, creationDisposition, FILE_ATTRIBUTE_NORMAL); }
381 { return Open(fileName, GetCreationDisposition(createAlways)); }
384 { return Open(fileName, FILE_SHARE_READ, GetCreationDisposition(true), flagsAndAttributes); }
Registry.cpp 40 LONG CKey::Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask) throw()
76 LONG res = key.Open(_object, subKeyName, KEY_READ | KEY_WRITE);
  /external/protobuf/src/google/protobuf/compiler/
importer.cc 128 google::protobuf::scoped_ptr<io::ZeroCopyInputStream> input(source_tree_->Open(filename));
416 // Verify that we can open the file. Note that this also has the side-effect
434 io::ZeroCopyInputStream* DiskSourceTree::Open(const string& filename) {
483 file_descriptor = open(filename.c_str(), O_RDONLY);
importer_unittest.cc 104 io::ZeroCopyInputStream* Open(const string& filename) {
271 google::protobuf::scoped_ptr<io::ZeroCopyInputStream> input(source_tree_.Open(filename));
288 google::protobuf::scoped_ptr<io::ZeroCopyInputStream> input(source_tree_.Open(filename));
335 // Test that we cannot open files in a parent of a mapped directory.
  /external/swiftshader/third_party/LLVM/utils/TableGen/
RegisterInfoEmitter.cpp 5 // This file is distributed under the University of Illinois Open Source
764 bool Open = false;
768 if (!Open) {
771 Open = true;
777 if (Open)
  /external/v4l2_codec2/vda/
v4l2_device.cc 216 bool V4L2Device::Open(Type type, uint32_t v4l2_pixfmt) {
389 HANDLE_EINTR(open(path.c_str(), O_RDWR | O_NONBLOCK | O_CLOEXEC)));
421 // devices are actually available. Try to open the first 10; if not present,
422 // we will just fail to open immediately.
  /external/webrtc/webrtc/base/
filerotatingstream.cc 151 std::cerr << "Open() must be called before Write." << std::endl;
204 bool FileRotatingStream::Open() {
208 // if we fail to open next file.
227 std::cerr << "Open() must be called before DisableBuffering()."
258 if (!file_stream_->Open(file_path, mode, &error)) {
259 std::cerr << "Failed to open: " << file_path << "Error: " << error
win32regkey.cc 48 HRESULT RegKey::Open(HKEY parent_key, const wchar_t* key_name) {
49 return Open(parent_key, key_name, KEY_ALL_ACCESS);
286 HRESULT RegKey::Open(HKEY parent_key,
319 HRESULT hr = key.Open(h_key, key_name.c_str(), KEY_READ);
344 HRESULT hr = key.Open(h_key, key_name.c_str(), KEY_WRITE);
361 HRESULT hr = key.Open(h_key_, key_name, KEY_READ);
447 hr = key.Open(h_key, key_name.c_str(), KEY_READ);
750 HRESULT hr = key.Open(h_key, key_name.c_str(), KEY_READ);
768 if (key.Open(h_key, key_name.c_str(), KEY_READ) == S_OK) {
788 HRESULT hr = key.Open(h_key, key_name.c_str(), KEY_READ)
    [all...]
  /hardware/interfaces/bluetooth/1.0/default/
vendor_interface.cc 2 // Copyright 2016 The Android Open Source Project
170 return g_vendor_interface->Open(initialize_complete_cb, event_cb, acl_cb,
184 bool VendorInterface::Open(InitializeCompleteCallback initialize_complete_cb,
194 ALOGE("%s unable to open %s (%s)", __func__, VENDOR_LIBRARY_NAME,

Completed in 745 milliseconds

1 2 3 45 6 7 8 910