Home
last modified time | relevance | path

Searched refs:key (Results 1 – 19 of 19) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/search/
Dhash_func.c69 const u_char *key;
73 for (key = keyarg, h = 0; len--;)
74 h = h * PRIME1 ^ (*key++ - ' ');
91 const u_char *e, *key;
95 key = keyarg;
96 e = key + len;
97 for (h = 0; key != e;) {
98 c = *key++;
99 if (!c && key > e)
122 const u_char *key;
[all …]
Dndbm.c97 dbm_fetch(DBM *db, datum key) in dbm_fetch() argument
103 dbtkey.data = key.dptr; in dbm_fetch()
104 dbtkey.size = key.dsize; in dbm_fetch()
161 dbm_delete(DBM *db, datum key) in dbm_delete() argument
166 dbtkey.data = key.dptr; in dbm_delete()
167 dbtkey.size = key.dsize; in dbm_delete()
182 dbm_store(DBM *db, datum key, datum data, int flags) in dbm_store() argument
186 dbtkey.data = key.dptr; in dbm_store()
187 dbtkey.size = key.dsize; in dbm_store()
Dhcreate_r.c145 free(ie->ent.key); in hdestroy_r()
162 len = strlen(item.key); in hsearch_r()
163 hashval = __default_hash(item.key, len); in hsearch_r()
168 if (strcmp(ie->ent.key, item.key) == 0) in hsearch_r()
190 ie->ent.key = item.key; in hsearch_r()
Dhash_page.c96 putpair(char *p, const DBT *key, const DBT *val) in putpair() argument
105 off = OFFSET(bp) - key->size; in putpair()
106 memmove(p + off, key->data, key->size); in putpair()
185 DBT key, val; in __split_page() local
216 key.data = (u_char *)op + ino[n]; in __split_page()
217 key.size = off - ino[n]; in __split_page()
219 if (__call_hash(hashp, key.data, key.size) == obucket) { in __split_page()
235 putpair(np, &key, &val); in __split_page()
287 DBT key, val; in ugly_split() local
347 key.data = (u_char *)cino + ino[n]; in ugly_split()
[all …]
Dbsearch.c87 bsearch (const void *key, in bsearch() argument
107 result = compar (key, current); in bsearch()
Dtsearch.c69 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ in tsearch()
81 q->key = (void *)vkey; /* initialize new node */ in tsearch()
Dhash_bigkey.c89 const DBT *key, in __big_insert() argument
101 key_data = (char *)key->data; in __big_insert()
102 key_size = key->size; in __big_insert()
269 char *key, in __find_bigpair() argument
281 kkey = key; in __find_bigpair()
507 DBT *key, in __big_keydata() argument
511 key->size = collect_key(hashp, bufp, 0, val, set); in __big_keydata()
512 if (key->size == (size_t) -1) in __big_keydata()
514 key->data = (u_char *)hashp->tmp_key; in __big_keydata()
579 DBT key, val; in __big_split() local
[all …]
Dhash.c565 const DBT *key, argument
576 return (hash_access(hashp, HASH_GET, (DBT *)key, data));
581 DBT *key, argument
598 HASH_PUTNEW : HASH_PUT, (DBT *)key, (DBT *)data));
603 const DBT *key, argument
617 return (hash_access(hashp, HASH_DELETE, (DBT *)key, NULL));
626 DBT *key, argument
641 size = key->size;
642 kp = (char *)key->data;
705 if (__addel(hashp, rbufp, key, val)) {
[all …]
Dtfind.c68 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ in tfind()
Dtdestroy.c65 (*free_action) ((void *) root->key); in trecurse()
Dtdelete.c68 while ((cmp = (*compar)(vkey, (*rootp)->key)) != 0) { in tdelete()
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.search/
Dhsearchtest.c78 e.key = strdup(ch); /* ptr to provided key is kept! */ in main()
79 TEST(e.key != NULL); in main()
83 TEST(strcmp(ep->key, ch) == 0); in main()
88 e.key = ch; in main()
95 TEST(strcmp(ep->key, ch) == 0); in main()
104 TEST(strcmp(ep->key, ch) == 0); in main()
118 TEST(strcmp(ep->key, "a") == 0 && (uintptr_t)ep->data == 0); in main()
120 TEST(strcmp(ep2->key, "b") == 0 && (uintptr_t)ep2->data == 1); in main()
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dsearch.h45 char *key; member
62 char *key; member
/picolibc-3.7.0-3.6.0/.github/workflows/
Dsteps-head11key: ${{ env.IMAGE_FILE }}-${{ hashFiles( env.DOCKERFILE, env.PACKAGES_FILE, env.EXTRA_FILE ) }}
35key: compilation-${{ runner.os }}-${{ github.job }}-${{ matrix.meson_flags }}-${{ env.CCACHE_SIZE …
Dhead-zephyr42key: ${{ env.IMAGE_FILE }}-${{ hashFiles( env.DOCKERFILE, env.PACKAGES_FILE, env.EXTRA_FILE ) }}
Dhead41key: ${{ env.IMAGE_FILE }}-${{ hashFiles( env.DOCKERFILE, env.PACKAGES_FILE, env.EXTRA_FILE ) }}
/picolibc-3.7.0-3.6.0/.github/
DDockerfile9 …wget -O /etc/apt/trusted.gpg.d/altusmetrum.gpg https://maps.altusmetrum.org/archive/archive-key.gp…
/picolibc-3.7.0-3.6.0/newlib/doc/
Dmakedocbook.py269 refentry[:] = sorted(refentry, key=lambda x: x.tag if isinstance(x.tag, str) else '')
285 refnamediv[:] = sorted(refnamediv, key=lambda x: x.tag)
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-20158625 * libc/sys/linux/net/key-lookup.c: Ditto.
23065 comparison which accesses invalid memory when the key is
24607 * libc/sys/win32/key.c: include "include/wincon.h".
24611 * libc/sys/win32/{key, stubs}.c: New.
26333 (_start): key off edata rather than _start_bss.