/prebuilts/go/linux-x86/src/debug/elf/ |
reader.go | 17 func (r errorReader) Read(p []byte) (n int, err error) { 54 func (r *readSeekerFromReader) Read(p []byte) (n int, err error) { 58 n, err = r.r.Read(p) 94 // Read until we reach offset. 101 if _, err := r.Read(b); err != nil {
|
/prebuilts/go/linux-x86/src/io/ |
multi.go | 9 func (eofReader) Read([]byte) (int, error) { 17 func (mr *multiReader) Read(p []byte) (n int, err error) { 26 n, err = mr.readers[0].Read(p) 45 // the provided input readers. They're read sequentially. Once all 46 // inputs have returned EOF, Read will return EOF. If any of the readers 47 // return a non-nil, non-EOF error, Read will return that error.
|
/prebuilts/go/linux-x86/src/mime/quotedprintable/ |
reader.go | 19 rerr error // last read error 71 // Read reads and decodes quoted-printable data from the underlying reader. 72 func (r *Reader) Read(p []byte) (n int, err error) { 78 // the final byte read from the underlying reader is allowed to be '=',
|
/prebuilts/go/linux-x86/src/net/ |
rawconn.go | 12 // BUG(mikio): On Windows, the Read and Write methods of 15 // BUG(mikio): On NaCl and Plan 9, the Control, Read and Write methods 36 func (c *rawConn) Read(f func(uintptr) bool) error { 43 err = &OpError{Op: "raw-read", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} 68 func (l *rawListener) Read(func(uintptr) bool) error {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
readwriter.go | 84 // Read implements the standard read interface. 85 func (r *normReader) Read(p []byte) (int, error) { 102 n, err := r.r.Read(r.inbuf) 119 // Reader returns a new reader that implements Read
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug184.go | 13 func (*Buffer) Read() {} 16 Read()
|
/system/core/adb/ |
shell_service_protocol.cpp | 32 bool ShellProtocol::Read() { 33 // Only read a new header if we've finished the last packet.
|
/system/core/fastboot/ |
tcp_test.cpp | 115 bool Read(const std::string& message) { 117 return transport_->Read(&buffer[0], buffer.length()) == 138 EXPECT_TRUE(Read("foo")); 149 EXPECT_TRUE(Read("foo")); 172 EXPECT_TRUE(Read(data)); 190 EXPECT_TRUE(Read("OKAY0.4")); 193 EXPECT_TRUE(Read("INFOversion: 0.4")); 194 EXPECT_TRUE(Read("INFOfoo: bar")); 195 EXPECT_TRUE(Read("OKAY")); 202 EXPECT_EQ(-1, transport_->Read(buffer, sizeof(buffer))) [all...] |
/system/tpm/tpm_manager/server/ |
local_data_store_impl.cc | 38 bool LocalDataStoreImpl::Read(LocalData* data) {
|
/system/update_engine/common/ |
hwid_override.cc | 37 string HwidOverride::Read(const base::FilePath& root) {
|
/system/update_engine/payload_consumer/ |
extent_reader.cc | 64 bool DirectExtentReader::Read(void* buffer, size_t count) {
|
/art/runtime/ |
class_table-inl.h | 68 if (!visitor(table_slot.Read<kReadBarrierOption>())) { 81 if (!visitor(table_slot.Read<kReadBarrierOption>())) { 90 inline mirror::Class* ClassTable::TableSlot::Read() const { 94 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); 96 // If another thread raced and updated the reference, do not store the read barrier updated 109 ObjPtr<mirror::Class> after_ptr(root.Read<kWithoutReadBarrier>()); 111 // If another thread raced and updated the reference, do not store the read barrier updated
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Include/Protocol/ |
HisiSpiFlashProtocol.h | 60 HISI_SPI_FLASH_READ_INTERFACE Read;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
SmmCpuIo2.h | 49 @param[in,out] Buffer For read operations, the destination buffer to store
53 @retval EFI_SUCCESS The data was read from or written to the device.
71 /// This service provides the various modalities of memory and I/O read.
73 EFI_SMM_CPU_IO2 Read;
|
/device/linaro/bootloader/edk2/Omap35xxPkg/TPS65950Dxe/ |
TPS65950.c | 30 Read (
51 //Read Data
99 Read,
|
/external/autotest/client/cros/cellular/ |
prologix_scpi_driver.py | 25 in listen mode. When 0, we must issue a ++read after every 39 read_timeout_seconds: the read time out for the socket to the 41 connect_timeout_seconds: the read time out for the socket to the 80 """Controls Prologix read-after-write (aka 'auto') mode.""" 109 # If we read a string, don't raise, just try again. 111 self.scpi_logger.error('Set gpib addr to: %s, read back: %s' % 130 # send *RST and *OPC? and then manually query with ++read, 131 # occasionally that ++read doesn't come back. We currently depend 136 def Read(self): 137 """Read a response from the bridge."" [all...] |
/external/boringssl/src/ssl/test/runner/ |
recordingconn.go | 67 func (r *recordingConn) Read(b []byte) (n int, err error) { 68 if n, err = r.Conn.Read(b); n == 0 {
|
/external/brotli/go/cbrotli/ |
cbrotli_test.go | 97 rand.Read(input) 123 rand.Read(input) 145 rand.Read(input) 161 n, err := reader.Read(decompressed) 182 func (r readerWithTimeout) Read(p []byte) (int, error) { 189 n, err := r.ReadCloser.Read(p) 196 return 0, fmt.Errorf("read timed out") 250 if n, err := reader.Read(got); err != nil || n != wantLen || !bytes.Equal(got, segment) { 251 t.Fatalf("read[%d]=%q,%v,%v, want %q,%v,%v", k, got, n, err, segment, wantLen, nil)
|
reader.go | 84 func (r *Reader) Read(p []byte) (n int, err error) { 86 m, readErr := r.src.Read(r.buf) 131 // Calling r.src.Read may block. Don't block if we have data to return. 137 encN, err := r.src.Read(r.buf) 156 buf: make([]byte, 4), // arbitrarily small but nonzero so that r.src.Read returns io.EOF
|
/external/bsdiff/ |
file.cc | 38 bool File::Read(void* buf, size_t count, size_t* bytes_read) { 43 ssize_t rc = TEMP_FAILURE_RETRY(read(fd_, buf, count));
|
/external/google-breakpad/src/processor/ |
simple_serializer-inl.h | 64 static const char *Read(const char *source, bool *value) {
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
string_traits_wtf.cc | 77 bool StringTraits<WTF::String>::Read(StringDataView input,
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
pickled_types_blink.cc | 41 bool ParamTraits<mojo::test::PickledStructBlink>::Read(
|
pickled_types_chromium.cc | 43 bool ParamTraits<mojo::test::PickledStructChromium>::Read(
|
struct_with_traits_impl_traits.cc | 47 Read(test::NestedStructWithTraits::DataView data, 83 bool StructTraits<test::StructWithTraits, test::StructWithTraitsImpl>::Read( 121 Read(test::PassByValueStructWithTraits::DataView data,
|