/prebuilts/go/darwin-x86/src/runtime/ |
profbuf_test.go | 21 read := func(t *testing.T, b *ProfBuf, data []uint64, tags []unsafe.Pointer) { 22 rdata, rtags, eof := b.Read(ProfBufNonBlocking) 24 t.Fatalf("unexpected profile read:\nhave data %#x\nwant data %#x\nhave tags %#x\nwant tags %#x", rdata, data, rtags, tags) 34 rdata, rtags, reof := b.Read(ProfBufBlocking) 37 t.Errorf("unexpected profile read:\nhave data %#x\nwant data %#x\nhave tags %#x\nwant tags %#x\nhave eof=%v, want %v", rdata, data, rtags, tags, reof, eof) 46 t.Fatalf("timeout waiting for blocked read") 51 rdata, rtags, eof := b.Read(ProfBufBlocking) 53 t.Errorf("unexpected profile read: %#x, %#x, eof=%v; want nil, nil, eof=true", rdata, rtags, eof) 55 rdata, rtags, eof = b.Read(ProfBufNonBlocking) 57 t.Errorf("unexpected profile read (non-blocking): %#x, %#x, eof=%v; want nil, nil, eof=true", rdata, rtags, eof [all...] |
/prebuilts/go/linux-x86/src/internal/poll/ |
export_test.go | 29 func (mu *FDMutex) RWLock(read bool) bool { 30 return mu.rwlock(read) 33 func (mu *FDMutex) RWUnlock(read bool) bool { 34 return mu.rwunlock(read)
|
/prebuilts/go/linux-x86/src/runtime/ |
profbuf_test.go | 21 read := func(t *testing.T, b *ProfBuf, data []uint64, tags []unsafe.Pointer) { 22 rdata, rtags, eof := b.Read(ProfBufNonBlocking) 24 t.Fatalf("unexpected profile read:\nhave data %#x\nwant data %#x\nhave tags %#x\nwant tags %#x", rdata, data, rtags, tags) 34 rdata, rtags, reof := b.Read(ProfBufBlocking) 37 t.Errorf("unexpected profile read:\nhave data %#x\nwant data %#x\nhave tags %#x\nwant tags %#x\nhave eof=%v, want %v", rdata, data, rtags, tags, reof, eof) 46 t.Fatalf("timeout waiting for blocked read") 51 rdata, rtags, eof := b.Read(ProfBufBlocking) 53 t.Errorf("unexpected profile read: %#x, %#x, eof=%v; want nil, nil, eof=true", rdata, rtags, eof) 55 rdata, rtags, eof = b.Read(ProfBufNonBlocking) 57 t.Errorf("unexpected profile read (non-blocking): %#x, %#x, eof=%v; want nil, nil, eof=true", rdata, rtags, eof [all...] |
/system/libhidl/transport/memory/1.0/ |
IMemory.hal | 39 read(); 42 * Notify that you are about to read the specific range. 44 * @param start Offset from start of buffer about to be read. 45 * @param length Number of bytes to be read.
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/sparc/ |
cfr.s | 1 # Test read/write %cfr instructions
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-plugin/ |
plugin-20.d | 1 hook called: all symbols read.
|
plugin-22.d | 2 hook called: all symbols read.
|
plugin-23.d | 2 hook called: all symbols read.
|
plugin-24.d | 1 hook called: all symbols read.
|
plugin-25.d | 2 hook called: all symbols read.
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
RamDisk.java | 50 * @param in the stream to read the disk image from 52 * @throws IOException on read or decompression error 60 int read = zis.read(buffer); local 63 while (read >= 0) { 64 total += read; 65 bos.write(buffer, 0, read); 66 read = zis.read(buffer); 70 "read only " + total + " bytes"); //NOI18 116 public void read(long devOffset, ByteBuffer dest) throws IOException { method in class:RamDisk [all...] |
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
MockWebServerTest.java | 79 assertEquals('A', in.read()); 80 assertEquals('B', in.read()); 81 assertEquals('C', in.read()); 82 assertEquals(-1, in.read()); 175 in.read(); 193 assertEquals('A', in.read()); 194 assertEquals('B', in.read()); 195 assertEquals('C', in.read()); 197 in.read(); // if Content-Length was accurate, this would return -1 immediately 204 assertEquals('D', in2.read()); [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
RealBufferedSource.java | 44 @Override public long read(Buffer sink, long byteCount) throws IOException { method in class:RealBufferedSource 50 long read = source.read(buffer, Segment.SIZE); local 51 if (read == -1) return -1; 55 return buffer.read(sink, toRead); 60 return buffer.exhausted() && source.read(buffer, Segment.SIZE) == -1; 71 if (source.read(buffer, Segment.SIZE) == -1) return false; 101 @Override public int read(byte[] sink) throws IOException { method in class:RealBufferedSource 102 return read(sink, 0, sink.length); 112 int read = buffer.read(sink, offset, (int) buffer.size) local 121 @Override public int read(byte[] sink, int offset, int byteCount) throws IOException { method in class:RealBufferedSource 125 long read = source.read(buffer, Segment.SIZE); local 366 @Override public int read(byte[] data, int offset, int byteCount) throws IOException { method in class:RealBufferedSource [all...] |
/libcore/ojluni/src/main/java/java/io/ |
RandomAccessFile.java | 46 * input operations read bytes starting at the file pointer and advance 47 * the file pointer past the bytes read. If the random access file is 48 * created in read/write mode, then output operations are also available; 52 * extended. The file pointer can be read by the 58 * read, an {@code EOFException} (which is a kind of 59 * {@code IOException}) is thrown. If any byte cannot be read for 100 * A single tracker to track both read and write. The tracker resets when the operation 107 * Creates a random access file stream to read from, and optionally 120 * as its argument to see if read access to the file is allowed. 139 * {@code checkRead} method denies read access to the fil 369 public int read() throws IOException { method in class:RandomAccessFile 413 public int read(byte b[], int off, int len) throws IOException { method in class:RandomAccessFile 436 public int read(byte b[]) throws IOException { method in class:RandomAccessFile [all...] |
/art/tools/ahat/src/main/com/android/ahat/ |
StaticHandler.java | 51 int read; local 53 while ((read = is.read(buf)) >= 0) { 54 os.write(buf, 0, read);
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
RawDexObject.java | 22 * Base class for any data structure that we may read or write from a DEX file. 30 public void read(DexRandomAccessFile file) throws IOException; method in interface:RawDexObject
|
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/io/ |
io_block.h | 14 size_t (*read)(int lba, uintptr_t buf, size_t size); member in struct:io_block_ops
|
/external/annotation-tools/scene-lib/test/annotations/tests/executable/ |
ClassToIndexDemo.java | 19 ClassFileReader.read(s, args[0]);
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
RandomAccessFileInputStreamFactoryTest.java | 80 Assert.assertEquals(x, rafis1.read()); 81 Assert.assertEquals(x, rafis2.read()); 83 Assert.assertEquals(-1, rafis1.read()); 84 Assert.assertEquals(-1, rafis2.read());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ConstructedOctetStream.java | 20 public int read(byte[] b, int off, int len) throws IOException method in class:ConstructedOctetStream 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); 70 public int read() method in class:ConstructedOctetStream 93 int b = _currentStream.read();
|
DefiniteLengthInputStream.java | 42 public int read() method in class:DefiniteLengthInputStream 50 int b = _in.read(); 65 public int read(byte[] buf, int off, int len) method in class:DefiniteLengthInputStream 74 int numRead = _in.read(buf, off, toRead);
|
/external/clang/test/Sema/ |
attr-bounded.c | 8 ssize_t read(int, void *, size_t)
|
/external/compiler-rt/test/msan/ |
errno.cc | 13 int res = read(-1, 0, 0);
|
/external/compiler-rt/test/tsan/ |
fd_close_norace2.cc | 10 while (read(pipes[0], &x, 1) != 1) {
|
/external/curl/docs/cmdline-opts/ |
junk-session-cookies.d | 3 Help: Ignore session cookies read from file 7 When curl is told to read cookies from a given file, this option will make it
|