/bionic/libc/tools/zoneinfo/ |
generate | 35 return open('%s/tzdata' % bionic_libc_zoneinfo_dir).read().split('\x00', 1)[0] 43 for line in open('extracted/%s' % region): 53 setup = open('setup', 'w') 62 ftp.retrbinary('RETR %s' % filename, open(filename, 'wb').write) 90 tar = tarfile.open(data_filename, 'r')
|
/external/chromium-trace/ |
update.py | 38 open('UPSTREAM_REVISION', 'wt').write(rev_str[21:-1] + '\n') 50 open(output_js_file, 'wt').write(js_code) 52 open(output_css_file, 'wt').write(css_code) 81 open('flat_script.js', 'wt').write(js_code) 92 open(output_js_file, 'wt').write(result['compiledCode'] + '\n')
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/filebuf.virtuals/ |
overflow.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 42 assert(f.open("overflow.dat", std::ios_base::out) != 0); 54 assert(f.open("overflow.dat", std::ios_base::in) != 0); 62 assert(f.open("overflow.dat", std::ios_base::out) != 0); 74 assert(f.open("overflow.dat", std::ios_base::in) != 0); 81 assert(f.open("overflow.dat", std::ios_base::out) != 0); 93 assert(f.open("overflow.dat", std::ios_base::in) != 0); 101 assert(f.open("overflow.dat", std::ios_base::out) != 0); 113 assert(f.open("overflow.dat", std::ios_base::in) != 0); 121 assert(f.open("overflow.dat", std::ios_base::out) != 0) [all...] |
/external/chromium-trace/trace-viewer/build/ |
generate_about_tracing_contents.py | 38 f = open(os.path.join(srcdir, "about_tracing.html.template"), 'r') 64 f = open(os.path.join(srcdir, "about_tracing.js.template"), 'r') 97 o = open(os.path.join(srcdir, "about_tracing.html"), 'r') 106 o = open(os.path.join(srcdir, "about_tracing.js"), 'r') 134 o = open(os.path.join(srcdir, "about_tracing.html"), 'w') 139 o = open(os.path.join(srcdir, "about_tracing.js"), 'w')
|
/external/harfbuzz/src/ |
Makefile.am | 13 harfbuzz-open.c \ 35 harfbuzz-open.h \ 49 harfbuzz-open-private.h \
|
/external/harfbuzz_ng/src/hb-old/ |
Makefile.am | 12 harfbuzz-open.c \ 29 harfbuzz-open.h \ 42 harfbuzz-open-private.h \
|
/external/webkit/Source/WebCore/css/ |
makevalues.pl | 27 open NAMES, "<CSSValueKeywords.in" || die "Could not open CSSValueKeywords.in"; 37 open GPERF, ">CSSValueKeywords.gperf" || die "Could not open CSSValueKeywords.gperf for writing"; 99 open HEADER, ">CSSValueKeywords.h" || die "Could not open CSSValueKeywords.h for writing";
|
/build/tools/ |
check_radio_versions.py | 3 # Copyright (C) 2012 The Android Open Source Project 29 f = open(sys.argv[1]) 47 f = open(fn, "rb") 53 f = open(fn + ".sha1")
|
/cts/tests/tests/os/src/android/os/cts/ |
ConditionVariableTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 42 // test open then block(long) 43 mConditionVariable.open(); 54 // test block then open 64 mConditionVariable.open(); 83 mConditionVariable.open();
|
/external/bison/lib/ |
open.c | 0 /* Open a descriptor to a file. 25 /* Get the original definition of open. It might be defined as a macro. */ 33 return open (filename, flags, mode); 53 open (const char *filename, int flags, ...) function 74 file types that require non-blocking handling in open(). 97 - if O_CREAT is specified, open() must fail because of the semantics 99 - if O_WRONLY or O_RDWR is specified, open() must fail because POSIX 100 <http://www.opengroup.org/susv3/functions/open.html> says that it 103 - if O_CREAT is specified, open() must fail since open() cannot creat [all...] |
/external/blktrace/btt/ |
bno_plot.py | 99 fo = open(t, 'w') 100 for line in open(f, 'r'): 109 fo = open('%s/plot.cmds' % tmpdir, 'w')
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
CompositeResourceLoader.java | 53 public Reader open(String name) throws IOException { method in class:CompositeResourceLoader 55 Reader reader = loader.open(name); 65 Reader reader = open(name); 75 throw new IllegalArgumentException("I can't close a reader I didn't open."); 93 * search order as {@link #open(String)}.
|
/external/srec/tools/cmd/ |
pht_to_short.pl | 13 open(PHT, "<$phtfile") || die "error opening phtfile $phtfile\n"; 34 open(HH, "<$oklongfile") || die "error opening okfile $oklongfile\n"; 35 open(OO, ">$okfile") || die "error opening output dict $okfile\n";
|
/external/webkit/Source/WebCore/storage/ |
IDBFactoryBackendImpl.cpp | 73 void IDBFactoryBackendImpl::open(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> securityOrigin, Frame*, const String& dataDir, int64_t maximumSize, BackingStoreType backingStoreType) function in class:WebCore::IDBFactoryBackendImpl 91 backingStore = IDBSQLiteBackingStore::open(securityOrigin.get(), dataDir, maximumSize, fileIdentifier, this); 94 backingStore = IDBLevelDBBackingStore::open(securityOrigin.get(), dataDir, maximumSize, fileIdentifier, this);
|
/external/webkit/Source/WebKit2/Scripts/ |
generate-forwarding-headers.pl | 68 open(FILE, "<$file") or die "Could not open $filePath.\n"; 99 $foundIncludeStatement = <EXISTING_HEADER> if open(EXISTING_HEADER, "<$forwardingHeaderPath"); 104 open(FORWARDING_HEADER, ">$forwardingHeaderPath") or die "Could not open $forwardingHeaderPath.";
|
/external/webkit/Tools/Scripts/ |
make-script-test-wrappers | 86 open TEMPLATE, "<${templateRelativePath}"; 92 open TEMPLATE, "<${templateDirectory}/TEMPLATE-n.html"; 109 open HTML, ">$html";
|
/frameworks/compile/mclinker/unittests/ |
FileHandleTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 48 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly)); 66 int fd = ::open(path.native().c_str(), O_RDONLY); 89 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly));
|
/hardware/libhardware/include/hardware/ |
nfc.h | 2 * Copyright (C) 2011, 2012 The Android Open Source Project 43 * 1) Core NCI stack calls open() 113 * (*open)() Opens the NFC controller device and performs initialization. 116 * If open completes successfully, the controller should be ready to perform 120 * If open() returns 0, the NCI stack will wait for a HAL_NFC_OPEN_CPLT_EVT 123 * If open() returns any other value, the NCI stack will stop. 126 int (*open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, member in struct:nfc_nci_device 183 * Convenience methods that the NFC stack can use to open 188 return module->methods->open(module, NFC_NCI_CONTROLLER, 263 return module->methods->open(module, NFC_PN544_CONTROLLER [all...] |
/hardware/msm7k/dspcrashd/ |
dspcrashd.c | 3 ** Copyright 2010, The Android Open Source Project 103 fd = open(name, O_CREAT | O_TRUNC | O_WRONLY, 0644); 121 fd = open("/dev/kmsg", O_WRONLY); 132 fd = open("/dev/dsp_debug", O_RDWR);
|
/bionic/libc/bionic/ |
open.c | 2 * Copyright (C) 2008 The Android Open Source Project 36 int open(const char *pathname, int flags, ...) function 56 __fortify_chk_fail("open(O_CREAT) called without specifying a mode", 0);
|
/development/tools/axl/ |
udpServer.py | 7 buf = open("random.dat").read()
|
/docs/source.android.com/scripts/ |
build.py | 3 # Copyright (C) 2011 The Android Open Source Project 28 for line in open(raw_file, 'r'): 47 t += open(os.path.join(TEMPLATE_DIR, f), 'r').read() 61 text = codecs.open(path, encoding='utf8').read() 118 html = codecs.open(os.path.join(outdir, f.replace('.md', '.html')), 'w', encoding="utf8")
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t019lexer.py | 13 stream = antlr3.StringStream(open(inputPath).read())
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServerSocket.java | 68 public void open() throws IOException { method in class:Support_HttpServerSocket
|
/external/chromium/base/ |
rand_util_posix.cc | 25 fd_ = open("/dev/urandom", O_RDONLY); 26 CHECK_GE(fd_, 0) << "Cannot open /dev/urandom: " << errno;
|