Searched refs:value (Results 1 - 25 of 386) sorted by relevance

1234567891011>>

/dovecot/src/lib/
H A Dhex-dec.c11 unsigned int value = dec & 0x0f; local
12 if (value < 10)
13 hexstr[hexstr_size-i-1] = value + '0';
15 hexstr[hexstr_size-i-1] = value - 10 + 'A';
23 uintmax_t value = 0; local
26 value = value*0x10;
28 value += data[i]-'0';
30 value += data[i]-'A' + 10;
32 value
[all...]
H A Dhex-binary.c14 int value; local
21 value = data[i] >> 4;
22 *p++ = value < 10 ? value + '0' : value - 10 + base_char;
24 value = data[i] & 0x0f;
25 *p++ = value < 10 ? value + '0' : value - 10 + base_char;
58 int value; local
[all...]
H A Drand.c23 uint32_t value; local
24 random_fill(&value, sizeof(value));
25 return value;
H A Dunicodemap.pl19 my $value = eval("0x$titlecode");
20 if ($value == $code) {
23 die "Error: We've assumed 8bit keys have max. 16bit values" if ($value > 0xffff);
24 $titlecase8{$code} = $value;
26 die "Error: We've assumed 16bit keys have max. 16bit values" if ($value > 0xffff);
28 push @titlecase16_values, $value;
31 push @titlecase32_values, $value;
38 my $value = eval("0x$1");
39 if ($value > 0xffffffff) {
44 $uni8_decomp{$code} = $value;
[all...]
H A Dbloomfilter.h18 report a false positive value.
86 bloomfilter_has_int(struct bloomfilter *bf, intmax_t value) argument
88 return bloomfilter_has_data(bf, &value, sizeof(value));
92 bloomfilter_set_int(struct bloomfilter *bf, intmax_t value) argument
94 bloomfilter_set_data(bf, &value, sizeof(value));
98 bloomfilter_has_uint(struct bloomfilter *bf, uintmax_t value) argument
100 return bloomfilter_has_data(bf, &value, sizeof(value));
104 bloomfilter_set_uint(struct bloomfilter *bf, uintmax_t value) argument
[all...]
H A Dhostpid.c21 const char *value; local
27 value = getenv(MY_HOSTNAME_ENV);
28 if (value == NULL) {
32 value = hostname;
35 if (value[0] == '\0' ||
36 strcspn(value, HOSTNAME_DISALLOWED_CHARS) != strlen(value))
37 i_fatal("Invalid system hostname: '%s'", value);
38 my_hostname_dup = i_strdup(value);
H A Dstr-table.c25 void *value; local
30 while (hash_table_iterate(iter, table->hash, &key, &value))
45 void *value; local
48 if (!hash_table_lookup_full(table->hash, str, &key, &value)) {
52 ref = POINTER_CAST_TO(value, unsigned int);
63 void *value; local
66 if (!hash_table_lookup_full(table->hash, *str, &key, &value))
69 ref = POINTER_CAST_TO(value, unsigned int);
H A Djson-tree.h20 } value; member in struct:json_tree_node
24 return node->value.child;
28 return node->value.str;
44 /* Append data to a tree. The type/value should normally come from json-parser.
48 const char *value);
56 /* Find an object node (from an array), which contains the specified key=value
60 const char *key, const char *value);
H A Dhash2.c55 hash->value_pool = pool_alloconly_create("hash2 value pool", 16384);
82 struct hash2_value *const *old_hash, *value, **valuep, *next; local
101 for (value = *old_hash; value != NULL; value = next) {
102 next = value->next;
104 idx = value->key_hash % hash->hash_table_size;
106 value->next = *valuep;
107 *valuep = value;
117 struct hash2_value *value; local
163 struct hash2_value *value, **valuep; local
[all...]
/dovecot/src/lib-ntlm/
H A Dntlm-byteorder.h29 static inline void write_le16(void *addr, const uint16_t value) argument
31 *((uint16_t *) addr) = value;
34 static inline void write_le32(void *addr, const uint32_t value) argument
36 *((uint32_t *) addr) = value;
39 static inline void write_le64(void *addr, const uint64_t value) argument
41 *((uint64_t *) addr) = value;
77 #define writeb(addr, pos, value) \
78 *(((uint8_t *)(addr)) + (pos)) = (uint8_t) (value)
80 static inline void write_le16(void *addr, const uint16_t value) argument
82 writeb(addr, 0, value
86 write_le32(void *addr, const uint32_t value) argument
94 write_le64(void *addr, const uint64_t value) argument
[all...]
/dovecot/src/config/
H A Dold-set-parser.h8 bool old_settings_ssl_dh_load(const char **value, const char **error_r);
12 const char *key, const char *value);
/dovecot/src/auth/
H A Dauth-request-var-expand.c92 tab[0].value = escape_func(username, auth_request);
93 tab[1].value = escape_func(t_strcut(username, '@'),
95 tab[2].value = i_strchr_to_next(username, '@');
96 if (tab[2].value != NULL)
97 tab[2].value = escape_func(tab[2].value, auth_request);
98 tab[3].value = escape_func(auth_request->service, auth_request);
101 tab[5].value = net_ip2addr(&auth_request->local_ip);
103 tab[6].value = net_ip2addr(&auth_request->remote_ip);
104 tab[7].value
215 const char *value; local
230 const char *value; local
[all...]
H A Duserdb-template.c17 const char *const *tmp, *key, *value, *nonull_value; local
27 value = strchr(*tmp, '=');
28 if (value == NULL)
31 key = t_strdup_until(*tmp, value++);
38 nonull_value = value == NULL ? "" : value;
45 value = dec2str(uid);
52 value = dec2str(gid);
58 value = p_strdup(pool, value);
72 const char *const *args, *value; local
[all...]
H A Dpassdb-template.c16 const char *const *tmp, *key, *value; local
24 value = strchr(*tmp, '=');
25 if (value == NULL)
28 key = t_strdup_until(*tmp, value++);
35 value = p_strdup(pool, value);
37 array_append(&tmpl->args, &value, 1);
48 const char *const *args, *value; local
61 value = "";
67 value
[all...]
H A Dpassdb-cache.c17 passdb_cache_log_hit(struct auth_request *request, const char *value) argument
22 *value != '\0' && *value != '\t') {
24 p = strchr(value, '\t');
25 value = t_strconcat(PASSWORD_HIDDEN_STR, p, NULL);
27 auth_request_log_debug(request, AUTH_SUBSYS_DB, "cache hit: %s", value);
36 const char *value; local
39 /* value = password \t ... */
40 value = auth_cache_lookup(passdb_cache, request, key, node_r,
42 if (value
71 const char *value, *cached_pw, *scheme, *const *list; local
152 const char *value, *const *list; local
[all...]
/dovecot/src/imap/
H A Dcmd-id.c10 const char *value; local
17 value = imap_id_args_get_log_reply(args, set->imap_id_log);
18 if (value != NULL)
19 i_info("ID sent: %s", value);
/dovecot/src/lib-storage/
H A Dmailbox-attribute-private.h12 const struct mail_attribute_value *value,
H A Dmail-search.c21 if (arg->value.str != NULL && strcmp(arg->value.str, "$") == 0) {
23 array_clear(&arg->value.seqset);
28 array_append_array(&arg->value.seqset, search_saved_uidset);
35 count = array_count(&arg->value.seqset);
41 memcpy(uids, array_idx(&arg->value.seqset, 0), sizeof(*uids) * count);
44 array_clear(&arg->value.seqset);
49 seq_range_array_add_range(&arg->value.seqset,
56 seq_range_array_add(&arg->value.seqset, seq2);
78 if (arg->value
[all...]
H A Dmail-search-args-imap.c41 time_t timestamp = arg->value.time;
44 if ((arg->value.search_flags &
89 if (!mail_search_subargs_to_imap(dest, arg->value.subargs,
94 if (!mail_search_subargs_to_imap(dest, arg->value.subargs,
102 imap_write_seq_range(dest, &arg->value.seqset);
106 imap_write_seq_range(dest, &arg->value.seqset);
109 mail_search_arg_to_imap_flags(dest, arg->value.flags);
119 str_printfa(dest, "KEYWORD %s", arg->value.str);
139 switch (arg->value.date_type) {
152 else if (arg->value
[all...]
H A Dmail-search-mime.c32 new_arg->value.subargs =
33 mail_search_mime_arg_dup(pool, arg->value.subargs);
38 new_arg->value.size = arg->value.size;
69 new_arg->value.str =
70 p_strdup(pool, arg->value.str);
75 new_arg->value.time = arg->value.time;
79 if (new_arg->value.subargs != NULL) {
80 new_arg->value
[all...]
/dovecot/src/doveadm/
H A Ddoveadm-print.h30 void doveadm_print(const char *value);
31 void doveadm_print_num(uintmax_t value);
33 void doveadm_print_stream(const void *value, size_t size);
36 void doveadm_print_sticky(const char *key, const char *value);
/dovecot/src/lib-fs/
H A Distream-metawrap.h5 metawrap_callback_t(const char *key, const char *value, void *context);
7 /* Input stream is in format "key:value\nkey2:value2\n...\n\ncontents.
8 The given callback is called for each key/value metadata pair, and the
/dovecot/src/lib-mail/
H A Dmessage-date.c101 const unsigned char **value, size_t *value_len)
109 *value = str_data(ctx->str);
119 const unsigned char *value; local
129 if (next_token(ctx, &value, &len) <= 0)
137 if (next_token(ctx, &value, &len) <= 0)
142 if (len < 1 || len > 2 || !i_isdigit(value[0]))
145 tm.tm_mday = value[0]-'0';
147 if (!i_isdigit(value[1]))
149 tm.tm_mday = (tm.tm_mday * 10) + (value[1]-'0');
153 if (next_token(ctx, &value,
100 next_token(struct message_date_parser_context *ctx, const unsigned char **value, size_t *value_len) argument
[all...]
/dovecot/src/plugins/push-notification/
H A Dpush-notification-event-messageappend.c59 const char *value; local
74 (mail_get_first_header(mail, "To", &value) >= 0)) {
75 data->to = p_strdup(ptxn->pool, value);
80 (mail_get_first_header(mail, "From", &value) >= 0)) {
81 data->from = p_strdup(ptxn->pool, value);
86 (mail_get_first_header(mail, "Subject", &value) >= 0)) {
87 data->subject = p_strdup(ptxn->pool, value);
92 (mail_get_special(mail, MAIL_FETCH_BODY_SNIPPET, &value) >= 0)) {
94 i_assert(value[0] != '\0');
95 data->snippet = p_strdup(ptxn->pool, value
[all...]
/dovecot/src/imap-hibernate/
H A Dimap-hibernate-client.c49 const char *key, *value; local
65 value = strchr(*args, '=');
66 if (value != NULL)
67 key = t_strdup_until(*args, value++);
70 value = "";
73 if (net_addr2ip(value, &state_r->local_ip) < 0) {
75 "Invalid lip value: %s", value);
79 if (net_addr2ip(value, &state_r->remote_ip) < 0) {
81 "Invalid rip value
[all...]

Completed in 51 milliseconds

1234567891011>>