HomeSort by relevance Sort by last modified time
    Searched refs:open (Results 601 - 625 of 5433) sorted by null

<<21222324252627282930>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
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
45 if ((src_fd = open(src, O_RDONLY)) < 0) {
46 ALOGE("Could not open %s for reading (errno=%d).", src, errno);
51 if ((dst_fd = open(dst, O_RDWR)) < 0) {
52 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno);
  /system/core/libsparse/
img2simg.c 2 * Copyright (C) 2012 The Android Open Source Project
72 in = open(argv[1], O_RDONLY | O_BINARY);
74 fprintf(stderr, "Cannot open input file %s\n", argv[1]);
82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
84 fprintf(stderr, "Cannot open output file %s\n", argv[2]);
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/profile_chrome/
trace_packager.py 24 with open(html_file, 'w') as f:
31 with gzip.open(output, 'wb') as out, \
32 open(host_file, 'rb') as input_file:
49 with open(trace_file) as f:
71 with open(merged_file, 'w') as f:
  /external/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
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);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
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);
117 assert(f.open("underflow_utf8.dat", std::ios_base::in) != 0);
  /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/jsoncpp/
doxybuild.py 32 f = open(sourcefile, 'rb')
42 f = open(targetfile, 'wb')
83 options.open = False
86 version = open('version','rt').read().strip()
118 print open(warning_log_path, 'rb').read()
122 if options.open:
124 webbrowser.open( 'file://' + index_path )
158 parser.add_option('--open', dest="open", action='store_true', default=False,
159 help="""Open the HTML index in the web browser after generation"""
    [all...]
  /system/vold/
Loop.cpp 2 * Copyright (C) 2008 The Android Open Source Project
50 if ((fd = open(filename, O_RDWR)) < 0) {
52 SLOGE("Unable to open %s (%s)", filename, strerror(errno));
94 if ((fd = open(filename, O_RDWR)) < 0) {
96 SLOGE("Unable to open %s (%s)", filename, strerror(errno));
151 if ((fd = open(filename, O_RDWR)) < 0) {
152 SLOGE("Unable to open %s (%s)", filename, strerror(errno));
179 if ((file_fd = open(loopFile, O_RDWR)) < 0) {
180 SLOGE("Unable to open %s (%s)", loopFile, strerror(errno));
214 device_fd = open(loopDevice, O_RDONLY)
    [all...]
  /external/chromium_org/tools/memory_inspector/memory_inspector/data/
file_storage.py 43 with open(file_path) as f:
54 with open(file_path, 'w') as f:
97 with open(file_path, 'w') as f:
106 with open(file_path) as f:
115 open(file_path, 'w').close()
131 with open(file_path, 'w') as f:
141 with open(file_path) as f:
149 with open(file_path, 'w') as f:
159 with open(file_path) as f:
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyStream.java 2 * Copyright (C) 2011 The Android Open Source Project
97 * Returns true if this stream is open. A stream is open until either:
104 * reports itself as not open. This is because input data is buffered.
277 boolean open = true;
284 open = isOpen();
300 } else if (!open) {
312 boolean open;
315 open = isOpen();
318 if (!open) {
    [all...]
  /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...]
  /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/chromium_org/build/android/gyp/util/
md5_check.py 35 with open(path, 'rb') as infile:
78 with open(self.record_path, 'r') as old_record:
85 with open(self.record_path, 'w') as new_record: