/hardware/qcom/display/msm8x26/liblight/ |
lights.c | 2 * Copyright (C) 2008 The Android Open Source Project 87 fd = open(path, O_RDWR); 96 ALOGE("write_int failed to open %s\n", path); 106 int fd = open(path, O_RDWR); 283 /** Open a new instance of a lights device using name */ 315 .open = open_lights,
|
/libcore/dex/src/main/java/com/android/dex/ |
Dex.java | 2 * Copyright (C) 2011 The Android Open Source Project 186 public Section open(int position) { method in class:Dex 263 return open(offset).readTypeList(); 271 return open(offset).readClassData(); 279 return open(offset).readCode(); 328 open(SIGNATURE_OFFSET).write(computeSignature()); 329 open(CHECKSUM_OFFSET).writeInt(computeChecksum()); 454 * {@code open(tableOfContents.typeIds.off + (index * SizeOf.TYPE_ID_ITEM)).readInt();} 662 Section triesSection = open(data.position()); 893 return open(tableOfContents.stringIds.off + (index * SizeOf.STRING_ID_ITEM) [all...] |
/libcore/json/src/main/java/org/json/ |
JSONStringer.java | 2 * Copyright (C) 2010 The Android Open Source Project 139 return open(Scope.EMPTY_ARRAY, "["); 158 return open(Scope.EMPTY_OBJECT, "{"); 174 JSONStringer open(Scope empty, String openBracket) throws JSONException { method in class:JSONStringer
|
/ndk/sources/host-tools/make-3.81/ |
ar.c | 238 int open = 0; 253 open = 1; 257 if (open) 235 int open = 0; local
|
/packages/apps/Camera/src/com/android/camera/ |
MosaicPreviewRenderer.java | 2 * Copyright (C) 2011 The Android Open Source Project 78 mEglThreadBlockVar.open(); 82 mEglThreadBlockVar.open(); 89 mEglThreadBlockVar.open();
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 2 * Copyright (C) 2008 The Android Open Source Project 83 public void open() throws MessagingException { method in class:SmtpSender 85 mTransport.open(); 168 open(); method
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
file_util.py | 32 fsrc = open(src, 'rb') 34 raise DistutilsFileError("could not open '%s': %s" % (src, errstr)) 44 fdst = open(dst, 'wb') 226 f = open(filename, "w")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ReplaceDialog.py | 14 dialog.open(text) 26 def open(self, text): member in class:ReplaceDialog 27 SearchDialogBase.open(self, text)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_parser.py | 166 with open(filepath, "rb") as fp: 170 with open(filepath, "r") as fp: 218 f = open("@", "w")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pipes.py | 12 from a disk file or from an open file, and similar for its output. 50 To open a file for reading or writing through a conversion pipeline: 51 fp = t.open(file, mode) 53 for the built-in function open() or for os.popen(). 152 def open(self, file, rw): member in class:Template 153 """t.open(file, rw) returns a pipe or file object open for 160 'Template.open: rw must be \'r\' or \'w\', not %r' % (rw,) 164 t.open(file, 'r') and t.open(file, 'w') respectively."" [all...] |
shelve.py | 14 d = shelve.open(filename) # open, with (g)dbm filename -- no suffix 43 argument writeback=True in the call to shelve.open. When you use: 44 d = shelve.open(filename, writeback=True) 73 __all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"] 179 modules "open" routines (i.e. bsddb.hashopen, bsddb.btopen or 223 Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback) 226 def open(filename, flag='c', protocol=None, writeback=False): function 227 """Open a persistent dictionary for reading and writing. 233 anydbm.open(). The optional protocol parameter specifies th [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
cfmfile.py | 38 dstfile = open(dst, "wb") 152 f = open(self.path, "rb") 164 infile = open(self.path, "rb")
|
macostools.py | 19 openrf = open 97 ifp = open(src, 'rb') 98 ofp = open(dst, 'wb')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mutants.py | 189 f = open(TESTFN, "w") 203 f = open(TESTFN, "w") 281 f = open(TESTFN, "w")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
file_util.py | 32 fsrc = open(src, 'rb') 34 raise DistutilsFileError("could not open '%s': %s" % (src, errstr)) 44 fdst = open(dst, 'wb') 226 f = open(filename, "w")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ReplaceDialog.py | 14 dialog.open(text) 26 def open(self, text): member in class:ReplaceDialog 27 SearchDialogBase.open(self, text)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_parser.py | 166 with open(filepath, "rb") as fp: 170 with open(filepath, "r") as fp: 218 f = open("@", "w")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pipes.py | 12 from a disk file or from an open file, and similar for its output. 50 To open a file for reading or writing through a conversion pipeline: 51 fp = t.open(file, mode) 53 for the built-in function open() or for os.popen(). 152 def open(self, file, rw): member in class:Template 153 """t.open(file, rw) returns a pipe or file object open for 160 'Template.open: rw must be \'r\' or \'w\', not %r' % (rw,) 164 t.open(file, 'r') and t.open(file, 'w') respectively."" [all...] |
shelve.py | 14 d = shelve.open(filename) # open, with (g)dbm filename -- no suffix 43 argument writeback=True in the call to shelve.open. When you use: 44 d = shelve.open(filename, writeback=True) 73 __all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"] 179 modules "open" routines (i.e. bsddb.hashopen, bsddb.btopen or 223 Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback) 226 def open(filename, flag='c', protocol=None, writeback=False): function 227 """Open a persistent dictionary for reading and writing. 233 anydbm.open(). The optional protocol parameter specifies th [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mutants.py | 189 f = open(TESTFN, "w") 203 f = open(TESTFN, "w") 281 f = open(TESTFN, "w")
|
/system/core/toolbox/ |
mount.c | 149 fd = open(blockdev, O_RDONLY); 177 file_fd = open(dev, flags); 179 perror("open backing file failed"); 182 device_fd = open(loopdev, flags); 184 perror("open loop device failed"); 246 fprintf(stdout, "could not open /proc/mounts\n"); 273 fprintf(stdout, "could not open /proc/mounts\n");
|
ps.c | 60 fd = open(cmdline, O_RDONLY); 71 fd = open(statline, O_RDONLY); 149 fd = open(macline, O_RDONLY);
|
/system/extras/tests/framebuffer/ |
fb_test.c | 2 * Copyright (C) 2007 The Android Open Source Project 58 fd = open("/dev/graphics/fb0", O_RDWR); 60 printf("cannot open /dev/graphics/fb0, retrying with /dev/fb0\n"); 61 if ((fd = open("/dev/fb0", O_RDWR)) < 0) { 62 perror("cannot open /dev/fb0"); 144 fd = open("/dev/tty0", O_RDWR | O_SYNC);
|
/external/bluetooth/bluedroid/bta/av/ |
bta_av_aact.c | 358 /* if no streams available then stream open fails */ 683 tBTA_AV_API_OPEN *p_buf = &p_scb->q_info.open; 707 /* report failure on OPEN */ 777 /* Open failed because of role switch. */ 786 /* Continue av open process */ 787 p_scb->q_info.open.switch_res = BTA_AV_RS_DONE; 788 bta_av_do_disc_a2d (p_scb, (tBTA_AV_DATA *)&(p_scb->q_info.open)); 843 memcpy(&p_scb->q_info.open, &p_data->api_open, sizeof(tBTA_AV_API_OPEN)); 860 p_data = (tBTA_AV_DATA *)&p_scb->q_info.open; 861 /* continue to open if link role is ok * 1214 tBTA_AV_OPEN open; local 1608 tBTA_AV_OPEN open; local [all...] |
/system/vold/ |
cryptfs.c | 2 * Copyright (C) 2010 The Android Open Source Project 159 if ((fd = open(dev, O_RDONLY)) < 0) { 160 SLOGE("Cannot open device to get filesystem size "); 199 if ( (fd = open(real_blkdev, O_RDWR)) < 0) { 200 SLOGE("Cannot open real block device %s\n", real_blkdev); 259 if ( (fd = open(fname, O_RDWR | O_CREAT, 0600)) < 0) { 260 SLOGE("Cannot open footer file %s for put\n", fname); 311 * fd is open read/write on the device that holds the crypto footer and persistent 389 if ( (fd = open(fname, O_RDWR)) < 0) { 390 SLOGE("Cannot open footer file %s for get\n", fname) [all...] |