Searched refs:dict (Results 1 - 25 of 518) sorted by relevance

1234567891011>>

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Ddict_alloc.c9 /* #include <dict.h>
16 /* void dict_free(dict)
19 /* void dict_jmp_alloc(dict)
57 /* dict(3)
85 #include "dict.h"
89 static const char *dict_default_lookup(DICT *dict, const char *unused_key) argument
92 dict->type, dict->name);
97 static int dict_default_update(DICT *dict, const char *unused_key, argument
101 dict
106 dict_default_delete(DICT *dict, const char *unused_key) argument
114 dict_default_sequence(DICT *dict, int unused_function, const char **unused_key, const char **unused_value) argument
123 dict_default_lock(DICT *dict, int operation) argument
134 dict_default_close(DICT *dict) argument
144 DICT *dict = (DICT *) mymalloc(size); local
172 dict_free(DICT *dict) argument
194 dict_jmp_alloc(DICT *dict) argument
[all...]
H A Ddict_env.c21 /* dict(3) generic dictionary manager
48 #include "dict.h"
53 static int dict_env_update(DICT *dict, const char *name, const char *value) argument
55 dict->error = 0;
60 if (dict->flags & DICT_FLAG_FOLD_FIX) {
61 if (dict->fold_buf == 0)
62 dict->fold_buf = vstring_alloc(10);
63 vstring_strcpy(dict->fold_buf, name);
64 name = lowercase(vstring_str(dict->fold_buf));
74 static const char *dict_env_lookup(DICT *dict, cons argument
92 dict_env_close(DICT *dict) argument
103 DICT *dict; local
[all...]
H A Ddict_utf8.c9 /* #include <dict.h>
12 /* DICT *dict)
56 #include <dict.h>
97 static char *dict_utf8_check_fold(DICT *dict, const char *string, argument
100 int fold_flag = (dict->flags & DICT_FLAG_FOLD_ANY);
115 && (fold_flag & ((dict->flags & DICT_FLAG_FIXED) ?
117 if (dict->fold_buf == 0)
118 dict->fold_buf = vstring_alloc(10);
119 return (casefold(dict->fold_buf, string));
138 static const char *dict_utf8_lookup(DICT *dict, cons argument
180 dict_utf8_update(DICT *dict, const char *key, const char *value) argument
223 dict_utf8_delete(DICT *dict, const char *key) argument
256 dict_utf8_activate(DICT *dict) argument
[all...]
H A Ddict_file.c9 /* #include <dict.h>
12 /* DICT *dict,
16 /* DICT *dict,
20 /* DICT *dict,
24 /* DICT *dict)
27 /* DICT *dict)
30 /* DICT *dict)
55 /* opened with DICT_FLAG_SRC_RHS_IS_FILE. Sets dict->error to
57 /* built into the dict->lookup() method, because that would
88 #include <dict
102 dict_file_to_buf(DICT *dict, const char *pathnames) argument
151 dict_file_to_b64(DICT *dict, const char *pathnames) argument
172 dict_file_from_b64(DICT *dict, const char *value) argument
190 dict_file_get_error(DICT *dict) argument
199 dict_file_purge_buffers(DICT *dict) argument
213 dict_file_lookup(DICT *dict, const char *key) argument
[all...]
H A Ddict_surrogate.c45 /* dict(3) generic dictionary manager
67 #include <dict.h>
72 DICT dict; /* generic members */ member in struct:__anon15724
78 static int dict_surrogate_sequence(DICT *dict, int unused_func, argument
81 DICT_SURROGATE *dp = (DICT_SURROGATE *) dict;
84 dict->type, dict->name, dp->reason);
85 DICT_ERR_VAL_RETURN(dict, DICT_ERR_RETRY, DICT_STAT_ERROR);
90 static int dict_surrogate_update(DICT *dict, const char *unused_name, argument
93 DICT_SURROGATE *dp = (DICT_SURROGATE *) dict;
102 dict_surrogate_lookup(DICT *dict, const char *unused_name) argument
113 dict_surrogate_delete(DICT *dict, const char *unused_name) argument
124 dict_surrogate_close(DICT *dict) argument
[all...]
H A Ddict_fail.c19 /* dict(3) generic dictionary manager
40 #include <dict.h>
46 DICT dict; /* generic members */ member in struct:__anon80
52 static int dict_fail_sequence(DICT *dict, int unused_func, argument
55 DICT_FAIL *dp = (DICT_FAIL *) dict;
58 DICT_ERR_VAL_RETURN(dict, dp->dict_errno, DICT_STAT_ERROR);
63 static int dict_fail_update(DICT *dict, const char *unused_name, argument
66 DICT_FAIL *dp = (DICT_FAIL *) dict;
69 DICT_ERR_VAL_RETURN(dict, dp->dict_errno, DICT_STAT_ERROR);
74 static const char *dict_fail_lookup(DICT *dict, cons argument
84 dict_fail_delete(DICT *dict, const char *unused_name) argument
94 dict_fail_close(DICT *dict) argument
[all...]
H A Ddict_lmdb.c29 /* This variable cannot be exported via the dict(3) API and
44 /* dict(3) generic dictionary manager
85 #include <dict.h>
92 DICT dict; /* generic members */ member in struct:__anon81
116 * Each dict(3) API call is retried no more than a few times. For bulk-mode
126 #define DICT_LMDB_API_RETRY_LIMIT 2 /* Retries per dict(3) API call */
135 static const char *dict_lmdb_lookup(DICT *dict, const char *name) argument
137 DICT_LMDB *dict_lmdb = (DICT_LMDB *) dict;
144 dict->error = 0;
150 if ((dict
220 dict_lmdb_update(DICT *dict, const char *name, const char *value) argument
311 dict_lmdb_delete(DICT *dict, const char *name) argument
396 dict_lmdb_sequence(DICT *dict, int function, const char **key, const char **value) argument
477 dict_lmdb_close(DICT *dict) argument
550 DICT *dict; local
[all...]
H A Ddict_ht.c21 /* dict(3) generic dictionary manager
41 #include "dict.h"
49 DICT dict; /* generic members */ member in struct:__anon15706
55 static int dict_ht_delete(DICT *dict, const char *name) argument
57 DICT_HT *dict_ht = (DICT_HT *) dict;
62 if (dict->flags & DICT_FLAG_FOLD_FIX) {
63 if (dict->fold_buf == 0)
64 dict->fold_buf = vstring_alloc(10);
65 vstring_strcpy(dict->fold_buf, name);
66 name = lowercase(vstring_str(dict
78 dict_ht_lookup(DICT *dict, const char *name) argument
96 dict_ht_update(DICT *dict, const char *name, const char *value) argument
122 dict_ht_sequence(DICT *dict, int how, const char **name, const char **value) argument
145 dict_ht_close(DICT *dict) argument
[all...]
H A Ddict_debug.c9 /* #include <dict.h>
47 #include <dict.h>
52 DICT dict; /* the proxy service */ member in struct:__anon15705
58 static const char *dict_debug_lookup(DICT *dict, const char *key) argument
60 DICT_DEBUG *dict_debug = (DICT_DEBUG *) dict;
64 real_dict->flags = dict->flags;
66 dict->flags = real_dict->flags;
67 msg_info("%s:%s lookup: \"%s\" = \"%s\"", dict->type, dict->name, key,
69 DICT_ERR_VAL_RETURN(dict, real_dic
74 dict_debug_update(DICT *dict, const char *key, const char *value) argument
91 dict_debug_delete(DICT *dict, const char *key) argument
108 dict_debug_sequence(DICT *dict, int function, const char **key, const char **value) argument
128 dict_debug_close(DICT *dict) argument
[all...]
H A Ddict_nis.c19 /* dict(3) generic dictionary manager
60 #include "dict.h"
68 DICT dict; /* generic members */ member in struct:__anon6535
141 static const char *dict_nis_lookup(DICT *dict, const char *key) argument
143 DICT_NIS *dict_nis = (DICT_NIS *) dict;
149 dict->error = 0;
154 if ((dict->flags & (DICT_FLAG_TRY1NULL | DICT_FLAG_TRY0NULL)) == 0)
163 if (dict->flags & DICT_FLAG_FOLD_FIX) {
164 if (dict->fold_buf == 0)
165 dict
217 dict_nis_close(DICT *dict) argument
[all...]
H A Ddict_cidr.h19 #include <dict.h>
H A Ddict_env.h19 #include <dict.h>
H A Ddict_ni.h19 #include <dict.h>
H A Ddict_nis.h19 #include <dict.h>
H A Ddict_nisplus.h19 #include <dict.h>
H A Ddict_pcre.h19 #include <dict.h>
H A Ddict_regexp.h19 #include <dict.h>
H A Ddict_sockmap.h19 #include <dict.h>
H A Ddict_static.h19 #include <dict.h>
/netbsd-current/crypto/external/bsd/libsaslc/dist/test/
H A Dt_dict.c43 #include "dict.h"
45 /* src/dict.c test cases */
57 saslc__dict_t *dict; local
58 ATF_REQUIRE(dict = saslc__dict_create());
59 saslc__dict_destroy(dict);
72 saslc__dict_t *dict; local
73 ATF_REQUIRE(dict = saslc__dict_create());
74 ATF_CHECK_EQ(saslc__dict_insert(dict, "foo", "bar"), DICT_OK);
75 ATF_CHECK_EQ(saslc__dict_insert(dict, "bar", "blah"), DICT_OK);
76 ATF_CHECK_EQ(saslc__dict_insert(dict, " ", "ba
99 saslc__dict_t *dict; local
132 saslc__dict_t *dict; local
162 saslc__dict_t *dict; local
[all...]
/netbsd-current/external/public-domain/xz/dist/src/liblzma/lz/
H A Dlz_decoder.h58 /// Function to decode from in[] to *dict
60 lzma_dict *restrict dict, const uint8_t *restrict in,
103 dict_get(const lzma_dict *const dict, const uint32_t distance) argument
105 return dict->buf[dict->pos - distance - 1
106 + (distance < dict->pos ? 0 : dict->size)];
112 dict_is_empty(const lzma_dict *const dict) argument
114 return dict->full == 0;
120 dict_is_distance_valid(const lzma_dict *const dict, cons argument
128 dict_repeat(lzma_dict *dict, uint32_t distance, uint32_t *len) argument
187 dict_put(lzma_dict *dict, uint8_t byte) argument
203 dict_write(lzma_dict *restrict dict, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, size_t *restrict left) argument
228 dict_reset(lzma_dict *dict) argument
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Ddict_ldap.h19 #include <dict.h>
H A Ddict_mysql.h19 #include <dict.h>
H A Ddict_sqlite.h19 #include <dict.h>
H A Dresolve_local.h19 #include <dict.h>

Completed in 162 milliseconds

1234567891011>>