/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 61 this.serverChannel = ServerSocketChannel.open(); 62 this.clientChannel = SocketChannel.open(); 103 * Test method for 'java.nio.channels.ServerSocketChannel.open()' 539 ServerSocketChannel sc = ServerSocketChannel.open();
|
/libcore/luni/src/main/java/libcore/icu/ |
NativeDecimalFormat.java | 2 * Copyright (C) 2008 The Android Open Source Project 123 this.address = open(pattern, dfs.getCurrencySymbol(), 139 this.address = open(pattern, data.currencySymbol, 631 private static native long open(String pattern, String currencySymbol, method in class:NativeDecimalFormat
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rexec.py | 154 nok_builtin_names = ('open', 'file', 'reload', '__import__') 244 m.open = m.file = self.r_open 507 # Restricted open(...) 510 """Method called when open() is called in the restricted environment. 512 The arguments are identical to those of the open() function, and a 524 raise IOError, "can't open files for writing in restricted mode" 525 return open(file, mode, buf) 556 fp = open(args[0]) 558 print "%s: can't open file %r" % (sys.argv[0], args[0])
|
shutil.py | 82 with open(src, 'rb') as fsrc: 83 with open(dst, 'wb') as fdst: 390 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
|
telnetlib.py | 138 server. The instance is initially not connected; the open() 211 self.open(host, port, timeout) 213 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): member in class:Telnet 782 tn.open(host, port, timeout=0.5)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_exceptions.py | 43 fp = open(TESTFN, 'w') 45 fp = open(TESTFN, 'r') 59 self.assertRaises(IOError, open, 'this file does not exist', 'r')
|
test_deque.py | 70 fo = open(test_support.TESTFN, "wb") 74 fo = open(test_support.TESTFN, "rb") 82 fo = open(test_support.TESTFN, "wb") 86 fo = open(test_support.TESTFN, "rb") 370 fo = open(test_support.TESTFN, "wb") 374 fo = open(test_support.TESTFN, "rb")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
rexec.py | 154 nok_builtin_names = ('open', 'file', 'reload', '__import__') 244 m.open = m.file = self.r_open 507 # Restricted open(...) 510 """Method called when open() is called in the restricted environment. 512 The arguments are identical to those of the open() function, and a 524 raise IOError, "can't open files for writing in restricted mode" 525 return open(file, mode, buf) 556 fp = open(args[0]) 558 print "%s: can't open file %r" % (sys.argv[0], args[0])
|
shutil.py | 82 with open(src, 'rb') as fsrc: 83 with open(dst, 'wb') as fdst: 390 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
|
telnetlib.py | 138 server. The instance is initially not connected; the open() 211 self.open(host, port, timeout) 213 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): member in class:Telnet 782 tn.open(host, port, timeout=0.5)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_exceptions.py | 43 fp = open(TESTFN, 'w') 45 fp = open(TESTFN, 'r') 59 self.assertRaises(IOError, open, 'this file does not exist', 'r')
|
test_deque.py | 70 fo = open(test_support.TESTFN, "wb") 74 fo = open(test_support.TESTFN, "rb") 82 fo = open(test_support.TESTFN, "wb") 86 fo = open(test_support.TESTFN, "rb") 370 fo = open(test_support.TESTFN, "wb") 374 fo = open(test_support.TESTFN, "rb")
|
/system/core/debuggerd/ |
tombstone.c | 2 * Copyright (C) 2012 The Android Open Source Project 443 /* Bail early if cannot open the task directory */ 445 XLOG("Cannot open /proc/%d/task\n", pid); 501 int logfd = open(filename, O_RDONLY | O_NONBLOCK); 503 XLOG("Unable to open %s: %s\n", filename, strerror(errno)); 762 *fd = open(path, O_CREAT | O_EXCL | O_WRONLY, 0600); 772 *fd = open(path, O_CREAT | O_TRUNC | O_WRONLY, 0600); 774 LOG("failed to open tombstone file '%s': %s\n", path, strerror(errno));
|
/system/core/libusbhost/ |
usbhost.c | 2 * Copyright (C) 2010 The Android Open Source Project 323 fd = open(dev_name, O_RDWR); 326 fd = open(dev_name, O_RDONLY); 327 D("usb_device_open open returned %d errno %d\n", fd, errno); 338 D("[ usb open read-only %s fd = %d]\n", dev_name, fd); 385 int fd = open(device->dev_name, O_RDWR);
|
/external/bluetooth/bluedroid/btif/src/ |
btif_gatt_client.c | 436 bdcpy(bda.address, p_data->open.remote_bda); 438 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id 439 , p_data->open.status, p_data->open.client_if, &bda); 441 if (p_data->open.status == BTA_GATT_OK) 442 btif_gatt_check_encrypted_link(p_data->open.remote_bda); [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_proxy.cc | 94 // Open the first three in order to get STDIN, STDOUT, STDERR 96 fd = open("/dev/stdin", O_RDONLY); 101 fd = open("/dev/stdout", O_WRONLY); 106 fd = open("/dev/stderr", O_WRONLY); 161 // OpenResource failed, try Open(). 162 error = mnt->Open(rel, O_RDONLY, &node); 179 int KernelProxy::open(const char* path, int open_flags) { function in class:nacl_io::KernelProxy 230 // Remove the FD from the process open file descriptor map 308 int fd = KernelProxy::open(path, O_RDONLY); 372 int fd = open(path, O_RDONLY) [all...] |
/bionic/libc/bionic/ |
libc_logging.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 423 int main_log_fd = TEMP_FAILURE_RETRY(open("/dev/log/main", O_CLOEXEC | O_WRONLY)); 465 int event_log_fd = TEMP_FAILURE_RETRY(open("/dev/log/events", O_CLOEXEC | O_WRONLY));
|
/bionic/libc/tools/ |
gensyscalls.py | 32 return open( bionic_temp + relpath, "w" ) 309 for line in open(path):
|
/bootable/recovery/minui/ |
graphics.c | 2 * Copyright (C) 2007 The Android Open Source Project 77 fd = open("/dev/graphics/fb0", O_RDWR); 79 perror("cannot open fb0"); 369 gr_vt_fd = open("/dev/tty0", O_RDWR | O_SYNC); 372 perror("can't open /dev/tty0"); 374 // However, if we do open tty0, we expect the ioctl to work.
|
/build/tools/releasetools/ |
check_target_files_signatures | 3 # Copyright (C) 2009 The Android Open Source Project 137 f = open(i) 185 f = open(full_filename)
|
sign_target_files_apks | 3 # Copyright (C) 2008 The Android Open Source Project 183 f = open(old + ".x509.pem") 186 f = open(new + ".x509.pem")
|
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3Mem.cpp | 323 main_ion_fd = open("/dev/ion", O_RDONLY); 325 ALOGE("Ion dev open failed: %s\n", strerror(errno)); 622 mMemInfo[cnt].main_ion_fd = open("/dev/ion", O_RDONLY); 624 ALOGE("%s: failed: could not open ion device", __func__);
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | 214 /* Open camera stack! */ 227 LOGV("Cam open returned %d",result); [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
main.rb | 423 @log = open( path, 'w' ) 547 @log = open( path, 'w' )
|
/external/bison/ |
Android.mk | 1 # Copyright 2006 The Android Open Source Project 117 lib/open.c \
|