/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_snapshot.c | 186 /* find snapshot stream */ 194 CDBG_ERROR("%s: cannot find snapshot stream", __func__); 214 /* find postview stream */ 267 mm_camera_stream_t *stream = NULL; local 279 stream = mm_app_add_snapshot_stream(test_obj, 285 if (NULL == stream) { 286 CDBG_ERROR("%s: add snapshot stream failed\n", __func__); 302 mm_camera_stream_t *stream = NULL; local 305 stream = mm_app_add_stream(test_obj, channel); 306 if (NULL == stream) { [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
mediamessages.cc | 47 void AddStream(std::vector<StreamParams>* streams, const StreamParams& stream) { 48 streams->push_back(stream); 101 const StreamSelector& selector, StreamParams* stream) { 102 return GetStream(audio_, selector, stream); 106 const StreamSelector& selector, StreamParams* stream) { 107 return GetStream(video_, selector, stream); 111 const StreamSelector& selector, StreamParams* stream) { 112 return GetStream(data_, selector, stream); 121 void MediaStreams::AddAudioStream(const StreamParams& stream) { 122 AddStream(&audio_, stream); 267 StreamParams stream; local [all...] |
/external/zlib/src/contrib/minizip/ |
iowin32.c | 36 uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 37 uLong ZCALLBACK win32_write_file_func OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); 38 ZPOS64_T ZCALLBACK win32_tell64_file_func OF((voidpf opaque, voidpf stream)); 39 long ZCALLBACK win32_seek64_file_func OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)); 40 int ZCALLBACK win32_close_file_func OF((voidpf opaque, voidpf stream)); 41 int ZCALLBACK win32_error_file_func OF((voidpf opaque, voidpf stream)); 197 uLong ZCALLBACK win32_read_file_func (voidpf opaque, voidpf stream, void* buf,uLong size) 201 if (stream!=NULL) 202 hFile = ((WIN32FILE_IOWIN*)stream) -> hf; 211 ((WIN32FILE_IOWIN*)stream) -> error=(int)dwErr [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_snapshot.c | 186 /* find snapshot stream */ 194 CDBG_ERROR("%s: cannot find snapshot stream", __func__); 214 /* find postview stream */ 267 mm_camera_stream_t *stream = NULL; local 279 stream = mm_app_add_snapshot_stream(test_obj, 285 if (NULL == stream) { 286 CDBG_ERROR("%s: add snapshot stream failed\n", __func__); 302 mm_camera_stream_t *stream = NULL; local 305 stream = mm_app_add_stream(test_obj, channel); 306 if (NULL == stream) { [all...] |
/external/chromium_org/v8/src/ |
hydrogen-instructions.cc | 567 void HValue::PrintTypeTo(StringStream* stream) { 569 stream->Add(" type:%s", type().ToString()); 573 void HValue::PrintRangeTo(StringStream* stream) { 577 stream->Add(" range:%d_%d%s", 584 void HValue::PrintChangesTo(StringStream* stream) { 587 stream->Add(" changes["); 589 stream->Add("*"); 594 if (add_comma) stream->Add(","); \ 596 stream->Add(#type); \ 602 stream->Add("]") [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestBufferedTreeNodeStream.java | 44 public String toTokenTypeString(TreeNodeStream stream) { 45 return ((BufferedTreeNodeStream)stream).toTokenTypeString(); 50 // stream has 7 real + 6 nav nodes 62 TreeNodeStream stream = newStream(r0); local 63 stream.consume(); // consume 101 64 stream.consume(); // consume DN 65 stream.consume(); // consume 102 66 stream.seek(7); // seek to 107 67 assertEquals(107, ((Tree)stream.LT(1)).getType()); 68 stream.consume(); // consume 10 [all...] |
/external/chromium_org/net/spdy/ |
spdy_stream_test_util.h | 25 explicit ClosingDelegate(const base::WeakPtr<SpdyStream>& stream); 36 // Returns whether or not the stream is closed. 47 explicit StreamDelegateBase(const base::WeakPtr<SpdyStream>& stream); 57 // Waits for the stream to be closed and returns the status passed 65 // Returns whether or not the stream is closed. 68 // Returns the stream's ID. If called when the stream is closed, 69 // returns the stream's ID when it was open. 76 const base::WeakPtr<SpdyStream>& stream() { return stream_; } function in class:net::test::StreamDelegateBase 88 // stream, e.g. its id when it was open [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
Stream.h | 42 class Stream : public ScriptWrappable, public RefCounted<Stream> { 44 static PassRefPtr<Stream> create(const String& mediaType) 46 return adoptRef(new Stream(mediaType)); 49 virtual ~Stream(); 51 // Returns the internal URL referring to this stream. 53 // Returns the media type of this stream. 56 // Appends data to this stream. 58 // Mark this stream finalized so that a reader of this stream is notifie [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/plugin/Tests/ |
GetURLWithJavaScriptURL.cpp | 36 // Test that evaluating a javascript: URL will send a stream with the result of the evaluation. 37 // Test that evaluating JavaScript using NPN_GetURL will a stream with result of the evaluation. 53 NPError NPP_NewStream(NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype) 55 stream->pdata = this; 57 if (strcmp(stream->url, javaScriptURL)) 60 if (stream->end != strlen(javaScriptResult)) 67 NPError NPP_DestroyStream(NPStream* stream, NPReason reason) 69 if (stream->pdata != this) 75 if (m_data.size() != stream->end) 91 int32_t NPP_WriteReady(NPStream* stream) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ParserFactory.java | 44 InputStream stream = new FileInputStream(f); local 45 return create(stream, f.getName(), f.length()); 48 public static XmlPullParser create(InputStream stream, String name) 50 return create(stream, name, -1); 53 private static XmlPullParser create(InputStream stream, String name, long size) 57 stream = readAndClose(stream, name, size); 59 parser.setInput(stream, ENCODING); 74 private static InputStream readAndClose(InputStream stream, String name, long size) 83 BufferedInputStream bufferedStream = new BufferedInputStream(stream); [all...] |
/external/chromium_org/content/common/gpu/media/ |
h264_parser_unittest.cc | 18 // Number of NALUs in the stream to be parsed. 23 base::MemoryMappedFile stream; local 24 CHECK(stream.Initialize(fp)) << "Couldn't open stream file: " 29 parser.SetStream(stream.data(), stream.length()); 31 // Parse until the end of stream/unsupported stream/error in stream is found.
|
/external/chromium_org/media/audio/ |
audio_output_dispatcher_impl.h | 8 // each dispatcher has a pool of inactive physical streams. A stream is closed 34 // |close_delay_ms| specifies delay after the stream is paused until 41 // Opens a new physical stream if there are no pending streams in 50 // Holds the physical stream temporarily in |pausing_streams_| and then 51 // |stream| is added to the pool of pending streams (i.e. |idle_streams_|). 68 // Creates a new physical output stream, opens it and pushes to 69 // |idle_streams_|. Returns false if the stream couldn't be created or 73 // A task scheduled by StartStream(). Opens a new stream and puts 77 // Before a stream is reused, it should sit idle for a bit. This task is
|
/external/chromium_org/net/quic/ |
quic_stream_factory_test.cc | 150 scoped_ptr<QuicHttpStream> stream = request.ReleaseStream(); local 151 EXPECT_TRUE(stream.get()); 153 // Will reset stream 3. 154 stream = factory_.CreateIfSessionExists(host_port_proxy_pair_, net_log_); 155 EXPECT_TRUE(stream.get()); 163 stream = request2.ReleaseStream(); // Will reset stream 5. 164 stream.reset(); // Will reset stream 7. 193 scoped_ptr<QuicHttpStream> stream = request.ReleaseStream() local 204 scoped_ptr<QuicHttpStream> stream = request.ReleaseStream(); local 285 scoped_ptr<QuicHttpStream> stream = request.ReleaseStream(); local 335 scoped_ptr<QuicHttpStream> stream = request.ReleaseStream(); local [all...] |
/external/clang/test/Analysis/ |
stream.c | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=alpha.unix.Stream -analyzer-store region -verify %s 11 extern size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream); 19 fread(buf, 1, 1, p); // expected-warning {{Stream pointer might be NULL}} 25 fseek(p, 1, SEEK_SET); // expected-warning {{Stream pointer might be NULL}} 31 ftell(p); // expected-warning {{Stream pointer might be NULL}} 37 rewind(p); // expected-warning {{Stream pointer might be NULL}} 58 ftell(p); // expected-warning {{Stream pointer might be NULL}} 82 void pr8081(FILE *stream, long offset, int whence) { 83 fseek(stream, offset, whence);
|
/external/oprofile/libutil++/ |
bfd_spu_support.cpp | 27 FILE * stream; member in struct:spu_elf 52 spu_bfd_iovec_close(bfd * nbfd, void * stream) 54 spu_elf * my_stream = (spu_elf *) stream; 56 fclose(my_stream->stream); 68 spu_bfd_iovec_pread(bfd * abfd, void * stream, void * buf, 71 spu_elf * my_stream = (spu_elf *) stream; 72 fseek(my_stream->stream, my_stream->spu_offset + offset, 74 nbytes = fread(buf, sizeof(char), nbytes, my_stream->stream); 94 spu_elf_stream->stream = fp;
|
/libcore/luni/src/main/java/java/util/zip/ |
CheckedOutputStream.java | 25 * of all data written to a stream. The purpose of this checksum is to establish 39 * the output stream to calculate checksum for. 49 * Returns the checksum calculated on the stream read so far. 58 * Writes the specified byte to the underlying stream. The checksum is 62 * the data value to written to the output stream. 74 * the underlying stream. The checksum is updated with the bytes written. 77 * data written to the output stream. 80 * to the output stream. 82 * number of bytes to write to the output stream.
|
/libcore/luni/src/main/java/org/xml/sax/ |
InputSource.java | 23 * a public identifier, a system identifier, a byte stream (possibly 24 * with a specified encoding), and/or a character stream.</p> 32 * to read XML input. If there is a character stream available, the 33 * parser will read that stream directly, disregarding any text 34 * encoding declaration found in that stream. 35 * If there is no character stream, but there is 36 * a byte stream, the parser will use that byte stream, using the 40 * stream nor a 41 * byte stream is available, the parser will attempt to open a UR [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
DemuxInputStream.java | 23 * Data written to this stream is forwarded to a stream that has been associated
35 * Bind the specified stream to the current thread.
37 * @param input the stream to bind
48 * Closes stream associated with current thread.
64 * Read byte from stream associated with current thread.
66 * @return the byte read from stream
85 * Utility method to retrieve stream bound to current thread (if any).
87 * @return the input stream
|
/external/chromium/net/spdy/ |
spdy_io_buffer.h | 19 // completion of the IO can notify the appropriate stream of completion. 27 // |stream| is a pointer to the stream which is managing this buffer. 28 SpdyIOBuffer(IOBuffer* buffer, int size, int priority, SpdyStream* stream); 37 const scoped_refptr<SpdyStream>& stream() const { return stream_; } function in class:net::SpdyIOBuffer
|
/external/chromium_org/content/test/plugin/ |
plugin_get_javascript_url_test.cc | 12 // The identifier for the self url stream. 15 // The identifier for the fetched url stream. 18 // The maximum chunk size of stream data. 101 NPStream* stream, 104 if (stream == NULL) { 105 SetError("NewStream got null stream"); 114 COMPILE_ASSERT(sizeof(unsigned long) <= sizeof(stream->notifyData), 116 unsigned long stream_id = reinterpret_cast<unsigned long>(stream->notifyData); 127 int32 ExecuteGetJavascriptUrlTest::WriteReady(NPStream *stream) { 135 int32 ExecuteGetJavascriptUrlTest::Write(NPStream *stream, int32 offset [all...] |
/external/chromium_org/third_party/angle_dx11/src/compiler/ |
InfoSink.cpp | 35 TPersistStringStream stream; local 37 stream << file << ":" << line; 39 stream << file << ":? "; 40 stream << ": "; 42 sink.append(stream.str());
|
/external/chromium_org/third_party/skia/src/utils/ios/ |
SkImageDecoder_iOS.mm | 19 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode); 24 bool SkImageDecoder_iOS::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { 26 NSData* data = NSData_dataWithStream(stream); 57 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { 61 SkMovie* SkMovie::DecodeStream(SkStream* stream) {
|
/external/dropbear/libtommath/ |
bn_mp_fread.c | 18 /* read a bigint from a file stream in ASCII */ 19 int mp_fread(mp_int *a, int radix, FILE *stream) 27 ch = fgetc(stream); 30 ch = fgetc(stream); 54 ch = fgetc(stream);
|
/external/llvm/unittests/Support/ |
YAMLParserTest.cpp | 35 yaml::Stream Stream(Input, SM); 37 EXPECT_FALSE(Stream.validate()) << Message << ": " << Input; 38 EXPECT_TRUE(Stream.failed()) << Message << ": " << Input; 44 yaml::Stream Stream(Input, SM); 45 EXPECT_TRUE(Stream.validate()) << Message << ": " << Input; 149 yaml::Stream Stream(StringInArray, SM); 151 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot()) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
AbstractOutputStream.java | 23 * An output stream for an HTTP request body. 25 * <p>Since a single socket's output stream may be used to write multiple HTTP 26 * requests to the same server, subclasses should not close the socket stream. 37 throw new IOException("stream closed"); 41 /** Returns true if this stream was closed locally. */
|