Searched refs:stream (Results 201 - 225 of 2435) sorted by relevance

1234567891011>>

/external/replicaisland/src/com/replica/replicaisland/
H A DSoundSystem.java83 int stream = -1;
85 stream = mSoundPool.play(sound.soundId, 1.0f, 1.0f, priority, loop ? -1 : 0, 1.0f);
87 addLoopingStream(stream);
91 return stream;
95 int stream = -1;
97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate);
99 addLoopingStream(stream);
103 return stream;
106 public final void stop(int stream) { argument
107 mSoundPool.stop(stream);
111 pause(int stream) argument
115 resume(int stream) argument
142 addLoopingStream(int stream) argument
152 removeLoopingStream(int stream) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DScenarioData.java240 PrintStream stream = null;
242 stream = new PrintStream(new BufferedOutputStream(new FileOutputStream(outputFile)));
246 if (stream == null) {
247 stream = System.out;
249 stream.print(Utils.HTML_OPEN);
250 stream.print(Utils.HTML_DEFAULT_CSS);
252 stream.print("<title>" + scenarioResults.getName() + "(" + configBox + ")" + "</title></head>\n"); //$NON-NLS-1$
253 stream.print("<h4>Scenario: " + scenarioResults.getName() + " (" + configBox + ")</h4><br>\n"); //$NON-NLS-1$ //$NON-NLS-2$
257 stream.print("<table><tr><td><b>"+failureMessage+"</td></tr></table>\n");
263 stream
337 printTableLine(PrintStream stream, BuildResults buildResults) argument
365 printDifferenceLine(PrintStream stream, ConfigResults configResults) argument
[all...]
/external/chromium_org/third_party/skia/src/doc/
H A DSkDocument_PDF.cpp14 SkDocument_PDF(SkWStream* stream, void (*doneProc)(SkWStream*,bool), argument
17 : SkDocument(stream, doneProc)
64 virtual bool onClose(SkWStream* stream) SK_OVERRIDE {
68 bool success = fDoc->emitPDF(stream);
89 SkDocument* SkDocument::CreatePDF(SkWStream* stream, void (*done)(SkWStream*,bool), argument
92 return stream ? SkNEW_ARGS(SkDocument_PDF, (stream, done, enc, dpi)) : NULL;
95 static void delete_wstream(SkWStream* stream, bool aborted) { argument
96 SkDELETE(stream);
102 SkFILEWStream* stream local
[all...]
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFStream.cpp22 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { argument
23 this->setData(stream);
35 // Don't uncompress an already compressed stream, but we could.
48 void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog, argument
51 return emitIndirectObject(stream, catalog);
55 return fSubstitute->emitObject(stream, catalog, indirect);
58 this->INHERITED::emitObject(stream, catalog, false);
59 stream->writeText(" stream\n");
60 stream
87 setData(SkStream* stream) argument
[all...]
/external/nanopb-c/tests/callbacks/
H A Ddecode_callbacks.c10 bool print_string(pb_istream_t *stream, const pb_field_t *field, void **arg) argument
15 if (stream->bytes_left > sizeof(buffer) - 1)
18 if (!pb_read(stream, buffer, stream->bytes_left))
28 bool print_int32(pb_istream_t *stream, const pb_field_t *field, void **arg) argument
31 if (!pb_decode_varint(stream, &value))
38 bool print_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) argument
41 if (!pb_decode_fixed32(stream, &value))
48 bool print_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) argument
51 if (!pb_decode_fixed64(stream,
62 pb_istream_t stream; local
[all...]
/external/skia/src/doc/
H A DSkDocument_PDF.cpp14 SkDocument_PDF(SkWStream* stream, void (*doneProc)(SkWStream*,bool), argument
17 : SkDocument(stream, doneProc)
64 virtual bool onClose(SkWStream* stream) SK_OVERRIDE {
68 bool success = fDoc->emitPDF(stream);
89 SkDocument* SkDocument::CreatePDF(SkWStream* stream, void (*done)(SkWStream*,bool), argument
92 return stream ? SkNEW_ARGS(SkDocument_PDF, (stream, done, enc, dpi)) : NULL;
95 static void delete_wstream(SkWStream* stream, bool aborted) { argument
96 SkDELETE(stream);
102 SkFILEWStream* stream local
[all...]
/external/lldb/test/unittest2/
H A Drunner.py21 def __init__(self,stream):
22 self.stream = stream
25 if attr in ('stream', '__getstate__'):
27 return getattr(self.stream,attr)
36 """A test result class that can print formatted text results to a stream.
43 def __init__(self, stream, descriptions, verbosity):
45 self.stream = stream
61 self.stream
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-trees.rb22 stream = new_stream(t)
25 found = nodes_only_string(stream)
30 found = stream.inspect
65 stream = new_stream(t)
68 found = nodes_only_string(stream)
72 found = stream.inspect
88 stream = CommonTreeNodeStream.new(root)
91 found = nodes_only_string(stream)
95 found = stream.inspect
106 stream
[all...]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
H A Dtoplevel.ml9 let rec main_loop the_fpm the_execution_engine stream =
10 match Stream.peek stream with
15 Stream.junk stream;
16 main_loop the_fpm the_execution_engine stream
22 let e = Parser.parse_definition stream in
26 let e = Parser.parse_extern stream in
31 let e = Parser.parse_toplevel stream in
45 Stream.junk stream;
49 main_loop the_fpm the_execution_engine stream
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
H A Dtoplevel.ml9 let rec main_loop the_fpm the_execution_engine stream =
10 match Stream.peek stream with
15 Stream.junk stream;
16 main_loop the_fpm the_execution_engine stream
22 let e = Parser.parse_definition stream in
26 let e = Parser.parse_extern stream in
31 let e = Parser.parse_toplevel stream in
45 Stream.junk stream;
49 main_loop the_fpm the_execution_engine stream
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dtoplevel.ml9 let rec main_loop the_fpm the_execution_engine stream =
10 match Stream.peek stream with
15 Stream.junk stream;
16 main_loop the_fpm the_execution_engine stream
22 let e = Parser.parse_definition stream in
26 let e = Parser.parse_extern stream in
31 let e = Parser.parse_toplevel stream in
45 Stream.junk stream;
49 main_loop the_fpm the_execution_engine stream
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A Dtoplevel.ml9 let rec main_loop the_fpm the_execution_engine stream =
10 match Stream.peek stream with
15 Stream.junk stream;
16 main_loop the_fpm the_execution_engine stream
22 let e = Parser.parse_definition stream in
26 let e = Parser.parse_extern stream in
31 let e = Parser.parse_toplevel stream in
45 Stream.junk stream;
49 main_loop the_fpm the_execution_engine stream
/external/e2fsprogs/intl/
H A Dlog.c31 print_escaped (FILE *stream, const char *str) argument
33 putc ('"', stream);
37 fputs ("\\n\"", stream);
40 fputs ("\n\"", stream);
45 putc ('\\', stream);
46 putc (*str, stream);
48 putc ('"', stream);
/external/guava/guava/src/com/google/common/collect/
H A DHashMultiset.java84 private void writeObject(ObjectOutputStream stream) throws IOException { argument
85 stream.defaultWriteObject();
86 Serialization.writeMultiset(this, stream);
90 private void readObject(ObjectInputStream stream) argument
92 stream.defaultReadObject();
93 int distinctElements = Serialization.readCount(stream);
96 Serialization.populateMultiset(this, stream, distinctElements);
H A DLinkedHashMultiset.java92 private void writeObject(ObjectOutputStream stream) throws IOException { argument
93 stream.defaultWriteObject();
94 Serialization.writeMultiset(this, stream);
98 private void readObject(ObjectInputStream stream) argument
100 stream.defaultReadObject();
101 int distinctElements = Serialization.readCount(stream);
104 Serialization.populateMultiset(this, stream, distinctElements);
/external/libcxx/test/iterators/stream.iterators/iterator.range/
H A DAndroid.mk17 test_makefile := external/libcxx/test/iterators/stream.iterators/iterator.range/Android.mk
19 test_name := iterators/stream.iterators/iterator.range/begin_array
23 test_name := iterators/stream.iterators/iterator.range/begin_const
27 test_name := iterators/stream.iterators/iterator.range/end_non_const
31 test_name := iterators/stream.iterators/iterator.range/end_array
35 test_name := iterators/stream.iterators/iterator.range/end_const
39 test_name := iterators/stream.iterators/iterator.range/begin_non_const
/external/srtp/srtp/
H A Dsrtp.c84 * This function allocates the stream context, rtp and rtcp ciphers
91 /* allocate srtp stream and set str_ptr */
142 /* allocate ekt data associated with stream */
166 srtp_stream_dealloc(srtp_stream_ctx_t *stream, argument
177 if (!stream_template || stream->rtp_cipher != stream_template->rtp_cipher) {
178 status = cipher_dealloc(stream->rtp_cipher);
184 if (!stream_template || stream->rtp_auth != stream_template->rtp_auth) {
185 status = auth_dealloc(stream->rtp_auth);
191 if (!stream_template || stream->limit != stream_template->limit) {
192 crypto_free(stream
607 srtp_stream_ctx_t *stream; local
850 srtp_stream_ctx_t *stream; local
1161 srtp_stream_ctx_t *stream; local
1177 srtp_stream_ctx_t *stream; local
1309 srtp_stream_ctx_t *stream, *last_stream; local
1331 srtp_stream_uninit_and_dealloc(srtp_stream_ctx_t *stream, srtp_stream_ctx_t *stream_template) argument
1455 srtp_stream_ctx_t *stream; local
1641 srtp_stream_ctx_t *stream; local
[all...]
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_pkm.cpp27 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode) SK_OVERRIDE;
35 bool SkPKMImageDecoder::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { argument
37 const size_t length = SkCopyStreamToStorage(&autoMal, stream);
109 static bool is_pkm(SkStreamRewindable* stream) { argument
112 if (stream->read((void*)buf, ETC_PKM_HEADER_SIZE) != ETC_PKM_HEADER_SIZE) {
119 static SkImageDecoder* sk_libpkm_dfactory(SkStreamRewindable* stream) { argument
120 if (is_pkm(stream)) {
128 static SkImageDecoder::Format get_format_pkm(SkStreamRewindable* stream) { argument
129 if (is_pkm(stream)) {
/external/chromium_org/third_party/skia/tools/
H A Dskpinfo.cpp43 SkFILEStream stream(FLAGS_input[0]);
44 if (!stream.isValid()) {
51 size_t totStreamSize = stream.getLength();
54 if (!SkPicture::InternalOnly_StreamIsSKP(&stream, &info)) {
70 if (!stream.readBool()) {
78 uint32_t tag = stream.readU32();
83 uint32_t chunkSize = stream.readU32();
84 size_t curPos = stream.getPosition();
145 if (!stream.move(chunkSize)) {
/external/skia/tools/
H A Dskpinfo.cpp44 SkFILEStream stream(FLAGS_input[0]);
45 if (!stream.isValid()) {
52 size_t totStreamSize = stream.getLength();
55 if (!SkPicture::InternalOnly_StreamIsSKP(&stream, &info)) {
72 if (!stream.readBool()) {
80 uint32_t tag = stream.readU32();
85 uint32_t chunkSize = stream.readU32();
86 size_t curPos = stream.getPosition();
147 if (!stream.move(chunkSize)) {
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvpxenc.c55 FILE *stream) {
56 return fread(ptr, size, nmemb, stream);
61 FILE *stream) {
62 return fwrite(ptr, size, nmemb, stream);
723 /* Per-stream configuration */
929 fatal("Unsupported Y4M stream.");
946 struct stream_state *stream; local
948 stream = calloc(1, sizeof(*stream));
949 if (stream
54 wrap_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) argument
60 wrap_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) argument
1003 parse_stream_params(struct VpxEncoderConfig *global, struct stream_state *stream, char **argv) argument
1191 validate_stream_config(const struct stream_state *stream, const struct VpxEncoderConfig *global) argument
1251 set_stream_dimensions(struct stream_state *stream, unsigned int w, unsigned int h) argument
1266 set_default_kf_interval(struct stream_state *stream, struct VpxEncoderConfig *global) argument
1296 show_stream_config(struct stream_state *stream, struct VpxEncoderConfig *global, struct VpxInputContext *input) argument
1352 open_output_file(struct stream_state *stream, struct VpxEncoderConfig *global) argument
1384 close_output_file(struct stream_state *stream, unsigned int fourcc) argument
1408 setup_pass(struct stream_state *stream, struct VpxEncoderConfig *global, int pass) argument
1448 initialize_encoder(struct stream_state *stream, struct VpxEncoderConfig *global) argument
1487 encode_frame(struct stream_state *stream, struct VpxEncoderConfig *global, struct vpx_image *img, unsigned int frames_in) argument
1586 update_quantizer_histogram(struct stream_state *stream) argument
1597 get_cx_data(struct stream_state *stream, struct VpxEncoderConfig *global, int *got_data) argument
1698 show_psnr(struct stream_state *stream) argument
1847 test_decode(struct stream_state *stream, enum TestDecodeFatality fatal, const VpxInterface *codec) argument
2006 struct stream_state *stream = NULL; local
[all...]
/external/chromium_org/third_party/libsrtp/srtp/srtp/
H A Dsrtp.c105 * This function allocates the stream context, rtp and rtcp ciphers
112 /* allocate srtp stream and set str_ptr */
176 /* allocate ekt data associated with stream */
192 srtp_stream_dealloc(srtp_t session, srtp_stream_ctx_t *stream) { argument
203 && stream->rtp_cipher == session->stream_template->rtp_cipher) {
206 status = cipher_dealloc(stream->rtp_cipher);
213 && stream->rtp_auth == session->stream_template->rtp_auth) {
216 status = auth_dealloc(stream->rtp_auth);
223 && stream->limit == session->stream_template->limit) {
226 crypto_free(stream
750 srtp_stream_ctx_t *stream; local
994 srtp_stream_ctx_t *stream; local
1321 srtp_stream_ctx_t *stream; local
1337 srtp_stream_ctx_t *stream; local
1485 srtp_stream_ctx_t *stream, *last_stream; local
1658 srtp_stream_ctx_t *stream; local
1844 srtp_stream_ctx_t *stream; local
[all...]
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c97 /* move ctrl_fd outside output stream and keep open until HAL unloaded ? */
109 struct audio_stream_out stream; member in struct:a2dp_stream_out
114 struct audio_stream_in stream; member in struct:a2dp_stream_in
126 static size_t out_get_buffer_size(const struct audio_stream *stream);
490 /* prevent any stray output writes from autostarting the stream
543 static ssize_t out_write(struct audio_stream_out *stream, const void* buffer, argument
546 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream;
553 DEBUG("stream suspended");
581 ERROR("stream not in stopped or standby");
599 static uint32_t out_get_sample_rate(const struct audio_stream *stream) argument
608 out_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
625 out_get_buffer_size(const struct audio_stream *stream) argument
634 out_get_channels(const struct audio_stream *stream) argument
643 out_get_format(const struct audio_stream *stream) argument
650 out_set_format(struct audio_stream *stream, audio_format_t format) argument
658 out_standby(struct audio_stream *stream) argument
676 out_dump(const struct audio_stream *stream, int fd) argument
684 out_set_parameters(struct audio_stream *stream, const char *kvpairs) argument
738 out_get_parameters(const struct audio_stream *stream, const char *keys) argument
750 out_get_latency(const struct audio_stream_out *stream) argument
766 out_set_volume(struct audio_stream_out *stream, float left, float right) argument
782 out_get_render_position(const struct audio_stream_out *stream, uint32_t *dsp_frames) argument
792 out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
801 out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
814 in_get_sample_rate(const struct audio_stream *stream) argument
822 in_set_sample_rate(struct audio_stream *stream, uint32_t rate) argument
834 in_get_buffer_size(const struct audio_stream *stream) argument
842 in_get_channels(const struct audio_stream *stream) argument
850 in_get_format(const struct audio_stream *stream) argument
858 in_set_format(struct audio_stream *stream, audio_format_t format) argument
870 in_standby(struct audio_stream *stream) argument
878 in_dump(const struct audio_stream *stream, int fd) argument
887 in_set_parameters(struct audio_stream *stream, const char *kvpairs) argument
896 in_get_parameters(const struct audio_stream *stream, const char *keys) argument
906 in_set_gain(struct audio_stream_in *stream, float gain) argument
915 in_read(struct audio_stream_in *stream, void* buffer, size_t bytes) argument
974 in_get_input_frames_lost(struct audio_stream_in *stream) argument
982 in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
991 in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
1078 adev_close_output_stream(struct audio_hw_device *dev, struct audio_stream_out *stream) argument
1269 adev_close_input_stream(struct audio_hw_device *dev, struct audio_stream_in *stream) argument
[all...]
/external/chromium_org/base/debug/
H A Dstack_trace.cc35 std::stringstream stream; local
37 OutputToStream(&stream);
39 return stream.str();
/external/libcxx/test/input.output/iostreams.base/stream.types/
H A DAndroid.mk17 test_makefile := external/libcxx/test/input.output/iostreams.base/stream.types/Android.mk
19 test_name := input.output/iostreams.base/stream.types/streamsize
23 test_name := input.output/iostreams.base/stream.types/streamoff

Completed in 5673 milliseconds

1234567891011>>