/external/python/cpython3/Lib/tkinter/ |
filedialog.py | 35 else: ...open file... 280 # - initialfile: initial file (ignored by the open dialog). preserved 325 class Open(_Dialog): 326 "Ask for a filename to open" 373 "Ask for a filename to open" 375 return Open(**options).show() 383 """Ask for multiple filenames to open 389 return Open(**options).show() 394 "Ask for a filename to open, and returned the opened file" 396 filename = Open(**options).show( [all...] |
/external/tensorflow/tensorflow/core/lib/db/ |
sqlite.cc | 42 case SQLITE_CANTOPEN: // Unable to open the database file 113 Status Sqlite::Open(const string& path, int flags, Sqlite** db) { 119 return PrintfStatus(rc, "Sqlite::Open(%s) failed: %s", path.c_str(),
|
/external/tensorflow/tensorflow/core/lib/io/ |
table.cc | 41 Status Table::Open(const Options& options, RandomAccessFile* file, uint64 size,
|
/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 | 49 // OpenReader will open the Zip file specified by name and return a ReadCloser. 51 f, err := os.Open(name) 145 // Most callers should instead use Open, which transparently 155 // Open returns a ReadCloser that provides access to the File's contents. 157 func (f *File) Open() (io.ReadCloser, error) {
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/cache/ |
cache.go | 38 // Open opens and returns the cache in the given directory. 50 func Open(dir string) (*Cache, error) { 56 return nil, &os.PathError{Op: "open", Path: dir, Err: fmt.Errorf("not a directory")} 145 f, err := os.Open(c.fileName(id, "a")) 281 f, err := os.Open(subdir) 384 if f, err := os.Open(name); err == nil {
|
/prebuilts/go/darwin-x86/src/crypto/aes/ |
gcm_s390x.go | 239 // Open authenticates and decrypts ciphertext. See the cipher.AEAD interface 241 func (g *gcmAsm) Open(dst, nonce, ciphertext, data []byte) ([]byte, error) { 331 // Open authenticates and decrypts ciphertext. See the cipher.AEAD interface 333 func (g *gcmKMA) Open(dst, nonce, ciphertext, data []byte) ([]byte, 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 48 // Name returns the name of the file as presented to Open. 51 // Stdin, Stdout, and Stderr are open Files pointing to the standard input, 67 O_RDONLY int = syscall.O_RDONLY // open the file read-only. 68 O_WRONLY int = syscall.O_WRONLY // open the file write-only. 69 O_RDWR int = syscall.O_RDWR // open the file read-write. 74 O_SYNC int = syscall.O_SYNC // open for synchronous I/O [all...] |
/prebuilts/go/linux-x86/src/archive/zip/ |
reader.go | 49 // OpenReader will open the Zip file specified by name and return a ReadCloser. 51 f, err := os.Open(name) 145 // Most callers should instead use Open, which transparently 155 // Open returns a ReadCloser that provides access to the File's contents. 157 func (f *File) Open() (io.ReadCloser, error) {
|
/prebuilts/go/linux-x86/src/cmd/go/internal/cache/ |
cache.go | 38 // Open opens and returns the cache in the given directory. 50 func Open(dir string) (*Cache, error) { 56 return nil, &os.PathError{Op: "open", Path: dir, Err: fmt.Errorf("not a directory")} 145 f, err := os.Open(c.fileName(id, "a")) 281 f, err := os.Open(subdir) 384 if f, err := os.Open(name); err == nil {
|
/prebuilts/go/linux-x86/src/crypto/aes/ |
gcm_s390x.go | 239 // Open authenticates and decrypts ciphertext. See the cipher.AEAD interface 241 func (g *gcmAsm) Open(dst, nonce, ciphertext, data []byte) ([]byte, error) { 331 // Open authenticates and decrypts ciphertext. See the cipher.AEAD interface 333 func (g *gcmKMA) Open(dst, nonce, ciphertext, data []byte) ([]byte, 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 48 // Name returns the name of the file as presented to Open. 51 // Stdin, Stdout, and Stderr are open Files pointing to the standard input, 67 O_RDONLY int = syscall.O_RDONLY // open the file read-only. 68 O_WRONLY int = syscall.O_WRONLY // open the file write-only. 69 O_RDWR int = syscall.O_RDWR // open the file read-write. 74 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() { 41 LOG(ERROR) << nl_geterror(ret) << std::endl << "Unable to open netlink socket (are you root?)";
|
/art/libartbase/base/unix_file/ |
fd_file.cc | 2 * Copyright (C) 2009 The Android Open Source Project 59 Open(path, flags, mode); 132 bool FdFile::Open(const std::string& path, int flags) { 133 return Open(path, flags, 0640); 136 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { 140 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); 365 int cur_fd = TEMP_FAILURE_RETRY(open(file_path_.c_str(), O_RDONLY));
|
/art/libdexfile/dex/ |
dex_file_loader.cc | 2 * Copyright (C) 2017 The Android Open Source Project 114 static DexZipArchive* Open(const uint8_t* base, size_t size, std::string* error_msg) { 219 std::unique_ptr<const DexFile> DexFileLoader::Open(const uint8_t* base, 274 DCHECK(dex_files != nullptr) << "DexFile::Open: out-param is nullptr"; 277 std::unique_ptr<DexZipArchive> zip_archive(DexZipArchive::Open(base, size, error_msg)); 291 std::unique_ptr<const DexFile> dex_file(Open(base, 359 *error_msg = StringPrintf("Failed to open dex file '%s' from memory: %s", location.c_str(), 443 // (types, classes, methods, ...) and dex caches. So warn the user that we open a zip with what 486 LOG(WARNING) << "Zip open failed: " << *error_msg;
|
/art/runtime/ |
vdex_file.h | 2 * Copyright (C) 2016 The Android Open Source Project 183 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename, 199 static std::unique_ptr<VdexFile> Open(int file_fd, 278 // Open all the dex files contained in this vdex file.
|
/build/soong/finder/fs/ |
fs.go | 52 Open(name string) (file io.ReadCloser, err error) 96 func (osFs) Open(name string) (io.ReadCloser, error) { return os.Open(name) } 302 Op: "open", 309 Op: "open", 316 Op: "open", 345 func (m *MockFs) Open(path string) (io.ReadCloser, error) {
|
/device/google/cuttlefish_common/guest/hals/audio/ |
vsoc_audio.cpp | 2 * Copyright (C) 2016 The Android Open Source Project 114 int rval = GceAudioInputStream::Open( 163 rval = GceAudioOutputStream::Open( 284 int GceAudio::Open(const hw_module_t* module, const char* name,
|