Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/external/freetype/src/base/
Dftstream.c35 FT_Stream_OpenMemory( FT_Stream stream, in FT_Stream_OpenMemory() argument
39 stream->base = (FT_Byte*) base; in FT_Stream_OpenMemory()
40 stream->size = size; in FT_Stream_OpenMemory()
41 stream->pos = 0; in FT_Stream_OpenMemory()
42 stream->cursor = 0; in FT_Stream_OpenMemory()
43 stream->read = 0; in FT_Stream_OpenMemory()
44 stream->close = 0; in FT_Stream_OpenMemory()
49 FT_Stream_Close( FT_Stream stream ) in FT_Stream_Close() argument
51 if ( stream && stream->close ) in FT_Stream_Close()
52 stream->close( stream ); in FT_Stream_Close()
[all …]
/external/bluetooth/glib/gio/
Dgoutputstream.c58 static gssize g_output_stream_real_splice (GOutputStream *stream,
63 static void g_output_stream_real_write_async (GOutputStream *stream,
70 static gssize g_output_stream_real_write_finish (GOutputStream *stream,
73 static void g_output_stream_real_splice_async (GOutputStream *stream,
80 static gssize g_output_stream_real_splice_finish (GOutputStream *stream,
83 static void g_output_stream_real_flush_async (GOutputStream *stream,
88 static gboolean g_output_stream_real_flush_finish (GOutputStream *stream,
91 static void g_output_stream_real_close_async (GOutputStream *stream,
96 static gboolean g_output_stream_real_close_finish (GOutputStream *stream,
103 GOutputStream *stream; in g_output_stream_finalize() local
[all …]
Dginputstream.c59 static gssize g_input_stream_real_skip (GInputStream *stream,
63 static void g_input_stream_real_read_async (GInputStream *stream,
70 static gssize g_input_stream_real_read_finish (GInputStream *stream,
73 static void g_input_stream_real_skip_async (GInputStream *stream,
79 static gssize g_input_stream_real_skip_finish (GInputStream *stream,
82 static void g_input_stream_real_close_async (GInputStream *stream,
87 static gboolean g_input_stream_real_close_finish (GInputStream *stream,
94 GInputStream *stream; in g_input_stream_finalize() local
96 stream = G_INPUT_STREAM (object); in g_input_stream_finalize()
98 if (!stream->priv->closed) in g_input_stream_finalize()
[all …]
Dgdatainputstream.c172 g_data_input_stream_init (GDataInputStream *stream) in g_data_input_stream_init() argument
174 stream->priv = G_TYPE_INSTANCE_GET_PRIVATE (stream, in g_data_input_stream_init()
178 stream->priv->byte_order = G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN; in g_data_input_stream_init()
179 stream->priv->newline_type = G_DATA_STREAM_NEWLINE_TYPE_LF; in g_data_input_stream_init()
193 GDataInputStream *stream; in g_data_input_stream_new() local
197 stream = g_object_new (G_TYPE_DATA_INPUT_STREAM, in g_data_input_stream_new()
201 return stream; in g_data_input_stream_new()
214 g_data_input_stream_set_byte_order (GDataInputStream *stream, in g_data_input_stream_set_byte_order() argument
219 g_return_if_fail (G_IS_DATA_INPUT_STREAM (stream)); in g_data_input_stream_set_byte_order()
221 priv = stream->priv; in g_data_input_stream_set_byte_order()
[all …]
Dgdataoutputstream.c142 g_data_output_stream_init (GDataOutputStream *stream) in g_data_output_stream_init() argument
144 stream->priv = G_TYPE_INSTANCE_GET_PRIVATE (stream, in g_data_output_stream_init()
148 stream->priv->byte_order = G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN; in g_data_output_stream_init()
162 GDataOutputStream *stream; in g_data_output_stream_new() local
166 stream = g_object_new (G_TYPE_DATA_OUTPUT_STREAM, in g_data_output_stream_new()
170 return stream; in g_data_output_stream_new()
181 g_data_output_stream_set_byte_order (GDataOutputStream *stream, in g_data_output_stream_set_byte_order() argument
185 g_return_if_fail (G_IS_DATA_OUTPUT_STREAM (stream)); in g_data_output_stream_set_byte_order()
186 priv = stream->priv; in g_data_output_stream_set_byte_order()
190 g_object_notify (G_OBJECT (stream), "byte-order"); in g_data_output_stream_set_byte_order()
[all …]
Dgfileoutputstream.c72 static void g_file_output_stream_real_query_info_async (GFileOutputStream *stream,
78 static GFileInfo *g_file_output_stream_real_query_info_finish (GFileOutputStream *stream,
110 g_file_output_stream_init (GFileOutputStream *stream) in g_file_output_stream_init() argument
112 stream->priv = G_TYPE_INSTANCE_GET_PRIVATE (stream, in g_file_output_stream_init()
145 g_file_output_stream_query_info (GFileOutputStream *stream, in g_file_output_stream_query_info() argument
154 g_return_val_if_fail (G_IS_FILE_OUTPUT_STREAM (stream), NULL); in g_file_output_stream_query_info()
156 output_stream = G_OUTPUT_STREAM (stream); in g_file_output_stream_query_info()
166 class = G_FILE_OUTPUT_STREAM_GET_CLASS (stream); in g_file_output_stream_query_info()
168 info = class->query_info (stream, attributes, cancellable, error); in g_file_output_stream_query_info()
186 GFileOutputStream *stream = G_FILE_OUTPUT_STREAM (source_object); in async_ready_callback_wrapper() local
[all …]
Dgfilteroutputstream.c56 static gssize g_filter_output_stream_write (GOutputStream *stream,
61 static gboolean g_filter_output_stream_flush (GOutputStream *stream,
64 static gboolean g_filter_output_stream_close (GOutputStream *stream,
67 static void g_filter_output_stream_write_async (GOutputStream *stream,
74 static gssize g_filter_output_stream_write_finish (GOutputStream *stream,
77 static void g_filter_output_stream_flush_async (GOutputStream *stream,
82 static gboolean g_filter_output_stream_flush_finish (GOutputStream *stream,
85 static void g_filter_output_stream_close_async (GOutputStream *stream,
90 static gboolean g_filter_output_stream_close_finish (GOutputStream *stream,
208 GFilterOutputStream *stream; in g_filter_output_stream_dispose() local
[all …]
Dgbufferedoutputstream.c81 static gssize g_buffered_output_stream_write (GOutputStream *stream,
86 static gboolean g_buffered_output_stream_flush (GOutputStream *stream,
89 static gboolean g_buffered_output_stream_close (GOutputStream *stream,
93 static void g_buffered_output_stream_write_async (GOutputStream *stream,
100 static gssize g_buffered_output_stream_write_finish (GOutputStream *stream,
103 static void g_buffered_output_stream_flush_async (GOutputStream *stream,
108 static gboolean g_buffered_output_stream_flush_finish (GOutputStream *stream,
111 static void g_buffered_output_stream_close_async (GOutputStream *stream,
116 static gboolean g_buffered_output_stream_close_finish (GOutputStream *stream,
180 g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream) in g_buffered_output_stream_get_buffer_size() argument
[all …]
Dgbufferedinputstream.c88 static gssize g_buffered_input_stream_skip (GInputStream *stream,
92 static void g_buffered_input_stream_skip_async (GInputStream *stream,
98 static gssize g_buffered_input_stream_skip_finish (GInputStream *stream,
101 static gssize g_buffered_input_stream_read (GInputStream *stream,
106 static void g_buffered_input_stream_read_async (GInputStream *stream,
113 static gssize g_buffered_input_stream_read_finish (GInputStream *stream,
116 static gssize g_buffered_input_stream_real_fill (GBufferedInputStream *stream,
120 static void g_buffered_input_stream_real_fill_async (GBufferedInputStream *stream,
126 static gssize g_buffered_input_stream_real_fill_finish (GBufferedInputStream *stream,
130 static void compact_buffer (GBufferedInputStream *stream);
[all …]
Dgfileinputstream.c68 static void g_file_input_stream_real_query_info_async (GFileInputStream *stream,
74 static GFileInfo *g_file_input_stream_real_query_info_finish (GFileInputStream *stream,
107 g_file_input_stream_init (GFileInputStream *stream) in g_file_input_stream_init() argument
109 stream->priv = G_TYPE_INSTANCE_GET_PRIVATE (stream, in g_file_input_stream_init()
131 g_file_input_stream_query_info (GFileInputStream *stream, in g_file_input_stream_query_info() argument
140 g_return_val_if_fail (G_IS_FILE_INPUT_STREAM (stream), NULL); in g_file_input_stream_query_info()
142 input_stream = G_INPUT_STREAM (stream); in g_file_input_stream_query_info()
152 class = G_FILE_INPUT_STREAM_GET_CLASS (stream); in g_file_input_stream_query_info()
154 info = class->query_info (stream, attributes, cancellable, error); in g_file_input_stream_query_info()
172 GFileInputStream *stream = G_FILE_INPUT_STREAM (source_object); in async_ready_callback_wrapper() local
[all …]
Dgfilterinputstream.c56 static gssize g_filter_input_stream_read (GInputStream *stream,
61 static gssize g_filter_input_stream_skip (GInputStream *stream,
65 static gboolean g_filter_input_stream_close (GInputStream *stream,
68 static void g_filter_input_stream_read_async (GInputStream *stream,
75 static gssize g_filter_input_stream_read_finish (GInputStream *stream,
78 static void g_filter_input_stream_skip_async (GInputStream *stream,
84 static gssize g_filter_input_stream_skip_finish (GInputStream *stream,
87 static void g_filter_input_stream_close_async (GInputStream *stream,
92 static gboolean g_filter_input_stream_close_finish (GInputStream *stream,
209 GFilterInputStream *stream; in g_filter_input_stream_finalize() local
[all …]
Dgoutputstream.h68 gssize (* write_fn) (GOutputStream *stream,
73 gssize (* splice) (GOutputStream *stream,
78 gboolean (* flush) (GOutputStream *stream,
81 gboolean (* close_fn) (GOutputStream *stream,
87 void (* write_async) (GOutputStream *stream,
94 gssize (* write_finish) (GOutputStream *stream,
97 void (* splice_async) (GOutputStream *stream,
104 gssize (* splice_finish) (GOutputStream *stream,
107 void (* flush_async) (GOutputStream *stream,
112 gboolean (* flush_finish) (GOutputStream *stream,
[all …]
/external/qemu/
Darm-dis.c1592 arm_decode_shift (long given, fprintf_ftype func, void *stream, in arm_decode_shift() argument
1595 func (stream, "%s", arm_regnames[given & 0xf]); in arm_decode_shift()
1608 func (stream, ", rrx"); in arm_decode_shift()
1616 func (stream, ", %s #%d", arm_shift[shift], amount); in arm_decode_shift()
1618 func (stream, ", #%d", amount); in arm_decode_shift()
1621 func (stream, ", %s %s", arm_shift[(given & 0x60) >> 5], in arm_decode_shift()
1624 func (stream, ", %s", arm_regnames[(given & 0xf00) >> 8]); in arm_decode_shift()
1637 void *stream = info->stream; in print_insn_coprocessor() local
1692 func (stream, "%%"); in print_insn_coprocessor()
1696 func (stream, "[%s", arm_regnames [(given >> 16) & 0xf]); in print_insn_coprocessor()
[all …]
/external/blktrace/btreplay/
Dbtrecord.c225 static void write_file_hdr(struct io_stream *stream, struct io_file_hdr *hdr) in write_file_hdr() argument
231 stream->file_name, in write_file_hdr()
238 fseek(stream->ofp, 0, SEEK_SET); in write_file_hdr()
239 if (fwrite(hdr, sizeof(*hdr), 1, stream->ofp) != 1) { in write_file_hdr()
240 fatal(stream->file_name, ERR_SYSCALL, "Hdr write failed\n"); in write_file_hdr()
251 static inline void io_bunch_create(struct io_stream *stream, __u64 start_time) in io_bunch_create() argument
258 cur->hdr.time_stamp = stream->start_time = start_time; in io_bunch_create()
260 stream->cur = cur; in io_bunch_create()
270 static void io_bunch_add(struct io_stream *stream, struct io_spec *spec) in io_bunch_add() argument
272 struct io_bunch *cur = stream->cur; in io_bunch_add()
[all …]
/external/webkit/WebCore/history/cf/
DHistoryPropertyList.cpp73 void HistoryPropertyListWriter::writeObjects(BinaryPropertyListObjectStream& stream) in writeObjects() argument
75 size_t outerDictionaryStart = stream.writeDictionaryStart(); in writeObjects()
77 stream.writeString("WebHistoryFileVersion"); in writeObjects()
78 stream.writeString("WebHistoryDates"); in writeObjects()
80 stream.writeInteger(currentFileVersion); in writeObjects()
81 size_t outerDateArrayStart = stream.writeArrayStart(); in writeObjects()
82 writeHistoryItems(stream); in writeObjects()
83 stream.writeArrayEnd(outerDateArrayStart); in writeObjects()
85 stream.writeDictionaryEnd(outerDictionaryStart); in writeObjects()
88 void HistoryPropertyListWriter::writeHistoryItem(BinaryPropertyListObjectStream& stream, HistoryIte… in writeHistoryItem() argument
[all …]
/external/guava/src/com/google/common/collect/
DSerialization.java54 public static int readCount(ObjectInputStream stream) throws IOException { in readCount() argument
55 return stream.readInt(); in readCount()
67 public static <K, V> void writeMap(Map<K, V> map, ObjectOutputStream stream) in writeMap() argument
69 stream.writeInt(map.size()); in writeMap()
71 stream.writeObject(entry.getKey()); in writeMap()
72 stream.writeObject(entry.getValue()); in writeMap()
81 public static <K, V> void populateMap(Map<K, V> map, ObjectInputStream stream) in populateMap() argument
83 int size = stream.readInt(); in populateMap()
84 populateMap(map, stream, size); in populateMap()
93 public static <K, V> void populateMap(Map<K, V> map, ObjectInputStream stream, in populateMap() argument
[all …]
/external/chromium/third_party/zlib/contrib/minizip/
Diowin32.c31 voidpf stream,
37 voidpf stream,
43 voidpf stream));
47 voidpf stream,
53 voidpf stream));
57 voidpf stream));
117 uLong ZCALLBACK win32_read_file_func (opaque, stream, buf, size) in win32_read_file_func() argument
119 voidpf stream;
125 if (stream!=NULL)
126 hFile = ((WIN32FILE_IOWIN*)stream) -> hf;
[all …]
/external/bluetooth/bluez/audio/
Davdtp.c313 struct avdtp_stream *stream; /* Set if the request targeted a stream */ member
324 struct avdtp_stream *stream; member
337 struct avdtp_stream *stream; member
436 struct avdtp_stream *stream, uint8_t signal_id,
439 struct avdtp_stream *stream,
443 struct avdtp_stream *stream,
603 static void close_stream(struct avdtp_stream *stream) in close_stream() argument
607 if (stream->io == NULL) in close_stream()
610 sock = g_io_channel_unix_get_fd(stream->io); in close_stream()
614 g_io_channel_shutdown(stream->io, FALSE, NULL); in close_stream()
[all …]
/external/skia/src/ports/
DSkFontHost_tables.cpp39 static int count_tables(SkStream* stream, size_t* offsetToDir = NULL) { in count_tables() argument
41 if (stream->read(&shared, sizeof(shared)) != sizeof(shared)) { in count_tables()
56 stream->rewind(); in count_tables()
57 if (stream->skip(offset) != offset) { in count_tables()
60 if (stream->read(&shared, sizeof(shared)) != sizeof(shared)) { in count_tables()
84 bool init(SkStream* stream) { in init()
86 fCount = count_tables(stream, &offsetToDir); in init()
91 stream->rewind(); in init()
92 if (stream->skip(offsetToDir) != offsetToDir) { in init()
98 return stream->read(fDir, size) == size; in init()
[all …]
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py206 def __init__ (self, stream, msg): argument
207 stream.error_loc = stream.tell()
208 self.stream = stream
211 return '[%d]: %s' % (self.stream.error_loc, self.msg)
257 def ReadByte (stream): argument
259 return ord(stream.read(1))
261 stream.error_loc = stream.tell()
262 raise MIDIFileException(stream, 'Unexpected EOF')
264 def ReadBytes (stream, length): argument
267 bytes.append(ReadByte(stream))
[all …]
/external/chromium/net/base/
Dfile_stream_unittest.cc38 net::FileStream stream; in TEST_F() local
39 int rv = stream.Open(temp_file_path(), in TEST_F()
83 net::FileStream stream; in TEST_F() local
85 EXPECT_FALSE(stream.IsOpen()); in TEST_F()
88 int64 new_offset = stream.Seek(net::FROM_BEGIN, 5); in TEST_F()
92 int64 avail = stream.Available(); in TEST_F()
97 int rv = stream.Read(buf, arraysize(buf), NULL); in TEST_F()
106 net::FileStream stream; in TEST_F() local
109 int rv = stream.Open(temp_file_path(), flags); in TEST_F()
112 int64 total_bytes_avail = stream.Available(); in TEST_F()
[all …]
/external/freetype/src/psaux/
Dafmparse.c71 ( ( (stream)->cursor < (stream)->limit ) ? *(stream)->cursor++ \
74 #define AFM_STREAM_KEY_BEGIN( stream ) \ argument
75 (char*)( (stream)->cursor - 1 )
77 #define AFM_STREAM_KEY_LEN( stream, key ) \ argument
78 ( (char*)(stream)->cursor - key - 1 )
80 #define AFM_STATUS_EOC( stream ) \ argument
81 ( (stream)->status >= AFM_STREAM_STATUS_EOC )
83 #define AFM_STATUS_EOL( stream ) \ argument
84 ( (stream)->status >= AFM_STREAM_STATUS_EOL )
86 #define AFM_STATUS_EOF( stream ) \ argument
[all …]
/external/qemu/distrib/zlib-1.2.3/
Dgzio.c57 z_stream stream; member
111 s->stream.zalloc = (alloc_func)0;
112 s->stream.zfree = (free_func)0;
113 s->stream.opaque = (voidpf)0;
114 s->stream.next_in = s->inbuf = Z_NULL;
115 s->stream.next_out = s->outbuf = Z_NULL;
116 s->stream.avail_in = s->stream.avail_out = 0;
155 err = deflateInit2(&(s->stream), level,
159 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
165 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE);
[all …]
/external/zlib/
Dgzio.c57 z_stream stream; member
111 s->stream.zalloc = (alloc_func)0;
112 s->stream.zfree = (free_func)0;
113 s->stream.opaque = (voidpf)0;
114 s->stream.next_in = s->inbuf = Z_NULL;
115 s->stream.next_out = s->outbuf = Z_NULL;
116 s->stream.avail_in = s->stream.avail_out = 0;
155 err = deflateInit2(&(s->stream), level,
159 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
165 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE);
[all …]
/external/chromium/third_party/zlib/
Dgzio.c57 z_stream stream; member
115 s->stream.zalloc = (alloc_func)0;
116 s->stream.zfree = (free_func)0;
117 s->stream.opaque = (voidpf)0;
118 s->stream.next_in = s->inbuf = Z_NULL;
119 s->stream.next_out = s->outbuf = Z_NULL;
120 s->stream.avail_in = s->stream.avail_out = 0;
159 err = deflateInit2(&(s->stream), level,
163 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
169 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE);
[all …]

12345678910>>...26