/external/libbrillo/brillo/streams/ |
H A D | stream_utils.h | 61 // 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 D | UnicodeReader.java | 65 * 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 D | Files.java | 53 int count = from.read(buffer); 56 count = from.read(buffer); 69 while ((n = reader.read(buffer)) != -1) {
|
/external/vogar/src/vogar/monitor/ |
H A D | InterleavedReader.java | 68 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 D | kernel_sysrq_info.py | 31 return f.read()
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
H A D | aapt.py | 24 cmd = [_aapt_path.read()] + args
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
H A D | systrace_controller_unittest.py | 35 self.assertTrue('CPU#' in f.read())
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
H A D | filemixin.py | 8 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 D | setup.py | 28 README = fp.read()
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
H A D | test_gzipper.py | 18 actual = gzip.GzipFile(fileobj=six.BytesIO(res.body)).read()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/ |
H A D | setup.py | 61 README = fileobj.read()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/ |
H A D | exceptions.py | 29 self.body = response.read()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/ |
H A D | setup.py | 46 return f.read()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/elb/ |
H A D | test_loadbalancer.py | 24 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 D | setup.py | 28 long_description=open('README').read(),
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/functional/ |
H A D | test_proxies.py | 63 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 D | smoke_test.py | 23 self.assertEqual(body, open(os.path.join(miniserver.HERE, src)).read())
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
H A D | test_tools.py | 22 self.assertTrue(f.read())
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/ |
H A D | setup.py | 76 'version': open('pyasn1_modules/__init__.py').read().split('\'')[1],
|
/external/chromium-trace/catapult/third_party/typ/ |
H A D | setup.py | 27 readme = fp.read().strip()
|
/external/chromium-trace/catapult/tracing/tracing_build/ |
H A D | check_gypi.py | 15 gyp = f.read()
|
/external/clang/test/SemaCXX/ |
H A D | incomplete-call.cpp | 56 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 D | fd_dup_norace.cc | 13 read(fds[0], &buf, 1);
|
H A D | fd_dup_norace2.cc | 8 // 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 D | fd_pipe_norace.cc | 17 while (read(fds[0], &buf, 1) != 1) {
|