/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ScriptBinding.py | 70 f = open(filename, 'r') 90 f = open(filename, 'r')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_main.py | 75 open(os.path.join(self.py2_src_dir, "__init__.py"), "w").close() 81 with open(self.trivial_py2_file, "w") as trivial:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
script_helper.py | 67 with open(os.devnull, 'w') as devnull: 109 script_file = open(script_name, 'w')
|
test_cpickle.py | 26 return open(test_support.TESTFN, 'wb+') 29 f = open(test_support.TESTFN, 'wb+')
|
test_defaultdict.py | 84 f = open(tfn, "w+") 166 f = open(tfn, "w+")
|
test_tokenize.py | 43 Test roundtrip for `untokenize`. `f` is an open file or a string. The source 78 >>> roundtrip(open(f)) 531 ... if not roundtrip(open(testfile)):
|
test_traceback.py | 77 print >> open(testfile, 'w'), """ 99 print >> open(testfile, 'w'), """
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeLayoutRefactoring.java | 2 * Copyright (C) 2011 The Android Open Source Project 238 int open = text.indexOf(oldName); local 241 if (open != -1 && close != -1) { 243 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength, name)); 244 if (close != open) { // Gracefully handle <FooLayout/> 377 int open = text.indexOf(oldName); local 380 if (open != -1 && close != -1) { 382 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength, 384 if (close != open) { // Gracefully handle <FooLayout/>
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
RunLintAction.java | 2 * Copyright (C) 2011 The Android Open Source Project 215 IJavaProject[] open = AdtUtils.getOpenAndroidProjects(); local 216 for (IJavaProject project : open) {
|
/system/core/fs_mgr/ |
fs_mgr_verity.c | 2 * Copyright (C) 2013 The Android Open Source Project 63 ERROR("Can't open '%s'\n", path); 125 data_device = open(blk_device, O_RDONLY); 161 ERROR("Could not open block device %s (%s).\n", block_device, strerror(errno)); 355 if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) {
|
/system/core/init/ |
init.c | 2 * Copyright (C) 2008 The Android Open Source Project 119 fd = open("/dev/null", O_RDWR); 129 if ((fd = open(console_name, O_RDWR)) < 0) { 130 fd = open("/dev/null", O_RDWR); 588 open("/dev/hw_random", O_RDONLY | O_NOFOLLOW)); 595 ERROR("Failed to open /dev/hw_random: %s\n", strerror(errno)); 601 open("/dev/urandom", O_WRONLY | O_NOFOLLOW)); 603 ERROR("Failed to open /dev/urandom: %s\n", strerror(errno)); 655 fd = open(console_name, O_RDWR); 661 fd = open("/dev/tty0", O_WRONLY) [all...] |
/system/core/mkbootimg/ |
mkbootimg.c | 3 ** Copyright 2007, The Android Open Source Project 35 fd = open(fn, O_RDONLY); 240 fd = open(bootimg, O_CREAT | O_TRUNC | O_WRONLY, 0644);
|
/system/extras/ext4_utils/ |
ext2simg.c | 2 * Copyright (C) 2010 The Android Open Source Project 226 infd = open(in, O_RDONLY); 229 critical_error_errno("failed to open input image"); 240 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644); 242 error_errno("open");
|
/system/extras/libpagemap/ |
pm_process.c | 2 * Copyright (C) 2008 The Android Open Source Project 54 proc->pagemap_fd = open(filename, O_RDONLY); 197 fd = open(filename, O_WRONLY);
|
/system/extras/tests/ext4/ |
rand_emmc_perf.c | 2 * Copyright (C) 2010 The Android Open Source Project 67 fprintf(stderr, "Cannot open full stats output file %s, ignoring\n", 241 if ((fd = open(argv[optind + 1], O_RDWR | o_sync)) < 0) { 242 fprintf(stderr, "Cannot open block device %s\n", argv[optind + 1]); 246 fd2 = open("/dev/urandom", O_RDONLY); 248 fprintf(stderr, "Cannot open /dev/urandom\n");
|
/system/netd/ |
NatController.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 267 quota_fd = open(proc_path, O_RDONLY); 302 quota_fd = open(proc_path, O_RDONLY);
|
TetherController.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 65 int fd = open("/proc/sys/net/ipv4/ip_forward", O_WRONLY); 67 ALOGE("Failed to open ip_forward (%s)", strerror(errno)); 81 int fd = open("/proc/sys/net/ipv4/ip_forward", O_RDONLY); 84 ALOGE("Failed to open ip_forward (%s)", strerror(errno));
|
/external/expat/lib/ |
xmltok_impl.c | 1 /* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 576 int open; local 584 open = BYTE_TYPE(enc, ptr); 585 if (open == BT_QUOT || open == BT_APOS) 587 switch (open) { 604 if (t == open) 940 PREFIX(scanLit)(int open, const ENCODING *enc, 951 if (t != open) 1436 int open = 0; \/* defined when state == inValue; local [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
android-developer-docs.js | 289 toggle(link.parent().parent(), false); // open our own list 292 toggle(link.parent().parent().parent().parent(), false); // open the super parent list 297 toggle(link.parent().parent().parent(), false); // open the parent list 300 toggle(link.parent().parent().parent().parent().parent(), false); // open the super parent list 448 li.addClass("open"); 452 li.removeClass("open"); 601 if (div.hasClass("closed")) { // if it's closed, open it 604 div.removeClass("closed").addClass("open"); 606 } else { // if it's open, close it 609 div.removeClass("open").addClass("closed") [all...] |
/external/chromium/net/http/ |
http_auth_gssapi_posix.cc | 343 int open = 0; local 352 &open); 373 "open %d", 382 open); 620 int* open) { 630 open);
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
ps_instance.cc | 41 #define open _open macro 221 int fd0 = open(getenv("PS_STDIN"), O_RDONLY); 224 int fd1 = open(getenv("PS_STDOUT"), O_WRONLY); 227 int fd2 = open(getenv("PS_STDERR"), O_WRONLY); 232 tty_fd_ = open("/dev/tty", O_WRONLY); 264 Error("Failed to open /dev/tty.\n");
|
/external/chromium_org/net/http/ |
http_auth_gssapi_posix.cc | 335 int open = 0; local 346 &open); 367 "open %d", 376 open); 621 int* open) { 631 open);
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
openbsd_usb.c | 160 if ((fd = open(busnode, O_RDWR)) < 0) { 162 usbi_err(ctx, "could not open %s", busnode); 247 * Only open ugen(4) attached devices read-write, all 252 dpriv->fd = open(devnode, O_RDWR); 256 usbi_dbg("open %s: fd %d", devnode, dpriv->fd); 764 if (((fd = open(devnode, O_RDWR)) < 0) && (errno == ENXIO)) 765 if ((fd = open(devnode, mode)) < 0) 789 * endpoint and thus the node to open. 822 return open(busnode, O_RDWR);
|
/external/stressapptest/src/ |
os.cc | 115 // There are no explicitly supported systems in open source version. 191 int dcfile = open(drop_caches_file, O_WRONLY); 195 logprintf(3, "Log: failed to open %s - err %d (%s)\n", 309 int hpfile = open(hugepages_info_file, O_RDONLY); 644 // Open a PCI bus-dev-func as a file and return its file descriptor. 652 int fd = open(dev_file, O_RDWR); 654 logprintf(0, "Process Error: Unable to open PCI bus %d, device %d, " 742 // Open dev msr. 746 int fd = open(buf, O_RDWR); 839 logprintf(0, "Process Error: Cannot open %s", kSysfsPath) [all...] |
/external/zlib/src/ |
make_vms.com | 82 $ open/write topt tmp.opt 83 $ open/write optf 'optfile' 123 $ open/write conf_hin config.hin 137 $ open/read/err=aconf_err aconf_in 'fname' 138 $ open/write aconf zconf.h 422 $ open/append out descrip.mms 482 $ open/read min makefile.in 483 $ open/write mod modules.opt 525 $ open/read h_in 'v_file' 713 $ open/append confh 'th [all...] |