/external/valgrind/main/memcheck/tests/ |
erringfds.c | 14 n = read ( fd, buf, 10 );
|
/external/webrtc/test/testsupport/ |
packet_reader.h | 28 // 0 length will result in no packets are read. 29 // * packet_size_in_bytes is the number of bytes to read in each NextPacket 36 // * The size of the packet ready to read (lower than the packet size for 38 // * 0 if there are no more packets to read
|
/frameworks/base/core/java/android/app/backup/ |
BackupDataInput.java | 102 // read successfully 119 * @throws IllegalStateException if the next record header has not yet been read 125 throw new IllegalStateException("Entity header not read"); 134 * @throws IllegalStateException if the next record header has not yet been read 140 throw new IllegalStateException("Entity header not read"); 145 * Read a record's raw data from the restore stream. The record's header must first 148 * must be read in a single call. Once all of the raw data for the current entity 149 * has been read, further calls to this method will simply return zero. 153 * when read from the stream 154 * @param size The number of bytes to read in this pas [all...] |
/frameworks/base/media/java/android/media/ |
DataSource.java | 30 * @param offset where in the source to read 31 * @param buffer the buffer to read the data into 32 * @param size how many bytes to read 33 * @return the number of bytes read, or -1 if there was an error
|
/frameworks/base/opengl/java/android/opengl/ |
package.html | 5 <p>For more information about how to use OpenGL, read the
|
/frameworks/compile/libbcc/lib/Support/ |
InputFile.cpp | 26 ssize_t InputFile::read(void *pBuf, size_t count) { function in class:InputFile 33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf); 38 ssize_t read_size = ::read(mFD, pBuf, count); 43 // If the errno is EAGAIN or EINTR, then we try to read again.
|
/libcore/luni/src/main/java/java/io/ |
FilterReader.java | 22 * input data while it is being read. Transformations can be anything from a 63 * indicates how many bytes can be read before the mark is invalidated. 70 * the number of bytes that can be read from this reader before 106 * @return The character read or -1 if the end of the filtered reader has 112 public int read() throws IOException { method in class:FilterReader 114 return in.read(); 121 * number of characters actually read or -1 if no characters were read and 128 public int read(char[] buffer, int offset, int count) throws IOException { method in class:FilterReader 130 return in.read(buffer, offset, count) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldStringBufferInputStreamTest.java | 28 // Test for method int java.io.StringBufferInputStream.read() 31 sbis.read(buf, 0, -1); 37 sbis.read(buf, -1, 1); 43 sbis.read(buf, 10, 1);
|
OldAndroidPushbackReaderTest.java | 37 Assert.assertEquals("PUSHAbCdEfGhIjKlMnOpQrStUvWxYz", read(a)); 45 Assert.assertEquals("XAbCdEfGhI", read(b, 10)); 58 public static String read(Reader a) throws IOException { method in class:OldAndroidPushbackReaderTest 62 r = a.read(); 69 public static String read(Reader a, int x) throws IOException { method in class:OldAndroidPushbackReaderTest 71 int len = a.read(b, 0, x); 83 r = a.read();
|
OldFilterInputStreamTest.java | 77 is.read(); 78 fail("Test 1: Read from closed stream succeeded."); 102 is.read(buf1, 0, bufSize); 104 is.read(buf1, 0, bufSize); 110 is.read(buf2, 0, bufSize); 119 is.read(buf1, 0, bufSize); 121 is.read(buf1, 0, bufSize); 123 is.read(buf2, 0, bufSize); 145 int c = is.read(); 146 assertEquals("Test 1: Read returned incorrect char;" [all...] |
/ndk/tests/device/issue46718-iostream-crash-gnustl/jni/ |
issue46718-iostream-crash.cpp | 12 printf ("Doing the read\n");
|
/ndk/tests/device/issue46718-iostream-crash-stlport/jni/ |
issue46718-iostream-crash.cpp | 12 printf ("Doing the read\n");
|
/packages/apps/Email/tests/src/com/android/email/ |
MessageListContextTests.java | 35 MessageListContext read = MessageListContext.CREATOR.createFromParcel(parcel); local 36 assertEquals(original, read); 50 MessageListContext read = MessageListContext.CREATOR.createFromParcel(parcel); local 51 assertEquals(original, read);
|
/sdk/apps/DeviceConfig/ |
README.txt | 6 read the UPDATE_DEVICES.txt file in that directory.
|
/sdk/testapps/ |
README.txt | 5 Each project represents a different test case. For more information, read
|
/external/chromium_org/ppapi/proxy/ |
ppapi_param_traits.cc | 44 // This part is just a copy of the the default ParamTraits vector Read(). 84 bool ParamTraits<PP_Bool>::Read(const Message* m, 91 if (!ParamTraits<bool>::Read(m, iter, &result)) 114 bool ParamTraits<PP_FileInfo>::Read(const Message* m, PickleIterator* iter, 117 if (!ParamTraits<int64_t>::Read(m, iter, &r->size) || 118 !ParamTraits<int>::Read(m, iter, &type) || 119 !ParamTraits<int>::Read(m, iter, &system_type) || 120 !ParamTraits<double>::Read(m, iter, &r->creation_time) || 121 !ParamTraits<double>::Read(m, iter, &r->last_access_time) || 122 !ParamTraits<double>::Read(m, iter, &r->last_modified_time) [all...] |
/external/chromium_org/chrome/common/extensions/docs/templates/intros/ |
mediaGalleries.html | 12 that can be accessed, and the types of access (read-only, copy-to, etc).</p> 24 <p>On the access type axis, the "read" permission parameter grants the 25 app the right to read files. This permission does not trigger an install 34 <b>{ "mediaGalleries": ["read", "allAutoDetected"] }</b> 40 and let the app read from all auto-detected media galleries on the 43 to read all the media files from galleries that the user has selected.</p> 47 for copyTo() operations. "copyTo" and "read" can both be specified to obtain
|
/external/chromium_org/ipc/ |
ipc_message_utils_unittest.cc | 31 // Read back the nested message. 34 ASSERT_TRUE(ParamTraits<Message>::Read(&outer_msg, &iter, &result_msg)); 45 ASSERT_TRUE(ParamTraits<int>::Read(&nested_msg, &nested_iter, 51 ASSERT_FALSE(ParamTraits<Message>::Read(&outer_msg, &iter, &dummy)); 52 ASSERT_FALSE(ParamTraits<int>::Read(&nested_msg, &nested_iter, 69 ASSERT_TRUE(ParamTraits<base::FilePath>::Read(&message, &iter, &ok_path)); 70 ASSERT_FALSE(ParamTraits<base::FilePath>::Read(&message, &iter, &bad_path));
|
/external/chromium_org/remoting/host/ |
json_host_config_unittest.cc | 40 EXPECT_FALSE(target.Read()); 43 TEST_F(JsonHostConfigTest, Read) { 45 base::FilePath test_file = test_dir_.path().AppendASCII("read.json"); 48 ASSERT_TRUE(target.Read()); 71 ASSERT_TRUE(target.Read()); 77 // Now read the file again and check that the value has been written. 79 ASSERT_TRUE(reader.Read());
|
/external/chromium_org/v8/test/mjsunit/ |
override-read-only-property.js | 31 // allowed to override read-only properties, not even if the read-only 35 // of read-only properties in prototype chains. 43 // but is read-only in a prototype does not take effect. 50 // but is read-only in a prototype does not take effect. 57 // Assignment to read-only property on the object itself is ignored. 61 // G should be read-only on the global object and the assignment is
|
/external/guava/guava/src/com/google/common/io/ |
CountingInputStream.java | 26 * An {@link InputStream} that counts the number of bytes read. 38 * Wraps another input stream, counting the number of bytes read. 46 /** Returns the number of bytes read. */ 51 @Override public int read() throws IOException { method in class:CountingInputStream 52 int result = in.read(); 59 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:CountingInputStream 60 int result = in.read(b, off, len);
|
LimitInputStream.java | 27 * An InputStream that limits the number of bytes which can be read. 39 * Wraps another input stream, limiting the number of bytes which can be read. 42 * @param limit the maximum number of bytes to be read 61 @Override public int read() throws IOException { method in class:LimitInputStream 66 int result = in.read(); 73 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:LimitInputStream 79 int result = in.read(b, off, len);
|
MultiInputStream.java | 78 @Override public int read() throws IOException { method in class:MultiInputStream 82 int result = in.read(); 85 return read(); 90 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:MultiInputStream 94 int result = in.read(b, off, len); 97 return read(b, off, len); 110 if (read() == -1) {
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_Surface.3 | 8 Uint32 flags; /* Read-only */ 9 SDL_PixelFormat *format; /* Read-only */ 10 int w, h; /* Read-only */ 11 Uint16 pitch; /* Read-only */ 12 void *pixels; /* Read-write */ 15 SDL_Rect clip_rect; /* Read-only */ 18 int refcount; /* Read-mostly */
|
/external/v8/test/mjsunit/ |
override-read-only-property.js | 29 // allowed to override read-only properties, not even if the read-only 33 // of read-only properties in prototype chains. 41 // but is read-only in a prototype takes effect. 48 // but is read-only in a prototype takes effect. 55 // Assignment to read-only property on the object itself is ignored. 59 // G should be read-only on the global object and the assignment is
|