/external/qemu/block/ |
cow.c | 239 cow_fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 250 fd = open(image_filename, O_RDONLY | O_BINARY);
|
raw-posix.c | 708 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 855 fd = open(bsdPath, O_RDONLY | O_BINARY | O_LARGEFILE); 881 present. The current method is to try to open the floppy at every 903 printf("No floppy (open delayed)\n"); 907 s->fd = open(bs->filename, s->open_flags & ~O_NONBLOCK); 981 fd = open(filename, O_WRONLY | O_BINARY); 1036 /* open will not fail even if no floppy is inserted, so add O_NONBLOCK */ 1058 fd = open(filename, O_RDONLY | O_NONBLOCK); 1106 fd = open(bs->filename, s->open_flags | O_NONBLOCK); 1148 /* open will not fail even if no CD is inserted, so add O_NONBLOCK * [all...] |
/external/sepolicy/tools/ |
insertkeys.py | 35 pkFile = open(path, 'rb').readlines() 207 output_file = sys.stdout if options.output_file == "stdout" else open(options.output_file, "w")
|
/external/skia/bench/ |
check_bench_regressions.py | 94 file_handle = open(directory + '/' + bench_file, 'r') 126 for expectation in open(filename).readlines():
|
/external/skia/gm/rebaseline_server/ |
imagediffdb.py | 265 """Open the image at local_filepath; if there is no file at that path, 266 download it from url to that path and then open it. 277 with open(local_filepath, 'wb') as file_handle: 282 """Wrapper for Image.open(filepath) that yields more useful error messages. 290 return Image.open(filepath)
|
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
picoloaddbg.lua | 28 local infile = io.open(arg[1], "r")
30 print("*** error: could not open input file: " .. arg[1]); return
32 local outfile = io.open(arg[2], "wb")
34 print("*** error: could not open output file: " .. arg[2]); return
|
picoloadphones.lua | 26 local infile = io.open(arg[1], "r")
28 print("*** error: could not open input file: " .. arg[1]); return
30 local outfile = io.open(arg[2], "wb")
32 print("*** error: could not open output file: " .. arg[2]); return
|
/external/v8/test/mjsunit/ |
testcfg.py | 84 source = open(self.file).read() 93 return open(self.file).read()
|
/external/v8/tools/ |
gen-postmortem-metadata.py | 176 objfile = open(objfilename, 'r'); 367 inlfile = open(inlfilename, 'r');
|
/frameworks/av/services/audioflinger/ |
test-resample.cpp | 2 * Copyright (C) 2012 The Android Open Source Project 157 int input_fd = open(file_in, O_RDONLY); 159 fprintf(stderr, "open: %s\n", strerror(errno)); 258 int output_fd = open(file_out, O_WRONLY | O_CREAT | O_TRUNC, 261 fprintf(stderr, "open: %s\n", strerror(errno));
|
/frameworks/base/packages/Keyguard/scripts/ |
new_merge.py | 135 fin = open(inFile) 136 fout = open(outFile, "w")
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 2 * Copyright (C) 2009 The Android Open Source Project 137 ParcelFileDescriptor state = ParcelFileDescriptor.open( 161 ParcelFileDescriptor state = ParcelFileDescriptor.open(
|
/frameworks/webview/chromium/tools/ |
merge_to_master.py | 3 # Copyright (C) 2012 The Android Open Source Project 76 with open(merge_log, 'a+') as f: 124 with open(repo_prop_file) as prop:
|
/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.cpp | 35 fd = open(fname, O_RDONLY); 157 LOGE("HAL:ERR open file %s to read with error %d", filename, res); 173 LOGE("HAL:ERR open file %s to write with error %d", filename, res); 189 LOGE("HAL:ERR open file %s to write with error %d", filename, res); 249 LOGI("HAL DEBUG:open %s\n", dmp_path); 283 fd = open(full_path, O_RDONLY); 303 LOGI("HAL DEBUG: could not open directory %s", sysfs_path);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAStreamOps.cpp | 369 status_t ALSAStreamOps::open(int mode) function in class:android_audio_legacy::ALSAStreamOps 371 ALOGD("open"); 372 return mParent->mALSADevice->open(mHandle);
|
/hardware/qcom/display/msm8960/libgenlock/ |
genlock.cpp | 146 // Open the genlock device 147 int fd = open(GENLOCK_DEVICE, O_RDWR); 149 ALOGE("%s: open genlock device failed (err=%s)", __FUNCTION__, 231 // Open the genlock device 232 int fd = open(GENLOCK_DEVICE, O_RDWR); 234 ALOGE("%s: open genlock device failed (err=%s)", __FUNCTION__,
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayMdpRot.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 76 if(!mFd.open(Res::rotPath, O_RDWR)){ 154 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 155 ALOGE("%s: Failed to open", __func__); 204 ALOGE("%s Error could not open", __FUNCTION__);
|
/hardware/qcom/display/msm8974/liboverlay/ |
overlayMdpRot.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 76 if(!mFd.open(Res::rotPath, O_RDWR)){ 148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 149 ALOGE("%s: Failed to open", __func__); 198 ALOGE("%s Error could not open", __FUNCTION__);
|
/hardware/qcom/display/msm8x26/libgenlock/ |
genlock.cpp | 146 // Open the genlock device 147 int fd = open(GENLOCK_DEVICE, O_RDWR); 149 ALOGE("%s: open genlock device failed (err=%s)", __FUNCTION__, 231 // Open the genlock device 232 int fd = open(GENLOCK_DEVICE, O_RDWR); 234 ALOGE("%s: open genlock device failed (err=%s)", __FUNCTION__,
|
/hardware/qcom/display/msm8x26/liboverlay/ |
overlayMdpRot.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 76 if(!mFd.open(Res::rotPath, O_RDWR)){ 146 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 147 ALOGE("%s: Failed to open", __func__); 196 ALOGE("%s Error could not open", __FUNCTION__);
|
/hardware/samsung_slsi/exynos5/gralloc/ |
framebuffer.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 120 fd = open(path, O_RDONLY); 166 fd = open("/dev/graphics/fb0", O_RDWR); 168 ALOGE("/dev/graphics/fb0 Open fail"); 224 ALOGE("Fail to Open gralloc device");
|
/hardware/ti/wpan/tools/kfmapp/ |
kfmapp.c | 324 fd = open(FMTX_RDS_AF_SYSFS_ENTRY, O_RDWR); 326 printf("Can't open %s", FMTX_RDS_AF_SYSFS_ENTRY); 688 fd = open(FMRX_RDS_AF_SYSFS_ENTRY, O_RDWR); 690 printf("Can't open %s", FMRX_RDS_AF_SYSFS_ENTRY); 712 fd = open(FMRX_RDS_AF_SYSFS_ENTRY, O_RDONLY); 714 printf("Can't open %s", FMRX_RDS_AF_SYSFS_ENTRY); 737 fd = open(FMRX_RSSI_LVL_SYSFS_ENTRY, O_RDONLY); 739 printf("Can't open %s", FMRX_RSSI_LVL_SYSFS_ENTRY); 763 fd = open(FMRX_RSSI_LVL_SYSFS_ENTRY, O_RDWR); 765 printf("Can't open %s", FMRX_RSSI_LVL_SYSFS_ENTRY) [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
TableOfContents.java | 2 * Copyright (C) 2011 The Android Open Source Project 69 readHeader(dex.open(0)); 70 readMap(dex.open(mapList.off));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectionKeyTest.java | 46 selector = Selector.open(); 47 sc = SocketChannel.open();
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 2 * Copyright (C) 2011 The Android Open Source Project 105 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { method in class:BlockGuardOs 110 return os.open(path, flags, mode);
|