Home
last modified time | relevance | path

Searched refs:newbits (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/sys/arch/evbarm/g42xxeb/
H A Dg42xxeb_kmkbd.c497 u_int newbits; in kmkbd_debounce() local
501 newbits = kmkbd_read_matrix(sc); in kmkbd_debounce()
503 if (newbits != sc->last_bits){ in kmkbd_debounce()
504 sc->last_bits = newbits; in kmkbd_debounce()
508 new_state = newbits == 0 ? ST_ALL_UP : ST_KEY_PRESSED; in kmkbd_debounce()
511 kmkbd_report_raw(sc, newbits); in kmkbd_debounce()
514 kmkbd_report(sc, newbits); in kmkbd_debounce()
527 u_int newbits; in kmkbd_watch() local
530 newbits = kmkbd_read_matrix(sc); in kmkbd_watch()
532 if (newbits != sc->last_bits){ in kmkbd_watch()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dht.c90 hashtable_rehash(isc_ht_t *ht, uint32_t newbits);
127 uint32_t newbits = ht->hashbits[ht->hindex]; in memcasecmp()
129 while (newcount >= HASHSIZE(newbits) && newbits <= HT_MAX_BITS) { in memcasecmp()
130 newbits += 1; in memcasecmp()
133 return newbits; in memcasecmp()
140 hashtable_rehash(isc_ht_t *ht, uint32_t newbits) {
149 REQUIRE(newbits <= HT_MAX_BITS); in hash_32()
153 REQUIRE(newbits > oldbits); in hash_32()
155 hashtable_new(ht, newindex, newbits);
167 uint32_t newbits = ht->hashbits[ht->hindex]; rehash_bits() local
180 hashtable_rehash(isc_ht_t * ht,uint32_t newbits) hashtable_rehash() argument
238 uint32_t newbits = rehash_bits(ht, newcount); maybe_rehash() local
[all...]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dht.c89 hashtable_rehash(isc_ht_t *ht, uint32_t newbits);
167 uint32_t newbits = ht->hashbits[ht->hindex]; in rehash_bits() local
169 while (newcount >= HASHSIZE(newbits) && newbits <= HT_MAX_BITS) { in rehash_bits()
170 newbits += 1; in rehash_bits()
173 return (newbits); in rehash_bits()
180 hashtable_rehash(isc_ht_t *ht, uint32_t newbits) { in hashtable_rehash() argument
189 REQUIRE(newbits <= HT_MAX_BITS); in hashtable_rehash()
193 REQUIRE(newbits > oldbits); in hashtable_rehash()
195 hashtable_new(ht, newindex, newbits); in hashtable_rehash()
238 uint32_t newbits = rehash_bits(ht, newcount); in maybe_rehash() local
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dmvbits.c44 TYPE oldbits, newbits, lenmask; in SUB_NAME() local
47 newbits = (((UTYPE)(*from) >> *frompos) & lenmask) << *topos; in SUB_NAME()
50 *to = newbits | oldbits; in SUB_NAME()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dmvbits.c44 TYPE oldbits, newbits, lenmask; in SUB_NAME() local
47 newbits = (((UTYPE)(*from) >> *frompos) & lenmask) << *topos; in SUB_NAME()
50 *to = newbits | oldbits; in SUB_NAME()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Drbt.c200 hashtable_rehash(dns_rbt_t *rbt, uint32_t newbits); in Name()
1487 uint32_t newbits = rbt->hashbits[rbt->hindex]; in dns_rbt_deletenode()
1489 while (newcount >= ISC_HASHSIZE(newbits) && newbits < ISC_HASH_MAX_BITS)
1491 newbits += 1; in dns_rbt_namefromnode()
1494 return newbits; in dns_rbt_namefromnode()
1501 hashtable_rehash(dns_rbt_t *rbt, uint32_t newbits) { in dns_rbt_fullnamefromnode()
1510 REQUIRE(newbits <= ISC_HASH_MAX_BITS); in dns_rbt_fullnamefromnode()
1514 REQUIRE(newbits > oldbits); in dns_rbt_fullnamefromnode()
1516 hashtable_new(rbt, newindex, newbits); in dns_rbt_fullnamefromnode()
1668 uint32_t newbits = rbt->hashbits[rbt->hindex]; rehash_bits() local
1681 hashtable_rehash(dns_rbt_t * rbt,uint32_t newbits) hashtable_rehash() argument
1741 uint32_t newbits = rehash_bits(rbt, newcount); maybe_rehash() local
[all...]
H A Drbtdb.c9712 uint32_t newbits = oldbits; rehash_bits() local
9728 uint32_t oldbits, newbits; rehash_gluetable() local
H A Dzone.c18534 uint32_t newbits = bits; hash_bits_grow() local
18543 uint32_t newbits = bits; hash_bits_shrink() local
18594 uint32_t bits, newbits, count, size, newsize; zonemgr_keymgmt_resize() local
/netbsd-src/sys/arch/mips/atheros/dev/
H A Daevar.h204 #define TULIP_MEDIA_NEEDSRESET(sc, newbits) \ argument
206 ((newbits) & OPMODE_MEDIA_BITS))
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Drbt.c424 rehash(dns_rbt_t *rbt, uint32_t newbits);
2387 uint32_t newbits = rbt->hashbits; in rehash_bits() local
2389 while (newcount >= HASHSIZE(newbits) && newbits < RBT_HASH_MAX_BITS) { in rehash_bits()
2390 newbits += 1; in rehash_bits()
2393 return (newbits); in rehash_bits()
2400 rehash(dns_rbt_t *rbt, uint32_t newbits) { in rehash() argument
2407 REQUIRE(newbits <= rbt->maxhashbits); in rehash()
2413 rbt->hashbits = newbits; in rehash()
2435 uint32_t newbits = rehash_bits(rbt, newcount); in maybe_rehash() local
2436 if (rbt->hashbits < newbits && newbits <= rbt->maxhashbits) { in maybe_rehash()
[all …]
H A Drbtdb.c10121 uint32_t newbits = oldbits; in rehash_bits() local
10123 while (newcount >= HASHSIZE(newbits) && in rehash_bits()
10124 newbits <= RBTDB_GLUE_TABLE_MAX_BITS) in rehash_bits()
10126 newbits += 1; in rehash_bits()
10129 return (newbits); in rehash_bits()
10137 uint32_t oldbits, newbits; in rehash_gluetable() local
10145 newbits = rehash_bits(version, version->glue_table_nodecount); in rehash_gluetable()
10146 newsize = HASHSIZE(newbits) * sizeof(version->glue_table[0]); in rehash_gluetable()
10149 version->glue_table_bits = newbits; in rehash_gluetable()
10160 uint32_t idx = hash_32(hash, newbits); in rehash_gluetable()
H A Dzone.c18474 uint32_t newbits = bits; in hash_bits_grow() local
18475 while (count >= HASHSIZE(newbits) && newbits < KEYMGMT_BITS_MAX) { in hash_bits_grow()
18476 newbits++; in hash_bits_grow()
18478 return (newbits); in hash_bits_grow()
18483 uint32_t newbits = bits; in hash_bits_shrink() local
18484 while (count <= HASHSIZE(newbits) && newbits > KEYMGMT_BITS_MIN) { in hash_bits_shrink()
18485 newbits--; in hash_bits_shrink()
18487 return (newbits); in hash_bits_shrink()
18534 uint32_t bits, newbits, count, size, newsize; in zonemgr_keymgmt_resize() local
18557 newbits = hash_bits_grow(bits, count); in zonemgr_keymgmt_resize()
[all …]
/netbsd-src/sys/dev/ic/
H A Dtulipvar.h479 #define TULIP_MEDIA_NEEDSRESET(sc, newbits) \ argument
481 ((newbits) & OPMODE_MEDIA_BITS))
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-intrinsic.cc12203 tree lenmask, oldbits, newbits, bitsize; in gfc_conv_intrinsic_mvbits() local
12327 newbits = fold_build2_loc (input_location, RSHIFT_EXPR, utype, in gfc_conv_intrinsic_mvbits()
12329 newbits = fold_build2_loc (input_location, BIT_AND_EXPR, type, in gfc_conv_intrinsic_mvbits()
12330 fold_convert (type, newbits), lenmask); in gfc_conv_intrinsic_mvbits()
12331 newbits = fold_build2_loc (input_location, LSHIFT_EXPR, type, in gfc_conv_intrinsic_mvbits()
12332 newbits, topos); in gfc_conv_intrinsic_mvbits()
12342 oldbits, newbits); in gfc_conv_intrinsic_mvbits()