/kernel/linux/linux-6.6/sound/firewire/bebob/ |
H A D | bebob_stream.c | 17 * corresponding stream. But for a few devices, both of CMP connection needs 18 * to start transmitting stream. An example is 'M-Audio Firewire 410'. 88 /* synchronize receive stream rate to transmit stream rate */ in snd_bebob_stream_get_rate() 209 * means that the synchronization stream is not in snd_bebob_stream_get_clock_src() 210 * the Audio/MIDI compound stream. in snd_bebob_stream_get_clock_src() 406 static int start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in start_stream() argument 411 if (stream == &bebob->rx_stream) in start_stream() 418 err = map_data_channels(bebob, stream); in start_stream() 427 return amdtp_domain_add_stream(&bebob->domain, stream, in start_stream() 431 init_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) init_stream() argument 467 destroy_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) destroy_stream() argument 500 keep_resources(struct snd_bebob *bebob, struct amdtp_stream *stream, unsigned int rate, unsigned int index) keep_resources() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/ac97/ |
H A D | ac97_pcm.c | 153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg() 473 rpcm->stream = pcm->stream; in snd_ac97_pcm_assign() 484 if (pcm->spdif && pcm->stream == 0) in snd_ac97_pcm_assign() 487 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign() 492 if (rpcm->stream == rpcms[k].stream) in snd_ac97_pcm_assign() 502 rpcm->r[0].rate_table[j] = rate_table[pcm->stream][j]; in snd_ac97_pcm_assign() 508 avail_slots[pcm->stream][j] &= ~tmp; in snd_ac97_pcm_assign() 515 if (pcm->stream in snd_ac97_pcm_assign() [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_texture_state.c | 287 etna_coalsence_emit(stream, &coalesce, VIVS_##state_name, src_value) 290 etna_coalsence_emit_fixp(stream, &coalesce, VIVS_##state_name, src_value) 293 etna_coalsence_emit_reloc(stream, &coalesce, VIVS_##state_name, src_value) 298 struct etna_cmd_stream *stream = ctx->stream; in etna_emit_ts_state() local 303 etna_coalesce_start(stream, &coalesce); in etna_emit_ts_state() 332 etna_coalesce_end(stream, &coalesce); in etna_emit_ts_state() 338 struct etna_cmd_stream *stream = ctx->stream; in etna_emit_new_texture_state() local 346 etna_coalesce_start(stream, in etna_emit_new_texture_state() 470 struct etna_cmd_stream *stream = ctx->stream; etna_emit_texture_state() local [all...] |
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcfdrivr.c | 232 /* close compressed stream if any */ in PCF_Face_Done() 233 if ( pcfface->stream == &face->comp_stream ) in PCF_Face_Done() 236 pcfface->stream = face->comp_source; in PCF_Face_Done() 242 PCF_Face_Init( FT_Stream stream, in FT_CALLBACK_DEF() 257 error = pcf_load_font( stream, face, face_index ); in FT_CALLBACK_DEF() 272 FT_TRACE2(( " ... try gzip stream\n" )); in FT_CALLBACK_DEF() 273 error2 = FT_Stream_OpenGzip( &face->comp_stream, stream ); in FT_CALLBACK_DEF() 288 FT_TRACE2(( " ... try LZW stream\n" )); in FT_CALLBACK_DEF() 289 error3 = FT_Stream_OpenLZW( &face->comp_stream, stream ); in FT_CALLBACK_DEF() 304 FT_TRACE2(( " ... try Bzip2 stream\ in FT_CALLBACK_DEF() 473 FT_Stream stream; FT_CALLBACK_DEF() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | api.pb.cc | 387 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 398 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 405 target = stream->EnsureSpace(target); in _InternalSerialize() 407 InternalWriteMessage(2, this->_internal_methods(i), target, stream); in _InternalSerialize() 413 target = stream->EnsureSpace(target); in _InternalSerialize() 415 InternalWriteMessage(3, this->_internal_options(i), target, stream); in _InternalSerialize() 424 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 430 target = stream->EnsureSpace(target); in _InternalSerialize() 433 5, _Internal::source_context(this), target, stream); in _InternalSerialize() 439 target = stream in _InternalSerialize() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsTextureBufferCase.cpp | 296 std::ostringstream stream; in generateVertexShaderTemplate() local 298 stream << in generateVertexShaderTemplate() 302 stream << "${TEXTURE_BUFFER_EXT}"; in generateVertexShaderTemplate() 304 stream << in generateVertexShaderTemplate() 310 stream << in generateVertexShaderTemplate() 314 stream << in generateVertexShaderTemplate() 320 stream << "\tv_color = texelFetch(u_vtxSampler, clamp((int(round(i_coord.x * 4.0)) + 4) * (int(round(i_coord.y * 4.0)) + 4), 0, textureSize(u_vtxSampler)-1));\n"; in generateVertexShaderTemplate() 322 stream << "\tv_color = vec4(1.0);\n"; in generateVertexShaderTemplate() 324 stream << in generateVertexShaderTemplate() 328 return stream in generateVertexShaderTemplate() 333 std::ostringstream stream; generateFragmentShaderTemplate() local 730 std::ostringstream stream; logRendering() local [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | pa_capturer_stream_impl.cpp | 364 void PaCapturerStreamImpl::PAStreamReadCb(pa_stream *stream, size_t length, void *userdata) in PAStreamReadCb() argument 367 std::to_string(pa_stream_readable_size(stream))); in PAStreamReadCb() 388 void PaCapturerStreamImpl::PAStreamMovedCb(pa_stream *stream, void *userdata) in PAStreamMovedCb() argument 395 // get stream informations. in PAStreamMovedCb() 396 uint32_t deviceIndex = pa_stream_get_device_index(stream); // pa_context_get_sink_info_by_index in PAStreamMovedCb() 398 // Return 1 if the sink or source this stream is connected to has been suspended. in PAStreamMovedCb() 400 int res = pa_stream_is_suspended(stream); in PAStreamMovedCb() 405 void PaCapturerStreamImpl::PAStreamUnderFlowCb(pa_stream *stream, void *userdata) in PAStreamUnderFlowCb() argument 429 void PaCapturerStreamImpl::PAStreamSetStartedCb(pa_stream *stream, void *userdata) in PAStreamSetStartedCb() argument 439 void PaCapturerStreamImpl::PAStreamStartSuccessCb(pa_stream *stream, int32_ argument 462 PAStreamPauseSuccessCb(pa_stream *stream, int32_t success, void *userdata) PAStreamPauseSuccessCb() argument 484 PAStreamFlushSuccessCb(pa_stream *stream, int32_t success, void *userdata) PAStreamFlushSuccessCb() argument 504 PAStreamStopSuccessCb(pa_stream *stream, int32_t success, void *userdata) PAStreamStopSuccessCb() argument 552 PAStreamUpdateTimingInfoSuccessCb(pa_stream *stream, int32_t success, void *userdata) PAStreamUpdateTimingInfoSuccessCb() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | heif_parser_box_test.cpp | 46 auto stream = std::make_shared<HeifBufferInputStream>(nullptr, 0, true); in HWTEST_F() local 47 HeifStreamReader reader(stream, 0, 0); in HWTEST_F() 265 auto stream = std::make_shared<HeifBufferInputStream>(nullptr, 0, true); in HWTEST_F() local 266 HeifStreamReader reader(stream, 0, 0); in HWTEST_F() 355 auto stream = std::make_shared<HeifBufferInputStream>(nullptr, 0, true); in HWTEST_F() local 356 HeifStreamReader reader(stream, 0, 0); in HWTEST_F() 398 std::shared_ptr<HeifBufferInputStream> stream = std::make_shared<HeifBufferInputStream>(nullptr, 0, true); in HWTEST_F() member 399 stream->length_ = 0; in HWTEST_F() 402 ASSERT_EQ(heifIlocBox.ReadToExtentData(item, stream, idatBox), heif_error_eof); in HWTEST_F() 431 std::shared_ptr<HeifInputStream> stream; in HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_data_box.cpp | 96 heif_error HeifIlocBox::ReadData(const Item &item, const std::shared_ptr<HeifInputStream> &stream, 101 stream->Seek(extent.offset + item.baseOffset); 108 stream->Read(reinterpret_cast<char*>(dest->data()) + oldSize, static_cast<size_t>(extent.length)); 114 idat->ReadData(stream, start, extent.length, *dest); 276 heif_error HeifIlocBox::ReadToExtentData(Item &item, const std::shared_ptr<HeifInputStream> &stream, 284 bool ret = stream->Seek(extent.offset + item.baseOffset); 288 ret = stream->CheckSize(extent.length, -1); 293 ret = stream->Read(extent.data.data(), static_cast<size_t>(extent.length)); 301 idatBox->ReadData(stream, extent.offset + item.baseOffset, extent.length, extent.data); 372 heif_error HeifIdatBox::ReadData(const std::shared_ptr<HeifInputStream> &stream, [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_packer.cpp | 130 IMAGE_LOGE("make buffer packer stream failed."); in StartPackingImpl() 159 BufferPackerStream *stream = new (std::nothrow) BufferPackerStream(outputData, maxSize); in StartPacking() local 160 if (stream == nullptr) { in StartPacking() 161 IMAGE_LOGE("make buffer packer stream failed."); in StartPacking() 165 packerStream_ = std::unique_ptr<BufferPackerStream>(stream); in StartPacking() 177 FilePackerStream *stream = new (std::nothrow) FilePackerStream(filePath); in StartPacking() local 178 if (stream == nullptr) { in StartPacking() 179 IMAGE_LOGE("make file packer stream failed."); in StartPacking() 183 packerStream_ = std::unique_ptr<FilePackerStream>(stream); in StartPacking() 194 FilePackerStream *stream in StartPacking() local 212 OstreamPackerStream *stream = new (std::nothrow) OstreamPackerStream(outputStream); StartPacking() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 179 const struct dc_stream_state *stream, in dm_helpers_dp_mst_write_payload_allocation_table() 189 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; in dm_helpers_dp_mst_write_payload_allocation_table() 224 * stream. AMD ASIC stream slot allocation should follow the same in dm_helpers_dp_mst_write_payload_allocation_table() 254 const struct dc_stream_state *stream) in dm_helpers_dp_mst_poll_for_allocation_change_trigger() 260 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; in dm_helpers_dp_mst_poll_for_allocation_change_trigger() 280 const struct dc_stream_state *stream, in dm_helpers_dp_mst_send_payload_allocation() 287 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; in dm_helpers_dp_mst_send_payload_allocation() 510 const struct dc_stream_state *stream, in dm_helpers_dp_write_dsc_enable() 517 if (!stream) in dm_helpers_dp_write_dsc_enable() 177 dm_helpers_dp_mst_write_payload_allocation_table( struct dc_context *ctx, const struct dc_stream_state *stream, struct dp_mst_stream_allocation_table *proposed_table, bool enable) dm_helpers_dp_mst_write_payload_allocation_table() argument 252 dm_helpers_dp_mst_poll_for_allocation_change_trigger( struct dc_context *ctx, const struct dc_stream_state *stream) dm_helpers_dp_mst_poll_for_allocation_change_trigger() argument 278 dm_helpers_dp_mst_send_payload_allocation( struct dc_context *ctx, const struct dc_stream_state *stream, bool enable) dm_helpers_dp_mst_send_payload_allocation() argument 508 dm_helpers_dp_write_dsc_enable( struct dc_context *ctx, const struct dc_stream_state *stream, bool enable ) dm_helpers_dp_write_dsc_enable() argument [all...] |
/third_party/nghttp2/tests/ |
H A D | nghttp2_test_helper.c | 341 nghttp2_stream *stream; in open_sent_stream3() local 345 stream = nghttp2_session_open_stream(session, stream_id, flags, pri_spec_in, in open_sent_stream3() 352 return stream; in open_sent_stream3() 366 nghttp2_stream *stream; in open_sent_stream_with_dep_weight() local 370 stream = open_stream_with_all(session, stream_id, weight, 0, dep_stream); in open_sent_stream_with_dep_weight() 377 return stream; in open_sent_stream_with_dep_weight() 402 nghttp2_stream *stream; in open_recv_stream3() local 406 stream = nghttp2_session_open_stream(session, stream_id, flags, pri_spec_in, in open_recv_stream3() 411 return stream; in open_recv_stream3() 425 nghttp2_stream *stream; in open_recv_stream_with_dep_weight() local [all...] |
/third_party/python/Lib/unittest/test/ |
H A D | test_program.py | 119 stream = BufferedWriter() 122 testRunner=unittest.TextTestRunner(stream=stream), 125 out = stream.getvalue() 134 stream = BufferedWriter() 139 testRunner=unittest.TextTestRunner(stream=stream), 142 out = stream.getvalue() 151 stream = BufferedWriter() 156 testRunner=unittest.TextTestRunner(stream [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/formatagentplugin/include/ |
H A D | wbmp_format_agent.h | 31 bool read_byte(uint8_t *stream, uint8_t &value, uint32_t &offset, uint32_t dataSize); 32 bool read_mbf(uint8_t *stream, uint64_t &value, uint32_t &offset, uint32_t dataSize); 33 bool read_header(const void *stream, uint32_t dataSize);
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | sch_ets.sh | 40 local stream 42 for stream in ${streams[@]}; do 43 qdisc_parent_stats_get $swp2 10:$((stream + 1)) .bytes
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_util.c | 26 assert(pipe->stream); in ia_css_pipe_util_pipe_input_format_bpp() 28 return ia_css_util_input_format_bpp(pipe->stream->config.input_config.format, in ia_css_pipe_util_pipe_input_format_bpp() 29 pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_util_pipe_input_format_bpp()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_util.c | 26 assert(pipe->stream); in ia_css_pipe_util_pipe_input_format_bpp() 28 return ia_css_util_input_format_bpp(pipe->stream->config.input_config.format, in ia_css_pipe_util_pipe_input_format_bpp() 29 pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_util_pipe_input_format_bpp()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.h | 61 const struct dc_stream_state *stream); 63 const struct dc_stream_state *stream); 65 struct dc_stream_state *stream,
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | sch_ets.sh | 40 local stream 42 for stream in ${streams[@]}; do 43 qdisc_parent_stats_get $swp2 10:$((stream + 1)) .bytes
|
/kernel/linux/linux-6.6/tools/include/tools/ |
H A D | dis-asm-compat.h | 40 void *stream, in init_disassemble_info_compat() 45 init_disassemble_info(info, stream, in init_disassemble_info_compat() 50 init_disassemble_info(info, stream, in init_disassemble_info_compat() 39 init_disassemble_info_compat(struct disassemble_info *info, void *stream, fprintf_ftype unstyled_func, fprintf_styled_ftype styled_func) init_disassemble_info_compat() argument
|
/third_party/node/test/parallel/ |
H A D | test-fs-write-stream-change-open.js | 34 const stream = fs.WriteStream(file); 52 stream.write('foo'); 53 stream.end();
|
H A D | test-http2-no-wanttrailers-listener.js | 11 server.on('stream', common.mustCall(onStream)); 13 function onStream(stream, headers, flags) { 14 stream.respond(undefined, { waitForTrailers: true }); 18 stream.end('ok');
|
H A D | test-repl-function-definition-edge-case.js | 6 const stream = require('stream'); 19 const input = new stream(); 23 const output = new stream();
|
H A D | test-stream-pipe-manual-resume.js | 3 const stream = require('stream'); 7 // (i.e. the stream is not resumed by the pipe). 11 const rs = stream.Readable({ 21 const ws = stream.Writable({
|
/third_party/node/deps/v8/src/base/debug/ |
H A D | stack_trace.cc | 33 std::stringstream stream; in ToString() local 34 OutputToStream(&stream); in ToString() 35 return stream.str(); in ToString()
|