/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ |
fstream | 208 * @brief Does not open any files. 224 * @brief Returns true if the external file is open. 233 * @param __mode The open mode flags. 236 * If a file is already open, this function immediately fails. 237 * Otherwise it tries to open the file named @a __s using the flags 270 open(const char* __s, ios_base::openmode __mode); 276 * @param __mode The open mode flags. 280 open(const std::string& __s, ios_base::openmode __mode) 281 { return open(__s.c_str(), __mode); } 288 * If no file is currently open, this function immediately fails [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ |
fstream | 208 * @brief Does not open any files. 224 * @brief Returns true if the external file is open. 233 * @param __mode The open mode flags. 236 * If a file is already open, this function immediately fails. 237 * Otherwise it tries to open the file named @a __s using the flags 270 open(const char* __s, ios_base::openmode __mode); 276 * @param __mode The open mode flags. 280 open(const std::string& __s, ios_base::openmode __mode) 281 { return open(__s.c_str(), __mode); } 288 * If no file is currently open, this function immediately fails [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ |
fstream | 208 * @brief Does not open any files. 224 * @brief Returns true if the external file is open. 233 * @param __mode The open mode flags. 236 * If a file is already open, this function immediately fails. 237 * Otherwise it tries to open the file named @a __s using the flags 270 open(const char* __s, ios_base::openmode __mode); 276 * @param __mode The open mode flags. 280 open(const std::string& __s, ios_base::openmode __mode) 281 { return open(__s.c_str(), __mode); } 288 * If no file is currently open, this function immediately fails [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/ |
test_early_close.py | 34 dbenv.open(self.homeDir, 40 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 42 self.assertRaises(db.DBNoSuchFileError, d2.open, 52 dbenv.open(self.homeDir, 57 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 71 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 83 d.open(path, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 98 dbenv.open(self.homeDir, 105 i.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 134 dbenv.open(self.homeDir [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/ |
test_early_close.py | 34 dbenv.open(self.homeDir, 40 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 42 self.assertRaises(db.DBNoSuchFileError, d2.open, 52 dbenv.open(self.homeDir, 57 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 71 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 83 d.open(path, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 98 dbenv.open(self.homeDir, 105 i.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 134 dbenv.open(self.homeDir [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ |
fstream | 208 * @brief Does not open any files. 224 * @brief Returns true if the external file is open. 233 * @param __mode The open mode flags. 236 * If a file is already open, this function immediately fails. 237 * Otherwise it tries to open the file named @a __s using the flags 272 open(const char* __s, ios_base::openmode __mode); 278 * @param __mode The open mode flags. 282 open(const std::string& __s, ios_base::openmode __mode) 283 { return open(__s.c_str(), __mode); } 290 * If no file is currently open, this function immediately fails [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_early_close.py | 34 dbenv.open(self.homeDir, 40 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 42 self.assertRaises(db.DBNoSuchFileError, d2.open, 52 dbenv.open(self.homeDir, 57 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 71 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 83 d.open(path, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 98 dbenv.open(self.homeDir, 105 i.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 134 dbenv.open(self.homeDir [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_early_close.py | 34 dbenv.open(self.homeDir, 40 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 42 self.assertRaises(db.DBNoSuchFileError, d2.open, 52 dbenv.open(self.homeDir, 57 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 71 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 83 d.open(path, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 98 dbenv.open(self.homeDir, 105 i.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 134 dbenv.open(self.homeDir [all...] |
/system/vold/ |
Loop.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 52 if ((fd = open(filename, O_RDWR | O_CLOEXEC)) < 0) { 54 SLOGE("Unable to open %s (%s)", filename, strerror(errno)); 96 if ((fd = open(filename, O_RDWR | O_CLOEXEC)) < 0) { 98 SLOGE("Unable to open %s (%s)", filename, strerror(errno)); 172 if ((fd = open(filename, O_RDWR | O_CLOEXEC)) < 0) { 173 SLOGE("Unable to open %s (%s)", filename, strerror(errno)); 200 if ((file_fd = open(loopFile, O_RDWR | O_CLOEXEC)) < 0) { 201 SLOGE("Unable to open %s (%s)", loopFile, strerror(errno)); 235 device_fd = open(loopDevice, O_RDONLY | O_CLOEXEC) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_daisy_chain_wrapper.py | 88 with open(file_path, 'wb') as upload_stream: 98 with open(self.test_data_file, 'rb') as stream: 115 with open(upload_file, 'rb') as upload_stream: 116 with open(self.test_data_file, 'rb') as download_stream: 123 with open(self.test_data_file, 'rb') as stream: 140 with open(upload_file, 'rb') as upload_stream: 141 with open(self.test_data_file, 'rb') as download_stream: 147 with open(self.test_data_file, 'rb') as stream: 162 with open(upload_file, 'rb') as upload_stream: 163 with open(self.test_data_file, 'rb') as download_stream [all...] |
/external/gptfdisk/ |
diskio-windows.cc | 50 // Open the currently on-record file for reading 54 if (isOpen) { // file is already open 81 // An extended file-open function. This includes some system-specific checks. 82 // Returns 1 if the file is open, 0 otherwise.... 87 // Close the disk, in case it's already open for reading only.... 90 // try to open the device; may fail.... 130 // If disk isn't open, try to open it.... 167 // If disk isn't open, try to open it... [all...] |
diskio-unix.cc | 44 // Open the currently on-record file for reading. Returns 1 if the file is 45 // already open or is opened by this call, 0 if opening the file doesn't 51 if (isOpen) { // file is already open 60 fd = open(realFilename.c_str(), O_RDONLY); 94 // An extended file-open function. This includes some system-specific checks. 95 // Returns 1 if the file is open, 0 otherwise.... 100 // Close the disk, in case it's already open for reading only.... 103 // try to open the device; may fail.... 104 fd = open(realFilename.c_str(), O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); 109 fd = open(realFilename.c_str(), O_WRONLY | O_SHLOCK) [all...] |
/external/icu/icu4c/source/i18n/ |
regexcst.txt | 69 '[' n set-open ^set-finish doSetBegin 70 '(' n open-paren 90 '{' n interval-open doIntervalInit 91 '(' n open-paren-quant 106 # open-paren-quant Special case handling for comments appearing before a quantifier, 108 # Open parens from expr-quant come here; anything but a (?# comment 111 open-paren-quant: 112 '?' n open-paren-quant2 doSuppressComments 113 default open-paren 115 open-paren-quant2 [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/ |
Test.pm | 21 open my $in, '<', $filename or die "Can't open $filename: $!"; 31 open my $out, '>', $filename or die "Can't open $filename: $!"; 115 open my $old_out, '>&STDOUT' or die "Can't capture stdout: $!"; 117 open STDOUT, '>', 'out.tmp' or die "Can't redirect stdout: $!"; 119 open my $old_err, '>&STDERR' or die "Can't capture stderr: $!"; 121 open STDERR, '>', 'err.tmp' or die "Can't redirect stderr: $!"; 129 open STDERR, '>&', $old_err or die "Can't restore stderr: $!"; 135 open STDOUT, '>&', $old_out or die "Can't restore stdout: $!" [all...] |
/external/apache-http/src/org/apache/http/impl/ |
SocketHttpClientConnection.java | 65 private volatile boolean open; field in class:SocketHttpClientConnection 73 if (this.open) { 74 throw new IllegalStateException("Connection is already open"); 79 if (!this.open) { 80 throw new IllegalStateException("Connection is not open"); 116 this.open = true; 120 return this.open; 185 this.open = false; 193 if (!this.open) { 196 this.open = false [all...] |
SocketHttpServerConnection.java | 65 private volatile boolean open; field in class:SocketHttpServerConnection 73 if (this.open) { 74 throw new IllegalStateException("Connection is already open"); 79 if (!this.open) { 80 throw new IllegalStateException("Connection is not open"); 114 this.open = true; 122 return this.open; 183 this.open = false; 191 if (!this.open) { 194 this.open = false [all...] |
/external/autotest/client/deps/fakegudev/src/ |
fakesyscalls.c | 21 /* The purpose of this library is to override the open/creat syscalls to 29 * Here, <path1> etc are the absolute paths to files for which open/close should 47 * simultaneously call open/creat for the first time, internal data-structures 49 * It is safe to have subsequent calls to open/creat be concurrent. 84 static const char *k_func_open = "open"; 190 open (const char *pathname, int flags, ...) function 215 "Redirect: open (%s, %d, %d) --> open (%s, %d, %d)", 220 "Redirect: open (%s, %d) --> open (%s, %d)" [all...] |
/external/clang/lib/Basic/ |
FileSystemStatCache.cpp | 5 // This file is distributed under the University of Illinois Open Source 65 // because it wants to turn around and *open* it. It is more efficient to 66 // do "open+fstat" on success than it is to do "stat+open". 68 // Because of this, check to see if the file exists with 'open'. If the 69 // open succeeds, use fstat to get the stat info. 73 // If the open fails, our "stat" fails. 76 // Otherwise, the open succeeded. Do an fstat to get the information 77 // about the file. We'll end up returning the open file descriptor to the 85 // fstat rarely fails. If it does, claim the initial open didn' [all...] |
/external/webrtc/talk/app/webrtc/ |
sctputils.cc | 58 LOG(LS_WARNING) << "Could not read OPEN message type."; 73 LOG(LS_WARNING) << "Could not read OPEN message type."; 77 LOG(LS_WARNING) << "Data Channel OPEN message of unexpected type: " 84 LOG(LS_WARNING) << "Could not read OPEN message channel type."; 90 LOG(LS_WARNING) << "Could not read OPEN message reliabilility prioirty."; 95 LOG(LS_WARNING) << "Could not read OPEN message reliabilility param."; 100 LOG(LS_WARNING) << "Could not read OPEN message label length."; 105 LOG(LS_WARNING) << "Could not read OPEN message protocol length."; 109 LOG(LS_WARNING) << "Could not read OPEN message label"; 113 LOG(LS_WARNING) << "Could not read OPEN message protocol." [all...] |
/frameworks/base/media/java/android/media/midi/ |
MidiDevice.java | 2 * Copyright (C) 2014 The Android Open Source Project 65 mGuard.open("close"); 103 mGuard.open("close"); 116 * Called to open a {@link MidiInputPort} for the specified port number. 120 * A {@link MidiDeviceStatus} can be used to determine if an input port is already open. 122 * @param portNumber the number of the input port to open 123 * @return the {@link MidiInputPort} if the open is successful, 144 * Called to open a {@link MidiOutputPort} for the specified port number. 148 * @param portNumber the number of the output port to open 149 * @return the {@link MidiOutputPort} if the open is successful [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CameraOps2.java | 2 * Copyright (C) 2014 The Android Open Source Project 97 * Attempt to open a camera device. Returns false if the open call cannot be 98 * made or the device is already open 100 * @param cameraId id of the camera to open 102 * @return true if open call was sent successfully. The client needs to wait 103 * for its listener to be called to determine if open will succeed. 108 TLog.e("Camera %s is already open", cameraId); 136 TLog.e("Unable to open camera %s.", e, cameraId); 209 TLog.i("Camera %s now open", camera.getId()) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
uu.py | 45 # If in_file is a pathname open it and change defaults 59 in_file = open(in_file, 'rb') 62 # Open out_file if it is a pathname 67 out_file = open(out_file, 'wb') 93 # Open the input file, if needed. 99 in_file = open(in_file) 125 # Open the output file 130 fp = open(out_file, 'wb') 181 output = open(output, 'w') 189 input = open(input, 'r' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
uu.py | 45 # If in_file is a pathname open it and change defaults 59 in_file = open(in_file, 'rb') 62 # Open out_file if it is a pathname 67 out_file = open(out_file, 'wb') 93 # Open the input file, if needed. 99 in_file = open(in_file) 125 # Open the output file 130 fp = open(out_file, 'wb') 181 output = open(output, 'w') 189 input = open(input, 'r' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
uu.py | 45 # If in_file is a pathname open it and change defaults 59 in_file = open(in_file, 'rb') 62 # Open out_file if it is a pathname 67 out_file = open(out_file, 'wb') 93 # Open the input file, if needed. 99 in_file = open(in_file) 125 # Open the output file 130 fp = open(out_file, 'wb') 181 output = open(output, 'w') 189 input = open(input, 'r' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
uu.py | 45 # If in_file is a pathname open it and change defaults 59 in_file = open(in_file, 'rb') 62 # Open out_file if it is a pathname 67 out_file = open(out_file, 'wb') 93 # Open the input file, if needed. 99 in_file = open(in_file) 125 # Open the output file 130 fp = open(out_file, 'wb') 181 output = open(output, 'w') 189 input = open(input, 'r' [all...] |