/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
IndefiniteLengthInputStream.java | 22 _b1 = in.read(); 23 _b2 = in.read(); 51 public int read(byte[] b, int off, int len) method in class:IndefiniteLengthInputStream 57 return super.read(b, off, len); 65 int numRead = _in.read(b, off + 2, len - 2); 76 _b1 = _in.read(); 77 _b2 = _in.read(); 88 public int read() method in class:IndefiniteLengthInputStream 96 int b = _in.read();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/ |
DigestInputStream.java | 22 public int read() method in class:DigestInputStream 25 int b = in.read(); 34 public int read( method in class:DigestInputStream 40 int n = in.read(b, off, len);
|
MacInputStream.java | 22 public int read() method in class:MacInputStream 25 int b = in.read(); 34 public int read( method in class:MacInputStream 40 int n = in.read(b, off, len);
|
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
ImmutableListTypeAdatperFactory.java | 60 @Override public T read(JsonReader in) throws IOException { method in class:ImmutableListTypeAdatperFactory 61 ArrayList<?> arrayList = arrayListAdapter.read(in);
|
ImmutableMapTypeAdapterFactory.java | 60 @Override public T read(JsonReader in) throws IOException { method in class:ImmutableMapTypeAdapterFactory 61 HashMap<?, ?> hashMap = hashMapAdapter.read(in);
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
resumable_streaming_upload.py | 59 def read(self, size=-1): # pylint: disable=invalid-name member in class:ResumableStreamingJsonUploadWrapper 63 size: The amount of bytes to read. If omitted or negative, the entire 64 contents of the stream will be read and returned. 77 # There was a backwards seek, so read from the buffer first. 81 # each read on a long catch-up is probably not performant, but we'd 93 # Read until we've read enough or we're out of buffer. 108 # At this point we're guaranteed that if there are any bytes left to read, 109 # then self._position == self._buffer_end, and we can read from the 119 new_data = self._orig_fp.read(size [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/ |
blob.py | 54 def read(self): member in class:Blob 58 return self.file.read()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/sns/ |
test_connection.py | 37 def read(self): member in class:StubResponse
|
/external/clang/test/Analysis/ |
taint-tester.cpp | 21 ssize_t read; local 24 while ((read = T.getline(&line, &len, stdin)) != -1) {
|
/external/clang/test/OpenMP/ |
atomic_messages.cpp | 39 T read() { function 41 // Test for atomic read 42 #pragma omp atomic read 43 // expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type}} 46 #pragma omp atomic read 47 // expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type}} 50 #pragma omp atomic read 51 // expected-error@+2 2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type}} 54 #pragma omp atomic read 55 // expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with (…) 71 int read() { function [all...] |
/external/deqp/framework/common/ |
tcuResource.cpp | 61 void FileResource::read (deUint8* dst, int numBytes) function in class:tcu::FileResource
|
/external/deqp/framework/platform/android/ |
tcuAndroidAssets.cpp | 60 void AssetResource::read (deUint8* dst, int numBytes) function in class:tcu::Android::AssetResource
|
/external/flac/include/FLAC/ |
callback.h | 91 /** Signature for the read callback. 95 * \param ptr The address of the read buffer. 96 * \param size The size of the records to be read. 97 * \param nmemb The number of records to be read. 100 * The number of records read. 171 FLAC__IOCallback_Read read; member in struct:__anon12035
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
StreamEncoder.java | 22 int read; local 23 while ((read = data.read(buffer)) != -1) { 24 os.write(buffer, 0, read);
|
/external/glide/testutil/src/main/java/com/bumptech/glide/testutil/ |
TestUtil.java | 22 int read; local 24 while ((read = is.read(buffer)) != -1) { 25 os.write(buffer, 0, read);
|
/external/guava/guava/src/com/google/common/io/ |
CountingInputStream.java | 28 * An {@link InputStream} that counts the number of bytes read. 40 * Wraps another input stream, counting the number of bytes read. 48 /** Returns the number of bytes read. */ 53 @Override public int read() throws IOException { method in class:CountingInputStream 54 int result = in.read(); 61 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:CountingInputStream 62 int result = in.read(b, off, len);
|
GwtWorkarounds.java | 44 int read() throws IOException; method in interface:GwtWorkarounds.CharInput 56 public int read() throws IOException { 57 return reader.read(); 76 public int read() { 95 int read() throws IOException; 107 public int read() throws IOException { 108 return input.read(); 112 public int read(byte[] b, int off, int len) throws IOException { 118 int firstByte = read(); 124 int readByte = read(); [all...] |
MultiInputStream.java | 81 @Override public int read() throws IOException { method in class:MultiInputStream 85 int result = in.read(); 88 return read(); 93 @Override public int read(@Nullable byte[] b, int off, int len) throws IOException { method in class:MultiInputStream 97 int result = in.read(b, off, len); 100 return read(b, off, len); 113 if (read() == -1) {
|
MultiReader.java | 52 @Override public int read(@Nullable char cbuf[], int off, int len) throws IOException { method in class:MultiReader 56 int result = current.read(cbuf, off, len); 59 return read(cbuf, off, len);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
StringPrepDataReader.java | 45 public char[] read(int length) throws IOException{ method in class:StringPrepDataReader 46 //Read the extra data 61 //Read the indexes
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
StringPrepDataReader.java | 43 public char[] read(int length) throws IOException{ method in class:StringPrepDataReader 44 //Read the extra data 59 //Read the indexes
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
HttpInput.java | 43 * @see java.io.InputStream#read() 46 public int read() throws IOException method in class:HttpInput 49 int read = read(bytes, 0, 1); local 50 return read < 0 ? -1 : 0xff & bytes[0]; 55 * @see java.io.InputStream#read(byte[], int, int) 58 public int read(byte[] b, int off, int len) throws IOException method in class:HttpInput
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
ReadLineInputStream.java | 28 * Read from an input stream, accepting CR/LF, LF or just CR. 51 int b=super.read(); 100 public synchronized int read() throws IOException method in class:ReadLineInputStream 102 int b = super.read(); 107 b=super.read(); 113 public synchronized int read(byte[] buf, int off, int len) throws IOException method in class:ReadLineInputStream 120 int b = super.read(); 127 return 1+super.read(buf,off+1,len-1); 132 return super.read(buf,off,len);
|
/external/libbrillo/brillo/http/ |
http_request_unittest.cc | 35 size_t read = 0; local 36 while (arg->ReadBlocking(buf, sizeof(buf), &read, nullptr) && read > 0) { 37 data.append(buf, read); 153 [&resp_data](void* buffer, Unused, size_t* read, Unused) -> bool { 155 *read = resp_data.size();
|
/external/libbrillo/brillo/streams/ |
input_stream_set_unittest.cc | 102 size_t read = 0; local 110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 112 EXPECT_EQ(10, read); 121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 123 EXPECT_EQ(100, read); 128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 130 EXPECT_EQ(0, read); 135 size_t read = 0; local 142 EXPECT_TRUE(stream_->ReadBlocking(IntToPtr(1000), 100, &read, nullptr)); 143 EXPECT_EQ(10, read); [all...] |