/dovecot/src/auth/ |
H A D | test-auth-cache.c | 10 /* these 3 must be in this order */ 35 const char *in, *out; member in struct:__anon15 61 tests[i].in);
|
H A D | mech-oauth2.c | 17 static bool oauth2_unescape_username(const char *in, const char **username_r) argument 21 for (; *in != '\0'; in++) { 22 if (in[0] == ',') 24 if (in[0] == '=') { 25 if (in[1] == '2' && in[2] == 'C') 27 else if (in[1] == '3' && in[2] == 'D') 31 in [all...] |
H A D | mech-scram-sha1.c | 95 static const char *scram_unescape_username(const char *in) argument 100 for (; *in != '\0'; in++) { 101 i_assert(in[0] != ','); /* strsplit should have caught this */ 103 if (in[0] == '=') { 104 if (in[1] == '2' && in[2] == 'C') 106 else if (in[1] == '3' && in[2] == 'D') 110 in [all...] |
H A D | db-ldap.c | 39 # define LDAP_SASL_QUIET 0 /* Doesn't exist in Solaris LDAP */ 388 /* wait until we're in bound state */ 399 /* we can do anything in this state */ 930 /* try again, there may be another in buffer */ 975 sasl_interact_t *in; local 978 for (in = interact; in->id != SASL_CB_LIST_END; in++) { 979 switch (in->id) { 997 in [all...] |
/dovecot/src/lib/ |
H A D | byteorder.h | 6 * in the Software without restriction, including without limitation the rights 11 * The above copyright notice and this permission notice shall be included in 27 * These prototypes exist to catch bugs in the code generating macros below. 30 static inline uint64_t i_bswap_64(uint64_t in); 31 static inline uint32_t i_bswap_32(uint32_t in); 32 static inline uint16_t i_bswap_16(uint16_t in); 33 static inline uint8_t i_bswap_8(uint8_t in); 36 static inline uint64_t cpu64_to_cpu_unaligned(const void *in); 37 static inline uint32_t cpu32_to_cpu_unaligned(const void *in); 38 static inline uint16_t cpu16_to_cpu_unaligned(const void *in); 92 i_bswap_64(uint64_t in) argument 104 i_bswap_32(uint32_t in) argument 112 i_bswap_16(uint16_t in) argument 118 i_bswap_8(uint8_t in) argument 126 be64_to_cpu_unaligned(const void *in) argument 140 cpu64_to_be_unaligned(uint64_t in, void *out) argument 154 be32_to_cpu_unaligned(const void *in) argument 164 cpu32_to_be_unaligned(uint32_t in, void *out) argument 174 be16_to_cpu_unaligned(const void *in) argument 182 cpu16_to_be_unaligned(uint16_t in, void *out) argument 190 be8_to_cpu_unaligned(const void *in) argument 195 cpu8_to_be_unaligned(uint8_t in, void *out) argument [all...] |
H A D | test-byteorder.c | 6 * in the Software without restriction, including without limitation the rights 11 * The above copyright notice and this permission notice shall be included in 27 uint64_t in; member in struct:bswap_run 36 .in = 0, 43 .in = 0xffffffffffffffff, 50 .in = 0x123456789abcdef0, 57 .in = 0x8080808080808080, 65 #define CHECK(iter, size, in, exp) \ 67 uint##size##_t got = i_bswap_##size(in); \ 78 CHECK(iter, 8, run->in 93 uint8_t in[8]; member in struct:unaligned_run [all...] |
H A D | test-iostream-pump.c | 36 struct istream *in; member in struct:nonblock_ctx 49 test_istream_set_allow_eof(ctx->in, TRUE); 51 test_istream_set_size(ctx->in, ctx->pos/4); 52 i_stream_set_input_pending(ctx->in, TRUE); 58 input size so there's something in internal buffer. */ 69 const char *run_pump(struct istream *in, struct ostream *out, int *counter, buffer_t *out_buffer) argument 74 struct nonblock_ctx ctx = { in, out, 0, 0 }; 77 if (!in->blocking) { 78 test_assert(i_stream_get_size(in, TRUE, &ctx.max_size) > 0); 79 test_istream_set_size(in, 141 struct istream *in; local 164 struct istream *in = i_stream_create_failure_at(in_2, 0, EIO, "test pump fail"); local 183 struct istream *in = i_stream_create_failure_at(in_2, 4, EIO, "test pump fail"); local 202 struct istream *in = i_stream_create_failure_at_eof(in_2, EIO, "test pump fail"); local 216 struct istream *in; local 235 struct istream *in; local 260 struct istream *in; local [all...] |
H A D | test-multiplex.c | 19 struct istream *in; member in struct:test_channel 58 if (i_stream_read(channel->in) > 0) { 59 data = i_stream_get_data(channel->in, &siz); 61 i_stream_skip(channel->in, siz); 81 channel->in = is; 108 i_stream_unref(&channel->in);
|
H A D | test-var-expand.c | 11 const char *in; member in struct:var_expand_test 17 const char *in; member in struct:var_get_key_range_test 43 test_assert(var_expand(str, tests[i].in, table, &error) == tests[i].ret); 79 test_assert_idx(var_expand(str, tests[i].in, table, &error) == tests[i].ret, i); 101 var_get_key_range(tests[i].in, &idx, &size); 106 test_assert_idx(tests[i].in[idx] == var_get_key(tests[i].in), i); 187 test_assert_idx(var_expand_with_funcs(str, tests[i].in, table, func_table, &ctx, &error) == tests[i].ret, i); 278 const char *in; member in struct:__anon75 302 test_assert(var_expand_with_funcs(str, tests[i].in, tabl [all...] |
/dovecot/src/lib-http/ |
H A D | test-http-transfer.c | 16 const char *in; member in struct:http_transfer_chunked_input_test 23 { .in = "1E\r\n" 31 { .in = "20\r\n" 43 { .in = "26\r\n" 61 { .in = "26\n" 94 const char *in, *out, *stream_out; local 96 in = valid_transfer_chunked_input_tests[i].in; 101 input = i_stream_create_from_data(in, strlen(in)); 191 const char *in; local [all...] |
H A D | http-transfer-chunked.c | 229 "Invalid character %s in chunked extension value string", 238 "Escaped invalid character %s in chunked extension value string", 522 // to buffer sent data here rather than in the parent steam; we need to know 535 static size_t _log16(size_t in) argument 539 while (in > 0) { 540 in >>= 4;
|
/dovecot/src/lib-test/ |
H A D | test-istream.c | 39 /* copy data to a buffer in somewhat random place. this could 134 struct istream *in; local 136 for (in = input; in != NULL; in = in->real_stream->parent) { 137 if (in->real_stream->read == test_read) 138 return (struct test_istream *)in->real_stream;
|
/dovecot/src/plugins/fts-lucene/ |
H A D | Snowball.cc | 5 * the GNU Lesser General Public License, as specified in the COPYING file. 93 * @param in the input tokens to stem 96 SnowballFilter::SnowballFilter(TokenStream* in, normalizer_func_t *normalizer, const char* language, bool deleteTS): argument 97 TokenFilter(in,deleteTS)
|
/dovecot/src/lib-imap/ |
H A D | imap-utf7.c | 32 mbase64_encode(string_t *dest, const unsigned char *in, size_t len) argument 36 str_append_c(dest, imap_b64enc[in[0] >> 2]); 37 str_append_c(dest, imap_b64enc[((in[0] & 3) << 4) | 38 (in[1] >> 4)]); 39 str_append_c(dest, imap_b64enc[((in[1] & 0x0f) << 2) | 40 ((in[2] & 0xc0) >> 6)]); 41 str_append_c(dest, imap_b64enc[in[2] & 0x3f]); 42 in += 3; 46 str_append_c(dest, imap_b64enc[in[0] >> 2]); 48 str_append_c(dest, imap_b64enc[(in[ [all...] |
/dovecot/src/lib-lua/ |
H A D | dlua-script-private.h | 44 struct istream *in; member in struct:dlua_script
|
/dovecot/src/lib-program-client/ |
H A D | test-program-client-net.c | 52 struct istream *in; member in struct:test_client 90 i_stream_unref(&client->in); 137 is = client->in; 138 client->in = i_stream_create_dot(is, FALSE); 141 switch(o_stream_send_istream(client->os_body, client->in)) { 202 !client->in->eof) 205 while((line = i_stream_read_next_line(client->in)) != NULL) { 212 if ((line == NULL && !client->in->eof) || 224 if (client->in->eof) 244 client->in [all...] |
H A D | test-program-client-unix.c | 49 struct istream *in; member in struct:test_client 73 i_stream_unref(&client->in); 113 switch(o_stream_send_istream(client->os_body, client->in)) { 119 i_stream_get_error(client->in)); 172 (line=i_stream_read_next_line(client->in)) != NULL) { 183 if (!client->in->eof) 208 client->in = i_stream_create_fd(fd, -1); 210 client->io = io_add_istream(client->in, test_program_input, client);
|
/dovecot/src/lib-ssl-iostream/ |
H A D | iostream-openssl-context.c | 55 /* Well, I'm not exactly sure why the logic in here is this. 56 It's the same as in Postfix, so it can't be too wrong. */ 187 BIO *in; local 191 in = BIO_new_mem_buf(t_strdup_noconst(cert), strlen(cert)); 192 if (in == NULL) 195 x = PEM_read_bio_X509(in, NULL, NULL, NULL); 211 while ((ca = PEM_read_bio_X509(in,NULL,NULL,NULL)) != NULL) { 229 BIO_free(in); 527 in the server's private EC key file. Otherwise fall back to the 529 AES-256 TLS cipher suites are in us [all...] |
H A D | iostream-openssl.c | 18 same SSL stream, in which case the provided str may be invalidated 65 BIO *in; local 69 in = BIO_new_mem_buf(t_strdup_noconst(cert), strlen(cert)); 70 if (in == NULL) { 76 x = PEM_read_bio_X509(in, NULL, NULL, NULL); 83 BIO_free(in); 130 certname[sizeof(certname)-1] = '\0'; /* just in case.. */ 268 /* BIO pairs use default buffer sizes (17 kB in OpenSSL 0.9.8e). 483 i_error("SSL: Too much data in buffered plain input buffer"); 486 i_strdup("SSL: Too much data in buffere [all...] |
/dovecot/src/lib-storage/index/pop3c/ |
H A D | pop3c-client.c | 369 string_t *in, *out; local 371 in = t_str_new(128); 373 str_append(in, set->username); 374 str_append_c(in, '\0'); 375 str_append(in, set->master_user); 377 str_append_c(in, '\0'); 378 str_append(in, set->username); 380 str_append_c(in, '\0'); 381 str_append(in, set->password); 384 base64_encode(str_data(in), str_le [all...] |
/dovecot/src/director/ |
H A D | director-connection.c | 58 /* Max time to wait for USERs in handshake to be sent. With a lot of users the 135 bool in:1; member in struct:director_connection 184 str_printfa(str, "bytes in=%"PRIuUOFF_T", bytes out=%"PRIuUOFF_T, 189 str_printfa(str, ", %u USERs sent in handshake", 205 str_printfa(str, ", %"PRIuSIZE_T" bytes in output buffer", 233 } else if (!conn->in) { 313 i_assert(conn->in); 362 if (conn->in && conn->handshake_received && 381 if (!(*connp)->in && (*connp)->to_disconnect == NULL) 410 i_assert(!conn->in); [all...] |