/glibc-2.36/localedata/unicode-gen/ |
D | utf8_compatibility.py | 79 for key in sorted(set(ocharmap)-set(ncharmap)): 81 unicode_utils.ucs_symbol(key), 82 ocharmap[key], 83 unicode_utils.UNICODE_ATTRIBUTES[key]['name'] \ 84 if key in unicode_utils.UNICODE_ATTRIBUTES else 'None')) 87 for key in set(ocharmap).intersection(set(ncharmap)): 88 if ocharmap[key] != ncharmap[key]: 89 changed_charmap[key] = (ocharmap[key], ncharmap[key]) 93 for key in sorted(changed_charmap): 95 unicode_utils.ucs_symbol(key), [all …]
|
D | utf8_gen.py | 234 for key in range(int(code_points[0], 16), 236 width_dict[key] = 2 251 for key in range(int(code_points[0], 16), 253 del width_dict[key] # default width is 1 256 for key in list((0x00AD,)): 258 if key in width_dict: 259 del width_dict[key] # default width is 1 260 for key in list(range(0x1160, 0x1200)): 262 if key in unicode_utils.UNICODE_ATTRIBUTES: 263 width_dict[key] = 0 [all …]
|
/glibc-2.36/nss/ |
D | getent.c | 68 static error_t parse_option (int key, char *arg, struct argp_state *state); 71 static char *more_help (int key, const char *text, void *input); 112 aliases_keys (int number, char *key[]) in aliases_keys() argument 129 alias = getaliasbyname (key[i]); in aliases_keys() 142 ethers_keys (int number, char *key[]) in ethers_keys() argument 158 ethp = ether_aton (key[i]); in ethers_keys() 170 if (ether_hostton (key[i], ð)) in ethers_keys() 175 p = key[i]; in ethers_keys() 193 group_keys (int number, char *key[]) in group_keys() argument 212 gid_t arg_gid = strtoul(key[i], &ep, 10); in group_keys() [all …]
|
D | nss_hash.c | 41 const unsigned char *key; in __nss_hash() local 44 #define HASHC h = *key++ + HASH_CONST_P1 * h in __nss_hash() 47 key = keyarg; in __nss_hash() 54 h = *key++; in __nss_hash() 70 c0 = (unsigned char) *(key + 0); in __nss_hash() 71 c1 = (unsigned char) *(key + 1); in __nss_hash() 72 c2 = (unsigned char) *(key + 2); in __nss_hash() 73 c3 = (unsigned char) *(key + 3); in __nss_hash() 77 key += 4; in __nss_hash()
|
/glibc-2.36/stdlib/ |
D | tst-arc4random-stats.c | 32 struct key struct 44 static struct key keys[key_count]; 53 find_stuck_bytes (bool (*func) (unsigned char *key)) in find_stuck_bytes() argument 58 for (int key = 0; key < key_count; ++key) in find_stuck_bytes() local 62 if (func (keys[key].data)) in find_stuck_bytes() 75 for (int key = 0; key < key_count; ++key) in find_stuck_bytes() local 77 ++byte_counts[pos][keys[key].data[pos]]; in find_stuck_bytes() 90 generate_arc4random (unsigned char *key) in generate_arc4random() argument 97 memcpy (key, &words, arc4random_key_size); in generate_arc4random() 103 generate_arc4random_buf (unsigned char *key) in generate_arc4random_buf() argument [all …]
|
D | tst-bsearch.c | 62 struct item key; in do_test() local 68 key.val = arr[cnt].val; in do_test() 70 res = (struct item *) bsearch (&key, arr, narr, sizeof (arr[0]), comp); in do_test() 84 key.val = -1; in do_test() 85 res = (struct item *) bsearch (&key, arr, narr, sizeof (arr[0]), comp); in do_test() 92 key.val = 11; in do_test() 93 res = (struct item *) bsearch (&key, arr, narr, sizeof (arr[0]), comp); in do_test() 100 key.val = 11; in do_test() 101 res = (struct item *) bsearch (&key, arr, 0, sizeof (arr[0]), comp); in do_test() 111 key.val = arr[cnt].val; in do_test() [all …]
|
/glibc-2.36/scripts/ |
D | check-localplt.awk | 41 key = $1 " " $2 46 if (key in accept_type && accept_type[key] == $3 && accept_reloc[key] == $4) { 49 delete accept_type[key] 51 } else if (NF == 2 && key in accept_reloc) { 56 if (key in accept_type) 57 delete accept_type[key] 58 } else if (key in accept) { 59 delete accept[key] 68 for (key in accept) { 69 if (accept[key]) { [all …]
|
/glibc-2.36/locale/programs/ |
D | simple-hash.c | 52 const void *key; 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() 116 insert_entry_2 (hash_table *htab, const void *key, size_t keylen, in insert_entry_2() argument 122 table[idx].key = key; in insert_entry_2() 154 insert_entry_2 (htab, table[idx].key, table[idx].keylen, in insert_entry_2() [all …]
|
/glibc-2.36/argp/ |
D | argp-test.c | 47 sub_parse_opt (int key, char *arg, struct argp_state *state) in sub_parse_opt() argument 49 switch (key) in sub_parse_opt() 59 printf ("SUB KEY %c\n", key); in sub_parse_opt() 69 sub_help_filter (int key, const char *text, void *input) in sub_help_filter() argument 71 if (key == ARGP_KEY_HELP_EXTRA) in sub_help_filter() 123 popt (int key, char *arg) in popt() argument 126 if (isprint (key)) in popt() 127 sprintf (buf, "%c", key); in popt() 129 sprintf (buf, "%d", key); in popt() 137 parse_opt (int key, char *arg, struct argp_state *state) in parse_opt() argument [all …]
|
/glibc-2.36/crypt/ |
D | crypt-entry.c | 46 extern char *__md5_crypt_r (const char *key, const char *salt, char *buffer, 48 extern char *__md5_crypt (const char *key, const char *salt); 49 extern char *__sha256_crypt_r (const char *key, const char *salt, 51 extern char *__sha256_crypt (const char *key, const char *salt); 52 extern char *__sha512_crypt_r (const char *key, const char *salt, 54 extern char *__sha512_crypt (const char *key, const char *salt); 75 __crypt_r (const char *key, const char *salt, in __crypt_r() argument 92 return __md5_crypt_r (key, salt, (char *) data, in __crypt_r() 98 return __sha256_crypt_r (key, salt, (char *) data, in __crypt_r() 103 return __sha512_crypt_r (key, salt, (char *) data, in __crypt_r() [all …]
|
D | md5-crypt.c | 83 extern char *__md5_crypt_r (const char *key, const char *salt, 85 extern char *__md5_crypt (const char *key, const char *salt); 91 __md5_crypt_r (const char *key, const char *salt, char *buffer, int buflen) in __md5_crypt_r() argument 111 key_len = strlen (key); in __md5_crypt_r() 113 if ((key - (char *) 0) % __alignof__ (md5_uint32) != 0) in __md5_crypt_r() 126 key = copied_key = in __md5_crypt_r() 129 key, key_len); in __md5_crypt_r() 130 assert ((key - (char *) 0) % __alignof__ (md5_uint32) == 0); in __md5_crypt_r() 162 md5_process_bytes (key, key_len, &ctx, nss_ctx); in __md5_crypt_r() 180 md5_process_bytes (key, key_len, &alt_ctx, nss_alt_ctx); in __md5_crypt_r() [all …]
|
D | sha256-crypt.c | 95 extern char *__sha256_crypt_r (const char *key, const char *salt, 97 extern char *__sha256_crypt (const char *key, const char *salt); 101 __sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen) in __sha256_crypt_r() argument 143 key_len = strlen (key); in __sha256_crypt_r() 145 if ((key - (char *) 0) % __alignof__ (uint32_t) != 0) in __sha256_crypt_r() 158 key = copied_key = in __sha256_crypt_r() 161 key, key_len); in __sha256_crypt_r() 162 assert ((key - (char *) 0) % __alignof__ (uint32_t) == 0); in __sha256_crypt_r() 195 sha256_process_bytes (key, key_len, &ctx, nss_ctx); in __sha256_crypt_r() 207 sha256_process_bytes (key, key_len, &alt_ctx, nss_alt_ctx); in __sha256_crypt_r() [all …]
|
/glibc-2.36/sunrpc/ |
D | svcauth_des.c | 69 des_block key; /* conversation key */ member 155 cred->adc_fullname.key.key.high = *ixdr++; in _svcauth_des() 156 cred->adc_fullname.key.key.low = *ixdr++; in _svcauth_des() 174 verf.adv_xtimestamp.key.high = *ixdr++; in _svcauth_des() 175 verf.adv_xtimestamp.key.low = *ixdr++; in _svcauth_des() 186 sessionkey = &cred->adc_fullname.key; in _svcauth_des() 215 sessionkey = &authdes_cache[sid].key; in _svcauth_des() 225 cryptbuf[1].key.high = cred->adc_fullname.window; in _svcauth_des() 226 cryptbuf[1].key.low = verf.adv_winverf; in _svcauth_des() 227 ivec.key.high = ivec.key.low = 0; in _svcauth_des() [all …]
|
D | xcrypt.c | 71 void passwd2des_internal (char *pw, char *key); 80 passwd2des_internal (char *pw, char *key) in libc_hidden_proto() 84 memset (key, 0, 8); in libc_hidden_proto() 86 key[i] ^= *pw++ << 1; in libc_hidden_proto() 88 des_setparity (key); in libc_hidden_proto() 95 void passwd2des (char *pw, char *key) in libc_sunrpc_symbol() 97 return passwd2des_internal (pw, key); in libc_sunrpc_symbol() 109 char key[8]; local 118 passwd2des_internal (passwd, key); 121 err = cbc_crypt (key, buf, len, DES_ENCRYPT | DES_HW, ivec); [all …]
|
/glibc-2.36/nscd/ |
D | netgroupcache.c | 75 const char *key, struct dataset **datasetp, ssize_t *totalp, in do_notfound() argument 101 memcpy (dataset->strdata, key, req->key_len); in do_notfound() 114 const char *key, uid_t uid, struct hashentry *he, in addgetnetgrentX() argument 121 dbg_log (_("Haven't found \"%s\" in netgroup cache!"), key); in addgetnetgrentX() 123 dbg_log (_("Reloading \"%s\" in netgroup cache!"), key); in addgetnetgrentX() 139 size_t group_len = strlen (key) + 1; in addgetnetgrentX() 148 cacheable = do_notfound (db, fd, req, key, &dataset, &total, &timeout, in addgetnetgrentX() 157 memcpy (first_needed->name, key, group_len); in addgetnetgrentX() 349 cacheable = do_notfound (db, fd, req, key, &dataset, &total, &timeout, in addgetnetgrentX() 369 key_copy = memcpy (buffer + buffilled, key, req->key_len); in addgetnetgrentX() [all …]
|
D | servicescache.c | 65 const void *key, struct servent *serv, uid_t owner, in cache_addserv() argument 131 memcpy (dataset->strdata, key, req->key_len); in cache_addserv() 232 char *key_copy = memcpy (cp, key, req->key_len); in cache_addserv() 318 lookup (int type, char *key, struct servent *resultbufp, char *buffer, in lookup() argument 321 char *proto = strrchr (key, '/'); in lookup() 322 if (proto != NULL && proto != key) in lookup() 324 key = strndupa (key, proto - key); in lookup() 332 return __getservbyname_r (key, proto, resultbufp, buffer, buflen, serv); in lookup() 335 return __getservbyport_r (atol (key), proto, resultbufp, buffer, buflen, in lookup() 342 char *key, uid_t uid, struct hashentry *he, struct datahead *dh) in addservbyX() argument [all …]
|
D | hstcache.c | 93 const void *key, struct hostent *hst, uid_t owner, in cache_addhst() argument 162 memcpy (dataset->strdata, key, req->key_len); in cache_addhst() 294 key_copy = memcpy (cp, key, req->key_len); in cache_addhst() 410 lookup (int type, void *key, struct hostent *resultbufp, char *buffer, in lookup() argument 414 return __gethostbyname3_r (key, AF_INET, resultbufp, buffer, buflen, hst, in lookup() 417 return __gethostbyname3_r (key, AF_INET6, resultbufp, buffer, buflen, hst, in lookup() 420 return __gethostbyaddr2_r (key, NS_INADDRSZ, AF_INET, resultbufp, buffer, in lookup() 422 return __gethostbyaddr2_r (key, NS_IN6ADDRSZ, AF_INET6, resultbufp, buffer, in lookup() 429 void *key, uid_t uid, struct hashentry *he, struct datahead *dh) in addhstbyX() argument 445 str = key; in addhstbyX() [all …]
|
D | pwdcache.c | 77 const void *key, struct passwd *pwd, uid_t owner, in cache_addpw() argument 143 char *key_copy = memcpy (dataset->strdata, key, req->key_len); in cache_addpw() 175 const size_t key_len = strlen (key); in cache_addpw() 183 &key_offset, (char *) key) + 1; in cache_addpw() 378 lookup (int type, union keytype key, struct passwd *resultbufp, char *buffer, in lookup() argument 382 return __getpwnam_r (key.v, resultbufp, buffer, buflen, pwd); in lookup() 384 return __getpwuid_r (key.u, resultbufp, buffer, buflen, pwd); in lookup() 390 union keytype key, const char *keystr, uid_t c_uid, in addpwbyX() argument 411 while (lookup (req->type, key, &resultbuf, in addpwbyX() 437 void *key, uid_t c_uid) in addpwbyname() argument [all …]
|
D | grpcache.c | 71 const void *key, struct group *grp, uid_t owner, in cache_addgr() argument 136 memcpy (dataset->strdata, key, req->key_len); in cache_addgr() 169 const size_t key_len = strlen (key); in cache_addgr() 179 &key_offset, (char *) key) + 1; in cache_addgr() 400 lookup (int type, union keytype key, struct group *resultbufp, char *buffer, in lookup() argument 404 return __getgrnam_r (key.v, resultbufp, buffer, buflen, grp); in lookup() 406 return __getgrgid_r (key.g, resultbufp, buffer, buflen, grp); in lookup() 412 union keytype key, const char *keystr, uid_t uid, in addgrbyX() argument 434 while (lookup (req->type, key, &resultbuf, in addgrbyX() 458 void *key, uid_t uid) in addgrbyname() argument [all …]
|
D | nscd.h | 277 extern struct datahead *cache_search (request_type, const void *key, 280 extern int cache_add (int type, const void *key, size_t len, 288 void *key, uid_t uid); 290 void *key, uid_t uid); 298 void *key, uid_t uid); 300 void *key, uid_t uid); 308 void *key, uid_t uid); 310 void *key, uid_t uid); 312 request_header *req, void *key, uid_t uid); 314 request_header *req, void *key, uid_t uid); [all …]
|
/glibc-2.36/localedata/ |
D | collate-test.c | 29 char *key; member 86 strings[nstrings].key = strndup (line, l); in main() 103 r1 = strcoll (strings[idx1].key, strings[idx2].key); in main() 104 r2 = strcoll (strings[idx2].key, strings[idx1].key); in main() 108 strings[idx1].key, strings[idx2].key, r1, r2); in main() 119 free (strings[n].key); in main() 133 return strcoll (l1->key, l2->key); in xstrcoll()
|
/glibc-2.36/sysdeps/pthread/ |
D | tst-tss-basic.c | 26 static tss_t key; variable 33 if (tss_create (&key, NULL) != thrd_success) in tss_thrd() 36 if (tss_set (key, TSS_VALUE) != thrd_success) in tss_thrd() 39 void *value = tss_get (key); in tss_thrd() 52 if (tss_set (key, TSS_VALUE) == thrd_success) in do_test() 55 if (tss_create (&key, NULL) != thrd_success) in do_test() 66 void *value = tss_get (key); in do_test() 70 tss_delete (key); in do_test()
|
/glibc-2.36/nptl/ |
D | pthread_setspecific.c | 24 ___pthread_setspecific (pthread_key_t key, const void *value) in ___pthread_setspecific() argument 36 if (__glibc_likely (key < PTHREAD_KEY_2NDLEVEL_SIZE)) in ___pthread_setspecific() 39 if (KEY_UNUSED ((seq = __pthread_keys[key].seq))) in ___pthread_setspecific() 43 level2 = &self->specific_1stblock[key]; in ___pthread_setspecific() 51 if (key >= PTHREAD_KEYS_MAX in ___pthread_setspecific() 52 || KEY_UNUSED ((seq = __pthread_keys[key].seq))) in ___pthread_setspecific() 56 idx1st = key / PTHREAD_KEY_2NDLEVEL_SIZE; in ___pthread_setspecific() 57 idx2nd = key % PTHREAD_KEY_2NDLEVEL_SIZE; in ___pthread_setspecific()
|
D | pthread_getspecific.c | 23 ___pthread_getspecific (pthread_key_t key) in ___pthread_getspecific() argument 29 if (__glibc_likely (key < PTHREAD_KEY_2NDLEVEL_SIZE)) in ___pthread_getspecific() 30 data = &THREAD_SELF->specific_1stblock[key]; in ___pthread_getspecific() 34 if (key >= PTHREAD_KEYS_MAX) in ___pthread_getspecific() 38 unsigned int idx1st = key / PTHREAD_KEY_2NDLEVEL_SIZE; in ___pthread_getspecific() 39 unsigned int idx2nd = key % PTHREAD_KEY_2NDLEVEL_SIZE; in ___pthread_getspecific() 59 if (__glibc_unlikely (seq != __pthread_keys[key].seq)) in ___pthread_getspecific()
|
/glibc-2.36/sysdeps/htl/ |
D | pt-key-delete.c | 24 __pthread_key_delete (pthread_key_t key) in __pthread_key_delete() argument 32 if (key < 0 || key >= __pthread_key_count in __pthread_key_delete() 33 || __pthread_key_destructors[key] == PTHREAD_KEY_INVALID) in __pthread_key_delete() 39 __pthread_key_destructors[key] = PTHREAD_KEY_INVALID; in __pthread_key_delete() 54 if (key < t->thread_specifics_size) in __pthread_key_delete() 55 t->thread_specifics[key] = 0; in __pthread_key_delete()
|