HomeSort by relevance Sort by last modified time
    Searched refs:open (Results 851 - 875 of 4741) sorted by null

<<31323334353637383940>>

  /external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyStream.java 2 * Copyright (C) 2011 The Android Open Source Project
122 * Returns true if this stream is open. A stream is open until either:
129 * reports itself as not open. This is because input data is buffered.
289 boolean open = true;
293 open = isOpen();
301 } else if (!open) {
331 boolean open;
334 open = isOpen();
337 if (!open) {
    [all...]
  /system/core/adb/
sysdeps.h 2 * Copyright (C) 2007 The Android Open Source Project
151 return open(path, options);
160 return open(path, options, mode);
163 #define open ___xxx_unix_open macro
328 return TEMP_FAILURE_RETRY( open(path, options) );
337 return TEMP_FAILURE_RETRY( open( path, options, mode ) );
343 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) );
349 int fd = TEMP_FAILURE_RETRY( open( pathname, options ) );
355 #undef open macro
356 #define open ___xxx_ope macro
    [all...]
  /dalvik/vm/compiler/template/
gen-template.py 3 # Copyright (C) 2007 The Android Open Source Project
95 stub_fp = open(tokens[1])
154 opcode_fp = open("%s/%s" % (target_arch, interp_defs_file))
231 # Append the file specified by "source" to the open "outfp". Each line will
247 infp = open(source, "r")
345 # Open config file.
348 config_fp = open("config-%s" % target_arch)
350 print "Unable to open config file 'config-%s'" % target_arch
354 # Open and prepare output files.
357 asm_fp = open("%s/CompilerTemplateAsm-%s.S" % (output_dir, target_arch), "w"
    [all...]
  /external/chromium_org/ppapi/generators/
idl_outfile.py 34 self.open = True
87 # Append to the output if the file is still open
89 if not self.open:
96 self.open = False
102 oldtext = open(filename, 'rb').read()
124 outfile = open(filename, 'wb')
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
filesystem.py 187 """Create, open, and return a binary temp file. Returns a tuple of the file and the name."""
193 return codecs.open(path, 'rb')
207 return codecs.open(path, 'r', 'utf8')
210 return codecs.open(path, 'w', 'utf8')
216 with codecs.open(path, 'r', 'utf8') as f:
223 with codecs.open(path, 'w', 'utf8') as f:
  /external/chromium_org/tools/find_runtime_symbols/
find_runtime_symbols.py 85 with open(os.path.join(prepared_data_dir, _MAPS_FILENAME), mode='r') as f:
87 with open(os.path.join(prepared_data_dir, _FILES_FILENAME), mode='r') as f:
100 with open(os.path.join(prepared_data_dir, nm_entry['file']), 'r') as f:
105 with open(os.path.join(prepared_data_dir, readelf_entry['file']),
111 with open(os.path.join(prepared_data_dir,
  /external/zlib/src/contrib/iostream/
zfstream.cpp 18 gzfilebuf *gzfilebuf::open( const char *name, function in class:gzfilebuf
270 void gzfilestream_common::open( const char *name, int io_mode ) { function in class:gzfilestream_common
272 if ( !buffer.open( name, io_mode ) )
300 gzfilestream_common::open( name, io_mode );
320 gzfilestream_common::open( name, io_mode );
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_old_mailbox.py 51 with open(tmpname, "w") as fp:
59 with open(newname, "w") as fp:
111 with open(fname) as f:
129 with open(self._path, 'w') as f:
147 with open(self._path, 'r') as f:
test_ossaudiodev.py 27 with open(path, 'rb') as fp:
28 au = sunau.open(fp)
46 dsp = ossaudiodev.open('w')
150 dsp = ossaudiodev.open("w")
164 dsp = ossaudiodev.open('w')
test_pep277.py 2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir
79 with open(name, 'w') as f:
110 self._apply_failure(open, name, IOError)
120 f = open(name, 'w')
128 # open(), os.stat(), etc. don't raise any exception.
137 self._apply_failure(open, name, IOError)
171 with open(filename, 'w') as f:
test_posix.py 31 fp = open(test_support.TESTFN, 'w+')
129 fp = open(test_support.TESTFN)
137 fp = open(test_support.TESTFN, 'w+')
148 fp = open(test_support.TESTFN)
163 fp1 = open(test_support.TESTFN)
164 fp2 = open(test_support.TESTFN)
172 fd = os.open(test_support.TESTFN, os.O_RDONLY)
184 fd = os.open(test_support.TESTFN,
186 self.assertRaises(OSError, os.open, test_support.TESTFN,
191 fd = os.open(test_support.TESTFN
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_old_mailbox.py 51 with open(tmpname, "w") as fp:
59 with open(newname, "w") as fp:
111 with open(fname) as f:
129 with open(self._path, 'w') as f:
147 with open(self._path, 'r') as f:
test_ossaudiodev.py 27 with open(path, 'rb') as fp:
28 au = sunau.open(fp)
46 dsp = ossaudiodev.open('w')
150 dsp = ossaudiodev.open("w")
164 dsp = ossaudiodev.open('w')
test_pep277.py 2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir
79 with open(name, 'w') as f:
110 self._apply_failure(open, name, IOError)
120 f = open(name, 'w')
128 # open(), os.stat(), etc. don't raise any exception.
137 self._apply_failure(open, name, IOError)
171 with open(filename, 'w') as f:
test_posix.py 31 fp = open(test_support.TESTFN, 'w+')
129 fp = open(test_support.TESTFN)
137 fp = open(test_support.TESTFN, 'w+')
148 fp = open(test_support.TESTFN)
163 fp1 = open(test_support.TESTFN)
164 fp2 = open(test_support.TESTFN)
172 fd = os.open(test_support.TESTFN, os.O_RDONLY)
184 fd = os.open(test_support.TESTFN,
186 self.assertRaises(OSError, os.open, test_support.TESTFN,
191 fd = os.open(test_support.TESTFN
    [all...]
  /build/tools/zipalign/
ZipAlign.cpp 2 * Copyright (C) 2008 The Android Open Source Project
33 fprintf(stderr, "Copyright (C) 2009 The Android Open Source Project\n\n");
97 * Process a file. We open the input and output files, failing if the
120 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != NO_ERROR) {
121 fprintf(stderr, "Unable to open '%s' as zip archive\n", inFileName);
124 if (zout.open(outFileName,
128 fprintf(stderr, "Unable to open '%s' as zip archive\n", outFileName);
151 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != NO_ERROR) {
152 fprintf(stderr, "Unable to open '%s' for verification\n", fileName);
  /cts/libs/json/src/com/android/json/stream/
JsonWriter.java 2 * Copyright (C) 2010 The Android Open Source Project
178 return open(JsonScope.EMPTY_ARRAY, "[");
197 return open(JsonScope.EMPTY_OBJECT, "{");
213 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { method in class:JsonWriter
  /cts/tests/tests/content/src/android/content/res/cts/
AssetManagerTest.java 2 * Copyright (C) 2008 The Android Open Source Project
51 InputStream inputStream = mAssets.open(fileName);
55 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER);
87 mAssets.open("notExistFile.txt", AssetManager.ACCESS_BUFFER);
88 fail("test open(String, int) failed");
  /development/testrunner/
create_test.py 4 # Copyright 2009, The Android Open Source Project
38 <!-- Copyright (C) $YEAR The Android Open Source Project
118 tests_manifest = open(tests_manifest_path, mode="w")
147 mk_file = open(mk_path, mode="a")
168 tests_mk = open(tests_mk_path, mode="w")
  /device/lge/hammerhead/liblight/
lights.c 2 * Copyright 2013 The Android Open Source Project
64 fd = open(path, O_RDWR);
73 ALOGE("write_int failed to open %s\n", path);
85 fd = open(path, O_RDWR);
94 ALOGE("write_int failed to open %s\n", path);
211 /** Open a new instance of a lights device using name */
244 .open = open_lights,
  /device/samsung/manta/power/
power_manta.c 2 * Copyright (C) 2012 The Android Open Source Project
46 int fd = open(path, O_WRONLY);
151 manta->boostpulse_fd = open(BOOSTPULSE_PATH, O_WRONLY);
195 .open = NULL,
206 author: "The Android Open Source Project",
  /external/chromium/chrome/browser/download/
download_item.h 124 // Whether it is OK to open this download.
131 // completion if 'open' is true, or prevents the extension from automatic
132 // opening if 'open' is false.
133 void OpenFilesBasedOnExtension(bool open);
135 // Open the file associated with this download (wait for the download to
262 void set_open_when_complete(bool open) { open_when_complete_ = open; }
411 // Did the user open the item either directly or indirectly (such as by
412 // setting always open files of this type)? The shelf also sets this field
  /external/chromium_org/build/android/pylib/
ports.py 32 with open(constants.TEST_SERVER_PORT_FILE, 'w') as fp:
52 fp_lock = open(constants.TEST_SERVER_PORT_LOCKFILE, 'w')
57 with open(constants.TEST_SERVER_PORT_FILE, 'r+') as fp:
  /external/chromium_org/build/
landmines.py 65 with open(landmines_path, 'w') as f:
69 with open(landmines_path, 'r') as f:
77 with open(triggered, 'w') as f:
  /external/chromium_org/chrome/browser/chromeos/
external_metrics_unittest.cc 25 int fd = open(path, O_CREAT | O_APPEND | O_WRONLY, 0666);
110 int fd = open(path, O_CREAT | O_WRONLY, 0666);
121 fd = open(path, O_CREAT | O_WRONLY, 0666);

Completed in 469 milliseconds

<<31323334353637383940>>