/frameworks/compile/libbcc/lib/Support/ |
FileBase.cpp | 2 * Copyright 2012, The Android Open Source Project 71 // Open the file. 72 open(); 81 bool FileBase::open() { function in class:FileBase 85 mFD = ::open(mName.c_str(), mOpenFlags, 0644); 174 // Error occurred when check the file integrity or re-open the file.
|
/frameworks/compile/mclinker/lib/Support/ |
FileHandle.cpp | 5 // This file is distributed under the University of Illinois Open Source 78 bool FileHandle::open(const sys::fs::Path& pPath, function in class:FileHandle 89 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); 91 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), (int)pPerm);
|
/frameworks/compile/slang/tests/ |
test.py | 52 f = open(filename, 'r') 68 stdout_file = open('stdout.txt', 'w+') 69 stderr_file = open('stderr.txt', 'w+')
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraHolder.java | 2 * Copyright (C) 2009 The Android Open Source Project 35 * <p>The {@code open()} and {@code release()} calls are similar to the ones 38 * android.hardware.Camera} instance for a while, so if {@code open()} is 39 * called soon after, we can avoid the cost of {@code open()} in {@code 50 private int mUsers = 0; // number of open() - number of release() 56 // We store the camera parameters when we actually open the device, 57 // so we can restore them in the subsequent open() requests by the user. 82 // In 'CameraHolder.open', the 'RELEASE_CAMERA' message 120 public synchronized android.hardware.Camera open(int cameraId) method in class:CameraHolder 130 Log.v(TAG, "open camera " + cameraId) [all...] |
/pdk/build/ |
prepare_pdk_tree.py | 3 # Copyright (C) 2012 The Android Open Source Project 68 f = open(manifest, 'r') 136 mountf = open(targetDir + '/' + MOUNT_FILE, 'w+') 138 umountf = open(targetDir + '/' + UMOUNT_FILE, 'w+')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_msvc9compiler.py | 145 f = open(manifest, 'w') 155 f = open(manifest) 169 f = open(manifest, 'w')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
FileList.py | 17 def open(self, filename, action=None): member in class:FileList 33 # Don't create window, perform 'action', e.g. open in same window 39 edit = self.open(filename) 87 "You now have multiple edit windows open for %r" % (filename,), 117 flist.open(filename)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pty.py | 23 Open a pty master/slave pair, using os.openpty() if possible.""" 35 Open a pty master and return the fd, and the filename of the slave end. 50 """Open pty master and return (master_fd, tty_name). 66 fd = os.open(pty_name, os.O_RDWR) 74 Open the pty slave and acquire the controlling terminal, returning 78 result = os.open(tty_name, os.O_RDWR) 121 # Explicitly open the tty to make it become a controlling tty. 122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_fcntl.py | 67 self.f = open(TESTFN, 'w') 79 self.f = open(TESTFN, 'w') 114 fd = os.open(os.path.dirname(os.path.abspath(TESTFN)), os.O_RDONLY)
|
test_linuxaudiodev.py | 19 self.dev = linuxaudiodev.open('w') 34 fp = open(path, 'r') 90 dsp = linuxaudiodev.open('w')
|
test_pdb.py | 21 with open(filename, 'w') as f: 63 with open('bar.py', 'w') as f: 353 with open(test_fn, 'w') as f:
|
test_pkgutil.py | 34 f = open(os.path.join(package_dir, '__init__.py'), "wb") 37 f = open(os.path.join(package_dir, 'res.txt'), "wb") 41 f = open(os.path.join(package_dir, 'sub', 'res.txt'), "wb")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_msvc9compiler.py | 145 f = open(manifest, 'w') 155 f = open(manifest) 169 f = open(manifest, 'w')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
FileList.py | 17 def open(self, filename, action=None): member in class:FileList 33 # Don't create window, perform 'action', e.g. open in same window 39 edit = self.open(filename) 87 "You now have multiple edit windows open for %r" % (filename,), 117 flist.open(filename)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pty.py | 23 Open a pty master/slave pair, using os.openpty() if possible.""" 35 Open a pty master and return the fd, and the filename of the slave end. 50 """Open pty master and return (master_fd, tty_name). 66 fd = os.open(pty_name, os.O_RDWR) 74 Open the pty slave and acquire the controlling terminal, returning 78 result = os.open(tty_name, os.O_RDWR) 121 # Explicitly open the tty to make it become a controlling tty. 122 tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_fcntl.py | 67 self.f = open(TESTFN, 'w') 79 self.f = open(TESTFN, 'w') 114 fd = os.open(os.path.dirname(os.path.abspath(TESTFN)), os.O_RDONLY)
|
test_linuxaudiodev.py | 19 self.dev = linuxaudiodev.open('w') 34 fp = open(path, 'r') 90 dsp = linuxaudiodev.open('w')
|
test_pdb.py | 21 with open(filename, 'w') as f: 63 with open('bar.py', 'w') as f: 353 with open(test_fn, 'w') as f:
|
test_pkgutil.py | 34 f = open(os.path.join(package_dir, '__init__.py'), "wb") 37 f = open(os.path.join(package_dir, 'res.txt'), "wb") 41 f = open(os.path.join(package_dir, 'sub', 'res.txt'), "wb")
|
/system/core/init/ |
logo.c | 2 * Copyright (C) 2008 The Android Open Source Project 56 fb->fd = open("/dev/graphics/fb0", O_RDWR); 95 fd = open("/dev/tty0", O_RDWR | O_SYNC); 116 fd = open(fn, O_RDONLY); 118 ERROR("cannot open '%s'\n", fn);
|
/system/core/libsuspend/ |
autosuspend_earlysuspend.c | 2 * Copyright (C) 2012 The Android Open Source Project 52 int fd = open(EARLYSUSPEND_WAIT_FOR_FB_WAKE, O_RDONLY, 0); 67 int fd = open(EARLYSUSPEND_WAIT_FOR_FB_SLEEP, O_RDONLY, 0); 203 sPowerStatefd = open(EARLYSUSPEND_SYS_POWER_STATE, O_RDWR);
|
/system/core/toolbox/ |
alarm.c | 64 afd = open("/dev/alarm", O_RDWR); 66 fprintf(stderr, "Unable to open rtc: %s\n", strerror(errno)); 159 nfd = open("/sys/android_power/acquire_full_wake_lock", O_RDWR); 163 nfd = open("/sys/android_power/release_wake_lock", O_RDWR);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
svn-create-patch | 29 # Extended "svn diff" script for WebKit Open Source Project, used to make patches. 160 open INFO, "svn info '$escapedInfoPath' |" or die; 175 open PROPGET, "svn propget svn:mime-type $args '$escapedFile' |" or die; 206 open INFO, "svn info '$escapedFile' |" or die; 234 open DIFF, "svn diff --diff-cmd diff -x -$diffOptions '$escapedFile' |" or die; 256 open STAT, "svn stat '$escapedStatPath' |" or die; 358 open BINARY, $path or die;
|
/external/chromium_org/tools/ |
licenses.py | 88 os.path.join('sdch', 'open-vcdiff'), 113 os.path.join('sdch', 'open-vcdiff'): { 114 "Name": "open-vcdiff", 115 "URL": "http://code.google.com/p/open-vcdiff", 274 for line in open(readme_path): 415 entry_template = open(os.path.join(root, 'chrome', 'browser', 'resources', 429 'license': open(metadata['License File'], 'rb').read(), 433 required_text = open(metadata['Required Text'], 'rb').read() 437 file_template = open(os.path.join(root, 'chrome', 'browser', 'resources', 445 with open(sys.argv[2], 'w') as output_file [all...] |
/external/markdown/ |
test-markdown.py | 34 t = open(_proc_status) 170 file = open(benchmark_file_name) 198 self.html_diff_file = codecs.open(html_diff_file_path, "w", encoding=encoding) 223 self.benchmark_file = open(benchmark_output_file_name, "w") 238 expected_output = codecs.open(output_file, encoding=self.encoding).read() 239 input = codecs.open(input_file, encoding=self.encoding).read()
|