Searched defs:value (Results 1 - 25 of 278) sorted by relevance

1234567891011>>

/dovecot/src/lib/
H A Drand.c23 uint32_t value; local
24 random_fill(&value, sizeof(value));
25 return value;
H A Dhash2.h5 struct hash2_value *value, *next_value; member in struct:hash2_iter
11 /* Returns TRUE if the key matches the value. */
12 typedef bool hash2_cmp_callback_t(const void *key, const void *value,
15 /* Create a new hash table. If initial_size is 0, the default value is used. */
29 /* Insert node to the hash table and returns pointer to the value that can be
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 Dtest-json-tree.c8 const char *value; member in struct:__anon52
28 { JSON_TYPE_STRING, "value" },
67 test_input[i].value) == 0, i);
76 node = json_tree_find_key(root, test_input[i].value);
79 null_strcmp(json_tree_get_value_str(node), test_input[i+1].value) == 0);
H A Devent-filter.h8 const char *value; member in struct:event_filter_field
14 /* key=NULL-terminated list of key=value fields */
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 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 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 Dnumpack.c21 uint64_t value = 0; local
28 value |= (uint64_t)(*c & 0x7f) << bits;
41 *num_r = 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 Dtest-stats-dist.c19 uint64_t value = input[i]; local
21 if (min > value)
22 min = value;
23 if (max < value)
24 max = value;
25 sum += value;
26 copy[i] = value;
H A Dvar-expand.h6 const char *value; member in struct:var_expand_table
/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-http/
H A Dhttp-transfer.h6 const char *value; member in struct:http_transfer_param
H A Dhttp-auth.h15 const char *value; member in struct:http_auth_param
/dovecot/src/auth/
H A Dauth-fields.h14 const char *key, *value; member in struct:auth_field
21 const char *key, const char *value,
39 /* If the field exists, clear its value (so the exported string will be "key"
H A Dcheckpassword-reply.c14 const char *extra_env, *key, *value, *const *tmp; local
74 value = getenv(*tmp);
75 if (value != NULL) {
83 str_append_tabescaped(str, value);
/dovecot/src/lib-mail/
H A Dtest-rfc822-parser.c45 const char *key, *value; member in struct:__anon119
51 const char *key, *value; local
57 while ((ret = rfc822_parse_content_param(&parser, &key, &value)) > 0 &&
60 test_assert_idx(strcmp(output[i].value, value) == 0, i);
/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/lib-otp/
H A Dotp-dictionary.c47 const short value; member in struct:word
585 return dictionary[idx].value;
/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/doveadm/
H A Ddoveadm-print-server.c40 static void doveadm_print_server_print(const char *value) argument
42 str_append_tabescaped(ctx.str, value);
52 doveadm_print_server_print_stream(const unsigned char *value, size_t size) argument
58 str_append_tabescaped_n(ctx.str, value, size);
H A Ddoveadm-print-tab.c36 static void doveadm_print_tab_print(const char *value) argument
41 o_stream_nsend_str(doveadm_print_ostream, value);
50 doveadm_print_tab_print_stream(const unsigned char *value, size_t size) argument
59 o_stream_nsend(doveadm_print_ostream, value, size);
/dovecot/src/lib-dict/
H A Ddict-transaction-memory.c24 const char *key, const char *value)
33 change->value.str = p_strdup(ctx->pool, value);
58 change->value.diff = diff;
23 dict_transaction_memory_set(struct dict_transaction_context *_ctx, const char *key, const char *value) argument
H A Ddict-transaction-memory.h18 } value; member in struct:dict_transaction_memory_change
32 const char *key, const char *value);

Completed in 89 milliseconds

1234567891011>>