/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/ |
H A D | SDL_beaudio.cc | 24 /* Allow access to the audio stream on BeOS */ 97 static void FillSound(void *device, void *stream, size_t len, argument 103 SDL_memset(stream, audio->spec.silence, len); 116 SDL_memcpy(stream,audio->convert.buf,audio->convert.len_cvt); 120 (Uint8 *)stream, len); 207 /* Subscribe to the audio stream (creates a new thread) */
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | loopwave.c | 35 void SDLCALL fillerup(void *unused, Uint8 *stream, int len) argument 46 SDL_memcpy(stream, waveptr, waveleft); 47 stream += waveleft; 53 SDL_memcpy(stream, waveptr, len);
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | TiledWorld.java | 52 public TiledWorld(InputStream stream) { argument 55 parseInput(stream); 73 protected boolean parseInput(InputStream stream) { argument 75 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream;
|
/external/skia/src/pdf/ |
H A D | SkPDFStream.cpp | 21 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { argument 22 setData(stream); 34 // Don't uncompress an already compressed stream, but we could. 53 void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog, argument 56 return emitIndirectObject(stream, catalog); 59 return fSubstitute->emitObject(stream, catalog, indirect); 62 this->INHERITED::emitObject(stream, catalog, false); 63 stream->writeText(" stream\n"); 64 stream 84 SkMemoryStream* stream = new SkMemoryStream; local 89 setData(SkStream* stream) argument 106 SkMemoryStream* stream = new SkMemoryStream; local [all...] |
H A D | SkPDFStream.h | 22 A stream object in a PDF. Note, all streams must be indirect objects (via 29 /** Create a PDF stream. A Length entry is automatically added to the 30 * stream dictionary. The stream may be retained (stream->ref() may be 32 * @param data The data part of the stream. 36 explicit SkPDFStream(SkStream* stream); 37 /** Create a PDF stream with the same content and dictionary entries 44 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog, 50 kUnused_State, //!< The stream has 65 setSubstitute(SkPDFStream* stream) argument [all...] |
/external/skia/src/utils/ |
H A D | SkFrontBufferedStream.cpp | 10 SkFrontBufferedStream* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { argument 11 if (NULL == stream) { 14 return SkNEW_ARGS(SkFrontBufferedStream, (stream, bufferSize)); 17 SkFrontBufferedStream::SkFrontBufferedStream(SkStream* stream, size_t bufferSize) argument 18 : fStream(SkRef(stream)) 26 // Even if the underlying stream is at the end, this stream has been 112 // remaining in the stream) and provide it to the caller. 131 // Read directly from the stream.
|
/external/skia/src/xml/ |
H A D | SkXMLPullParser.cpp | 25 SkXMLPullParser::SkXMLPullParser(SkStream* stream) : fStream(NULL) argument 30 this->setStream(stream); 38 SkStream* SkXMLPullParser::setStream(SkStream* stream) argument 40 if (fStream && !stream) 43 SkRefCnt_SafeAssign(fStream, stream);
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | TestTreeNodeStream.java | 35 /** Test the tree node stream. */ 38 /** Build new stream; let's us override to test other streams. */ 43 public String toTokenTypeString(TreeNodeStream stream) { argument 44 return ((CommonTreeNodeStream)stream).toTokenTypeString(); 50 TreeNodeStream stream = newStream(t); 52 String found = toNodesOnlyString(stream); 56 found = toTokenTypeString(stream); 67 TreeNodeStream stream = newStream(t); 69 String found = toNodesOnlyString(stream); 73 found = toTokenTypeString(stream); [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | MyKeyStoreSpi.java | 109 public void engineStore(OutputStream stream, char[] password) argument 111 if (!(stream instanceof ByteArrayOutputStream)) { 112 throw new IOException("Incorrect stream"); 114 if (((ByteArrayOutputStream) stream).size() == 0) { 115 throw new IOException("Incorrect stream size "); 121 public void engineLoad(InputStream stream, char[] password) argument
|
/external/chromium/net/spdy/ |
H A D | 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/third_party/libjingle/source/talk/base/ |
H A D | socketpool.cc | 70 LOG_F(LS_VERBOSE) << "Providing cached stream"; 74 if (StreamInterface* stream = pool_->RequestConnectedStream(remote, err)) { 76 active_.push_front(ConnectedStream(remote, stream)); 77 LOG_F(LS_VERBOSE) << "Providing new stream"; 83 void StreamCache::ReturnConnectedStream(StreamInterface* stream) { argument 86 if (stream == it->second) { 88 if (stream->GetState() == SS_CLOSED) { 90 LOG_F(LS_VERBOSE) << "Returning closed stream"; 94 stream->SignalEvent.connect(this, &StreamCache::OnStreamEvent); 95 LOG_F(LS_VERBOSE) << "Caching stream"; 105 OnStreamEvent(StreamInterface* stream, int events, int err) argument 157 ReturnConnectedStream(StreamInterface* stream) argument 211 ReturnConnectedStream(StreamInterface* stream) argument 220 OnStreamEvent(StreamInterface* stream, int events, int err) argument 284 ReturnConnectedStream(StreamInterface* stream) argument [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
H A D | AndroidProtocolHandler.java | 141 // We strip the query parameters before opening the stream to 155 * @param stream The opened input stream which to examine. 156 * @param url The url from which the stream was opened. 162 public static String getMimeType(Context context, InputStream stream, String url) { argument 179 // Fall back to sniffing the type from the stream. 181 return URLConnection.guessContentTypeFromStream(stream);
|
/external/chromium_org/android_webview/native/ |
H A D | input_stream_impl.cc | 46 InputStreamImpl::InputStreamImpl(const JavaRef<jobject>& stream) argument 47 : jobject_(stream) { 48 DCHECK(!stream.is_null());
|
/external/chromium_org/chrome/browser/extensions/api/streams_private/ |
H A D | streams_private_api.cc | 49 scoped_ptr<content::StreamHandle> stream, 53 event_args->Append(new base::StringValue(stream->GetMimeType())); 54 event_args->Append(new base::StringValue(stream->GetOriginalURL().spec())); 55 event_args->Append(new base::StringValue(stream->GetURL().spec())); 70 GURL url = stream->GetURL(); 71 streams_[extension_id][url] = make_linked_ptr(stream.release()); 46 ExecuteMimeTypeHandler( const std::string& extension_id, const content::WebContents* web_contents, scoped_ptr<content::StreamHandle> stream, int64 expected_content_size) argument
|
/external/chromium_org/content/browser/fileapi/ |
H A D | fileapi_message_filter_unittest.cc | 209 scoped_refptr<Stream> stream = stream_registry->GetStream(kUrl); local 211 ASSERT_FALSE(stream.get() == NULL); 213 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); 215 stream = NULL; 223 stream = stream_registry->GetStream(kUrl); 224 ASSERT_FALSE(stream.get() == NULL); 226 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); 233 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); 265 scoped_refptr<Stream> stream = stream_registry->GetStream(kUrl); local 266 ASSERT_FALSE(stream 313 scoped_refptr<Stream> stream = stream_registry->GetStream(kUrl); local [all...] |
/external/chromium_org/content/browser/streams/ |
H A D | stream_unittest.cc | 7 #include "content/browser/streams/stream.h" 48 void Read(Stream* stream) { argument 53 while (stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read) == 62 virtual void OnDataAvailable(Stream* stream) OVERRIDE { 63 Read(stream); variable 77 void Write(Stream* stream, argument 80 stream->AddData(buffer, buffer_size); 83 virtual void OnSpaceAvailable(Stream* stream) OVERRIDE { 86 virtual void OnClose(Stream* stream) OVERRIDE { 94 GURL url("blob://stream"); [all...] |
H A D | stream_url_request_job_unittest.cc | 7 #include "content/browser/streams/stream.h" 26 const GURL kStreamURL("blob://stream"); 42 scoped_refptr<Stream> stream = registry_->GetStream(request->url()); variable 43 if (stream.get()) 44 return new StreamURLRequestJob(request, network_delegate, stream); 101 scoped_refptr<Stream> stream( 107 stream->AddData(buffer, buffer->size()); 108 stream->Finalize(); 114 scoped_refptr<Stream> stream( 125 stream [all...] |
/external/chromium_org/content/common/ |
H A D | font_config_ipc_linux.cc | 26 // Return a stream from the file descriptor, or NULL on failure. 122 SkStream* stream = StreamFromFD(result_fd); local 124 return stream;
|
/external/chromium_org/content/renderer/media/ |
H A D | video_source_handler.cc | 106 WebKit::WebMediaStream stream; local 108 stream = registry_->GetMediaStream(url); 110 stream = 113 if (stream.isNull() || !stream.extraData()) { 118 // Get the first video track from the stream. 120 static_cast<MediaStreamExtraData*>(stream.extraData()); 125 webrtc::MediaStreamInterface* native_stream = extra_data->stream().get(); 127 LOG(ERROR) << "GetFirstVideoSource - native stream is NULL."; 133 LOG(ERROR) << "GetFirstVideoSource - stream ha [all...] |
/external/chromium_org/content/test/plugin/ |
H A D | plugin_execute_stream_javascript.cc | 19 NPError ExecuteStreamJavaScript::NewStream(NPMIMEType type, NPStream* stream, argument 24 int32 ExecuteStreamJavaScript::WriteReady(NPStream *stream) { argument 28 int32 ExecuteStreamJavaScript::Write(NPStream *stream, int32 offset, int32 len, argument 30 if (stream == NULL) { 31 SetError("Write got null stream"); 35 SetError("Write got bogus stream chunk size"); 60 NPError ExecuteStreamJavaScript::DestroyStream(NPStream *stream, argument
|
/external/chromium_org/media/audio/ |
H A D | audio_input_volume_unittest.cc | 63 // Helper method which checks if the stream has volume support. 64 bool HasDeviceVolumeControl(AudioInputStream* stream) { argument 65 if (!stream) 68 return (stream->GetMaxVolume() != 0.0); 126 DLOG(WARNING) << "Failed to open stream for device " << it->unique_id;
|
H A D | audio_output_dispatcher_impl.cc | 47 // Ensure that there is at least one open stream. 100 // Don't recycle stream until two buffers worth of time has elapsed. 124 AudioOutputStream* stream = pausing_streams_.back(); 126 idle_streams_.push_back(stream); 170 AudioOutputStream* stream = audio_manager_->MakeAudioOutputStream( local 172 if (!stream) 175 if (!stream->Open()) { 176 stream->Close(); 179 idle_streams_.push_back(stream); 185 // Make sure that we have at least one stream allocate [all...] |
/external/chromium_org/media/audio/cras/ |
H A D | cras_input_unittest.cc | 38 // MakeAudioInputStream to create the stream in the tests. 39 virtual void ReleaseInputStream(AudioInputStream* stream) OVERRIDE { 40 DCHECK(stream); variable 41 delete stream;
|
/external/chromium_org/media/filters/ |
H A D | audio_decoder_selector_unittest.cc | 49 scoped_ptr<DecryptingDemuxerStream> stream) { 50 OnDecoderSelected(decoder.get(), stream.get()); 123 // The stream is not encrypted but we have no clear decoder. No decoder can be 134 // The stream is not encrypted and we have one clear decoder. The decoder 147 // The stream is not encrypted and we have multiple clear decoders. The first 148 // decoder that can decode the input stream will be selected. 162 // There is a decryptor but the stream is not encrypted. The decoder will be 175 // The stream is encrypted and there's no decryptor. No decoder can be selected. 210 // The first decoder that can decode the input stream will be selected and 47 MockOnDecoderSelected( scoped_ptr<AudioDecoder> decoder, scoped_ptr<DecryptingDemuxerStream> stream) argument
|
H A D | video_decoder_selector_unittest.cc | 62 scoped_ptr<DecryptingDemuxerStream> stream) { 63 OnDecoderSelected(decoder.get(), stream.get()); 133 // The stream is not encrypted but we have no clear decoder. No decoder can be 144 // The stream is not encrypted and we have one clear decoder. The decoder 157 // The stream is not encrypted and we have multiple clear decoders. The first 158 // decoder that can decode the input stream will be selected. 172 // There is a decryptor but the stream is not encrypted. The decoder will be 185 // The stream is encrypted and there's no decryptor. No decoder can be selected. 220 // The first decoder that can decode the input stream will be selected and 60 MockOnDecoderSelected( scoped_ptr<VideoDecoder> decoder, scoped_ptr<DecryptingDemuxerStream> stream) argument
|