Lines Matching full:file
81 GLocalFileInputStream *file;
83 file = G_LOCAL_FILE_INPUT_STREAM (object);
118 * @fd: File Descriptor.
120 * Returns: #GFileInputStream for the given file descriptor.
140 GLocalFileInputStream *file;
143 file = G_LOCAL_FILE_INPUT_STREAM (stream);
150 res = read (file->priv->fd, buffer, count);
160 _("Error reading from file: %s"),
177 GLocalFileInputStream *file;
179 file = G_LOCAL_FILE_INPUT_STREAM (stream);
184 start = lseek (file->priv->fd, 0, SEEK_CUR);
191 _("Error seeking in file: %s"),
196 res = lseek (file->priv->fd, count, SEEK_CUR);
203 _("Error seeking in file: %s"),
216 GLocalFileInputStream *file;
219 file = G_LOCAL_FILE_INPUT_STREAM (stream);
221 if (file->priv->fd == -1)
226 res = close (file->priv->fd);
233 _("Error closing file: %s"),
246 GLocalFileInputStream *file;
249 file = G_LOCAL_FILE_INPUT_STREAM (stream);
251 pos = lseek (file->priv->fd, 0, SEEK_CUR);
262 GLocalFileInputStream *file;
265 file = G_LOCAL_FILE_INPUT_STREAM (stream);
267 pos = lseek (file->priv->fd, 0, SEEK_CUR);
299 GLocalFileInputStream *file;
302 file = G_LOCAL_FILE_INPUT_STREAM (stream);
304 pos = lseek (file->priv->fd, offset, seek_type_to_lseek (type));
312 _("Error seeking in file: %s"),
326 GLocalFileInputStream *file;
328 file = G_LOCAL_FILE_INPUT_STREAM (stream);
333 return _g_local_file_info_get_from_fd (file->priv->fd,