Home
last modified time | relevance | path

Searched refs:fold_buf (Results 1 – 25 of 27) sorted by relevance

12

/netbsd/src/external/ibm-public/postfix/dist/src/util/
Ddict_ht.c63 if (dict->fold_buf == 0) in dict_ht_delete()
64 dict->fold_buf = vstring_alloc(10); in dict_ht_delete()
65 vstring_strcpy(dict->fold_buf, name); in dict_ht_delete()
66 name = lowercase(vstring_str(dict->fold_buf)); in dict_ht_delete()
86 if (dict->fold_buf == 0) in dict_ht_lookup()
87 dict->fold_buf = vstring_alloc(10); in dict_ht_lookup()
88 vstring_strcpy(dict->fold_buf, name); in dict_ht_lookup()
89 name = lowercase(vstring_str(dict->fold_buf)); in dict_ht_lookup()
106 if (dict->fold_buf == 0) in dict_ht_update()
107 dict->fold_buf = vstring_alloc(10); in dict_ht_update()
[all …]
Ddict_env.c61 if (dict->fold_buf == 0) in dict_env_update()
62 dict->fold_buf = vstring_alloc(10); in dict_env_update()
63 vstring_strcpy(dict->fold_buf, name); in dict_env_update()
64 name = lowercase(vstring_str(dict->fold_buf)); in dict_env_update()
82 if (dict->fold_buf == 0) in dict_env_lookup()
83 dict->fold_buf = vstring_alloc(10); in dict_env_lookup()
84 vstring_strcpy(dict->fold_buf, name); in dict_env_lookup()
85 name = lowercase(vstring_str(dict->fold_buf)); in dict_env_lookup()
94 if (dict->fold_buf) in dict_env_close()
95 vstring_free(dict->fold_buf); in dict_env_close()
[all …]
Ddict_unix.c80 if (dict->fold_buf == 0) in dict_unix_getpwnam()
81 dict->fold_buf = vstring_alloc(10); in dict_unix_getpwnam()
82 vstring_strcpy(dict->fold_buf, key); in dict_unix_getpwnam()
83 key = lowercase(vstring_str(dict->fold_buf)); in dict_unix_getpwnam()
122 if (dict->fold_buf == 0) in dict_unix_getgrnam()
123 dict->fold_buf = vstring_alloc(10); in dict_unix_getgrnam()
124 vstring_strcpy(dict->fold_buf, key); in dict_unix_getgrnam()
125 key = lowercase(vstring_str(dict->fold_buf)); in dict_unix_getgrnam()
157 if (dict->fold_buf) in dict_unix_close()
158 vstring_free(dict->fold_buf); in dict_unix_close()
[all …]
Ddict_sdbm.c94 if (dict->fold_buf == 0) in dict_sdbm_lookup()
95 dict->fold_buf = vstring_alloc(10); in dict_sdbm_lookup()
96 vstring_strcpy(dict->fold_buf, name); in dict_sdbm_lookup()
97 name = lowercase(vstring_str(dict->fold_buf)); in dict_sdbm_lookup()
166 if (dict->fold_buf == 0) in dict_sdbm_update()
167 dict->fold_buf = vstring_alloc(10); in dict_sdbm_update()
168 vstring_strcpy(dict->fold_buf, name); in dict_sdbm_update()
169 name = lowercase(vstring_str(dict->fold_buf)); in dict_sdbm_update()
249 if (dict->fold_buf == 0) in dict_sdbm_delete()
250 dict->fold_buf = vstring_alloc(10); in dict_sdbm_delete()
[all …]
Ddict_dbm.c100 if (dict->fold_buf == 0) in dict_dbm_lookup()
101 dict->fold_buf = vstring_alloc(10); in dict_dbm_lookup()
102 vstring_strcpy(dict->fold_buf, name); in dict_dbm_lookup()
103 name = lowercase(vstring_str(dict->fold_buf)); in dict_dbm_lookup()
172 if (dict->fold_buf == 0) in dict_dbm_update()
173 dict->fold_buf = vstring_alloc(10); in dict_dbm_update()
174 vstring_strcpy(dict->fold_buf, name); in dict_dbm_update()
175 name = lowercase(vstring_str(dict->fold_buf)); in dict_dbm_update()
255 if (dict->fold_buf == 0) in dict_dbm_delete()
256 dict->fold_buf = vstring_alloc(10); in dict_dbm_delete()
[all …]
Ddict_cdb.c138 if (dict->fold_buf == 0) in dict_cdbq_lookup()
139 dict->fold_buf = vstring_alloc(10); in dict_cdbq_lookup()
140 vstring_strcpy(dict->fold_buf, name); in dict_cdbq_lookup()
141 name = lowercase(vstring_str(dict->fold_buf)); in dict_cdbq_lookup()
225 if (dict->fold_buf) in dict_cdbq_close()
226 vstring_free(dict->fold_buf); in dict_cdbq_close()
300 dict_cdbq->dict.fold_buf = vstring_alloc(10); in dict_cdbq_open()
319 if (dict->fold_buf == 0) in dict_cdbm_update()
320 dict->fold_buf = vstring_alloc(10); in dict_cdbm_update()
321 vstring_strcpy(dict->fold_buf, name); in dict_cdbm_update()
[all …]
Ddict_nis.c164 if (dict->fold_buf == 0) in dict_nis_lookup()
165 dict->fold_buf = vstring_alloc(10); in dict_nis_lookup()
166 vstring_strcpy(dict->fold_buf, key); in dict_nis_lookup()
167 key = lowercase(vstring_str(dict->fold_buf)); in dict_nis_lookup()
219 if (dict->fold_buf) in dict_nis_close()
220 vstring_free(dict->fold_buf); in dict_nis_close()
242 dict_nis->dict.fold_buf = vstring_alloc(10); in dict_nis_open()
Ddict_ni.c160 if (dict->fold_buf == 0) in dict_ni_lookup()
161 dict->fold_buf = vstring_alloc(10); in dict_ni_lookup()
162 vstring_strcpy(dict->fold_buf, key); in dict_ni_lookup()
163 key = lowercase(vstring_str(dict->fold_buf)); in dict_ni_lookup()
175 if (dict->fold_buf) in dict_ni_close()
176 vstring_free(dict->fold_buf); in dict_ni_close()
190 d->dict.fold_buf = vstring_alloc(10); in dict_ni_open()
Ddict_lmdb.c157 if (dict->fold_buf == 0) in dict_lmdb_lookup()
158 dict->fold_buf = vstring_alloc(10); in dict_lmdb_lookup()
159 vstring_strcpy(dict->fold_buf, name); in dict_lmdb_lookup()
160 name = lowercase(vstring_str(dict->fold_buf)); in dict_lmdb_lookup()
239 if (dict->fold_buf == 0) in dict_lmdb_update()
240 dict->fold_buf = vstring_alloc(10); in dict_lmdb_update()
241 vstring_strcpy(dict->fold_buf, name); in dict_lmdb_update()
242 name = lowercase(vstring_str(dict->fold_buf)); in dict_lmdb_update()
331 if (dict->fold_buf == 0) in dict_lmdb_delete()
332 dict->fold_buf = vstring_alloc(10); in dict_lmdb_delete()
[all …]
Ddict_tcp.c173 if (dict->fold_buf == 0) in dict_tcp_lookup()
174 dict->fold_buf = vstring_alloc(10); in dict_tcp_lookup()
175 vstring_strcpy(dict->fold_buf, key); in dict_tcp_lookup()
176 key = lowercase(vstring_str(dict->fold_buf)); in dict_tcp_lookup()
280 if (dict->fold_buf) in dict_tcp_close()
281 vstring_free(dict->fold_buf); in dict_tcp_close()
314 dict_tcp->dict.fold_buf = vstring_alloc(10); in dict_tcp_open()
Ddict_nisplus.c146 if (dict->fold_buf == 0) in dict_nisplus_lookup()
147 dict->fold_buf = vstring_alloc(10); in dict_nisplus_lookup()
148 vstring_strcpy(dict->fold_buf, key); in dict_nisplus_lookup()
149 key = lowercase(vstring_str(dict->fold_buf)); in dict_nisplus_lookup()
245 if (dict->fold_buf) in dict_nisplus_close()
246 vstring_free(dict->fold_buf); in dict_nisplus_close()
276 dict_nisplus->dict.fold_buf = vstring_alloc(10); in dict_nisplus_open()
Dmatch_list.c183 casefold(match_list->fold_buf, match ? in match_list_parse()
185 argv_add(pat_list, STR(match_list->fold_buf), (char *) 0); in match_list_parse()
218 list->fold_buf = vstring_alloc(20); in match_list_init()
254 casefold(list->fold_buf, list->match_args[i]); in match_list_match()
255 if (list->match_func[i] (list, STR(list->fold_buf), pat)) in match_list_match()
276 vstring_free(list->fold_buf); in match_list_free()
Ddict_db.c205 if (dict->fold_buf == 0) in dict_db_lookup()
206 dict->fold_buf = vstring_alloc(10); in dict_db_lookup()
207 vstring_strcpy(dict->fold_buf, name); in dict_db_lookup()
208 name = lowercase(vstring_str(dict->fold_buf)); in dict_db_lookup()
280 if (dict->fold_buf == 0) in dict_db_update()
281 dict->fold_buf = vstring_alloc(10); in dict_db_update()
282 vstring_strcpy(dict->fold_buf, name); in dict_db_update()
283 name = lowercase(vstring_str(dict->fold_buf)); in dict_db_update()
370 if (dict->fold_buf == 0) in dict_db_delete()
371 dict->fold_buf = vstring_alloc(10); in dict_db_delete()
[all …]
Ddict_sockmap.c181 if (dict->fold_buf == 0) in dict_sockmap_lookup()
182 dict->fold_buf = vstring_alloc(100); in dict_sockmap_lookup()
183 vstring_strcpy(dict->fold_buf, key); in dict_sockmap_lookup()
184 key = lowercase(STR(dict->fold_buf)); in dict_sockmap_lookup()
304 if (dict->fold_buf) in dict_sockmap_close()
305 vstring_free(dict->fold_buf); in dict_sockmap_close()
Dcasefold.c139 static VSTRING *fold_buf = 0; in casefoldx() local
151 dest = (fold_buf != 0 ? fold_buf : (fold_buf = vstring_alloc(100))); in casefoldx()
Ddict_utf8.c117 if (dict->fold_buf == 0) in dict_utf8_check_fold()
118 dict->fold_buf = vstring_alloc(10); in dict_utf8_check_fold()
119 return (casefold(dict->fold_buf, string)); in dict_utf8_check_fold()
Ddict_regexp.c237 if (dict->fold_buf == 0) in dict_regexp_lookup()
238 dict->fold_buf = vstring_alloc(10); in dict_regexp_lookup()
239 vstring_strcpy(dict->fold_buf, lookup_string); in dict_regexp_lookup()
240 lookup_string = lowercase(vstring_str(dict->fold_buf)); in dict_regexp_lookup()
368 if (dict->fold_buf) in dict_regexp_close()
369 vstring_free(dict->fold_buf); in dict_regexp_close()
806 dict_regexp->dict.fold_buf = vstring_alloc(10); in dict_regexp_open()
Ddict_static.c78 if (dict->fold_buf) in dict_static_close()
79 vstring_free(dict->fold_buf); in dict_static_close()
Ddict_pcre.c437 if (dict->fold_buf == 0) in dict_pcre_lookup()
438 dict->fold_buf = vstring_alloc(10); in dict_pcre_lookup()
439 vstring_strcpy(dict->fold_buf, lookup_string); in dict_pcre_lookup()
440 lookup_string = lowercase(vstring_str(dict->fold_buf)); in dict_pcre_lookup()
554 if (dict->fold_buf) in dict_pcre_close()
555 vstring_free(dict->fold_buf); in dict_pcre_close()
1057 dict_pcre->dict.fold_buf = vstring_alloc(10); in dict_pcre_open()
Dmatch_list.h36 VSTRING *fold_buf; /* case-folded pattern string */ member
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Ddict_sqlite.c128 if (dict->fold_buf) in dict_sqlite_close()
129 vstring_free(dict->fold_buf); in dict_sqlite_close()
168 if (dict->fold_buf == 0) in dict_sqlite_lookup()
169 dict->fold_buf = vstring_alloc(100); in dict_sqlite_lookup()
170 vstring_strcpy(dict->fold_buf, name); in dict_sqlite_lookup()
171 name = lowercase(vstring_str(dict->fold_buf)); in dict_sqlite_lookup()
Ddict_pgsql.c300 if (dict->fold_buf == 0) in dict_pgsql_lookup()
301 dict->fold_buf = vstring_alloc(10); in dict_pgsql_lookup()
302 vstring_strcpy(dict->fold_buf, name); in dict_pgsql_lookup()
303 name = lowercase(vstring_str(dict->fold_buf)); in dict_pgsql_lookup()
682 dict_pgsql->dict.fold_buf = vstring_alloc(10); in pgsql_parse_config()
839 if (dict->fold_buf) in dict_pgsql_close()
840 vstring_free(dict->fold_buf); in dict_pgsql_close()
Ddict_memcache.c268 if (dict_mc->dict.fold_buf == 0) in dict_memcache_prepare_key()
269 dict_mc->dict.fold_buf = vstring_alloc(10); in dict_memcache_prepare_key()
270 vstring_strcpy(dict_mc->dict.fold_buf, name); in dict_memcache_prepare_key()
271 name = lowercase(STR(dict_mc->dict.fold_buf)); in dict_memcache_prepare_key()
492 if (dict->fold_buf) in dict_memcache_close()
493 vstring_free(dict->fold_buf); in dict_memcache_close()
Ddict_mysql.c279 if (dict->fold_buf == 0) in dict_mysql_lookup()
280 dict->fold_buf = vstring_alloc(10); in dict_mysql_lookup()
281 vstring_strcpy(dict->fold_buf, name); in dict_mysql_lookup()
282 name = lowercase(vstring_str(dict->fold_buf)); in dict_mysql_lookup()
750 dict_mysql->dict.fold_buf = vstring_alloc(10); in mysql_parse_config()
901 if (dict->fold_buf) in dict_mysql_close()
902 vstring_free(dict->fold_buf); in dict_mysql_close()
Ddict_ldap.c1250 if (dict->fold_buf == 0) in dict_ldap_lookup()
1251 dict->fold_buf = vstring_alloc(10); in dict_ldap_lookup()
1252 vstring_strcpy(dict->fold_buf, name); in dict_ldap_lookup()
1253 name = lowercase(vstring_str(dict->fold_buf)); in dict_ldap_lookup()
1501 if (dict->fold_buf) in dict_ldap_close()
1502 vstring_free(dict->fold_buf); in dict_ldap_close()
1702 dict_ldap->dict.fold_buf = vstring_alloc(10); in dict_ldap_open()

12