/third_party/skia/src/ports/ |
H A D | SkFontMgr_FontConfigInterface.cpp | 25 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream() local 26 if (!stream) { in onOpenStream() 29 return stream->duplicate(); in onOpenStream() 223 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, 225 const size_t length = stream->getLength(); 237 if (!fScanner.scanFont(stream.get(), 0, &name, &style, &isFixedPitch, nullptr)) { 241 auto fontData = std::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); 246 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, 249 const size_t length = stream->getLength(); 261 if (!fScanner.scanFont(stream 280 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); global() variable [all...] |
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1afm.c | 109 FT_Stream stream, in T1_Read_PFM() 113 FT_Memory memory = stream->memory; in T1_Read_PFM() 124 start = (FT_Byte*)stream->cursor; in T1_Read_PFM() 125 limit = (FT_Byte*)stream->limit; in T1_Read_PFM() 236 FT_Stream stream ) in FT_LOCAL_DEF() 239 FT_Memory memory = stream->memory; in FT_LOCAL_DEF() 257 FT_FRAME_ENTER( stream->size ) ) in FT_LOCAL_DEF() 268 stream->memory, in FT_LOCAL_DEF() 269 stream->cursor, in FT_LOCAL_DEF() 270 stream in FT_LOCAL_DEF() 108 T1_Read_PFM( FT_Face t1_face, FT_Stream stream, AFM_FontInfo fi ) T1_Read_PFM() argument [all...] |
/third_party/elfio/elfio/ |
H A D | elfio_segment.hpp | 66 virtual bool load( std::istream& stream, 69 virtual void save( std::ostream& stream, 171 bool load( std::istream& stream, 175 pstream = &stream; 179 stream.seekg( 0, std::istream::end ); 180 set_stream_size( size_t( stream.tellg() ) ); 186 stream.seekg( ( *translator )[header_offset] ); 187 stream.read( reinterpret_cast<char*>( &ph ), sizeof( ph ) ); 227 void save( std::ostream& stream, 233 adjust_stream_size( stream, header_offse [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmpv3_mbedtls.c | 52 snmpv3_auth(struct snmp_pbuf_stream *stream, u16_t length, in snmpv3_auth() argument 60 snmp_pbuf_stream_init(&read_stream, stream->pbuf, stream->offset, stream->length); in snmpv3_auth() 108 snmpv3_crypt(struct snmp_pbuf_stream *stream, u16_t length, in snmpv3_crypt() argument 118 snmp_pbuf_stream_init(&read_stream, stream->pbuf, stream->offset, stream->length); in snmpv3_crypt() 119 snmp_pbuf_stream_init(&write_stream, stream->pbuf, stream in snmpv3_crypt() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer.c | 103 !pipe_ctx->stream || !pipe_ctx->plane_state || in dcn10_lock_all_pipes() 755 const struct dc_stream_state *stream, in false_optc_underflow_wa() 769 if (old_pipe_ctx->stream != stream) in false_optc_underflow_wa() 787 struct dc_stream_state *stream = pipe_ctx->stream; in dcn10_enable_stream_timing() local 798 /* TODO check if timing_changed, disable stream if timing changed */ in dcn10_enable_stream_timing() 815 &stream->timing, in dcn10_enable_stream_timing() 820 pipe_ctx->stream->signal, in dcn10_enable_stream_timing() 831 &stream in dcn10_enable_stream_timing() 753 false_optc_underflow_wa( struct dc *dc, const struct dc_stream_state *stream, struct timing_generator *tg) false_optc_underflow_wa() argument 1667 dcn10_set_output_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, const struct dc_stream_state *stream) dcn10_set_output_transfer_func() argument 1744 struct dc_stream_state *stream = pipe_ctx->stream; delay_cursor_until_vupdate() local 2638 struct dc_stream_state *stream = pipe_ctx->stream; dcn10_blank_pixel_data() local 2754 dcn10_find_top_pipe_for_stream( struct dc *dc, struct dc_state *context, const struct dc_stream_state *stream) dcn10_find_top_pipe_for_stream() argument 2926 dcn10_apply_ctx_for_surface( struct dc *dc, const struct dc_stream_state *stream, int num_planes, struct dc_state *context) dcn10_apply_ctx_for_surface() argument 3190 dcn10_config_stereo_parameters( struct dc_stream_state *stream, struct crtc_stereo_flags *flags) dcn10_config_stereo_parameters() argument 3230 struct dc_stream_state *stream = pipe_ctx->stream; dcn10_setup_stereo() local 3694 struct dc_stream_state *stream = pipe_ctx->stream; dcn10_unblank_stream() local [all...] |
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | intel_ace2x.c | 259 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in intel_hw_params() 280 /* Inform DSP about PDI stream number */ in intel_hw_params() 305 pconfig, 1, dai_runtime->stream); in intel_hw_params() 307 dev_err(cdns->dev, "add master to stream failed:%d\n", ret); in intel_hw_params() 334 hw_params = &rtd->dpcm[substream->stream].hw_params; in intel_prepare() 346 /* configure stream */ in intel_prepare() 348 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in intel_prepare() 357 /* Inform DSP about PDI stream number */ in intel_prepare() 380 * The sdw stream state will transition to RELEASED when stream in intel_hw_free() 403 intel_pcm_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) intel_pcm_set_sdw_stream() argument 534 intel_pdi_stream_ch_update(struct sdw_intel *sdw, struct sdw_cdns_streams *stream) intel_pdi_stream_ch_update() argument 585 struct sdw_cdns_streams *stream; intel_register_dai() local [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | iw_handler.h | 246 * - Prevent leaking of kernel space in stream on 64 bits. 450 /* We may need a function to send a stream of events to user space. 507 * Wrapper to add an Wireless Event to a stream of events. 509 char *iwe_stream_add_event(struct iw_request_info *info, char *stream, 513 iwe_stream_add_event_check(struct iw_request_info *info, char *stream, in iwe_stream_add_event_check() argument 516 char *res = iwe_stream_add_event(info, stream, ends, iwe, event_len); in iwe_stream_add_event_check() 518 if (res == stream) in iwe_stream_add_event_check() 526 * stream of events. 528 char *iwe_stream_add_point(struct iw_request_info *info, char *stream, 532 iwe_stream_add_point_check(struct iw_request_info *info, char *stream, in iwe_stream_add_point_check() argument [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | iw_handler.h | 246 * - Prevent leaking of kernel space in stream on 64 bits. 443 /* We may need a function to send a stream of events to user space. 500 * Wrapper to add an Wireless Event to a stream of events. 502 char *iwe_stream_add_event(struct iw_request_info *info, char *stream, 506 iwe_stream_add_event_check(struct iw_request_info *info, char *stream, in iwe_stream_add_event_check() argument 509 char *res = iwe_stream_add_event(info, stream, ends, iwe, event_len); in iwe_stream_add_event_check() 511 if (res == stream) in iwe_stream_add_event_check() 519 * stream of events. 521 char *iwe_stream_add_point(struct iw_request_info *info, char *stream, 525 iwe_stream_add_point_check(struct iw_request_info *info, char *stream, in iwe_stream_add_point_check() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_replay.c | 114 * @stream: stream state 118 bool amdgpu_dm_replay_enable(struct dc_stream_state *stream, bool wait) in amdgpu_dm_replay_enable() argument 128 if (stream == NULL) in amdgpu_dm_replay_enable() 131 link = stream->link; in amdgpu_dm_replay_enable() 136 link->dc->link_srv->edp_setup_replay(link, stream); in amdgpu_dm_replay_enable() 169 * @stream: stream state 173 bool amdgpu_dm_replay_disable(struct dc_stream_state *stream) in amdgpu_dm_replay_disable() argument 176 if (stream in amdgpu_dm_replay_disable() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_freesync.h | 142 const struct dc_stream_state *stream, 147 struct dc_stream_state *stream, 161 const struct dc_stream_state *stream, 169 const struct dc_stream_state *stream, 175 const struct dc_stream_state *stream, 180 const struct dc_stream_state *stream, 184 const struct dc_stream_state *stream); 194 const struct dc_stream_state *stream,
|
/third_party/curl/tests/libtest/ |
H A D | testtrace.c | 36 void libtest_debug_dump(const char *timebuf, const char *text, FILE *stream, in libtest_debug_dump() argument 48 fprintf(stream, "%s%s, %zu bytes (0x%zx)\n", timebuf, text, in libtest_debug_dump() 53 fprintf(stream, "%04zx: ", i); in libtest_debug_dump() 59 fprintf(stream, "%02x ", ptr[i + c]); in libtest_debug_dump() 61 fputs(" ", stream); in libtest_debug_dump() 72 fprintf(stream, "%c", ((ptr[i + c] >= 0x20) && (ptr[i + c] < 0x80)) ? in libtest_debug_dump() 82 fputc('\n', stream); /* newline */ in libtest_debug_dump() 84 fflush(stream); in libtest_debug_dump()
|
/third_party/curl/docs/examples/ |
H A D | debug.c | 37 FILE *stream, unsigned char *ptr, size_t size, in dump() 49 fprintf(stream, "%s, %10.10lu bytes (0x%8.8lx)\n", in dump() 54 fprintf(stream, "%4.4lx: ", (unsigned long)i); in dump() 60 fprintf(stream, "%02x ", ptr[i + c]); in dump() 62 fputs(" ", stream); in dump() 72 fprintf(stream, "%c", in dump() 81 fputc('\n', stream); /* newline */ in dump() 83 fflush(stream); in dump() 36 dump(const char *text, FILE *stream, unsigned char *ptr, size_t size, char nohex) dump() argument
|
H A D | multi-debugcallback.c | 41 static void dump(const char *text, FILE *stream, unsigned char *ptr, in dump() argument 53 fprintf(stream, "%s, %10.10lu bytes (0x%8.8lx)\n", in dump() 58 fprintf(stream, "%4.4lx: ", (unsigned long)i); in dump() 64 fprintf(stream, "%02x ", ptr[i + c]); in dump() 66 fputs(" ", stream); in dump() 76 fprintf(stream, "%c", in dump() 85 fputc('\n', stream); /* newline */ in dump() 87 fflush(stream); in dump()
|
/third_party/node/test/parallel/ |
H A D | test-http2-respond-with-fd-errors.js | 23 // - every other NGHTTP2 error from binding (should emit stream error) 42 type: 'stream' 54 server.on('stream', common.mustCall((stream, headers) => { 60 if (currentError.type === 'stream') { 61 stream.session.on('error', errorMustNotCall); 62 stream.on('error', errorMustCall); 63 stream.on('error', common.mustCall(() => { 64 stream.destroy(); 67 stream [all...] |
/third_party/vixl/examples/aarch32/ |
H A D | custom-aarch32-disasm.cc | 71 explicit CustomDisassembler(CustomStream* stream) in CustomDisassembler() argument 72 : PrintDisassembler(stream) {} in CustomDisassembler() 102 NamedLabel(CustomStream* stream, const char* name) in NamedLabel() argument 103 : stream_(stream), name_(name) {} in NamedLabel() 113 CustomStream stream; in RunCustomDisassemblerTest() local 116 NamedLabel loop(&stream, "loop"); in RunCustomDisassemblerTest() 117 NamedLabel end(&stream, "end"); in RunCustomDisassemblerTest() 131 CustomDisassembler custom_disassembler(&stream); in RunCustomDisassemblerTest()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_info.h | 80 /// \param stream Stream to read DNG data from. 83 dng_stream &stream); 90 /// \retval true if stream provided a valid DNG. 99 dng_stream &stream, 110 virtual bool ValidateIFD (dng_stream &stream, 115 dng_stream &stream, 124 dng_stream &stream, 133 dng_stream &stream, 141 dng_stream &stream, 147 dng_stream &stream); [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | crestst.c | 814 FileStream* stream = NULL; in TestFileStream() local 837 stream = T_FileStream_open(fileName, "r"); in TestFileStream() 838 if(stream==NULL){ in TestFileStream() 845 retLen=T_FileStream_read(stream,&c,1); in TestFileStream() 850 T_FileStream_rewind(stream); in TestFileStream() 851 T_FileStream_read(stream,&c1,1); in TestFileStream() 855 T_FileStream_rewind(stream); in TestFileStream() 856 c1 = T_FileStream_peek(stream); in TestFileStream() 860 c = T_FileStream_getc(stream); in TestFileStream() 861 T_FileStream_ungetc(c,stream); in TestFileStream() [all...] |
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | ohos_gen_framework.py | 2111 stream = [] 2115 stream.append("tcu::TestStatus testPhysicalDeviceFeature" + x.instanceName[len('device'):]+" (Context& context)") 2116 stream.append("""{ 2125 stream.append("\t"+structureDefinitions[n]) 2126 stream.append("\t"+featureEnabledFlags[n]) 2127 stream.append('') 2128 stream.append('\tfor (int ndx = 0; ndx < count; ++ndx)\n\t{') 2129 stream.append("\t" + clearStructures[n]) 2130 stream.extend(structureChain[n]) 2131 stream 2566 stream = [''] global() variable [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
H A D | mali_kbase_csf_csg_debugfs.c | 113 struct kbase_csf_cmd_stream_info const *const stream) in kbasep_csf_scheduler_dump_active_cs_trace() 115 u32 val = kbase_csf_firmware_cs_input_read(stream, in kbasep_csf_scheduler_dump_active_cs_trace() 117 u64 addr = ((u64)kbase_csf_firmware_cs_input_read(stream, in kbasep_csf_scheduler_dump_active_cs_trace() 119 val = kbase_csf_firmware_cs_input_read(stream, in kbasep_csf_scheduler_dump_active_cs_trace() 125 val = kbase_csf_firmware_cs_input_read(stream, in kbasep_csf_scheduler_dump_active_cs_trace() 127 addr = ((u64)kbase_csf_firmware_cs_input_read(stream, in kbasep_csf_scheduler_dump_active_cs_trace() 132 val = kbase_csf_firmware_cs_input_read(stream, CS_INSTR_CONFIG); in kbasep_csf_scheduler_dump_active_cs_trace() 210 struct kbase_csf_cmd_stream_info const *const stream = in kbasep_csf_scheduler_dump_active_queue() local 215 if (WARN_ON(!stream)) in kbasep_csf_scheduler_dump_active_queue() 218 cmd_ptr = kbase_csf_firmware_cs_output(stream, in kbasep_csf_scheduler_dump_active_queue() 112 kbasep_csf_scheduler_dump_active_cs_trace(struct seq_file *file, struct kbase_csf_cmd_stream_info const *const stream) kbasep_csf_scheduler_dump_active_cs_trace() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | hdac_hda.c | 49 static int hdac_hda_dai_set_stream(struct snd_soc_dai *dai, void *stream, 183 void *stream, int direction) in hdac_hda_dai_set_stream() 190 if (!stream) in hdac_hda_dai_set_stream() 195 hstream = (struct hdac_stream *)stream; in hdac_hda_dai_set_stream() 211 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in hdac_hda_dai_hw_params() 231 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params() 248 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_hw_free() 263 unsigned int stream; in hdac_hda_dai_prepare() local 272 hda_stream = &pcm->stream[substrea in hdac_hda_dai_prepare() 182 hdac_hda_dai_set_stream(struct snd_soc_dai *dai, void *stream, int direction) hdac_hda_dai_set_stream() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_mipi.c | 57 switch (pipe->stream->config.mode) { in ia_css_mipi_is_source_port_valid() 59 port = (unsigned int)pipe->stream->config.source.port.port; in ia_css_mipi_is_source_port_valid() 63 port = (unsigned int)pipe->stream->config.source.tpg.id; in ia_css_mipi_is_source_port_valid() 67 port = (unsigned int)pipe->stream->config.source.prbs.id; in ia_css_mipi_is_source_port_valid() 391 if (pipe->stream->config.mode == IA_CSS_INPUT_MODE_BUFFERED_SENSOR) in buffers_needed() 397 if (pipe->stream->config.mode == IA_CSS_INPUT_MODE_BUFFERED_SENSOR || in buffers_needed() 398 pipe->stream->config.mode == IA_CSS_INPUT_MODE_TPG || in buffers_needed() 399 pipe->stream->config.mode == IA_CSS_INPUT_MODE_PRBS) in buffers_needed() 415 assert(pipe->stream); in allocate_mipi_frames() 416 if ((!pipe) || (!pipe->stream)) in allocate_mipi_frames() [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | hdac_hda.c | 49 static int hdac_hda_dai_set_stream(struct snd_soc_dai *dai, void *stream, 186 void *stream, int direction) in hdac_hda_dai_set_stream() 193 if (!stream) in hdac_hda_dai_set_stream() 198 hstream = (struct hdac_stream *)stream; in hdac_hda_dai_set_stream() 214 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in hdac_hda_dai_hw_params() 234 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params() 251 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_hw_free() 266 unsigned int stream; in hdac_hda_dai_prepare() local 275 hda_stream = &pcm->stream[substrea in hdac_hda_dai_prepare() 185 hdac_hda_dai_set_stream(struct snd_soc_dai *dai, void *stream, int direction) hdac_hda_dai_set_stream() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_texture_desc.c | 230 struct etna_cmd_stream *stream, in etna_sampler_view_update_descriptor() 240 etna_cmd_stream_ref_bo(stream, res->bo, ETNA_RELOC_READ); in etna_sampler_view_update_descriptor() 257 struct etna_cmd_stream *stream = ctx->stream; in etna_emit_texture_desc() local 271 etna_set_state(stream, VIVS_TS_SAMPLER_CONFIG(x), sv->ts.TS_SAMPLER_CONFIG); in etna_emit_texture_desc() 272 etna_set_state_reloc(stream, VIVS_TS_SAMPLER_STATUS_BASE(x), &sv->ts.TS_SAMPLER_STATUS_BASE); in etna_emit_texture_desc() 273 etna_set_state(stream, VIVS_TS_SAMPLER_CLEAR_VALUE(x), sv->ts.TS_SAMPLER_CLEAR_VALUE); in etna_emit_texture_desc() 274 etna_set_state(stream, VIVS_TS_SAMPLER_CLEAR_VALUE2(x), sv->ts.TS_SAMPLER_CLEAR_VALUE2); in etna_emit_texture_desc() 280 etna_set_state_reloc(stream, VIVS_TS_SAMPLER_SURFACE_BASE(x), &LOD_ADDR_0); in etna_emit_texture_desc() 295 etna_set_state(stream, VIVS_NTE_DESCRIPTOR_TX_CTR in etna_emit_texture_desc() 229 etna_sampler_view_update_descriptor(struct etna_context *ctx, struct etna_cmd_stream *stream, struct etna_sampler_view_desc *sv) etna_sampler_view_update_descriptor() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ShaderModuleValidationTests.cpp | 62 std::ostringstream stream; in TEST_F() local 63 stream << "[[stage(fragment)]] fn main() -> [[location(" << kMaxColorAttachments in TEST_F() 67 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, stream.str().c_str())); in TEST_F() 219 std::ostringstream stream; in TEST_F() 220 stream << "struct ShaderIO {" << std::endl; in TEST_F() 222 stream << "[[location(" << location << ")]] var" << location << ": f32;" << std::endl; in TEST_F() 226 stream << R"( in TEST_F() 237 stream << R"( in TEST_F() 249 return stream.str(); in TEST_F() 291 std::ostringstream stream; in TEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/block/zram/ |
H A D | zcomp.c | 106 local_lock(&comp->stream->lock); in zcomp_stream_get() 107 return this_cpu_ptr(comp->stream); in zcomp_stream_get() 112 local_unlock(&comp->stream->lock); in zcomp_stream_put() 155 zstrm = per_cpu_ptr(comp->stream, cpu); in zcomp_cpu_up_prepare() 160 pr_err("Can't allocate a compression stream\n"); in zcomp_cpu_up_prepare() 169 zstrm = per_cpu_ptr(comp->stream, cpu); in zcomp_cpu_dead() 178 comp->stream = alloc_percpu(struct zcomp_strm); in zcomp_init() 179 if (!comp->stream) in zcomp_init() 188 free_percpu(comp->stream); in zcomp_init() 195 free_percpu(comp->stream); in zcomp_destroy() [all...] |