Searched refs:read (Results 251 - 275 of 2793) sorted by relevance

<<11121314151617181920>>

/external/libbrillo/brillo/streams/
H A Dstream_utils.h61 // Checks if |mode| allows read access.
73 // Make the access mode based on read/write rights requested.
74 inline Stream::AccessMode MakeAccessMode(bool read, bool write) { argument
75 CHECK(read || write); // Either read or write (or both) must be specified.
76 if (read && write)
87 // data from the input stream is read. The function takes ownership of both
103 // |buffer_size| specifies the size of the read buffer to use for the operation.
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/
H A DUnicodeReader.java65 * InputStream to be read
73 * read() method to initialize it.
90 n = internalIn.read(bom, 0, bom.length);
121 public int read(char[] cbuf, int off, int len) throws IOException { method in class:UnicodeReader
123 return internalIn2.read(cbuf, off, len);
/external/testng/src/main/java/org/testng/reporters/
H A DFiles.java53 int count = from.read(buffer);
56 count = from.read(buffer);
69 while ((n = reader.read(buffer)) != -1) {
/external/vogar/src/vogar/monitor/
H A DInterleavedReader.java68 public Object read() throws IOException { method in class:InterleavedReader
81 int r = reader.read(buffer, count, buffer.length - count);
99 // the buffer contains only the prefix of a marker so we must read more
103 // we've read a marker so return the value that follows
115 count = reader.read(buffer, 0, textEnd);
/external/autotest/client/tests/kernel_sysrq_info/
H A Dkernel_sysrq_info.py31 return f.read()
/external/chromium-trace/catapult/devil/devil/android/sdk/
H A Daapt.py24 cmd = [_aapt_path.read()] + args
/external/chromium-trace/catapult/systrace/profile_chrome/
H A Dsystrace_controller_unittest.py35 self.assertTrue('CPU#' in f.read())
/external/chromium-trace/catapult/third_party/Paste/paste/util/
H A Dfilemixin.py8 Objects must implement write, and read if they are input files.
36 next = self.read(1)
/external/chromium-trace/catapult/third_party/Paste/
H A Dsetup.py28 README = fp.read()
/external/chromium-trace/catapult/third_party/Paste/tests/
H A Dtest_gzipper.py18 actual = gzip.GzipFile(fileobj=six.BytesIO(res.body)).read()
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/
H A Dsetup.py61 README = fileobj.read()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
H A Dexceptions.py29 self.body = response.read()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/
H A Dsetup.py46 return f.read()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/elb/
H A Dtest_loadbalancer.py24 mock_response.read.return_value = DISABLE_RESPONSE
91 mock_response.read.return_value = DESCRIBE_RESPONSE
114 mock_response.read.return_value = DESCRIBE_RESPONSE
137 mock_response.read.return_value = DETACH_RESPONSE
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/
H A Dsetup.py28 long_description=open('README').read(),
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/functional/
H A Dtest_proxies.py63 pid = int(open(self.pidfile).read())
68 print open(self.logfile).read()
83 self.assertEqual(body, open(os.path.join(miniserver.HERE, src)).read())
84 lf = open(self.logfile).read()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/
H A Dsmoke_test.py23 self.assertEqual(body, open(os.path.join(miniserver.HERE, src)).read())
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
H A Dtest_tools.py22 self.assertTrue(f.read())
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/
H A Dsetup.py76 'version': open('pyasn1_modules/__init__.py').read().split('\'')[1],
/external/chromium-trace/catapult/third_party/typ/
H A Dsetup.py27 readme = fp.read().strip()
/external/chromium-trace/catapult/tracing/tracing_build/
H A Dcheck_gypi.py15 gyp = f.read()
/external/clang/test/SemaCXX/
H A Dincomplete-call.cpp56 void basic_istream<CharT>::read() { // expected-error{{out-of-line definition of 'read' from class 'basic_istream<CharT>' without definition}} function in class:pr18542::X::basic_istream
/external/compiler-rt/test/tsan/
H A Dfd_dup_norace.cc13 read(fds[0], &buf, 1);
H A Dfd_dup_norace2.cc8 // dup2(oldfd, newfd) races with read(newfd).
18 int n = read(fd, &buf, 1);
20 // This read can "legitimately" fail regadless of the fact that glibc claims
28 // [pid 122382] read(3, <unfinished ...>
30 // [pid 122382] <... read resumed> 0x7fcd139960b7, 1) = -1 EBADF (Bad file descriptor)
32 // read failed: n=-1 errno=9
34 // The failing read does not interfere with what this test tests,
37 // exit(printf("read failed: n=%d errno=%d\n", n, errno));
H A Dfd_pipe_norace.cc17 while (read(fds[0], &buf, 1) != 1) {

Completed in 862 milliseconds

<<11121314151617181920>>