Home
last modified time | relevance | path

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

12345678910>>...97

/third_party/skia/third_party/externals/zlib/contrib/tests/
H A Dutils_unittest.cc43 // Minimal ZLIB wrapped short stream size is about 8 bytes. in TEST()
179 z_stream stream; in TEST() local
180 stream.zalloc = nullptr; in TEST()
181 stream.zfree = nullptr; in TEST()
185 int ret = deflateInit2(&stream, /*comp level*/ 2, /*method*/ Z_DEFLATED, in TEST()
190 stream.next_out = compressed.data(); in TEST()
191 stream.avail_out = compressed.size(); in TEST()
192 stream.next_in = src.data(); in TEST()
193 stream.avail_in = src.size(); in TEST()
194 ret = deflate(&stream, Z_FINIS in TEST()
250 z_stream stream; TEST() local
377 z_stream stream; TEST() local
499 z_stream stream; TEST() local
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-tunnel-sink-new.c29 #include <pulse/stream.h>
47 PA_MODULE_DESCRIPTION("Create a network sink which connects via a stream to a remote PulseAudio server");
68 static void stream_state_cb(pa_stream *stream, void *userdata);
69 static void stream_changed_buffer_attr_cb(pa_stream *stream, void *userdata);
70 static void stream_set_buffer_attr_cb(pa_stream *stream, int success, void *userdata);
99 pa_stream *stream; member
144 pa_assert(u->stream); in cork_stream()
148 * cork the stream), we don't want to keep any old data around, because in cork_stream()
151 if ((operation = pa_stream_flush(u->stream, NULL, NULL))) in cork_stream()
155 if ((operation = pa_stream_cork(u->stream, cor in cork_stream()
283 stream_state_cb(pa_stream *stream, void *userdata) stream_state_cb() argument
316 stream_changed_buffer_attr_cb(pa_stream *stream, void *userdata) stream_changed_buffer_attr_cb() argument
329 stream_set_buffer_attr_cb(pa_stream *stream, int success, void *userdata) stream_set_buffer_attr_cb() argument
334 stream_underflow_callback(pa_stream *stream, void *userdata) stream_underflow_callback() argument
339 stream_overflow_callback(pa_stream *stream, void *userdata) stream_overflow_callback() argument
[all...]
/third_party/skia/third_party/externals/zlib/contrib/bench/
H A Dzlib_bench.cc11 * Raw deflate (no gzip or zlib stream wrapper) mode is also supported. Select
13 * stream wrappers.
84 if (type == kWrapperZLIB) // zlib DEFLATE stream wrapper in zlib_stream_wrapper_type()
86 if (type == kWrapperGZIP) // gzip DEFLATE stream wrapper in zlib_stream_wrapper_type()
133 z_stream stream; in zlib_compress() local
134 memset(&stream, 0, sizeof(stream)); in zlib_compress()
136 int result = deflateInit2(&stream, zlib_compression_level, Z_DEFLATED, in zlib_compress()
141 stream.next_out = (Bytef*)string_data(output); in zlib_compress()
142 stream in zlib_compress()
163 z_stream stream; zlib_uncompress() local
[all...]
/third_party/zlib/contrib/minizip/
H A Dioapi.c20 #define FTELLO_FUNC(stream) ftello(stream)
21 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin)
24 #define FTELLO_FUNC(stream) ftello64(stream)
25 #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
123 static uLong ZCALLBACK fread_file_func(voidpf opaque, voidpf stream, void* buf, uLong size) { in fread_file_func() argument
126 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); in fread_file_func()
130 fwrite_file_func(voidpf opaque, voidpf stream, const void* buf, uLong size) fwrite_file_func() argument
137 ftell_file_func(voidpf opaque, voidpf stream) ftell_file_func() argument
145 ftell64_file_func(voidpf opaque, voidpf stream) ftell64_file_func() argument
152 fseek_file_func(voidpf opaque, voidpf stream, uLong offset, int origin) fseek_file_func() argument
175 fseek64_file_func(voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) fseek64_file_func() argument
201 fclose_file_func(voidpf opaque, voidpf stream) fclose_file_func() argument
208 ferror_file_func(voidpf opaque, voidpf stream) ferror_file_func() argument
[all...]
H A Diowin32.c195 uLong ZCALLBACK win32_read_file_func(voidpf opaque, voidpf stream, void* buf,uLong size) in win32_read_file_func() argument
199 if (stream != NULL) in win32_read_file_func()
200 hFile = ((WIN32FILE_IOWIN*)stream) -> hf; in win32_read_file_func()
209 ((WIN32FILE_IOWIN*)stream) -> error=(int)dwErr; in win32_read_file_func()
217 uLong ZCALLBACK win32_write_file_func(voidpf opaque, voidpf stream, const void* buf, uLong size) in win32_write_file_func() argument
221 if (stream != NULL) in win32_write_file_func()
222 hFile = ((WIN32FILE_IOWIN*)stream) -> hf; in win32_write_file_func()
231 ((WIN32FILE_IOWIN*)stream) -> error=(int)dwErr; in win32_write_file_func()
258 long ZCALLBACK win32_tell_file_func(voidpf opaque, voidpf stream) in win32_tell_file_func() argument
262 if (stream ! in win32_tell_file_func()
281 win32_tell64_file_func(voidpf opaque, voidpf stream) win32_tell64_file_func() argument
306 win32_seek_file_func(voidpf opaque, voidpf stream, uLong offset, int origin) win32_seek_file_func() argument
344 win32_seek64_file_func(voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) win32_seek64_file_func() argument
383 win32_close_file_func(voidpf opaque, voidpf stream) win32_close_file_func() argument
401 win32_error_file_func(voidpf opaque, voidpf stream) win32_error_file_func() argument
[all...]
/third_party/PyYAML/lib/yaml/
H A Dcyaml.py18 def __init__(self, stream):
19 CParser.__init__(self, stream)
25 def __init__(self, stream):
26 CParser.__init__(self, stream)
32 def __init__(self, stream):
33 CParser.__init__(self, stream)
39 def __init__(self, stream):
40 CParser.__init__(self, stream)
46 def __init__(self, stream):
47 CParser.__init__(self, stream)
[all...]
/third_party/node/test/parallel/
H A Dtest-whatwg-transformstream.js11 } = require('stream/web');
35 const stream = new TransformStream();
37 async function test(stream) {
38 const writer = stream.writable.getWriter();
39 const reader = stream.readable.getReader();
49 test(stream).then(common.mustCall());
68 const stream = new TransformStream(transform);
71 async function test(stream) {
72 const writer = stream.writable.getWriter();
73 const reader = stream
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DFieldCodecTest.cs125 var stream = new MemoryStream(); in TestRoundTripRaw()
126 var codedOutput = new CodedOutputStream(stream); in TestRoundTripRaw()
139 stream.Position = 0; in TestRoundTripRaw()
140 var codedInput = new CodedInputStream(stream); in TestRoundTripRaw()
147 var stream = new MemoryStream(); in TestRoundTripWithTag()
148 var codedOutput = new CodedOutputStream(stream); in TestRoundTripWithTag()
151 stream.Position = 0; in TestRoundTripWithTag()
152 var codedInput = new CodedInputStream(stream); in TestRoundTripWithTag()
160 var stream = new MemoryStream(); in TestCalculateSizeWithTag()
161 var codedOutput = new CodedOutputStream(stream); in TestCalculateSizeWithTag()
[all...]
/third_party/icu/icu4c/source/io/
H A Dustream.cpp40 operator<<(STD_OSTREAM& stream, const UnicodeString& str) in operator <<() argument
61 stream << buffer; in operator <<()
68 /* stream.flush();*/ in operator <<()
69 return stream; in operator <<()
73 operator>>(STD_ISTREAM& stream, UnicodeString& str) in operator >>() argument
76 if (stream.fail()) { in operator >>()
77 return stream; in operator >>()
100 ch = stream.get(); in operator >>()
101 if (stream.eof()) { in operator >>()
104 stream in operator >>()
[all...]
/third_party/skia/third_party/externals/icu/source/io/
H A Dustream.cpp40 operator<<(STD_OSTREAM& stream, const UnicodeString& str) in operator <<() argument
61 stream << buffer; in operator <<()
68 /* stream.flush();*/ in operator <<()
69 return stream; in operator <<()
73 operator>>(STD_ISTREAM& stream, UnicodeString& str) in operator >>() argument
76 if (stream.fail()) { in operator >>()
77 return stream; in operator >>()
100 ch = stream.get(); in operator >>()
101 if (stream.eof()) { in operator >>()
104 stream in operator >>()
[all...]
/third_party/skia/bench/
H A DJSONBench.cpp71 if (auto stream = SkStream::MakeFromFile(kBenchFile)) {
72 SkASSERT(stream->hasLength());
73 fCStringData = SkData::MakeUninitialized(stream->getLength() + 1);
75 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength());
76 data8[stream->getLength()] = '\0';
123 if (auto stream = SkStream::MakeFromFile(kBenchFile)) {
124 SkASSERT(stream->hasLength());
125 fCStringData = SkData::MakeUninitialized(stream
[all...]
/third_party/node/deps/v8/src/diagnostics/
H A Deh-frame.cc56 void EhFrameWriter::WriteEmptyEhFrame(std::ostream& stream) { in WriteEmptyEhFrame() argument
57 stream.put(EhFrameConstants::kEhFrameHdrVersion); in WriteEmptyEhFrame()
60 stream.put(EhFrameConstants::kSData4 | EhFrameConstants::kPcRel); in WriteEmptyEhFrame()
63 stream.put(EhFrameConstants::kUData4); in WriteEmptyEhFrame()
66 stream.put(EhFrameConstants::kSData4 | EhFrameConstants::kDataRel); in WriteEmptyEhFrame()
70 stream.write(&dummy_data[0], sizeof(dummy_data)); in WriteEmptyEhFrame()
469 explicit StreamModifiersScope(std::ostream* stream) in StreamModifiersScope() argument
470 : stream_(stream), flags_(stream->flags()) {} in StreamModifiersScope()
481 void EhFrameDisassembler::DumpDwarfDirectives(std::ostream& stream, in DumpDwarfDirectives() argument
592 DisassembleToStream(std::ostream& stream) DisassembleToStream() argument
[all...]
/third_party/cups-filters/filter/foomatic-rip/
H A Drenderer.c140 char * read_line(FILE *stream, size_t *readbytes) in read_line() argument
148 while ((c = fgetc(stream)) != EOF) { in read_line()
164 void write_binary_data(FILE *stream, const char *data, size_t bytes) in write_binary_data() argument
169 fputc(data[i], stream); in write_binary_data()
174 * Read all lines containing 'jclstr' from 'stream' (actually, one more) and
177 static char ** read_jcl_lines(FILE *stream, const char *jclstr, in read_jcl_lines() argument
187 while ((line = read_line(stream, readbinarybytes))) in read_jcl_lines()
250 static void argv_write(FILE *stream, char **argv, const char *sep) in argv_write() argument
256 fprintf(stream, "%s%s", *argv++, sep); in argv_write()
260 * Merges 'original_opts' and 'pref_opts' and writes them to 'stream'
265 write_merged_jcl_options(FILE *stream, char **original_opts, char **opts, size_t readbinarybytes, const char *jclstr) write_merged_jcl_options() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/truetype/
H A Dttpload.c56 * stream ::
57 * The input stream.
64 FT_Stream stream ) in FT_LOCAL_DEF()
72 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in FT_LOCAL_DEF()
94 error = face->goto_table( face, TTAG_loca, stream, &table_len ); in FT_LOCAL_DEF()
146 dist = (FT_Long)stream->size - pos; in FT_LOCAL_DEF()
282 FT_Stream stream = face->root.stream; in tt_face_done_loca() local
304 * stream ::
305 * A handle to the input stream
603 FT_Stream stream = face->root.stream; tt_face_free_hdmx() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DProgramD3D.cpp884 LoadBinaryTask(ProgramD3D *program, gl::BinaryInputStream *stream, gl::InfoLog &infoLog)
888 ASSERT(stream);
890 // Copy the remaining data from the stream locally so that the client can't modify it when
892 size_t dataSize = stream->remainingSize();
896 memcpy(mStreamData.data(), stream->data() + stream->offset(), dataSize);
909 gl::BinaryInputStream stream(mStreamData.data(), mStreamData.size());
910 return mProgram->loadBinaryShaderExecutables(this, &stream, mInfoLog);
923 gl::BinaryInputStream *stream,
925 : mTask(std::make_shared<ProgramD3D::LoadBinaryTask>(program, stream, infoLo
[all...]
/third_party/node/test/fixtures/wpt/encoding/streams/
H A Ddecode-attributes.any.js19 const stream = new TextDecoderStream(label);
20 assert_equals(stream.encoding, labelToName[label], 'encoding should match');
26 const stream = new TextDecoderStream('utf-8', { fatal: falseValue });
27 assert_false(stream.fatal, 'fatal should be false');
31 const stream = new TextDecoderStream('utf-8', { ignoreBOM: falseValue });
32 assert_false(stream.ignoreBOM, 'ignoreBOM should be false');
38 const stream = new TextDecoderStream('utf-8', { fatal: trueValue });
39 assert_true(stream.fatal, 'fatal should be true');
43 const stream = new TextDecoderStream('utf-8', { ignoreBOM: trueValue });
44 assert_true(stream
[all...]
/third_party/gn/src/gn/
H A Dninja_target_writer_unittest.cc47 std::ostringstream stream; in TEST() local
48 TestingNinjaTargetWriter writer(&base_target, setup.toolchain(), stream); in TEST()
70 std::ostringstream stream; in TEST() local
71 TestingNinjaTargetWriter writer(&base_target, setup.toolchain(), stream); in TEST()
114 std::ostringstream stream; in TEST() local
115 TestingNinjaTargetWriter writer(&base_target, setup.toolchain(), stream); in TEST()
120 // nothing written to the stream. in TEST()
123 EXPECT_EQ("", stream.str()); in TEST()
128 std::ostringstream stream; in TEST() local
129 TestingNinjaTargetWriter writer(&target, setup.toolchain(), stream); in TEST()
140 std::ostringstream stream; TEST() local
159 std::ostringstream stream; TEST() local
195 std::ostringstream stream; TEST() local
[all...]
/third_party/skia/third_party/externals/oboe/src/common/
H A DUtilities.cpp159 default: return "Unrecognized stream state"; in convertToText()
175 const char *convertToText<AudioStream*>(AudioStream* stream) { in convertToText() argument
179 s<<"StreamID: "<< static_cast<void*>(stream)<<std::endl in convertToText()
180 <<"DeviceId: "<<stream->getDeviceId()<<std::endl in convertToText()
181 <<"Direction: "<<oboe::convertToText(stream->getDirection())<<std::endl in convertToText()
182 <<"API type: "<<oboe::convertToText(stream->getAudioApi())<<std::endl in convertToText()
183 <<"BufferCapacity: "<<stream->getBufferCapacityInFrames()<<std::endl in convertToText()
184 <<"BufferSize: "<<stream->getBufferSizeInFrames()<<std::endl in convertToText()
185 <<"FramesPerBurst: "<< stream->getFramesPerBurst()<<std::endl in convertToText()
186 <<"FramesPerCallback: "<<stream in convertToText()
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dprocfs.c19 struct rkispp_stream *stream; in ispp_show() local
37 stream = &dev->stream_vdev.stream[val]; in ispp_show()
38 if (!stream->streaming) { in ispp_show()
42 stream->vnode.vdev.name, stream->out_fmt.pixelformat, stream->out_fmt.pixelformat >> 8, in ispp_show()
43 stream->out_fmt.pixelformat >> 16, stream->out_fmt.pixelformat >> 24, stream in ispp_show()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
H A Dprocfs.c19 struct rkispp_stream *stream; in ispp_show() local
50 stream = &dev->stream_vdev.stream[val]; in ispp_show()
51 if (!stream->streaming) in ispp_show()
55 stream->vnode.vdev.name, in ispp_show()
56 stream->out_fmt.pixelformat, in ispp_show()
57 stream->out_fmt.pixelformat >> 8, in ispp_show()
58 stream->out_fmt.pixelformat >> 16, in ispp_show()
59 stream->out_fmt.pixelformat >> 24, in ispp_show()
60 stream in ispp_show()
[all...]
/third_party/alsa-lib/include/
H A Dpcm_plugin.h71 snd_pcm_stream_t stream, int mode,
75 snd_pcm_stream_t stream, int mode);
84 snd_pcm_stream_t stream, int mode);
94 snd_pcm_stream_t stream, int mode);
104 snd_pcm_stream_t stream, int mode);
114 snd_pcm_stream_t stream, int mode);
124 snd_pcm_stream_t stream, int mode);
134 snd_pcm_stream_t stream, int mode);
147 snd_pcm_stream_t stream, int mode);
167 snd_pcm_stream_t stream, in
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_host.cpp365 dng_stream &stream) in Make_dng_opcode()
376 result = new dng_opcode_WarpRectilinear (stream); in Make_dng_opcode()
385 result = new dng_opcode_WarpFisheye (stream); in Make_dng_opcode()
394 result = new dng_opcode_FixVignetteRadial (stream); in Make_dng_opcode()
403 result = new dng_opcode_FixBadPixelsConstant (stream); in Make_dng_opcode()
412 result = new dng_opcode_FixBadPixelsList (stream); in Make_dng_opcode()
421 result = new dng_opcode_TrimBounds (stream); in Make_dng_opcode()
431 stream); in Make_dng_opcode()
440 result = new dng_opcode_MapPolynomial (stream); in Make_dng_opcode()
450 stream); in Make_dng_opcode()
364 Make_dng_opcode(uint32 opcodeID, dng_stream &stream) Make_dng_opcode() argument
[all...]
/third_party/node/test/addons/zlib-binding/
H A Dbinding.cc20 z_stream stream; in CompressBytes() local
21 stream.zalloc = nullptr; in CompressBytes()
22 stream.zfree = nullptr; in CompressBytes()
24 int err = deflateInit2(&stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, in CompressBytes()
28 stream.avail_in = byte_length; in CompressBytes()
29 stream.next_in = data; in CompressBytes()
30 stream.avail_out = sizeof(buf); in CompressBytes()
31 stream.next_out = buf; in CompressBytes()
32 err = deflate(&stream, Z_FINISH); in CompressBytes()
37 sizeof(buf) - stream in CompressBytes()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DInfoSink.h53 TPersistStringStream stream; in operator <<() local
54 stream << t; in operator <<()
55 sink.append(stream.str()); in operator <<()
82 TPersistStringStream stream; in operator <<() local
84 stream.precision(1); in operator <<()
85 stream << std::showpoint << std::fixed << f; in operator <<()
87 stream.unsetf(std::ios::fixed); in operator <<()
88 stream.unsetf(std::ios::scientific); in operator <<()
89 stream.precision(8); in operator <<()
90 stream << in operator <<()
[all...]
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttload.h38 FT_Stream stream,
44 FT_Stream stream );
57 FT_Stream stream );
62 FT_Stream stream );
67 FT_Stream stream );
72 FT_Stream stream );
77 FT_Stream stream );
82 FT_Stream stream );
87 FT_Stream stream );
95 FT_Stream stream );
[all...]

Completed in 11 milliseconds

12345678910>>...97