/frameworks/base/core/java/android/database/sqlite/ |
SQLiteConnectionPool.java | 2 * Copyright (C) 2011 The Android Open Source Project 170 public static SQLiteConnectionPool open(SQLiteDatabaseConfiguration configuration) { method in class:SQLiteConnectionPool 177 pool.open(); // might throw 182 private void open() { method in class:SQLiteConnectionPool 183 // Open the primary connection. 188 // Mark the pool as being open for business. 190 mCloseGuard.open("close"); 295 // If we are changing open flags and WAL mode at the same time, then 297 // because there can only be one connection open when we change WAL mode. 302 // Try to reopen the primary connection using the new open flags the [all...] |
/hardware/qcom/display/msm8974/libexternal/ |
external.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 211 int spdFile = open(sysFsSPDFilePath, O_RDWR, 0); 289 hdmiScanInfoFile = open(sysFsScanInfoFilePath, O_RDONLY, 0); 408 int hdmiEDIDFile = open(sysFsEDIDFilePath, O_RDONLY, 0); 443 mFd = open(msmFbDevicePath[fbNum-1], O_RDWR); 681 int hdmiHPDFile = open(sysFsHPDFilePath,O_RDWR, 0);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pkgutil.py | 255 return open(pathname, "rb").read() 261 self.file = open(self.filename, 'rU') 263 self.file = open(self.filename, 'rb') 306 f = open(self.filename[:-1], 'rU') 542 f = open(pkgfile) 544 sys.stderr.write("Can't open %s: %s\n" % 572 data = open(os.path.join(d, resource), 'rb').read()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_posixpath.py | 95 f = open(test_support.TESTFN + "1", "wb") 112 f = open(test_support.TESTFN + "1", "wb") 140 f = open(test_support.TESTFN + "2", "wb") 155 f = open(test_support.TESTFN + "1", "wb") 179 f = open(test_support.TESTFN + "2", "wb")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pkgutil.py | 255 return open(pathname, "rb").read() 261 self.file = open(self.filename, 'rU') 263 self.file = open(self.filename, 'rb') 306 f = open(self.filename[:-1], 'rU') 542 f = open(pkgfile) 544 sys.stderr.write("Can't open %s: %s\n" % 572 data = open(os.path.join(d, resource), 'rb').read()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_posixpath.py | 95 f = open(test_support.TESTFN + "1", "wb") 112 f = open(test_support.TESTFN + "1", "wb") 140 f = open(test_support.TESTFN + "2", "wb") 155 f = open(test_support.TESTFN + "1", "wb") 179 f = open(test_support.TESTFN + "2", "wb")
|
/external/clang/tools/scan-build/ |
scan-build | 5 # This file is distributed under the University of Illinois Open Source 236 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 277 open (RIN, $fname) or die "cannot open $fname"; 278 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp"; 356 open(IN, "$Dir/$FName") or DieDiag("Cannot open '$Dir/$FName'\n"); 540 open IN, "$Dir/failures/$file" or DieDiag("cannot open $file\n") [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_basics.py | 58 self.env.open(self.homeDir, self.envflags | db.DB_CREATE) 68 # create and open the DB 80 self.d.open(self.filename, self.dbname, self.dbtype, 83 self.d.open(self.filename, # try out keyword args 199 self.d.open(self.filename, self.dbname) 201 self.d.open(self.filename) 680 # can't rename or remove an open DB 993 d2.open(self.filename, "second", self.dbtype, 996 d3.open(self.filename, "third", self.otherType(), 1015 d1.open(self.filename, self.dbname, flags = self.dbopenflags [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_basics.py | 58 self.env.open(self.homeDir, self.envflags | db.DB_CREATE) 68 # create and open the DB 80 self.d.open(self.filename, self.dbname, self.dbtype, 83 self.d.open(self.filename, # try out keyword args 199 self.d.open(self.filename, self.dbname) 201 self.d.open(self.filename) 680 # can't rename or remove an open DB 993 d2.open(self.filename, "second", self.dbtype, 996 d3.open(self.filename, "third", self.otherType(), 1015 d1.open(self.filename, self.dbname, flags = self.dbopenflags [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
MPLSensor.cpp | 295 /* open temperature fd for temp comp */ 297 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); 299 LOGE("HAL:could not open temperature node"); 311 fd = open(mpu.gyro_fsr, O_RDONLY); 331 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY); 347 /* open Factory Gyro Bias fd */ 353 gyro_x_offset_fd = open(mpu.in_gyro_x_offset, O_RDWR); 354 gyro_y_offset_fd = open(mpu.in_gyro_y_offset, O_RDWR); 355 gyro_z_offset_fd = open(mpu.in_gyro_z_offset, O_RDWR); 358 LOGE("HAL:could not open factory gyro calibrated bias") [all...] |
/external/ppp/pppd/ |
sys-linux.c | 459 /* Open an instance of /dev/ppp and connect the channel to it */ 465 fd = open("/dev/ppp", O_RDWR); 622 dbglog("in make_ppp_unit, already had /dev/ppp open?"); 625 ppp_dev_fd = open("/dev/ppp", O_RDWR); 627 fatal("Couldn't open /dev/ppp: %m"); 699 master_fd = open("/dev/ppp", O_RDWR); 701 fatal("Couldn't open /dev/ppp: %m"); [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
file_tasks.js | 226 if (taskParts[0] === id && (taskParts[2] === 'auto-open' || 227 taskParts[2] === 'select' || taskParts[2] === 'open')) { 247 } else if (taskParts[2] === 'open-hosted-generic') { 253 } else if (taskParts[2] === 'open-hosted-gdoc') { 256 } else if (taskParts[2] === 'open-hosted-gsheet') { 259 } else if (taskParts[2] === 'open-hosted-gslides') { 531 console.assert(entries.length === 1, 'Cannot open multiple videos'); 594 * Open the Gallery. 604 * The core implementation to open the Gallery. 686 galleryFrame.contentWindow.Gallery.open( [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
FileChannelTest.java | [all...] |
/build/tools/releasetools/ |
common.py | 1 # Copyright (C) 2008 The Android Open Source Project 295 cmd.append(open(fn).read().rstrip("\n")) 300 cmd.append(open(fn).read().rstrip("\n")) 305 cmd.append(open(fn).read().rstrip("\n")) 354 main file), open for reading. 389 devnull = open("/dev/null", "w+b") 685 f = open(self.pwfile, "w") 709 f = open(self.pwfile, "r") 823 f = open(diskname, "rb")
|
/external/chromium_org/chrome/browser/policy/test/ |
policy_testserver.py | 700 key_str = open(key_path).read() 735 file_contents = open(self.client_state_file).read() 749 policy = json.loads(open(self.policy_path).read(), strict=False) 835 open(self.client_state_file, 'w').write(json_data) 872 return open(base_filename + '.bin').read() 881 text = open(base_filename + '.txt').read() 900 return open(base_filename + '.data').read() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XMLHttpRequest.cpp | 513 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, ExceptionState& exceptionState) function in class:WebCore::XMLHttpRequest 515 open(method, url, true, exceptionState); 518 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, bool async, ExceptionState& exceptionState) function in class:WebCore::XMLHttpRequest 520 WTF_LOG(Network, "XMLHttpRequest %p open('%s', '%s', %d)", this, method.string().utf8().data(), url.elidedString().utf8().data(), async); 583 // when calling open several times in a row. 590 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, bool async, const String& user, ExceptionState& exceptionState) function in class:WebCore::XMLHttpRequest 595 open(method, urlWithCredentials, async, exceptionState); 598 void XMLHttpRequest::open(const AtomicString& method, const KURL& url, bool async, const String& user, const String& password, ExceptionState& exceptionState) function in class:WebCore::XMLHttpRequest 604 open(method, urlWithCredentials, async, exceptionState); [all...] |
/external/chromium_org/tools/linux/ |
procfs.py | 95 with open(os.path.join('/proc', str(pid), 'stat'), 'r') as stat_f: 151 with open(os.path.join('/proc', str(pid), 'statm'), 'r') as statm_f: 223 with open(os.path.join('/proc', str(pid), 'status'), 'r') as status_f: 333 with open(os.path.join('/proc', str(pid), 'maps'), 'r') as maps_f: 445 with open(os.path.join('/proc', str(pid), 'smaps'), 'r') as smaps_f: 558 pagemap_fd = os.open( 628 with open(os.path.join('/proc', str(self._pid), proc_file), 'r') as proc_f:
|
/external/mksh/src/ |
check.pl | 385 print STDERR "$prog: can't open directory $dir - $!\n"; 412 if (!open(IN, $file)) { 413 print STDERR "$prog: can't open $file - $!\n"; 526 if (!open(STDIN, "< $ifile")) { 527 print STDERR "$prog: couldn't open $ifile in child - $!\n"; 531 if (!open(STDOUT, "> $tempo")) { 532 print STDERR "$prog: couldn't open $tempo in child - $!\n"; 536 if (!open(STDERR, "> $tempe")) { 537 print STDOUT "$prog: couldn't open $tempe in child - $!\n"; 706 print STDERR "$prog: couldn't open directory $dir - $!\n" [all...] |
/external/openssh/ |
loginrec.c | 870 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) { 1095 if ((fd = open(WTMP_FILE, O_WRONLY|O_APPEND, 0)) < 0) { 1189 if ((fd = open(WTMP_FILE, O_RDONLY)) < 0) { 1267 if ((fd = open(WTMPX_FILE, O_WRONLY|O_APPEND, 0)) < 0) { [all...] |
/frameworks/base/core/jni/ |
android_util_Process.cpp | 3 ** Copyright 2006, The Android Open Source Project 197 fd = open(proc_path, O_RDONLY); 353 int fd = open(text, O_WRONLY); 380 int fd = open(text, O_WRONLY); 427 int fd = open("/proc/meminfo", O_RDONLY); 430 ALOGW("Unable to open /proc/meminfo"); 540 int fd = open(file.string(), O_RDONLY); 591 ALOGW("Unable to open %s", file.string()); 838 int fd = open(file8, O_RDONLY); 842 //ALOGW("Unable to open process file: %s\n", file8) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
DeviceView.java | 2 * Copyright (C) 2008 The Android Open Source Project 126 public final static String ACTION_OPEN = "hprof.open"; //$NON-NLS-1$ 195 open(tempPath); 245 open(tempFile.getAbsolutePath()); 261 private void open(String path) throws IOException, InterruptedException, PartInitException { method in class:DeviceView.HProfHandler 277 // before we open the file in an editor window, we make sure the 332 dlg.open(mDeviceList.getSelectedDevice()); 531 protected void open(String tempPath) { 533 super.open(tempPath); 606 if (dlg.open() != SystraceOptionsDialogV1.OK) [all...] |
/dalvik/dx/src/com/android/dx/merge/ |
DexMerger.java | 2 * Copyright (C) 2011 The Android Open Source Project 241 Dex.Section inA = aSection.exists() ? dexA.open(aSection.off) : null; 242 Dex.Section inB = bSection.exists() ? dexB.open(bSection.off) : null; 332 Dex.Section in = source.open(section.off); 620 Dex.Section setIn = in.open(section.off); 630 Dex.Section setIn = in.open(section.off); 640 Dex.Section directoryIn = in.open(section.off); 650 Dex.Section staticValuesIn = in.open(section.off); 831 transformDebugInfoItem(in.open(debugInfoOffset), indexMap); 854 Dex.Section triesSection = dexOut.open(codeOut.getPosition()) [all...] |
/external/chromium/testing/gmock/scripts/ |
upload.py | 31 # This code is derived from appcfg.py in the App Engine SDK (open source), 78 last_email_file = open(last_email_file_name, "r") 87 last_email_file = open(last_email_file_name, "w") 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 381 fd = os.open(self.cookie_file, os.O_CREAT, 0600) 846 file = open(filename, 'rb') [all...] |
/external/chromium/testing/gtest/scripts/ |
upload.py | 31 # This code is derived from appcfg.py in the App Engine SDK (open source), 78 last_email_file = open(last_email_file_name, "r") 87 last_email_file = open(last_email_file_name, "w") 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 381 fd = os.open(self.cookie_file, os.O_CREAT, 0600) 846 file = open(filename, 'rb') [all...] |
/external/chromium_org/testing/gtest/scripts/ |
upload.py | 31 # This code is derived from appcfg.py in the App Engine SDK (open source), 78 last_email_file = open(last_email_file_name, "r") 87 last_email_file = open(last_email_file_name, "w") 201 response = self.opener.open(req) 230 response = self.opener.open(req) 326 f = self.opener.open(req) 381 fd = os.open(self.cookie_file, os.O_CREAT, 0600) 846 file = open(filename, 'rb') [all...] |