HomeSort by relevance Sort by last modified time
    Searched defs:read (Results 101 - 125 of 2562) sorted by null

1 2 3 45 6 7 8 91011>>

  /system/media/audio_utils/include/audio_utils/
echo_reference.h 25 /** Buffer descriptor used by read() and write() methods, including the time stamp and delay. */
40 * when used for EchoReference::read():
51 int (*read)(struct echo_reference_itfe *echo_reference, struct echo_reference_buffer *buffer); member in struct:echo_reference_itfe
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/
FsFile.java 54 * first byte read will be put into the buffer at it's
55 * {@link ByteBuffer#position() position}, and the number of bytes read
59 * @param dest the destination buffer where to put the bytes that were read
60 * @throws IOException on read error
62 public void read(long offset, ByteBuffer dest) throws IOException; method in interface:FsFile
66 * {@code ByteBuffer}. This method will read the buffer's
72 * @param src the source buffer to read the data from
73 * @throws ReadOnlyException if the file is read-only
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
Fat16RootDirectory.java 48 * @param bs the boot sector that describes the root directory to read
49 * @param readOnly if the directory shold be created read-only
50 * @return the directory that was read
51 * @throws IOException on read error
53 public static Fat16RootDirectory read( method in class:Fat16RootDirectory
57 result.read();
64 * read-write mode.
79 protected void read(ByteBuffer data) throws IOException { method in class:Fat16RootDirectory
80 this.device.read(deviceOffset, data);
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
HprofBinaryToAscii.java 45 * Reads single file from arguments and attempts to read it as
101 * Read and return an HprofData from a vanilla binary hprof file.
107 return read(inputStream);
114 * Read a file looking for text header terminated by two newlines,
115 * then proceed to read binary hprof data.
122 while ((ch = inputStream.read()) != -1) {
123 if (ch == '\n' && inputStream.read() == '\n') {
124 return read(inputStream);
134 * Read binary hprof data from the provided input stream and
137 private static HprofData read(InputStream inputStream) throws IOException method in class:HprofBinaryToAscii
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
BufferedInputStreamTest.java 97 str.read();
110 str.read();
121 // Ensure buffer gets filled by evaluating one read
122 is.read();
126 // Read the remaining buffered characters, no IOException should
129 is.read();
131 // is.read should now throw an exception because it will have to
133 is.read();
134 fail("Exception should have been triggered by read()");
198 public int read() {
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldReaderTest.java 37 assertEquals("Wrong return value!", 4, simple.read(buf));
39 assertEquals("Wrong stuff read!", "Bla ", String.valueOf(buf));
40 simple.read(buf);
42 assertEquals("Wrong stuff read!", "bla,", String.valueOf(buf));
45 simple.read(buf);
55 assertEquals("Wrong return value!", 4, simple.read(buf));
56 assertEquals("Wrong stuff read!", "Bla ", new String(buf));
57 simple.read(buf);
58 assertEquals("Wrong stuff read!", "bla,", new String(buf));
61 simple.read(buf)
116 @Override public int read(char[] buf, int offset, int count) { method in class:OldReaderTest.MockReader
    [all...]
  /art/tools/dexfuzz/src/dexfuzz/rawdex/
EncodedAnnotation.java 27 public void read(DexRandomAccessFile file) throws IOException { method in class:EncodedAnnotation
33 (elements[i] = new AnnotationElement()).read(file);
EncodedCatchHandler.java 27 public void read(DexRandomAccessFile file) throws IOException { method in class:EncodedCatchHandler
33 (handlers[i] = new EncodedTypeAddrPair()).read(file);
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
TypeList.java 26 public void read(DexRandomAccessFile file) throws IOException { method in class:TypeList
32 (list[i] = new TypeItem()).read(file);
  /cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
WriteGiftTest.java 48 for (File read : readList) {
49 read.getParentFile().mkdirs();
50 read.createNewFile();
51 assertFileReadWriteAccess(read);
53 writeInt(read, 101);
54 assertEquals(101, readInt(read));
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptor_AutoCloseInputStreamTest.java 30 assertEquals(0, in.read());
35 in.read();
  /development/ndk/platforms/android-21/include/
unistd.h 95 #define R_OK 4 /* Read */
132 extern ssize_t read(int, void *, size_t);
197 __errordecl(__read_dest_size_error, "read called with size bigger than destination");
198 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX");
200 __asm__(__USER_LABEL_PREFIX__ "read");
203 ssize_t read(int fd, void* buf, size_t count) { function
  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/
Utils.java 35 * Will read the content from a given {@link InputStream} and return it as a {@link String}.
37 * @param inputStream The {@link InputStream} which should be read.
38 * @return Returns <code>null</code> if the the {@link InputStream} could not be read. Else
44 inputStream.read(bytes, 0, bytes.length);
  /development/tools/idegen/src/
Files.java 30 int read; local
33 while ((read = in.read(buffer)) > -1) {
34 builder.append(buffer, 0, read);
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
SocketStream.cpp 134 const unsigned char *SocketStream::read( void *buf, size_t *inout_len) function in class:SocketStream
  /device/google/contexthub/util/common/
file.cpp 80 ssize_t File::read(void *data, size_t size) { function in class:android::File
81 return ::read(mFd, data, size);
ring.cpp 72 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { function in class:android::RingBuffer
  /device/google/dragon/recovery/updater/
flash_device.h 29 int (*read)(void *hnd, off_t offset, void *buffer, size_t count); member in struct:flash_device_ops
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherInputStreamTest.java 33 * @tests javax.crypto.CipherInputStream#read(byte[] b, int off, int len)
39 stream.read(new byte[1], 1, 0);
  /external/apache-http/src/org/apache/http/impl/io/
IdentityInputStream.java 79 public int read() throws IOException { method in class:IdentityInputStream
83 return this.in.read();
87 public int read(final byte[] b, int off, int len) throws IOException { method in class:IdentityInputStream
91 return this.in.read(b, off, len);
  /external/autotest/client/cros/
gpio.py 25 print gpio.read(gpio.DEVELOPER_SWITCH_CURRENT)
70 def read(self, name): member in class:Gpio
75 name: the name of property to read.
79 debug_title = "Gpio.read('%s'): " % name
89 value = pipe.read()
93 debug_info = temp_handle.read()
118 gpio.read(gpio.DEVELOPER_SWITCH_CURRENT))
  /external/autotest/site_utils/suite_scheduler/
forgiving_config_parser.py 21 Also implements reread(), which allows any already-read-in configs to be
27 @var _cached_config_file_names: the names of the config files last read().
36 def read(self, filenames): member in class:ForgivingConfigParser
37 """Caches filenames, then performs normal read() functionality.
39 @param filenames: string or iterable. The files to read.
40 @return list of files that could not be read, as per super class.
42 to_return = ConfigParser.SafeConfigParser.read(self, filenames)
48 """Clear all sections, re-read configs from disk."""
51 return ConfigParser.SafeConfigParser.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);

Completed in 817 milliseconds

1 2 3 45 6 7 8 91011>>