/dovecot/src/lib/ |
H A D | istream-hash.h | 7 simply call method->loop() for all the data going through the istream. */ 9 i_stream_create_hash(struct istream *input, const struct hash_method *method,
|
H A D | ostream-hash.h | 7 simply call method->loop() for all the data going through the ostream. */ 9 o_stream_create_hash(struct ostream *output, const struct hash_method *method,
|
H A D | test-hash-method.c | 5 #include "hash-method.h" 14 static void test_hash_method_one(const struct hash_method *method) argument 19 test_begin(t_strdup_printf("hash method %s", method->name)); 21 ctx = i_malloc(method->context_size); 22 digest = i_malloc(method->digest_size); 23 method->init(ctx); 27 method->loop(ctx, buf + buf_size - i, i); 28 method->result(ctx, digest); 57 const char *method; member in struct:__anon45 331 const struct hash_method *method = local [all...] |
H A D | ostream-hash.c | 4 #include "hash-method.h" 10 const struct hash_method *method; member in struct:hash_ostream 32 hstream->method->loop(hstream->hash_context, 43 o_stream_create_hash(struct ostream *output, const struct hash_method *method, argument 50 hstream->method = method;
|
H A D | istream-hash.c | 4 #include "hash-method.h" 11 const struct hash_method *method; member in struct:hash_istream 37 hstream->method->loop(hstream->hash_context, 65 i_stream_create_hash(struct istream *input, const struct hash_method *method, argument 81 hstream->method = method;
|
H A D | hash-format.c | 7 #include "hash-method.h" 19 const struct hash_method *method; member in struct:hash_format_list 56 *error_r = t_strconcat("Unknown hash method: ", name, NULL); 107 if (hash_format_parse(str, &i, &list->method, 111 list->method->context_size); 112 list->method->init(list->context); 150 list->method->loop(list->context, data, size); 158 memset(list->context, 0, list->method->context_size); 159 list->method->init(list->context); 204 if (max_digest_size < list->method [all...] |
H A D | var-expand.c | 12 #include "hash-method.h" 217 const struct hash_method *method; local 219 method = hash_method_lookup("sha256"); 220 } else if ((method = hash_method_lookup(algo)) == NULL) { 226 string_t *tmp = t_str_new(method->digest_size); 275 truncbits = I_MIN(truncbits, method->digest_size*8); 305 if (pkcs5_pbkdf(PKCS5_PBKDF2, method, 313 void *context = t_malloc_no0(method->context_size); 318 method->init(context); 320 method [all...] |
H A D | file-lock.h | 18 /* Parse lock method from given string. Returns TRUE if ok, 21 /* Convert lock method to string. */ 22 const char *file_lock_method_to_str(enum file_lock_method method);
|
H A D | file-lock.c | 46 const char *file_lock_method_to_str(enum file_lock_method method) argument 48 switch (method) {
|
/dovecot/src/lib-mail/ |
H A D | message-header-hash.c | 4 #include "hash-method.h" 8 const struct hash_method *method, void *context, 17 method->loop(context, data, size); 44 method->loop(context, data + start, i-start); 51 method->loop(context, data + start, i-start); 61 method->loop(context, data + start, i-start); 62 method->loop(context, "?", 1); 71 method->loop(context, data + start, i-start); 7 message_header_hash_more(struct message_header_hash_context *ctx, const struct hash_method *method, void *context, unsigned int version, const unsigned char *data, size_t size) argument
|
H A D | message-header-hash.h | 14 const struct hash_method *method, void *context,
|
/dovecot/src/lib-http/ |
H A D | http-request.h | 34 const char *method; member in struct:http_request 53 http_request_method_is(const struct http_request *req, const char *method) argument 55 if (req->method == NULL) 58 return (strcmp(req->method, method) == 0);
|
H A D | test-http-request-parser.c | 21 const char *method; member in struct:http_request_valid_parse_test 43 .method = "GET", 55 .method = "OPTIONS", 66 .method = "CONNECT", 79 .method = "GET", 96 .method = "POST", 111 .method = "GET", 124 .method = "GET", 137 .method = "GET", 150 .method [all...] |
H A D | http-client.h | 218 const char *method, const char *host, const char *target, 220 #define http_client_request(client, method, host, target, callback, context) \ 221 http_client_request(client, method, host, target + \ 230 const char *method, const struct http_url *target_url, 232 #define http_client_request_url(client, method, target_url, callback, context) \ 233 http_client_request_url(client, method, target_url + \ 239 const char *method, const char *url_str, 241 #define http_client_request_url_str(client, method, url_str, callback, context) \ 242 http_client_request_url_str(client, method, url_str + \ 369 /* return the HTTP method fo [all...] |
H A D | http-server-private.h | 187 if (req->req.method == NULL) { 191 req->id, req->req.method); 194 req->req.method, req->req.target_raw);
|
H A D | http-client-request.c | 46 "[Req%u: %s %s%s]", req->id, req->method, 55 event_add_str(req->event, "method", req->method); 99 http_client_request_new(struct http_client *client, const char *method, argument 112 req->method = p_strdup(pool, method); 129 const char *method, const char *host, const char *target, 134 req = http_client_request_new(client, method, callback, context); 144 const char *method, const struct http_url *target_url, 149 req = http_client_request_new(client, method, callbac 128 http_client_request(struct http_client *client, const char *method, const char *host, const char *target, http_client_request_callback_t *callback, void *context) argument 143 http_client_request_url(struct http_client *client, const char *method, const struct http_url *target_url, http_client_request_callback_t *callback, void *context) argument 163 http_client_request_url_str(struct http_client *client, const char *method, const char *url_str, http_client_request_callback_t *callback, void *context) argument [all...] |
H A D | test-http-server-errors.c | 150 hreq->method, hreq->target_raw, 281 hreq->method, hreq->target_raw, 377 hreq->method, hreq->target_raw, 531 hreq->method, hreq->target_raw,
|
H A D | http-request-parser.c | 101 /* method = token 108 parser->parser.error = "HTTP request method is too long"; 135 /* FIXME: put limit on full request line rather than target and method 173 request-line = method SP request-target SP HTTP-version CRLF 174 method = token 212 ("Unexpected character %s in request method", 537 request->method = parser->request_method; 601 request->method = parser->request_method;
|
H A D | test-http-client.c | 294 const char *method, const char *url_str, 310 method, url->host.name, 293 test_http_request_init(struct http_client *http_client, const char *method, const char *url_str, struct http_client_request **http_req_r, struct http_test_request **test_req_r) argument
|
H A D | test-http-server.c | 72 if (strcmp(http_req->method, "GET") != 0) { 73 /* Unsupported method */
|
H A D | test-http-payload.c | 211 if (strcmp(hreq->method, "GET") != 0) { 237 if (strcmp(hreq->method, "GET") != 0) { 358 if (strcmp(hreq->method, "PUT") != 0) { 512 "request method=`%s' path=`%s'", hreq->method, path);
|
H A D | http-client-private.h | 87 const char *method, *target; member in struct:http_client_request
|
/dovecot/src/lib-fs/ |
H A D | fs-api.h | 302 void fs_write_set_hash(struct fs_file *file, const struct hash_method *method,
|
H A D | fs-api.c | 8 #include "hash-method.h" 824 void fs_write_set_hash(struct fs_file *file, const struct hash_method *method, argument 827 file->write_digest_method = method; 830 file->write_digest = i_malloc(method->digest_size); 831 memcpy(file->write_digest, digest, method->digest_size);
|
/dovecot/src/doveadm/ |
H A D | client-connection-http.c | 866 o_stream_nsend_str(output, "{\"method\":\""); 948 http_req->method, http_req->target.url->path, 1108 strcmp(http_req->method, 1128 if (strcmp(http_req->method, "POST") == 0) {
|