/prebuilts/go/darwin-x86/src/crypto/aes/ |
modes_test.go | 47 func (*testAEAD) Open(a, b, c, d []byte) ([]byte, error) { return []byte{}, nil }
|
/prebuilts/go/darwin-x86/src/debug/macho/ |
file.go | 19 // A File represents an open Mach-O file. 66 // Open() to avoid fighting over the seek offset 82 // Open returns a new ReadSeeker reading the segment. 83 func (s *Segment) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } 104 // Open() to avoid fighting over the seek offset 120 // Open returns a new ReadSeeker reading the Mach-O section. 121 func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } 167 // Open opens the named file using os.Open and prepares it for use as a Mach-O binary. 168 func Open(name string) (*File, error) [all...] |
/prebuilts/go/linux-x86/src/cmd/pprof/internal/plugin/ |
plugin.go | 44 // Open opens the named object file. 47 Open(file string, start uint64) (ObjFile, error) 64 // Open returns an error indicating that the requested file does not exist. 74 func (noObjTool) Open(file string, start uint64) (ObjFile, error) { 75 return nil, &os.PathError{Op: "open", Path: file, Err: os.ErrNotExist}
|
/prebuilts/go/linux-x86/src/cmd/pprof/ |
pprof.go | 135 func (*objTool) Open(name string, start uint64) (plugin.ObjFile, error) { 136 of, err := objfile.Open(name) 179 f, err := objfile.Open(file)
|
/prebuilts/go/linux-x86/src/crypto/aes/ |
aes_gcm.go | 133 // Open authenticates and decrypts ciphertext. See the cipher.AEAD interface 135 func (g *gcmAsm) Open(dst, nonce, ciphertext, data []byte) ([]byte, error) {
|
gcm_s390x.go | 230 // Open authenticates and decrypts ciphertext. See the cipher.AEAD interface 232 func (g *gcmAsm) Open(dst, nonce, ciphertext, data []byte) ([]byte, error) {
|
modes_test.go | 47 func (*testAEAD) Open(a, b, c, d []byte) ([]byte, error) { return []byte{}, nil }
|
/prebuilts/go/linux-x86/src/debug/macho/ |
file.go | 19 // A File represents an open Mach-O file. 66 // Open() to avoid fighting over the seek offset 82 // Open returns a new ReadSeeker reading the segment. 83 func (s *Segment) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } 104 // Open() to avoid fighting over the seek offset 120 // Open returns a new ReadSeeker reading the Mach-O section. 121 func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } 167 // Open opens the named file using os.Open and prepares it for use as a Mach-O binary. 168 func Open(name string) (*File, error) [all...] |
/system/update_engine/payload_consumer/ |
mtd_file_descriptor.cc | 2 // Copyright (C) 2014 The Android Open Source Project 104 bool MtdFileDescriptor::Open(const char* path, int flags, mode_t mode) { 107 // But we need to open the underlying file descriptor in O_RDWR mode because 115 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode)); 132 bool MtdFileDescriptor::Open(const char* path, int flags) { 135 return Open(path, flags, 0777 & ~cur); 177 bool UbiFileDescriptor::Open(const char* path, int flags, mode_t mode) { 186 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode)); 211 bool UbiFileDescriptor::Open(const char* path, int flags) { 214 return Open(path, flags, 0777 & ~cur) [all...] |
/test/vts/drivers/hal/libcodecoverage/ |
GcdaFile.cpp | 2 * Copyright 2016 The Android Open Source Project 29 bool GcdaFile::Open() {
|
/art/runtime/ |
vdex_file.cc | 2 * Copyright (C) 2016 The Android Open Source Project 58 std::unique_ptr<VdexFile> VdexFile::Open(const std::string& vdex_filename, 75 *error_msg = "Could not open file " + vdex_filename + 86 return Open(vdex_file->Fd(), vdex_length, vdex_filename, writable, low_4gb, unquicken, error_msg); 89 std::unique_ptr<VdexFile> VdexFile::Open(int file_fd, 155 std::unique_ptr<const DexFile> dex(DexFile::Open(dex_file_start,
|
zip_archive.cc | 2 * Copyright (C) 2008 The Android Open Source Project 192 // This dance is more portable than Linux's O_CLOEXEC open(2) flag. 205 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) {
|
/build/soong/third_party/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) {
|
/cts/tests/tests/media/libndkaudio/ |
AudioRecorder.cpp | 2 * Copyright (C) 2016 The Android Open Source Project 87 void AudioRecorder::Open(int numChannels, AudioSink* sink) { 90 // __android_log_print(ANDROID_LOG_INFO, TAG, "AudioRecorder::Open() - numChannels:%d", numChannels);
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.h | 68 bool Open(CFSTR fileName)
70 return File.Open(fileName);
124 bool Open(CFSTR fileName, DWORD creationDisposition)
127 return File.Open(fileName, creationDisposition);
|
/external/lzma/CPP/Windows/ |
Synchronization.h | 35 WRes Open(DWORD desiredAccess, bool inheritHandle, LPCTSTR name)
104 WRes Open(DWORD desiredAccess, bool inheritHandle, LPCTSTR name)
|
/external/v8/src/compiler/ |
memory-optimizer.h | 73 static AllocationState const* Open(AllocationGroup* group, int size,
|
/external/vixl/src/ |
code-generation-scopes-vixl.h | 64 // This constructor implicitly calls `Open` to initialise the scope 72 Open(assembler, size, check_policy, size_policy); 76 // user is required to explicitly call the `Open` function before using the 85 void Open(internal::AssemblerBase* assembler, 150 // This constructor implicitly calls `Open` (when `masm` is not `NULL`) to 156 Open(masm, size, size_policy); 160 // user is required to explicitly call the `Open` function before using the 168 // on `Open` either. 170 // Force pools to be generated on `Open` if necessary and block their 177 void Open(MacroAssemblerInterface* masm [all...] |
/external/webrtc/webrtc/base/ |
linux.cc | 39 if (!procfs.Open(kCpuInfoFile)) { 175 bool ConfigParser::Open(const std::string& filename) { 177 if (!fs->Open(filename, "r", NULL)) { 254 if (!fs.Open(kCpuMaxFreqFile, "r", NULL) ||
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
RTPFile.cc | 124 void RTPFile::Open(const char *filename, const char *mode) {
|
/frameworks/native/services/vr/virtual_touchpad/ |
EvdevInjector.cpp | 14 int EvdevInjector::UInput::Open() { 16 fd_.reset(open("/dev/uinput", O_WRONLY | O_NONBLOCK)); 18 ALOGE("couldn't open uinput (r=%d errno=%d)", fd_.get(), errno); 80 if (const int status = uinput_->Open()) {
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
encodedstreamtest.cpp | 1 // Tencent is pleased to support the open source community by making RapidJSON available.
43 static FILE* Open(const char* filename) {
62 FILE *fp = appendPath ? Open(filename) : fopen(filename, "rb");
84 FILE *fp = Open(filename);
124 FILE *fp = Open(filename);
|
/prebuilts/go/darwin-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/darwin-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/darwin-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...] |