Searched refs:read (Results 1 - 25 of 91) sorted by relevance

1234

/dovecot/src/plugins/push-notification/
H A Dpush-notification-event-messageread.h9 bool read; member in struct:push_notification_event_messageread_data
H A Dpush-notification-event-messageread.c32 /* If data struct exists, that means the read flag was changed. */
39 data->read = TRUE;
/dovecot/src/lib/
H A Dread-full.c4 #include "read-full.h"
13 ret = read(fd, data, size < SSIZE_T_MAX ? size : SSIZE_T_MAX);
H A Daskpass.c37 /* read it from stdin without showing a prompt */
41 /* read the password */
42 while (read(fd, &ch, 1) > 0) {
H A Distream-data.c28 stream->read = i_stream_data_read;
H A Distream-unix.c78 input->real_stream->read = i_stream_unix_read;
H A Distream-callback.c80 cstream->istream.read = i_stream_callback_read;
H A Distream-failure-at.c46 on the next read() call return failure */
75 fstream->istream.read = i_stream_failure_at_read;
H A Distream-hash.c74 hstream->istream.read = i_stream_hash_read;
H A Distream-private.h16 ssize_t (*read)(struct istream_private *stream); member in struct:istream_private
47 always seeks parent stream to here before calling read(). */
52 /* increased every time the stream is changed (e.g. seek, read).
56 /* Timestamp when read() last returned >0 */
H A Drandgen.c98 ret = read(urandom_fd, buf, size);
101 i_fatal("read("DEV_URANDOM_PATH") failed: EOF");
106 i_fatal("read("DEV_URANDOM_PATH") failed: %m");
/dovecot/src/plugins/fts/
H A Dxml2text.c23 while ((ret = read(STDIN_FILENO, buf, sizeof(buf))) > 0) {
31 i_fatal("read(stdin) failed: %m");
H A Ddoveadm-dump-fts-expunge-log.c32 ret = read(fd, &rec, sizeof(rec));
37 i_fatal("rec read() %d != %d", (int)ret, (int)sizeof(rec));
47 ret = read(fd, data, data_size);
49 i_fatal("rec read() %d != %d", (int)ret, (int)data_size);
/dovecot/src/lib-fs/
H A Distream-fs-stats.c42 sstream->istream.read = i_stream_fs_stats_read;
H A Distream-fs-file.c49 fstream->istream.read = i_stream_fs_file_read;
/dovecot/src/doveadm/
H A Ddoveadm-dump-mailboxlog.c22 ret = read(fd, &rec, sizeof(rec));
27 i_fatal("rec read() %"PRIuSIZE_T" != %"PRIuSIZE_T,
91 if (read(fd, &rec, sizeof(rec)) == sizeof(rec) &&
H A Ddoveadm-zlib.c32 ret = read(fd, buf, sizeof(buf)-1);
96 ret = read(STDIN_FILENO, buf, sizeof(buf));
114 i_fatal("read(stdin) failed: %m");
126 i_fatal("read(server) failed: %s",
H A Ddoveadm-instance.c33 ret = read(fd, buf, sizeof(buf));
35 i_error("read(%s) failed: %m", path);
/dovecot/src/util/
H A Dgdbhelper.c61 while ((ret = read(fd_out[0], buf, sizeof(buf))) > 0) {
66 i_fatal("read(pipe) failed: %m");
H A Dmaildirlock.c70 ret = read(fd[0], &c, 1);
72 i_error("read(pipe) failed: %m");
/dovecot/src/lib-mail/
H A Distream-nonuls.c71 nstream->istream.read = i_stream_nonuls_read;
/dovecot/src/config/
H A Dsysinfo-get.c23 ret = read(fd, buf, sizeof(buf));
/dovecot/src/lib-ssl-iostream/
H A Distream-openssl.c62 /* failed to read anything */
83 /* now make sure that we read everything already buffered in OpenSSL
119 sstream->istream.read = i_stream_ssl_read;
/dovecot/src/login-common/
H A Daccess-lookup.c32 ret = read(lookup->fd, buf, sizeof(buf));
34 i_error("read(%s) failed: %m", lookup->path);
/dovecot/src/plugins/welcome/
H A Dwelcome-plugin.c72 ret = read(fd, buf, sizeof(buf));
74 i_error("welcome: read(%s) failed: %m", socket_path);
76 i_error("welcome: %s failed: Only %d bytes read", socket_path, ret);

Completed in 39 milliseconds

1234