/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 | 90 os.path.join('sdch', 'open-vcdiff'), 120 os.path.join('sdch', 'open-vcdiff'): { 121 "Name": "open-vcdiff", 122 "URL": "http://code.google.com/p/open-vcdiff", 281 for line in open(readme_path): 422 entry_template = open(os.path.join(root, 'chrome', 'browser', 'resources', 436 'license': open(metadata['License File'], 'rb').read(), 440 required_text = open(metadata['Required Text'], 'rb').read() 444 file_template = open(os.path.join(root, 'chrome', 'browser', 'resources', 452 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()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
SDL_ipodvideo.c | 173 dbgout = fdopen (open ("/etc/sdlpod.log", O_WRONLY | O_SYNC | O_APPEND), "a"); 182 tty0_fd = open(tty0[i], O_WRONLY, 0); 190 tty0_fd = open("/dev/tty", O_RDWR, 0); 201 kbfd = open(vtpath, O_RDWR); 205 if (dbgout) fprintf (dbgout, "Couldn't open any VC\n"); 255 // Open the framebuffer 256 if ((fbfd = open ("/dev/fb0", O_RDWR)) < 0) { 257 if (dbgout) fprintf (dbgout, "Can't open framebuffer\n"); 316 if ((fd = open ("/dev/fb0", O_RDWR)) < 0) {
|
/system/extras/sound/ |
playwav.c | 1 /* Copyright (C) 2008 The Android Open Source Project 46 afd = open("/dev/msm_pcm_out", O_RDWR); 48 perror("pcm_play: cannot open audio device"); 156 fd = open(fn, O_RDONLY); 158 fprintf(stderr, "playwav: cannot open '%s'\n", fn); 215 fd = open(fn, O_CREAT | O_RDWR, 0666); 217 perror("cannot open output file"); 222 afd = open("/dev/msm_pcm_in", O_RDWR); 224 perror("cannot open msm_pcm_in"); 301 fd = open(fn, O_RDONLY) [all...] |
/bionic/libc/stdio/ |
freopen.c | 46 * Re-direct an existing, open (probably) file to some other file. 68 * descriptors that weren't originally open. Keep this from breaking. 69 * Remember whether the stream was open to begin with, and which file 91 f = open(file, oflags, DEFFILEMODE); 97 f = open(file, oflags, DEFFILEMODE); 103 * Finish closing fp. Even if the open succeeded above, we cannot 133 * If reopening something that was open before on a real file, try
|
/bootable/recovery/tools/ota/ |
check-lost+found.c | 2 * Copyright (C) 2008 The Android Open Source Project 66 int fd = open(kMarkerFile, O_WRONLY|O_CREAT, 0444); 78 fd = open(fn, O_WRONLY|O_CREAT, 0444); 102 fprintf(out, "Can't open %s: %s\n", fn, strerror(errno));
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 2 * Copyright (C) 2012 The Android Open Source Project 63 mCamera = Camera.open(); 65 mCamera = Camera.open(0);
|
/dalvik/libdex/ |
CmdUtils.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 50 fprintf(stderr, "Unable to open '%s' as zip archive\n", 57 fd = open(outFileName, O_WRONLY | O_CREAT | O_EXCL, 0600); 175 * Pop open the (presumed) DEX file. 177 fd = open(fileName, O_RDONLY | O_BINARY); 180 fprintf(stderr, "ERROR: unable to open '%s': %s\n",
|
/developers/samples/android/common/src/com/example/android/common/media/ |
CameraHelper.java | 2 * Copyright (C) 2013 The Android Open Source Project 94 return Camera.open(); 131 return Camera.open(i);
|
/development/ndk/sources/android/libportable/ |
Android.mk | 2 # Copyright (C) 2012 The Android Open Source Project 46 arch-mips/open.c \ 82 arch-x86/open.c \
|
/device/asus/grouper/liblights/ |
lights.c | 2 * Copyright (C) 2012 The Android Open Source Project 40 fd = open(path, O_RDWR); 49 LOGE("write_int failed to open %s\n", path); 110 /** Open a new instance of a lights device using name */ 142 .open = open_lights,
|
/device/lge/hammerhead/libsensors/ |
LightSensor.cpp | 2 * Copyright 2013 The Android Open Source Project 60 fd = open(sysfs, O_RDWR); 86 ALOGI_IF(DEBUG, "enable.open(%s), en(%d)", sysfs, en); 88 int fd = open(sysfs, O_RDWR); 90 ALOGE("couldn't open '%s' input device", sysfs);
|
/device/samsung/manta/libsensors/ |
SensorBase.cpp | 2 * Copyright (C) 2012 The Android Open Source Project 61 mDevFd = open(mDevName, O_RDONLY); 62 ALOGE_IF(mDevFd < 0, "Couldn't open %s (%s)", mDevName, strerror(errno)); 160 fd = open(devname, O_RDONLY); 168 ALOGE("couldn't open %s (%s)", devname, strerror(errno));
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
ANTLRFileStream.as | 23 stream.open(file, FileMode.READ);
|
/external/chromium/sdch/open-vcdiff/ |
configure.ac | 7 AC_INIT(open-vcdiff, 0.7, opensource@google.com)
|
/external/chromium/sdch/open-vcdiff/testdata/ |
configure.ac.v0.1 | 7 AC_INIT(open-vcdiff, 0.1, opensource@google.com)
|
configure.ac.v0.2 | 7 AC_INIT(open-vcdiff, 0.2, opensource@google.com)
|
/external/chromium-trace/trace-viewer/build/ |
generate_standalone_timeline_view.py | 53 return open(filename, mode) 76 with open(filename, 'rb') as f:
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
fixjsstyle_test.py | 56 with open(input_filename) as f: 71 expected = open(golden_filename, 'r')
|
/external/chromium_org/android_webview/tools/ |
find_copyrights.pl | 25 open FIND, '-|', 'find', $root_dir, @find_args 42 open (F, "<$file") or die "$progname: Unable to access $file\n";
|
/external/chromium_org/build/android/gyp/ |
apk_install.py | 41 with open(metadata_path, 'r') as expected_file: 51 with open(metadata_path, 'w') as outfile:
|
/external/chromium_org/build/android/pylib/utils/ |
report_results.py | 25 with open(full_file_name, 'w') as log_file: 32 with open(full_file_name, 'a') as log_file:
|
/external/chromium_org/chrome/app/policy/ |
PRESUBMIT.py | 42 with open(template_path) as f: 57 test_names = input_api.json.load(open(policy_test_cases_file)).keys()
|