Home
last modified time | relevance | path

Searched refs:input_stream (Results 1 – 25 of 42) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dutils.cc46 FileInputStream input_stream; in LoadFonts() local
47 input_stream.Open(font_path); in LoadFonts()
48 factory->LoadFonts(&input_stream, fonts); in LoadFonts()
49 input_stream.Close(); in LoadFonts()
55 FileInputStream input_stream; in LoadFontBuilders() local
56 input_stream.Open(font_path); in LoadFontBuilders()
57 factory->LoadFontsForBuilding(&input_stream, builders); in LoadFontBuilders()
58 input_stream.Close(); in LoadFontBuilders()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dutils.cc46 FileInputStream input_stream; in LoadFonts() local
47 input_stream.Open(font_path); in LoadFonts()
48 factory->LoadFonts(&input_stream, fonts); in LoadFonts()
49 input_stream.Close(); in LoadFonts()
55 FileInputStream input_stream; in LoadFontBuilders() local
56 input_stream.Open(font_path); in LoadFontBuilders()
57 factory->LoadFontsForBuilding(&input_stream, builders); in LoadFontBuilders()
58 input_stream.Close(); in LoadFontBuilders()
/third_party/glib/gio/
Dgsocketinputstream.c124 GSocketInputStream *input_stream = G_SOCKET_INPUT_STREAM (stream); in g_socket_input_stream_read() local
126 return g_socket_receive_with_blocking (input_stream->priv->socket, in g_socket_input_stream_read()
134 GSocketInputStream *input_stream = G_SOCKET_INPUT_STREAM (pollable); in g_socket_input_stream_pollable_is_readable() local
136 return g_socket_condition_check (input_stream->priv->socket, G_IO_IN); in g_socket_input_stream_pollable_is_readable()
143 GSocketInputStream *input_stream = G_SOCKET_INPUT_STREAM (pollable); in g_socket_input_stream_pollable_create_source() local
146 pollable_source = g_pollable_source_new (G_OBJECT (input_stream)); in g_socket_input_stream_pollable_create_source()
147 socket_source = g_socket_create_source (input_stream->priv->socket, in g_socket_input_stream_pollable_create_source()
162 GSocketInputStream *input_stream = G_SOCKET_INPUT_STREAM (pollable); in g_socket_input_stream_pollable_read_nonblocking() local
164 return g_socket_receive_with_blocking (input_stream->priv->socket, in g_socket_input_stream_pollable_read_nonblocking()
173 GSocketInputStream *input_stream = G_SOCKET_INPUT_STREAM (fd_based); in g_socket_input_stream_get_fd() local
[all …]
Dgsimpleiostream.c57 GInputStream *input_stream; member
82 if (stream->input_stream) in G_DEFINE_TYPE()
83 g_object_unref (stream->input_stream); in G_DEFINE_TYPE()
102 stream->input_stream = g_value_dup_object (value); in g_simple_io_stream_set_property()
126 g_value_set_object (value, stream->input_stream); in g_simple_io_stream_get_property()
144 return simple_stream->input_stream; in g_simple_io_stream_get_input_stream()
215 g_simple_io_stream_new (GInputStream *input_stream, in g_simple_io_stream_new() argument
219 "input-stream", input_stream, in g_simple_io_stream_new()
Dgfileinputstream.c129 GInputStream *input_stream; in g_file_input_stream_query_info() local
134 input_stream = G_INPUT_STREAM (stream); in g_file_input_stream_query_info()
136 if (!g_input_stream_set_pending (input_stream, error)) in g_file_input_stream_query_info()
154 g_input_stream_clear_pending (input_stream); in g_file_input_stream_query_info()
203 GInputStream *input_stream; in g_file_input_stream_query_info_async() local
208 input_stream = G_INPUT_STREAM (stream); in g_file_input_stream_query_info_async()
210 if (!g_input_stream_set_pending (input_stream, &error)) in g_file_input_stream_query_info_async()
314 GInputStream *input_stream; in g_file_input_stream_seek() local
319 input_stream = G_INPUT_STREAM (stream); in g_file_input_stream_seek()
329 if (!g_input_stream_set_pending (input_stream, error)) in g_file_input_stream_seek()
[all …]
Dglocalfileiostream.c47 g_object_unref (file->input_stream); in G_DEFINE_TYPE()
63 stream->input_stream = (GInputStream *)_g_local_file_input_stream_new (fd); in _g_local_file_io_stream_new()
65 _g_local_file_input_stream_set_do_close (G_LOCAL_FILE_INPUT_STREAM (stream->input_stream), in _g_local_file_io_stream_new()
74 return G_LOCAL_FILE_IO_STREAM (stream)->input_stream; in g_local_file_io_stream_get_input_stream()
93 g_input_stream_close (file->input_stream, cancellable, NULL); in g_local_file_io_stream_close()
Dgsocketconnection.c75 GInputStream *input_stream; member
102 if (connection->priv->input_stream == NULL) in G_DEFINE_TYPE_WITH_PRIVATE()
103 connection->priv->input_stream = (GInputStream *) in G_DEFINE_TYPE_WITH_PRIVATE()
106 return connection->priv->input_stream; in G_DEFINE_TYPE_WITH_PRIVATE()
419 if (connection->priv->input_stream) in g_socket_connection_finalize()
420 g_object_unref (connection->priv->input_stream); in g_socket_connection_finalize()
476 if (connection->priv->input_stream) in g_socket_connection_close()
477 g_input_stream_close (connection->priv->input_stream, in g_socket_connection_close()
Dgbufferedinputstream.c410 GInputStream *input_stream; in g_buffered_input_stream_fill() local
415 input_stream = G_INPUT_STREAM (stream); in g_buffered_input_stream_fill()
424 if (!g_input_stream_set_pending (input_stream, error)) in g_buffered_input_stream_fill()
436 g_input_stream_clear_pending (input_stream); in g_buffered_input_stream_fill()
971 GInputStream *input_stream; in g_buffered_input_stream_read_byte() local
978 input_stream = G_INPUT_STREAM (stream); in g_buffered_input_stream_read_byte()
980 if (g_input_stream_is_closed (input_stream)) in g_buffered_input_stream_read_byte()
987 if (!g_input_stream_set_pending (input_stream, error)) in g_buffered_input_stream_read_byte()
994 g_input_stream_clear_pending (input_stream); in g_buffered_input_stream_read_byte()
1012 g_input_stream_clear_pending (input_stream); in g_buffered_input_stream_read_byte()
Dgsimpleiostream.h40 GIOStream *g_simple_io_stream_new (GInputStream *input_stream,
/third_party/glib/gio/tests/
Dtest-io-stream.c37 g_clear_object (&stream->input_stream); in G_DEFINE_TYPE()
53 return stream->input_stream; in test_io_stream_get_input_stream()
91 test_io_stream_new (GInputStream *input_stream, in test_io_stream_new() argument
96 g_return_val_if_fail (G_IS_INPUT_STREAM (input_stream), NULL); in test_io_stream_new()
99 stream->input_stream = g_object_ref (input_stream); in test_io_stream_new()
Dgdbus-close-pending.c55 GInputStream *input_stream; member
72 g_object_unref (stream->input_stream); in G_DEFINE_TYPE()
86 return stream->input_stream; in my_io_stream_get_input_stream()
111 my_io_stream_new (GInputStream *input_stream, in my_io_stream_new() argument
115 g_return_val_if_fail (G_IS_INPUT_STREAM (input_stream), NULL); in my_io_stream_new()
118 stream->input_stream = g_object_ref (input_stream); in my_io_stream_new()
240 GInputStream *input_stream; in my_io_stream_new_for_fds() local
244 input_stream = g_unix_input_stream_new (fd_in, TRUE); in my_io_stream_new_for_fds()
249 stream = my_io_stream_new (input_stream, output_stream); in my_io_stream_new_for_fds()
250 g_object_unref (input_stream); in my_io_stream_new_for_fds()
Dtest-io-stream.h31 GInputStream *input_stream; member
48 GIOStream *test_io_stream_new (GInputStream *input_stream,
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstdecodebin3-parse.c427 DecodebinInputStream *input_stream = (DecodebinInputStream *) tmp->data; in parsebin_buffer_probe() local
430 if (input_stream->input != input) { in parsebin_buffer_probe()
435 GST_DEBUG_OBJECT (dbin, "Checking input stream %p", input_stream); in parsebin_buffer_probe()
436 if (input_stream->input_buffer_probe_id) { in parsebin_buffer_probe()
438 "Removing pad block on input %p pad %" GST_PTR_FORMAT, input_stream, in parsebin_buffer_probe()
439 input_stream->srcpad); in parsebin_buffer_probe()
440 gst_pad_remove_probe (input_stream->srcpad, in parsebin_buffer_probe()
441 input_stream->input_buffer_probe_id); in parsebin_buffer_probe()
443 input_stream->input_buffer_probe_id = 0; in parsebin_buffer_probe()
445 if (input_stream->saw_eos) { in parsebin_buffer_probe()
[all …]
/third_party/grpc/test/core/util/
Dfuzzer_util.h34 } input_stream; typedef
37 uint8_t grpc_fuzzer_get_next_byte(input_stream* inp);
41 char* grpc_fuzzer_get_next_string(input_stream* inp, bool* special);
44 uint32_t grpc_fuzzer_get_next_uint32(input_stream* inp);
Dfuzzer_util.cc28 uint8_t grpc_fuzzer_get_next_byte(input_stream* inp) { in grpc_fuzzer_get_next_byte()
35 char* grpc_fuzzer_get_next_string(input_stream* inp, bool* special) { in grpc_fuzzer_get_next_string()
57 uint32_t grpc_fuzzer_get_next_uint32(input_stream* inp) { in grpc_fuzzer_get_next_uint32()
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/vert/
Dfunctions_nested.vert37 vec4 fetch_attr(attr_desc desc, int vertex_id, usamplerBuffer input_stream)
53 tmp.x = texelFetch(input_stream, first_byte++).x;
54 tmp.y = texelFetch(input_stream, first_byte++).x;
59 tmp.x = texelFetch(input_stream, first_byte++).x;
60 tmp.y = texelFetch(input_stream, first_byte++).x;
61 tmp.z = texelFetch(input_stream, first_byte++).x;
62 tmp.w = texelFetch(input_stream, first_byte++).x;
67 result[n] = texelFetch(input_stream, first_byte++).x;
/third_party/grpc/test/cpp/util/
Dgrpc_tool.cc531 std::istream* input_stream; in CallMethod() local
550 input_stream = &std::cin; in CallMethod()
553 input_stream = &input_file; in CallMethod()
564 (!input_stream->eof() && getline(*input_stream, line))) { in CallMethod()
628 std::istream* input_stream; in CallMethod() local
636 input_stream = &std::cin; in CallMethod()
639 input_stream = &input_file; in CallMethod()
651 (!input_stream->eof() && getline(*input_stream, line))) { in CallMethod()
737 std::stringstream input_stream; in CallMethod() local
742 input_stream << std::cin.rdbuf(); in CallMethod()
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/vert/
Dfunctions_nested.vert69 …read const attr_desc& desc, thread const int& vertex_id, thread const texture2d<uint> input_stream)
87 tmp.x = input_stream.read(spvTexelBufferCoord(_131)).x;
90 tmp.y = input_stream.read(spvTexelBufferCoord(_138)).x;
100 tmp.x = input_stream.read(spvTexelBufferCoord(_156)).x;
103 tmp.y = input_stream.read(spvTexelBufferCoord(_163)).x;
106 tmp.z = input_stream.read(spvTexelBufferCoord(_170)).x;
109 tmp.w = input_stream.read(spvTexelBufferCoord(_177)).x;
119 result[n] = float(input_stream.read(spvTexelBufferCoord(_195)).x);
/third_party/grpc/test/core/security/
Dalts_credentials_fuzzer.cc35 using grpc_core::testing::input_stream;
45 input_stream* inp, grpc_alts_credentials_options* options) { in read_target_service_accounts()
68 input_stream inp = {data, data + size}; in LLVMFuzzerTestOneInput()
/third_party/skia/tools/
Dmisc_utils.py17 def search_within_stream(input_stream, pattern, default=None): argument
39 for line in input_stream:
/third_party/flutter/skia/tools/
Dmisc_utils.py17 def search_within_stream(input_stream, pattern, default=None): argument
39 for line in input_stream:
/third_party/protobuf/src/google/protobuf/
Dlite_unittest.cc877 io::CodedInputStream input_stream( in TEST()
879 EXPECT_TRUE(message2.MergeFromCodedStream(&input_stream)); in TEST()
887 io::CodedInputStream input_stream( in TEST()
889 EXPECT_TRUE(message2.MergeFromCodedStream(&input_stream)); in TEST()
897 io::CodedInputStream input_stream( in TEST()
899 EXPECT_TRUE(message2.MergeFromCodedStream(&input_stream)); in TEST()
916 io::CodedInputStream input_stream( in TEST()
919 EXPECT_TRUE(parsed.MergeFromCodedStream(&input_stream)); in TEST()
932 io::CodedInputStream input_stream( in TEST()
935 EXPECT_TRUE(parsed.MergeFromCodedStream(&input_stream)); in TEST()
[all …]
/third_party/mbedtls/scripts/
Dassemble_changelog.py266 def __init__(self, input_stream, changelog_format): argument
273 whole_file = input_stream.read()
282 self.add_categories_from_text(input_stream.name, offset,
285 def add_file(self, input_stream): argument
288 self.add_categories_from_text(input_stream.name, 1,
289 input_stream.read(), False)
/third_party/protobuf/src/google/protobuf/util/
Djson_util.cc117 io::ArrayInputStream input_stream(binary_input.data(), binary_input.size()); in BinaryToJsonString() local
119 return BinaryToJsonStream(resolver, type_url, &input_stream, &output_stream, in BinaryToJsonString()
211 io::ArrayInputStream input_stream(json_input.data(), json_input.size()); in JsonToBinaryString() local
213 return JsonToBinaryStream(resolver, type_url, &input_stream, &output_stream, in JsonToBinaryString()
/third_party/cef/libcef/browser/net_service/
Dstream_reader_url_loader.cc115 void OnCallback(std::unique_ptr<InputStream> input_stream) { in OnCallback() argument
120 base::WrapRefCounted(this), std::move(input_stream))); in OnCallback()
132 std::move(callback_).Run(std::move(delegate_), std::move(input_stream)); in OnCallback()
556 std::unique_ptr<InputStream> input_stream) { in OnInputStreamOpened() argument
562 if (!input_stream) { in OnInputStreamOpened()
576 std::move(input_stream), stream_work_task_runner_); in OnInputStreamOpened()

12