/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.cons/ |
move.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 27 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 41 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/ |
pbackfail.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 40 assert(f.open("underflow.dat", std::ios_base::in) != 0); 48 assert(f.open("underflow.dat", std::ios_base::in | std::ios_base::out) != 0);
|
underflow.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 41 assert(f.open("underflow.dat", std::ios_base::in) != 0); 54 assert(f.open("underflow.dat", std::ios_base::in) != 0); 77 assert(f.open("underflow.dat", std::ios_base::in) != 0); 91 assert(f.open("underflow.dat", std::ios_base::in) != 0); 114 assert(f.open("underflow_utf8.dat", std::ios_base::in) != 0);
|
/packages/apps/Music/src/com/android/music/ |
IMediaPlaybackService.aidl | 3 ** Copyright 2007, The Android Open Source Project 25 void open(in long [] list, int position);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_binhex.py | 29 f = open(self.fname1, 'w') 37 f = open(self.fname1, 'r')
|
test_wave.py | 25 self.f = wave.open(TESTFN, 'wb') 34 self.f = wave.open(TESTFN, 'rb')
|
test_whichdb.py | 51 f = mod.open(_fname, 'c') 55 f = mod.open(_fname, 'w')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_binhex.py | 29 f = open(self.fname1, 'w') 37 f = open(self.fname1, 'r')
|
test_wave.py | 25 self.f = wave.open(TESTFN, 'wb') 34 self.f = wave.open(TESTFN, 'rb')
|
test_whichdb.py | 51 f = mod.open(_fname, 'c') 55 f = mod.open(_fname, 'w')
|
/system/core/libdiskconfig/ |
diskutils.c | 3 * Copyright 2008, The Android Open Source Project 44 if ((src_fd = open(src, O_RDONLY)) < 0) { 45 ALOGE("Could not open %s for reading (errno=%d).", src, errno); 50 if ((dst_fd = open(dst, O_RDWR)) < 0) { 51 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno);
|
/system/core/libsparse/ |
simg2img.c | 2 * Copyright (C) 2010 The Android Open Source Project 51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 53 fprintf(stderr, "Cannot open output file %s\n", argv[argc - 1]); 61 in = open(argv[i], O_RDONLY | O_BINARY); 63 fprintf(stderr, "Cannot open input file %s\n", argv[i]);
|
/build/tools/ |
generate-notice-files.py | 3 # Copyright (C) 2012 The Android Open Source Project 69 f = open(filename, "rb") 107 # Open the output file, and output the header pieces 108 output_file = open(output_filename, "wb") 139 print >> output_file, html_escape(open(value[0]).read()) 155 output_file = open(output_filename, "wb") 163 print >> output_file, open(value[0]).read()
|
/external/chromium_org/build/win/importlibs/ |
create_importlib_win.py | 66 return ast.literal_eval(open(imports_file).read()) 112 with open(os.path.join(self._temp_dir, asm_name), 'wb') as stubs_file: 118 self._Shell(cmdline, cwd=self._temp_dir, stdout=open(os.devnull)) 138 with open(os.path.join(self._temp_dir, def_name), 'wb') as def_file: 154 self._Shell(cmdline, cwd=self._temp_dir, stdout=open(os.devnull))
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_set_archive_info_unittest.py | 41 with open(self.page_set_archive_info_file, 'w') as f: 46 with open(os.path.join(self.tmp_dir, ('data_00%d.wpr' % i)), 'w') as f: 59 with open(file_path + '.sha1', 'rb') as f: 76 with open(new_temp_recording, 'w') as f: 98 with open(new_temp_recording, 'w') as f: 125 with open(page_set_file, 'w') as f: 137 with open(new_temp_recording, 'w') as f:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
applesingle.py | 15 return open(path + '.rsrc', mode) 87 outfile = open(path, 'wb') 92 fp = open(path, 'wb') 99 fp = open(path, 'wb') 129 infile = open(infile, 'rb')
|
/external/bison/lib/ |
spawn-pipe.c | 51 /* The results of open() in this file are not used with fchdir, 53 #undef open macro 83 retval = open (pathname, oflag, mode); 88 # undef open /* avoid warning on VMS */ macro 89 # define open nonintr_open macro 95 /* Open a pipe connected to a child process. 169 || ((nulloutfd = open ("NUL", O_RDWR, 0)) >= 0 175 || ((stdinfd = open (prog_stdin, O_RDONLY, 0)) >= 0 181 || ((stdoutfd = open (prog_stdout, O_WRONLY, 0)) >= 0 186 but it inherits all open()ed or dup2()ed file handles (which is wha [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
commit-log-editor | 131 open LOG, $log or die "Could not open the log file."; 170 open NEWLOG, ">$log.edit" or die; 179 open CHANGELOG_ENTRIES, "-|", "$FindBin::Bin/prepare-ChangeLog --git-index --no-write" or die "prepare-ChangeLog failed: $!.\n"; 193 open NEWLOG, "$log.edit" or exit; 201 open NEWLOG, "$log.edit" or die; 202 open LOG, ">$log" or die; 221 open CHANGELOG, $changeLog or die "Can't open $changeLog";
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
mac_tool.py | 90 s = open(source).read() 96 fp = open(dest, 'w') 105 fp = open(file_name, 'rb') 124 fd = open(source, 'r') 145 fd = open(dest, 'w') 172 fp = open(dest, 'w') 179 fd = os.open(lockfile, os.O_RDONLY|os.O_NOCTTY|os.O_CREAT, 0o666)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_recno.py | 40 d.open(self.filename, db.DB_RECNO, db.DB_CREATE) 166 d.open(self.filename) 216 f = open(source, 'w') # create the file 224 d.open(self.filename, db.DB_RECNO, db.DB_CREATE) 233 f = open(source, 'r') 244 # open as a DB again 247 d.open(self.filename, db.DB_RECNO) 255 f = open(source, 'r') 271 d.open(self.filename, db.DB_RECNO, db.DB_CREATE) 301 d.open(self.filename, dbtype=db.DB_RECNO, flags=db.DB_CREATE [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_recno.py | 40 d.open(self.filename, db.DB_RECNO, db.DB_CREATE) 166 d.open(self.filename) 216 f = open(source, 'w') # create the file 224 d.open(self.filename, db.DB_RECNO, db.DB_CREATE) 233 f = open(source, 'r') 244 # open as a DB again 247 d.open(self.filename, db.DB_RECNO) 255 f = open(source, 'r') 271 d.open(self.filename, db.DB_RECNO, db.DB_CREATE) 301 d.open(self.filename, dbtype=db.DB_RECNO, flags=db.DB_CREATE [all...] |
/bootable/recovery/ |
make-overlay.py | 1 # Copyright (C) 2011 The Android Open Source Project 31 base = Image.open(sys.argv[1]) 40 top = Image.open(top_name) 71 top = Image.open(top_name)
|
/development/tools/axl/ |
chewperf.py | 12 f = open(sys.argv[1]).read() 28 f = open(sys.argv[1]).read() 46 f = open(sys.argv[1]).read()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpTests.java | 72 // access the url and open a stream 73 connector.open(chunkedTestUrl); 93 connector.open(contentTestUrl); 114 connector.open(headersTestUrl); 146 connector.open(postTestUrl); 171 connector.open(postTestUrl); 201 connector.open(postTestUrl); 229 connector.open(postTestUrl); 257 connector.open(postTestUrl); 288 connector.open(postTestUrl) [all...] |
/external/chromium/chrome/browser/chromeos/ |
external_metrics_unittest.cc | 25 int fd = open(path, O_CREAT | O_APPEND | O_WRONLY, 0666); 109 int fd = open(path, O_CREAT | O_WRONLY, 0666); 120 fd = open(path, O_CREAT | O_WRONLY, 0666);
|