HomeSort by relevance Sort by last modified time
    Searched refs:open (Results 1301 - 1325 of 4686) sorted by null

<<51525354555657585960>>

  /system/core/sh/
redir.c 183 * We suppress interrupts so that we won't leave open file
185 * an open of a device or a fifo can block indefinitely.
196 if ((f = open(fname, O_RDONLY|eflags)) < 0)
203 if ((f = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666)) < 0)
212 if ((f = open(fname, oflags, 0666)) < 0)
217 if ((f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0)
247 error("cannot open %s: %s", fname, errmsg(errno, E_OPEN));
  /system/core/toolbox/
load_policy.c 24 fd = open(path, O_RDONLY);
26 fprintf(stderr, "Could not open %s: %s\n", path, strerror(errno));
md5.c 27 fd = open(path, O_RDONLY);
29 fprintf(stderr,"could not open %s, %s\n", path, strerror(errno));
r.c 53 fd = open("/dev/mem", O_RDWR | O_SYNC);
55 fprintf(stderr,"cannot open /dev/mem\n");
rotatefb.c 43 fd = open(fbdev, O_RDWR);
45 fprintf(stderr, "cannot open %s\n", fbdev);
setkey.c 31 fd = open(TTYDEV, O_RDWR | O_SYNC);
33 fprintf(stderr, "open %s: %s\n", TTYDEV, strerror(errno));
umount.c 40 fprintf(stdout, "could not open /proc/mounts: %s\n", strerror(errno));
77 loop_fd = open(loopdev, O_RDONLY);
79 fprintf(stderr, "open loop device failed: %s\n", strerror(errno));
uptime.c 2 * Copyright (c) 2010, The Android Open Source Project
62 fd = open("/dev/alarm", O_RDONLY);
83 fprintf(stderr, "Could not open /proc/uptime\n");
  /system/extras/tests/crypto/
get_dm_versions.c 32 fd = open("/dev/device-mapper", O_RDWR);
34 fprintf(stderr, "Cannot open /dev/device-mapper\n");
  /system/extras/tests/ext4/
set_ext4_err_bit.c 23 fd = open(argv[1], O_RDWR);
26 fprintf(stderr, "%s: Cannot open block device %s\n", me, argv[1]);
  /system/extras/tests/storage/
opentest.c 2 * Copyright (C) 2012 The Android Open Source Project
84 fds[i] = open(name, O_WRONLY | O_CREAT, 0666);
86 fprintf(stderr, "Unable to open %d fd\n", i);
  /system/security/softkeymaster/
module.cpp 2 * Copyright (C) 2012 The Android Open Source Project
81 open: openssl_open,
92 author: "The Android Open Source Project",
  /system/vold/
Devmapper.cpp 2 * Copyright (C) 2008 The Android Open Source Project
58 if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) {
141 if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) {
175 if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) {
272 if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) {
Xwarp.cpp 2 * Copyright (C) 2008 The Android Open Source Project
68 int fd = open(XWARP_CFG, O_WRONLY);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_io.py 58 with io.open(__file__, "r", encoding="latin1") as f:
335 with self.open(support.TESTFN, mode) as fp:
338 with self.open(support.TESTFN, "rb") as fp:
341 with self.open(support.TESTFN, "r") as fp:
346 with self.open(support.TESTFN, "wb", buffering=0) as f:
351 with self.open(support.TESTFN, "rb", buffering=0) as f:
358 with self.open(support.TESTFN, "wb") as f:
363 with self.open(support.TESTFN, "rb") as f:
370 with self.open(support.TESTFN, "wb") as f:
372 with self.open(support.TESTFN, "rb") as f
    [all...]
test_gettext.py 67 with open(MOFILE, 'wb') as fp:
69 with open(UMOFILE, 'wb') as fp:
71 with open(MMOFILE, 'wb') as fp:
136 with open(self.mofile, 'rb') as fp:
227 with open(self.mofile, 'rb') as fp:
298 with open(UMOFILE, 'rb') as fp:
315 with open(MMOFILE, 'rb') as fp:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_io.py 58 with io.open(__file__, "r", encoding="latin1") as f:
335 with self.open(support.TESTFN, mode) as fp:
338 with self.open(support.TESTFN, "rb") as fp:
341 with self.open(support.TESTFN, "r") as fp:
346 with self.open(support.TESTFN, "wb", buffering=0) as f:
351 with self.open(support.TESTFN, "rb", buffering=0) as f:
358 with self.open(support.TESTFN, "wb") as f:
363 with self.open(support.TESTFN, "rb") as f:
370 with self.open(support.TESTFN, "wb") as f:
372 with self.open(support.TESTFN, "rb") as f
    [all...]
test_gettext.py 67 with open(MOFILE, 'wb') as fp:
69 with open(UMOFILE, 'wb') as fp:
71 with open(MMOFILE, 'wb') as fp:
136 with open(self.mofile, 'rb') as fp:
227 with open(self.mofile, 'rb') as fp:
298 with open(UMOFILE, 'rb') as fp:
315 with open(MMOFILE, 'rb') as fp:
  /external/chromium_org/ui/base/ime/win/
imm32_manager.cc 526 BOOL open = FALSE; local
527 ConvertInputModeToImmFlags(input_mode, conversion_mode, &open,
530 ::ImmSetOpenStatus(imm_context, open);
531 if (open)
617 BOOL* open,
619 *open = TRUE;
638 *open = FALSE;
  /external/clang/utils/
FuzzTest 16 self.inputs = [(s, open(s).read()) for s in inputs]
90 open(name,'wb').write(data)
96 open(name,'wb').write(data)
135 stdout = open(stdout_log_path, 'wb')
136 stderr = open(stderr_log_path, 'wb')
276 f = open(filelist)
305 f = open(replacement_list)
  /hardware/ti/wpan/ti_st/uim-sysfs/
uim.c 365 fd = open(DEV_NAME_SYSFS, O_RDONLY);
367 UIM_ERR("Can't open %s", DEV_NAME_SYSFS);
380 fd = open(BAUD_RATE_SYSFS, O_RDONLY);
382 UIM_ERR("Can't open %s", BAUD_RATE_SYSFS);
395 fd = open(FLOW_CTRL_SYSFS, O_RDONLY);
397 UIM_ERR("Can't open %s", FLOW_CTRL_SYSFS);
411 UIM_ERR("opening %s, while already open", uart_dev_name);
415 dev_fd = open((const char*) uart_dev_name, O_RDWR);
417 UIM_ERR(" Can't open %s", uart_dev_name);
598 fd = open(path, O_RDONLY)
    [all...]
  /external/chromium/chrome/browser/resources/
bug_report.js 77 * we open the landing page in a new tab and sendReport closes this tab.
111 // open the landing page in a new tab, sendReport will close this one.
112 window.open(FEEDBACK_LANDING_PAGE, '_blank');
124 * selected when we had this div open previously.
141 * selected when we had this div open previously.
  /external/chromium_org/ppapi/native_client/
chrome_main.scons 171 libs_file = open(str(source[1]), 'r')
205 src_file = open(source[0].abspath, 'r')
215 libs_file = open(source[1].abspath, 'r')
225 target_file = open(target[0].abspath, 'w')
260 # Open the original manifest and parse it.
261 source_file = open(str(source[0]), 'r')
264 # Open the file with ldd-format list of NEEDED libs and parse it.
265 libs_file = open(str(source[1]), 'r')
287 target_file = open(str(target[0]), 'w')
317 fh = open(target[0].abspath, 'w'
    [all...]
  /external/bluetooth/bluedroid/stack/avdt/
avdt_ad.c 334 /* if signaling channel, notify ccb that channel open */
360 ** for the channel and sends it an open event.
370 tAVDT_OPEN open; local
375 /* if signaling channel, notify ccb that channel open */
391 /* if media or other channel, notify scb that channel open */
400 open.peer_mtu = p_tbl->peer_mtu;
401 open.lcid = avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].lcid;
402 open.hdr.err_code = avdt_ad_tcid_to_type(p_tbl->tcid);
403 avdt_scb_event(p_scb, AVDT_SCB_TC_OPEN_EVT, (tAVDT_SCB_EVT *) &open);
434 /* if media or other channel, notify scb that channel open */
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
ps_instance.cc 40 #define open _open macro
201 int fd0 = open(getenv("PS_STDIN"), O_RDONLY);
204 int fd1 = open(getenv("PS_STDOUT"), O_WRONLY);
207 int fd2 = open(getenv("PS_STDERR"), O_WRONLY);
212 fd_tty_ = open("/dev/tty", O_WRONLY);
216 Error("Failed to open /dev/tty.\n");

Completed in 431 milliseconds

<<51525354555657585960>>