Home
last modified time | relevance | path

Searched refs:nibble (Results 1 – 23 of 23) sorted by relevance

/freebsd-13.1/lib/libbluetooth/
H A Dbluetooth.c60 static int bt_hex_nibble (char nibble);
360 bt_hex_nibble(char nibble) in bt_hex_nibble() argument
362 if ('0' <= nibble && nibble <= '9') in bt_hex_nibble()
363 return (nibble - '0'); in bt_hex_nibble()
365 if ('a' <= nibble && nibble <= 'f') in bt_hex_nibble()
366 return (nibble - 'a' + 0xa); in bt_hex_nibble()
368 if ('A' <= nibble && nibble <= 'F') in bt_hex_nibble()
369 return (nibble - 'A' + 0xa); in bt_hex_nibble()
/freebsd-13.1/usr.sbin/ctld/
H A Dchap.c136 int i, hex_len, nibble; in chap_hex2bin() local
165 nibble = chap_hex2int(hex[i]); in chap_hex2bin()
166 if (nibble < 0) { in chap_hex2bin()
175 bin[bin_off] = nibble; in chap_hex2bin()
178 bin[bin_off] |= nibble << 4; in chap_hex2bin()
/freebsd-13.1/usr.sbin/iscsid/
H A Dchap.c136 int i, hex_len, nibble; in chap_hex2bin() local
165 nibble = chap_hex2int(hex[i]); in chap_hex2bin()
166 if (nibble < 0) { in chap_hex2bin()
175 bin[bin_off] = nibble; in chap_hex2bin()
178 bin[bin_off] |= nibble << 4; in chap_hex2bin()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DStringExtractor.cpp194 uint8_t nibble = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU32() local
197 result |= nibble; in GetHexMaxU32()
245 uint8_t nibble = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU64() local
248 result |= nibble; in GetHexMaxU64()
/freebsd-13.1/stand/ficl/softwords/
H A Djhlocal.fr32 \ nibble the prefix (the "2:") off the name and push true.
39 2 - swap char+ char+ swap \ dcs/jws: nibble the '2:'
/freebsd-13.1/sys/dev/ppbus/
H A Dppb_1284.c486 char nibble[2]; in nibble_1284_inbyte() local
502 nibble[i] = ppb_rstr(bus); in nibble_1284_inbyte()
514 *buffer = ((nibble2char(nibble[1]) << 4) & 0xf0) | in nibble_1284_inbyte()
515 (nibble2char(nibble[0]) & 0x0f); in nibble_1284_inbyte()
/freebsd-13.1/contrib/ntp/sntp/unity/
H A Dunity.c210 _U_UINT nibble; in UnityPrintNumberHex() local
217 nibble = (number >> (--nibbles << 2)) & 0x0000000F; in UnityPrintNumberHex()
218 if (nibble <= 9) in UnityPrintNumberHex()
220 UNITY_OUTPUT_CHAR((char)('0' + nibble)); in UnityPrintNumberHex()
224 UNITY_OUTPUT_CHAR((char)('A' - 10 + nibble)); in UnityPrintNumberHex()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dread_entry.c668 int nibble; in decode_hex() local
671 for (nibble = 0; nibble < 2; ++nibble) { in decode_hex()
/freebsd-13.1/contrib/ldns/
H A Drdata.c422 uint8_t nibble; in ldns_rdf_address_reverse() local
483 nibble = (ldns_rdf_data(rd)[octet] & ( 0xf << (4 * (1 - in ldns_rdf_address_reverse()
489 (uint8_t)ldns_int_to_hexdigit((int)nibble); in ldns_rdf_address_reverse()
/freebsd-13.1/sys/contrib/device-tree/Bindings/soundwire/
H A Dsoundwire-controller.yaml39 Version ID is 1 nibble, number '0x1' represents SoundWire 1.0
/freebsd-13.1/usr.sbin/bhyve/
H A Dgdb.c403 hex_digit(uint8_t nibble) in hex_digit() argument
406 if (nibble <= 9) in hex_digit()
407 return (nibble + '0'); in hex_digit()
409 return (nibble + 'a' - 10); in hex_digit()
/freebsd-13.1/crypto/openssl/doc/man3/
H A DOPENSSL_VERSION_NUMBER.pod25 The status nibble has one of the values 0 for development, 1 to e for betas
/freebsd-13.1/crypto/openssl/crypto/des/asm/
H A Ddes_enc.m41832 ! nibble 0
1849 ! nibble 1
1866 ! nibble 2
1883 ! nibble 3
1900 ! nibble 4
1917 ! nibble 5
1934 ! nibble 6
1951 ! nibble 7
/freebsd-13.1/tools/tools/cxgbtool/
H A Dcxgbtool.c1075 uint8_t nibble = p[nibble_idx / 2]; in dump_proto_sram() local
1078 nibble >>= 4; in dump_proto_sram()
1080 nibble &= 0xf; in dump_proto_sram()
1081 printf("%x", nibble); in dump_proto_sram()
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dcompress183 # There's only a magic nibble (4 bits); that nibble repeats every 33
/freebsd-13.1/usr.bin/units/
H A Ddefinitions.units574 nibble 4 bit
575 nybble nibble
/freebsd-13.1/crypto/openssl/apps/
H A Ds_client.c439 int nibble = 0; in hexdecode() local
455 if ((nibble ^= 1) == 0) { in hexdecode()
462 if (nibble != 0) { in hexdecode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrPrefix.td1087 // Upper nibble of XO field for acc/non-acc version is 0x4/0x6.
1121 // bits. Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
1165 // Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
1186 // Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
1230 // Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
/freebsd-13.1/sys/dev/aic7xxx/
H A Daic79xx.reg3374 * (0-7 only) to the top nibble and retrieve the bit indexed by that value
/freebsd-13.1/crypto/heimdal/lib/roken/
H A DChangeLog271 in the lower nibble.
/freebsd-13.1/share/doc/IPv6/
H A DIMPLEMENTATION186 the ip6.arpa domain (with the nibble format) for IPv6 reverse
/freebsd-13.1/share/misc/
H A Dpci_vendors21396 # The right ID is 196d, but they got it nibble-swapped in 2202.
/freebsd-13.1/share/dict/
H A Dweb2124302 nibble