/frameworks/base/libs/androidfw/ |
BackupHelpers.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 302 int fd = open(realFilename, O_RDONLY); 364 // we compute the crc32 later down below, when we already have the file open. 400 int fd = open(g.file.string(), O_RDONLY); 402 // We can't open the file. Don't report it as a delete either. Let the 405 LOGP("Unable to open file %s - skipping", g.file.string()); 540 int fd = open(filepath.string(), O_RDONLY); 543 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string()); 776 fd = open(filename.string(), O_CREAT|O_RDWR|O_TRUNC, mode); 778 ALOGW("Could not open file %s -- %s", filename.string(), strerror(errno)) [all...] |
/system/vold/ |
VolumeManager.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 384 int sbfd = open(loopDevice, O_RDWR); 386 SLOGE("Failed to open new DM device for superblock write (%s)", strerror(errno)); 480 int dirfd = open(mountPoint, O_DIRECTORY); 632 int fd = open(ftsent->fts_accpath, O_NOFOLLOW); 634 SLOGE("Couldn't open file %s: %s", ftsent->fts_accpath, strerror(errno)); 651 int dirfd = open(mountPoint, O_DIRECTORY); 953 int dirfd = open(dir, O_DIRECTORY); 955 SLOGE("Couldn't open internal ASEC dir (%s)", strerror(errno)); [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
testbase.py | 199 grammar = open(grammarPath, 'r').read() 378 fp = open(grammarPath, 'w') 389 fp = open(path, 'w')
|
/external/chromium/sdch/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 78 rem open-vcdiff Issue 7 79 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=7) 211 rem open-vcdiff Issue 6 212 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=6) 411 rem open-vcdiff Issue 8 412 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=8)
|
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
goobspatch.c | 281 if ((fd = open(path, O_RDONLY)) < 0) 282 err(1, "open(%s)", tag); 384 /* Open patch file */ 446 if(((fd=open(argv[1],O_RDONLY,0))<0) || 514 if(((fd=open(argv[2],O_CREAT|O_TRUNC|O_WRONLY,0644))<0) || 516 err(1,"open/write/close(%s)",argv[2]);
|
/external/chromium_org/components/policy/tools/ |
syntax_check_policy_template_json.py | 367 with open(filename) as f: 422 with open(filename, 'w') as f: 427 with open(filename) as f:
|
/external/chromium_org/sdch/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 78 rem open-vcdiff Issue 7 79 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=7) 211 rem open-vcdiff Issue 6 212 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=6) 411 rem open-vcdiff Issue 8 412 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=8)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_importer.py | 355 outfile = open(new_filepath, 'wb') 413 import_log = open(import_log_file, 'r') 433 import_log = open(os.path.join(import_directory, 'w3c-import.log'), 'w')
|
/external/chromium_org/v8/tools/ |
gc-nvp-trace-processor.py | 60 with open(input) as f: 174 with open(datafile_name, 'w') as datafile: 360 with open(filename + '.html', 'w') as out:
|
js2c.py | 63 file = open(filename, "rt") 73 for line in open(filename, "rt"): 409 output = open(str(target[0]), "w")
|
/external/e2fsprogs/lib/ext2fs/ |
mkjournal.c | 103 /* Open the device or journal file */ 104 if ((fd = open(filename, O_WRONLY)) < 0) { 480 fd = open(jfile, O_RDONLY); 490 if ((fd = open(jfile, O_CREAT|O_WRONLY, 0600)) < 0)
|
/external/iproute2/misc/ |
rtacct.c | 55 return open(p, O_RDONLY); 106 fd = open("/dev/mem", O_RDONLY); 108 perror("magic open"); 548 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); 550 perror("rtacct: open history file");
|
/external/javasqlite/src/main/java/SQLite/ |
Database.java | 22 * Open an SQLite database file. 25 * @param mode open mode (e.g. SQLITE_OPEN_READONLY) 28 public void open(String filename, int mode) throws SQLite.Exception { method in class:Database 49 * Open an SQLite database file. 52 * @param mode open mode (e.g. SQLITE_OPEN_READONLY) 56 public void open(String filename, int mode, String vfs) method in class:Database 78 * Open an SQLite database file. 81 * @param mode open mode (e.g. SQLITE_OPEN_READONLY) 86 public void open(String filename, int mode, String vfs, boolean ver2) method in class:Database 123 * Open SQLite auxiliary database file for temporar [all...] |
/external/marisa-trie/lib/marisa/ |
bitvector.cc | 260 temp_mapper.open(filename, offset, whence); 283 reader.open(filename, offset, whence); 315 writer.open(filename, trunc_flag, offset, whence);
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
bitvector.cc | 260 temp_mapper.open(filename, offset, whence); 283 reader.open(filename, offset, whence); 315 writer.open(filename, trunc_flag, offset, whence);
|
/external/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 78 rem open-vcdiff Issue 7 79 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=7) 211 rem open-vcdiff Issue 6 212 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=6) 411 rem open-vcdiff Issue 8 412 rem (http://code.google.com/p/open-vcdiff/issues/detail?id=8)
|
/external/v8/tools/ |
gc-nvp-trace-processor.py | 60 with open(input) as f: 174 with open(datafile_name, 'w') as datafile: 360 with open(filename + '.html', 'w') as out:
|
/frameworks/base/core/java/android/content/res/ |
AssetManager.java | 2 * Copyright (C) 2006 The Android Open Source Project 32 * This class presents a lower-level API that allows you to open and read raw 40 * Mode for {@link #open(String, int)}: no specific information about how 45 * Mode for {@link #open(String, int)}: Read chunks, and seek forward and 50 * Mode for {@link #open(String, int)}: Read sequentially, with an 55 * Mode for {@link #open(String, int)}: Attempt to load contents into 279 * Open an asset using ACCESS_STREAMING mode. This provides access to 283 * @param fileName The name of the asset to open. This name can be 286 * @see #open(String, int) 289 public final InputStream open(String fileName) throws IOException method in class:AssetManager 310 public final InputStream open(String fileName, int accessMode) method in class:AssetManager [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 2 * Copyright (C) 2008 The Android Open Source Project 148 mCamera = Camera.open(CAMERA_ID); 149 startDone.open(); 174 mPreviewDone.open();
|
/frameworks/webview/chromium/tools/ |
merge_from_chromium.py | 3 # Copyright (C) 2012 The Android Open Source Project 343 with open(os.path.join(merge_common.REPOSITORY_ROOT, 'NOTICE'), 'w') as f: 364 with open(os.path.join(merge_common.REPOSITORY_ROOT, 'build/util/LASTCHANGE'), 369 with open(os.path.join(merge_common.REPOSITORY_ROOT,
|
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/ |
uim.c | 432 dev_fd = open(uart_dev_name, O_RDWR); 434 UIM_ERR(" Can't open %s", uart_dev_name); 620 fd = open(path, O_RDONLY); 622 UIM_DBG("open(%s) failed: %s (%d)\n", path, strerror(errno), errno); 876 /* rfkill device's open/poll/read */ 877 st_fd = open("/dev/rfkill", O_RDONLY); 879 UIM_DBG("unable to open /dev/rfkill (%s)", strerror(errno));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 48 pipe = Pipe.open(); 158 // open new pipe everytime, will be closed in finally block 159 pipe = Pipe.open(); 301 Pipe pipe = Pipe.open();
|
/ndk/sources/android/cpufeatures/ |
cpu-features.c | 2 * Copyright (C) 2010 The Android Open Source Project 128 fd = open(pathname, O_RDONLY); 130 D("Can't open %s: %s\n", pathname, strerror(errno)); 161 fd = open(pathname, O_RDONLY); 163 D("Could not open %s: %s\n", pathname, strerror(errno)); 461 int fd = open(filepath, O_RDONLY); 463 D("Could not open %s: %s\n", filepath, strerror(errno)); [all...] |
/ndk/sources/host-tools/make-3.81/ |
arscan.c | 110 Open the archive named ARCHIVE, find its members one by one, 162 status = lbr$open (&VMS_lib_idx, &libdesc, 0, 0, 0, 0, 0); 166 error (NILF, _("unable to open library `%s' to lookup member `%s'"), 280 Open the archive named ARCHIVE, find its members one by one, 318 register int desc = open (archive, O_RDONLY, 0); 776 fd = open (arname, O_RDWR, 0666);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/ |
NdkDebuggerTab.java | 2 * Copyright (C) 2012 The Android Open Source Project 190 String solibPath = dd.open(); 206 String gdbPath = fd.open(); 215 String gdbInit = fd.open();
|