Home
last modified time | relevance | path

Searched refs:n_read (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/glib/gio/
Dgoutputstream.c403 gssize n_read, n_written; in g_output_stream_real_splice() local
420 n_read = g_input_stream_read (source, buffer, sizeof (buffer), cancellable, error); in g_output_stream_real_splice()
421 if (n_read == -1) in g_output_stream_real_splice()
427 if (n_read == 0) in g_output_stream_real_splice()
431 while (n_read > 0) in g_output_stream_real_splice()
433 n_written = class->write_fn (stream, p, n_read, cancellable, error); in g_output_stream_real_splice()
441 n_read -= n_written; in g_output_stream_real_splice()
Dgfile.c2205 gssize n_read, n_written; in copy_stream_with_progress() local
2244 n_read = g_input_stream_read (in, buffer, sizeof (buffer), cancellable, error); in copy_stream_with_progress()
2245 if (n_read == -1) in copy_stream_with_progress()
2251 if (n_read == 0) in copy_stream_with_progress()
2254 current_size += n_read; in copy_stream_with_progress()
2257 while (n_read > 0) in copy_stream_with_progress()
2259 n_written = g_output_stream_write (out, p, n_read, cancellable, error); in copy_stream_with_progress()
2267 n_read -= n_written; in copy_stream_with_progress()