HomeSort by relevance Sort by last modified time
    Searched full:read (Results 451 - 475 of 14757) sorted by null

<<11121314151617181920>>

  /system/extras/tests/ext4/
set_ext4_err_bit.c 31 fprintf(stderr, "%s: Cannot lseek to superblock to read\n", me);
35 if (read(fd, sb, SB_SIZE) != SB_SIZE) {
36 fprintf(stderr, "%s: Cannot read superblock\n", me);
  /external/apache-http/src/org/apache/http/impl/io/
ChunkedInputStream.java 50 * transfer coding. After the stream is read to the end, it provides access
54 * gets called. Instead, it will read until the "end" of its chunking on
56 * requests, while not requiring the client to remember to read the entire
110 * <p> Trailer headers are read automcatically at the end of the stream and
117 public int read() throws IOException { method in class:ChunkedInputStream
119 throw new IOException("Attempted read from closed stream.");
131 return in.read();
135 * Read some bytes from the stream.
142 * @see java.io.InputStream#read(byte[], int, int)
145 public int read (byte[] b, int off, int len) throws IOException method in class:ChunkedInputStream
174 public int read (byte[] b) throws IOException { method in class:ChunkedInputStream
    [all...]
  /external/javassist/sample/preproc/
Compiler.java 91 while ((c = reader.read()) != -1) {
103 while ((c = input.read()) != -1)
112 c = reader.read();
117 while ((c = reader.read()) != -1) {
132 word[i] = reader.read();
145 c = reader.read();
158 reader.read(); // skip 'y'
192 return reader.read();
205 c = reader.read();
216 c = reader.read();
310 public int read() throws IOException { method in class:CommentSkipper
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldLineNumberReaderTest.java 53 * java.io.LineNumberReader#read()
58 int c = lnr.read();
59 assertEquals("Test 1: Read returned incorrect character;",
61 lnr.read();
62 assertEquals("Test 2: Read failed to increase the line number;",
67 lnr.read();
75 * java.io.LineNumberReader#read(char[], int, int)
80 lnr.read(c, 0, 4);
81 assertTrue("Test 1: Read returned incorrect characters.", "0\n1\n"
83 assertEquals("Test 2: Read failed to inc lineNumber"
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
GZIPInputStreamTest.java 121 * @tests java.util.zip.GZIPInputStream#read(byte[], int, int)
139 result += inGZIP.read(outBuf, result, outBuf.length - result);
152 inGZIP.read(outBuf, 100, 1);
178 while ((result = gin2.read(test)) != -1) {
181 assertEquals("Should return -1", -1, gin2.read());
187 while ((result = gin2.read(new byte[200])) != -1) {
190 assertEquals("Should return -1", -1, gin2.read());
196 while ((result = gin2.read(new byte[200])) != -1) {
199 assertEquals("Should return -1", -1, gin2.read());
207 while (gin2.read(test) != -1)
    [all...]
  /external/kernel-headers/original/linux/
rcupdate.h 2 * Read-Copy Update mechanism for mutual exclusion
28 * For detailed explanation of Read-Copy Update mechanism see -
87 * Per-CPU data for Read-Copy UPdate.
138 * rcu_read_lock - mark the beginning of an RCU read-side critical section.
141 * are within RCU read-side critical sections, then the
144 * on one CPU while other CPUs are within RCU read-side critical
149 * with RCU read-side critical sections. One way that this can happen
151 * read-side critical section, (2) CPU 1 invokes call_rcu() to register
152 * an RCU callback, (3) CPU 0 exits the RCU read-side critical section,
153 * (4) CPU 2 enters a RCU read-side critical section, (5) the RC
    [all...]
  /external/openssh/
msg.c 72 if (atomicio(read, fd, buf, sizeof(buf)) != sizeof(buf)) {
74 error("ssh_msg_recv: read: header");
79 error("ssh_msg_recv: read: bad msg_len %u", msg_len);
84 if (atomicio(read, fd, buffer_ptr(m), msg_len) != msg_len) {
85 error("ssh_msg_recv: read: %s", strerror(errno));
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
fst.cpp 51 // Check Fst magic number and read in Fst header.
52 bool FstHeader::Read(istream &strm, const string &source) {
56 LOG(ERROR) << "FstHeader::Read: Bad FST header: " << source;
69 LOG(ERROR) << "FstHeader::Read: read failed: " << source;
  /external/webkit/Source/WebCore/platform/audio/
ReverbAccumulationBuffer.h 37 // writing/accumulating to it at different delay offsets from the read position. The read operation will zero the memory
38 // just read from the buffer, so it will be ready for accumulation the next time around.
43 // This will read from, then clear-out numberOfFrames
46 // Each ReverbConvolverStage will accumulate its output at the appropriate delay from the read position.
  /frameworks/av/services/audioflinger/
PipeReader.cpp 49 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront
62 ssize_t PipeReader::read(void *buffer, size_t count) function in class:android::PipeReader
69 // but it will be caught at next read()
80 // We could re-read the rear pointer here to detect the corruption, but why bother?
  /frameworks/compile/linkloader/include/impl/
ELFReloc.hxx 30 // Archiver is in bad state before calling read function.
38 // Unable to read the structure. Return NULL.
43 // Rel read from archiver is not valid. Return NULL.
58 // Archiver is in bad state before calling read function.
71 // Rel read from archiver is not valid. Return NULL.
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
pg.h 13 of read and write operations to the appropriate /dev/pgN device.
18 immediately by a read operation, to obtain any returned data and
19 status information. A read will fail if there is no operation
23 and in this case, no following read is expected, or permitted.
32 read and write buffers contain a single character "magic" flag.
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
pg.h 13 of read and write operations to the appropriate /dev/pgN device.
18 immediately by a read operation, to obtain any returned data and
19 status information. A read will fail if there is no operation
23 and in this case, no following read is expected, or permitted.
32 read and write buffers contain a single character "magic" flag.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
pg.h 13 of read and write operations to the appropriate /dev/pgN device.
18 immediately by a read operation, to obtain any returned data and
19 status information. A read will fail if there is no operation
23 and in this case, no following read is expected, or permitted.
32 read and write buffers contain a single character "magic" flag.
  /system/core/adb/
log_service.c 35 /* get the name of the log filepath to read */
44 // temp buffer to read the entries
55 // perror("logcat read");
59 // fprintf(stderr, "read: Unexpected EOF!\n");
63 /* NOTE: driver guarantees we read exactly one full entry */
test_track_devices.c 39 int len2 = read(fd, buf, len);
75 /* read the OKAY answer */
77 panic( "could not read request" );
86 panic("could not read length");
92 panic("could not read data");
test_track_jdwp.c 39 int len2 = read(fd, buf, len);
75 /* read the OKAY answer */
77 panic( "could not read request" );
86 panic("could not read length");
92 panic("could not read data");
  /system/core/libcutils/
buffer.h 31 * Byte buffer of known size. Keeps track of how much data has been read
54 * Returns true if all data has been read into the buffer.
79 * Prepares buffer to read 'expected' number of bytes. Expands capacity if
87 * errno (see read()). Returns 0 for EOF. Updates buffer->size and returns
88 * the new size after a succesful read.
  /device/samsung/toro/
releasetools.py 22 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
30 radio_img = info.input_zip.read("RADIO/radio.img")
38 radio_cdma_img = info.input_zip.read("RADIO/radio-cdma.img")
46 target_radio_img = info.target_zip.read("RADIO/radio.img")
47 source_radio_img = info.source_zip.read("RADIO/radio.img")
62 target_bootloader_img = info.target_zip.read("RADIO/bootloader.img")
64 source_bootloader_img = info.source_zip.read("RADIO/bootloader.img")
77 target_radio_img = info.target_zip.read("RADIO/radio.img")
79 source_radio_img = info.source_zip.read("RADIO/radio.img")
89 target_radio_cdma_img = info.target_zip.read("RADIO/radio-cdma.img"
    [all...]
  /external/webkit/Source/WebKit/qt/Api/
qwebview.h 43 Q_PROPERTY(QString title READ title)
44 Q_PROPERTY(QUrl url READ url WRITE setUrl)
45 Q_PROPERTY(QIcon icon READ icon)
46 Q_PROPERTY(QString selectedText READ selectedText)
47 Q_PROPERTY(QString selectedHtml READ selectedHtml)
48 Q_PROPERTY(bool hasSelection READ hasSelection)
49 Q_PROPERTY(bool modified READ isModified)
50 //Q_PROPERTY(Qt::TextInteractionFlags textInteractionFlags READ textInteractionFlags WRITE setTextInteractionFlags)
51 Q_PROPERTY(qreal textSizeMultiplier READ textSizeMultiplier WRITE setTextSizeMultiplier DESIGNABLE false)
52 Q_PROPERTY(qreal zoomFactor READ zoomFactor WRITE setZoomFactor
    [all...]
  /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/luni/src/main/java/java/security/
DigestInputStream.java 80 * @return the byte which was read or -1 at end of stream.
85 public int read() throws IOException { method in class:DigestInputStream
86 // read the next byte
87 int byteRead = in.read();
94 // return byte read
108 * the initial position in {@code b} to store the bytes read from
112 * @return the number of bytes actually read or -1 if the end of the
118 public int read(byte[] b, int off, int len) throws IOException { method in class:DigestInputStream
119 // read next up to len bytes
120 int bytesRead = in.read(b, off, len)
    [all...]
  /bionic/libc/include/sys/
mount.h 39 #define MS_RDONLY 1 /* Mount read-only */
79 #define BLKROSET _IO(0x12, 93) /* Set device read-only (0 = read-write). */
80 #define BLKROGET _IO(0x12, 94) /* Get read-only status (0 = read_write). */
81 #define BLKRRPART _IO(0x12, 95) /* Re-read partition table. */
84 #define BLKRASET _IO(0x12, 98) /* Set read ahead for block device. */
85 #define BLKRAGET _IO(0x12, 99) /* Get current read ahead setting. */
  /cts/suite/audio_quality/test/
TaskTest.cpp 116 android::String8 read; local
122 ASSERT_TRUE(task->findStringAttributePublic(AAA, read));
123 ASSERT_TRUE(read == aaaVal);
124 ASSERT_TRUE(task->findStringAttributePublic(BBB, read));
125 ASSERT_TRUE(read == bbbVal);
128 ASSERT_TRUE(!task->findStringAttributePublic(VERSION, read));
129 ASSERT_TRUE(!task->findStringAttributePublic(NAME, read));
  /cts/tests/tests/net/src/android/net/cts/
LocalSocketTest.java 51 assertEquals(12, serverInStream.read());
57 assertEquals(3, clientInStream.read());
62 assertEquals(32, serverInStream.read());
71 assertEquals(-1, clientInStream.read());
84 assertEquals(-1, serverInStream.read());
98 clientInStream.read();
107 serverInStream.read();

Completed in 5374 milliseconds

<<11121314151617181920>>