/libcore/luni/src/main/java/java/io/ |
ByteArrayInputStream.java | 29 * The {@code byte} array containing the bytes to stream over. 55 * the byte array to stream over. 69 * the byte array to stream over. 93 * Closes this stream and frees resources associated with this stream. 96 * if an I/O error occurs while closing this stream. 106 * stream back to the marked position. 119 * Indicates whether this stream supports the {@code mark()} and 137 * @return the byte read or -1 if the end of this stream has been reached. 162 * Resets this stream to the last marked location. This implementatio [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
CipherInputStream.java | 52 * {@code CipherInputStream}. All read operations on such a stream will 56 * the input stream to read data from. 72 * the input stream to read data from. 79 * Reads the next byte from this cipher input stream. 81 * @return the next byte, or {@code -1} if the end of the stream is reached. 122 * Reads the next {@code len} bytes from this input stream into buffer 129 * of the of the stream is reached. 133 * if the underlying input stream is {@code null}. 166 * stream and call {@code doFinal} on the cipher object. 183 * Returns whether this input stream supports {@code mark} an [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_runner.py | 154 def __init__(self, stream, descriptions, verbosity): 155 super(AResult, self).__init__(stream, descriptions, verbosity) 170 runner = unittest.TextTestRunner(stream=StringIO(), failfast=True, 189 runner = unittest.TextTestRunner(stream=StringIO()) 243 stream = PickleableIO("foo") 244 runner = unittest.TextTestRunner(stream) 249 self.assertEqual(obj.stream.getvalue(), stream.getvalue()) 254 STREAM = object() 257 runner = unittest.TextTestRunner(STREAM, DESCRIPTIONS, VERBOSITY [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_runner.py | 154 def __init__(self, stream, descriptions, verbosity): 155 super(AResult, self).__init__(stream, descriptions, verbosity) 170 runner = unittest.TextTestRunner(stream=StringIO(), failfast=True, 189 runner = unittest.TextTestRunner(stream=StringIO()) 243 stream = PickleableIO("foo") 244 runner = unittest.TextTestRunner(stream) 249 self.assertEqual(obj.stream.getvalue(), stream.getvalue()) 254 STREAM = object() 257 runner = unittest.TextTestRunner(STREAM, DESCRIPTIONS, VERBOSITY [all...] |
/external/doclava/src/com/google/doclava/ |
Stubs.java | 322 PrintStream stream = null; local 324 stream = new PrintStream(new BufferedOutputStream(new FileOutputStream(file))); 325 writeClassFile(stream, notStrippable, cl); 329 if (stream != null) { 330 stream.close(); 335 static void writeClassFile(PrintStream stream, HashSet<ClassInfo> notStrippable, ClassInfo cl) { 338 stream.println("package " + pkg.name() + ";"); 340 writeClass(stream, notStrippable, cl); 343 static void writeClass(PrintStream stream, HashSet<ClassInfo> notStrippable, ClassInfo cl) { 344 writeAnnotations(stream, cl.annotations(), cl.isDeprecated()) [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnectionTest.java | 57 @Override public void receive(SpdyStream stream) throws IOException { 77 SpdyStream stream = connection.newStream(Arrays.asList("b", "banana"), true, true); local 78 assertEquals(Arrays.asList("a", "android"), stream.getResponseHeaders()); 79 assertStreamData("robot", stream.getInputStream()); 80 writeAndClose(stream, "c3po"); 100 SpdyStream stream = connection.newStream(Arrays.asList("a", "android"), false, false); local 102 assertEquals(Arrays.asList("b", "banana"), stream.getResponseHeaders()); 137 @Override public void receive(SpdyStream stream) throws IOException { 139 assertEquals(Arrays.asList("a", "android"), stream.getRequestHeaders()); 140 assertEquals(-1, stream.getRstStatusCode()) [all...] |
/external/sonivox/jet_tools/JetCreator/ |
midifile.py | 206 def __init__ (self, stream, msg):
207 stream.error_loc = stream.tell()
208 self.stream = stream
211 return '[%d]: %s' % (self.stream.error_loc, self.msg)
257 def ReadByte (stream):
259 return ord(stream.read(1))
261 stream.error_loc = stream.tell() [all...] |
/external/chromium/net/spdy/ |
spdy_http_stream.h | 31 // The SpdyHttpStream is a HTTP-specific type of stream known to a SpdySession. 40 SpdyStream* stream() { return stream_.get(); } function in class:net::SpdyHttpStream 42 // Cancels any callbacks from being invoked and deletes the stream. 106 // when a SYN_REPLY comes in for the stream. 107 // It is not owned by this stream object, or point to |push_response_info_|. 115 // We buffer the response body as it arrives asynchronously from the stream. 131 // Is this spdy stream direct to the origin server (or to a proxy).
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/postmessage_redir/ |
pm_redir_test.html | 37 if (args.stream == 'stdout' && args.thread == 'fg') { 40 } else if (args.stream == 'stderr' && args.thread == 'fg') { 44 } else if (args.stream == 'stdout' && args.thread == 'bg') { 48 } else if (args.stream == 'stderr' && args.thread == 'bg') { 71 message=('stream=' + args.stream + ',thread=' + args.thread + 80 'stream' : 'THIS TEST CANNOT RUN STANDALONE -- run using scons instead',
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/ |
buildbot_results_unittest.py | 44 def assertEmpty(self, stream): 45 self.assertFalse(stream.getvalue()) 47 def assertNotEmpty(self, stream): 48 self.assertTrue(stream.getvalue()) 51 stream = StringIO.StringIO() 52 printer = buildbot_results.BuildBotPrinter(stream, debug_logging=True) 53 return printer, stream
|
/external/chromium_org/third_party/skia/include/core/ |
SkDocument.h | 20 * 1. Create a document, specifying a stream to store the output. 38 * Create a PDF-backed document, writing the results into a stream. 41 * The document may write to the stream at anytime during its lifetime, 43 * has been called, and all of the data has been written to the stream, 44 * if there is a Done proc provided, it will be called with the stream. 45 * The proc can delete the stream, or whatever it needs to do. 66 * or stream holding the document's contents. After close() the document
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libwebp.cpp | 52 // Define VP8 I/O on top of Skia stream 61 static bool webp_parse_header(SkStream* stream, int* width, int* height, int* alpha) { 63 const uint32_t contentSize = stream->getLength(); 64 const size_t len = stream->read(buffer, WEBP_VP8_HEADER_SIZE); 112 virtual bool onBuildTileIndex(SkStream *stream, int *width, int *height) SK_OVERRIDE; 114 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode) SK_OVERRIDE; 187 static bool webp_idecode(SkStream* stream, WebPDecoderConfig* config) { 194 stream->rewind(); 195 const uint32_t contentSize = stream->getLength(); 209 const size_t bytesRead = stream->read(input, readBufferSize) 506 SkWStream* const stream = (SkWStream*)picture->custom_ptr; local [all...] |
SkImageRef.cpp | 21 SkImageRef::SkImageRef(SkStream* stream, SkBitmap::Config config, 24 SkASSERT(stream); 25 stream->ref(); 26 fStream = stream; 35 this, config, (int)stream->getLength()); 82 bool SkImageRef::onDecode(SkImageDecoder* codec, SkStream* stream, 85 return codec->decode(stream, bitmap, config, mode);
|
/external/chromium_org/v8/src/ |
v8conversions.cc | 50 explicit StringCharacterStreamIterator(StringCharacterStream* stream); 65 StringCharacterStream* stream) : stream_(stream) { 99 StringCharacterStream stream(str, &op); 101 StringCharacterStreamIterator(&stream), 124 StringCharacterStream stream(str, &op); 126 StringCharacterStreamIterator(&stream),
|
/external/guava/guava/src/com/google/common/collect/ |
HashBiMap.java | 97 private void writeObject(ObjectOutputStream stream) throws IOException { 98 stream.defaultWriteObject(); 99 Serialization.writeMap(this, stream); 103 private void readObject(ObjectInputStream stream) 105 stream.defaultReadObject(); 106 int size = Serialization.readCount(stream); 109 Serialization.populateMap(this, stream, size);
|
LinkedHashMultiset.java | 92 private void writeObject(ObjectOutputStream stream) throws IOException { 93 stream.defaultWriteObject(); 94 Serialization.writeMultiset(this, stream); 98 private void readObject(ObjectInputStream stream) 100 stream.defaultReadObject(); 101 int distinctElements = Serialization.readCount(stream); 104 Serialization.populateMultiset(this, stream, distinctElements);
|
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
Encoder.java | 12 java.io.OutputStream Stream;
21 public void SetStream(java.io.OutputStream stream)
23 Stream = stream;
28 Stream = null;
48 Stream.flush();
60 Stream.write(temp + LowHi);
|
/external/sfntly/cpp/src/sfntly/data/ |
font_input_stream.h | 25 // An input stream for reading font data. 46 // defining another layer of abstraction. The wrapped output stream is 48 // stream). 52 // @param is input stream to wrap 55 // Constructor for a bounded font input stream. 56 // @param is input stream to wrap 73 // Get the current position in the stream in bytes.
|
/external/skia/include/core/ |
SkDocument.h | 20 * 1. Create a document, specifying a stream to store the output. 38 * Create a PDF-backed document, writing the results into a stream. 41 * The document may write to the stream at anytime during its lifetime, 43 * has been called, and all of the data has been written to the stream, 44 * if there is a Done proc provided, it will be called with the stream. 45 * The proc can delete the stream, or whatever it needs to do. 66 * or stream holding the document's contents. After close() the document
|
/external/srec/portable/include/ |
PFile.h | 453 * @param stream See fread() 456 PORTABLE_API size_t pfread(void* buffer, size_t size, size_t count, PFile* stream); 464 * @param stream See fwrite() 467 PORTABLE_API size_t pfwrite(const void* buffer, size_t size, size_t count, PFile* stream); 472 * @param stream See fclose() 475 PORTABLE_API int pfclose(PFile* stream); 480 * @param stream See rewind() 483 PORTABLE_API void prewind(PFile* stream); 488 * @param stream See fseek() 493 PORTABLE_API int pfseek(PFile* stream, long offset, int origin) [all...] |
/frameworks/base/core/java/android/webkit/ |
PluginData.java | 26 * HTTP response. For this, it needs a stream with the response body, 38 * The content stream. 61 * @param stream The stream that supplies content for the plugin. 73 InputStream stream, 77 mStream = stream; 84 * Returns the input stream that contains the plugin content.
|
/libcore/luni/src/main/java/java/security/ |
Certificate.java | 41 * @param stream 46 * if an exception is thrown by accessing the provided stream. 50 public void decode(InputStream stream) throws KeyException, IOException; 53 * Encodes this certificate to an output stream. The 57 * @param stream 62 * if an exception is thrown by accessing the provided stream. 65 public void encode(OutputStream stream) throws KeyException, IOException;
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 238 ck_fwrite(ptr, size, nmemb, stream) 242 FILE *stream; 244 clearerr(stream); 245 if (size && fwrite(ptr, size, nmemb, stream) != nmemb) 248 nmemb, utils_fp_name(stream), strerror(errno)); 253 ck_fread(ptr, size, nmemb, stream) 257 FILE *stream; 259 clearerr(stream); 260 if (size && (nmemb=fread(ptr, size, nmemb, stream)) <= 0 && ferror(stream)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
scache.h | 31 #include <pulse/stream.h> 45 * To create a sample, the normal stream API is used (see \ref streams). The 46 * function pa_stream_connect_upload() will make sure the stream is stored as 50 * will receive the same name as the stream. If the upload should be aborted, 82 /** Make this stream a sample upload stream */ 85 /** Finish the sample upload, the stream name will become the sample name. You cancel a samp
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
scache.h | 31 #include <pulse/stream.h> 45 * To create a sample, the normal stream API is used (see \ref streams). The 46 * function pa_stream_connect_upload() will make sure the stream is stored as 50 * will receive the same name as the stream. If the upload should be aborted, 82 /** Make this stream a sample upload stream */ 85 /** Finish the sample upload, the stream name will become the sample name. You cancel a samp
|