Home | History | Annotate | Download | only in tests

Lines Matching defs:nb

71   gsize nb;
81 error = g_io_channel_read (channel, bufp, left, &nb);
93 if (nb == 0)
95 left -= nb;
96 bufp += nb;
97 *bytes_read += nb;
139 guint nb;
143 error = read_all (fd, channel, (gchar *) &seq, sizeof (seq), &nb);
146 if (nb == 0)
155 g_assert (nb == sizeof (nbytes));
170 error = read_all (fd, channel, (gchar *) &nbytes, sizeof (nbytes), &nb);
176 if (nb == 0)
185 g_assert (nb == sizeof (nbytes));
198 error = read_all (fd, channel, buf, nbytes, &nb);
203 if (nb == 0)
236 guint nb;
240 error = g_io_channel_read (channel, &msg, sizeof (MSG), &nb);