Home
last modified time | relevance | path

Searched refs:keylen (Results 1 – 15 of 15) sorted by relevance

/glibc-2.36/locale/programs/
Dsimple-hash.c53 size_t keylen; member
60 static void insert_entry_2 (hash_table *htab, const void *key, size_t keylen,
62 static size_t lookup (const hash_table *htab, const void *key, size_t keylen,
97 insert_entry (hash_table *htab, const void *key, size_t keylen, void *data) in insert_entry() argument
99 unsigned long int hval = compute_hashval (key, keylen); in insert_entry()
101 size_t idx = lookup (htab, key, keylen, hval); in insert_entry()
109 insert_entry_2 (htab, obstack_copy (&htab->mem_pool, key, keylen), in insert_entry()
110 keylen, hval, idx, data); in insert_entry()
116 insert_entry_2 (hash_table *htab, const void *key, size_t keylen, in insert_entry_2() argument
123 table[idx].keylen = keylen; in insert_entry_2()
[all …]
Dsimple-hash.h37 extern int insert_entry (hash_table *htab, const void *key, size_t keylen,
39 extern int find_entry (const hash_table *htab, const void *key, size_t keylen,
41 extern int set_entry (hash_table *htab, const void *key, size_t keylen,
45 const void **key, size_t *keylen, void **data)
48 extern uint32_t compute_hashval (const void *key, size_t keylen)
/glibc-2.36/nscd/
Dnscd_helper.c167 open_socket (request_type type, const char *key, size_t keylen) in open_socket() argument
175 size_t real_sizeof_reqdata = sizeof (request_header) + keylen; in open_socket()
191 reqdata->req.key_len = keylen; in open_socket()
193 memcpy (reqdata->key, key, keylen); in open_socket()
262 const size_t keylen = strlen (key) + 1; in __nscd_get_mapping() local
266 char resdata[keylen]; in __nscd_get_mapping()
269 int sock = open_socket (type, key, keylen); in __nscd_get_mapping()
278 iov[0].iov_len = keylen; in __nscd_get_mapping()
318 if (__glibc_unlikely (n != keylen && n != keylen + sizeof (mapsize))) in __nscd_get_mapping()
324 if (__glibc_unlikely (n == keylen)) in __nscd_get_mapping()
[all …]
Dnscd_getserv_r.c91 size_t keylen = critlen + 1 + protolen + 1; in nscd_getserv_r() local
92 int alloca_key = __libc_use_alloca (keylen); in nscd_getserv_r()
95 key = alloca_account (keylen, alloca_used); in nscd_getserv_r()
98 key = malloc (keylen); in nscd_getserv_r()
118 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_getserv_r()
179 sock = __nscd_open_socket (key, keylen, type, &serv_resp, in nscd_getserv_r()
Dnscd_getpw_r.c38 static int nscd_getpw_r (const char *key, size_t keylen, request_type type,
82 nscd_getpw_r (const char *key, size_t keylen, request_type type, in nscd_getpw_r() argument
102 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_getpw_r()
122 sock = __nscd_open_socket (key, keylen, type, &pw_resp, in nscd_getpw_r()
Dnscd_getai.c55 size_t keylen = strlen (key) + 1; in __nscd_getai() local
75 struct datahead *found = __nscd_cache_search (GETAI, key, keylen, in __nscd_getai()
96 sock = __nscd_open_socket (key, keylen, GETAI, &ai_resp, in __nscd_getai()
Dnscd_getgr_r.c40 static int nscd_getgr_r (const char *key, size_t keylen, request_type type,
83 nscd_getgr_r (const char *key, size_t keylen, request_type type, in nscd_getgr_r() argument
107 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_getgr_r()
133 sock = __nscd_open_socket (key, keylen, type, &gr_resp, in nscd_getgr_r()
Dnscd_gethst_r.c31 static int nscd_gethst_r (const char *key, size_t keylen, request_type type,
133 nscd_gethst_r (const char *key, size_t keylen, request_type type, in nscd_gethst_r() argument
169 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_gethst_r()
217 sock = __nscd_open_socket (key, keylen, type, &hst_resp, in nscd_gethst_r()
Dnscd-client.h388 extern int __nscd_open_socket (const char *key, size_t keylen,
435 size_t keylen,
/glibc-2.36/locale/
Dhashval.h25 compute_hashval (const void *key, size_t keylen) in compute_hashval() argument
35 hval = keylen; in compute_hashval()
36 while (cnt < keylen) in compute_hashval()
/glibc-2.36/iconv/
Diconv_charmap.c329 size_t keylen; in use_from_charmap() local
339 while (iterate_table (&from_charmap->char_table, &ptr, &key, &keylen, &data) in use_from_charmap()
364 size_t keylen; in use_to_charmap() local
378 while (iterate_table (&to_charmap->char_table, &ptr, &key, &keylen, &data) in use_to_charmap()
406 size_t keylen; in use_both_charmaps() local
409 while (iterate_table (&from_charmap->char_table, &ptr, &key, &keylen, &data) in use_both_charmaps()
413 struct charseq *out = charmap_find_value (to_charmap, key, keylen); in use_both_charmaps()
/glibc-2.36/nis/
Dypclnt.c659 int (*foreach) (int status, char *key, int keylen,
690 int keylen = resp.ypresp_all_u.val.key.keydat_len; in __xdr_ypresp_all() local
699 keylen)) = '\0'; in __xdr_ypresp_all()
703 if ((*objp->foreach) (objp->status, key, keylen, in __xdr_ypresp_all()
944 char *key, int keylen, char *data, int datalen) in libnsl_hidden_nolink_def()
964 args.update_args.key.yp_buf_len = keylen; in libnsl_hidden_nolink_def()
/glibc-2.36/nss/
Dmakedb.c472 size_t keylen = cp - key; in process_input() local
512 --keylen; in process_input()
542 struct dbentry *newp = xmalloc (sizeof (struct dbentry) + keylen); in process_input()
545 memcpy (newp->str, key, keylen); in process_input()
561 last_database->keystrlen += keylen; in process_input()
/glibc-2.36/
Dconfigure7855 keylen = length(key)
7858 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7862 len += 1 + keylen
/glibc-2.36/ChangeLog.old/
DChangeLog.1712867 computation of keylen.