Home
last modified time | relevance | path

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

/freebsd/lib/libbluetooth/
H A Dbluetooth.c59 static int bt_hex_nibble (char nibble);
359 bt_hex_nibble(char nibble) in bt_hex_nibble() argument
361 if ('0' <= nibble && nibble <= '9') in bt_hex_nibble()
362 return (nibble - '0'); in bt_hex_nibble()
364 if ('a' <= nibble && nibble <= 'f') in bt_hex_nibble()
365 return (nibble - 'a' + 0xa); in bt_hex_nibble()
367 if ('A' <= nibble && nibble <= 'F') in bt_hex_nibble()
368 return (nibble - 'A' + 0xa); in bt_hex_nibble()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan_minimal/
H A Dubsan_minimal_handlers.cpp59 unsigned nibble = (caller >> shift) & 0xf; in decorate_msg() local
60 *(buf++) = nibble < 10 ? nibble + '0' : nibble - 10 + 'a'; in decorate_msg()
/freebsd/lib/libiscsiutil/
H A Dchap.c132 int i, hex_len, nibble; in chap_hex2bin() local
161 nibble = chap_hex2int(hex[i]); in chap_hex2bin()
162 if (nibble < 0) { in chap_hex2bin()
171 bin[bin_off] = nibble; in chap_hex2bin()
174 bin[bin_off] |= nibble << 4; in chap_hex2bin()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStringExtractor.cpp192 uint8_t nibble = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU32() local
195 result |= nibble; in GetHexMaxU32()
243 uint8_t nibble = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU64() local
246 result |= nibble; in GetHexMaxU64()
/freebsd/crypto/openssl/test/
H A Ddanetest.c183 int nibble = 0; in hexdecode() local
200 if ((nibble ^= 1) == 0) { in hexdecode()
207 if (nibble != 0) { in hexdecode()
/freebsd/stand/ficl/softwords/
H A Djhlocal.fr31 \ nibble the prefix (the "2:") off the name and push true.
38 2 - swap char+ char+ swap \ dcs/jws: nibble the '2:'
/freebsd/sys/dev/ppbus/
H A Dppb_1284.c484 char nibble[2]; in nibble_1284_inbyte() local
500 nibble[i] = ppb_rstr(bus); in nibble_1284_inbyte()
512 *buffer = ((nibble2char(nibble[1]) << 4) & 0xf0) | in nibble_1284_inbyte()
513 (nibble2char(nibble[0]) & 0x0f); in nibble_1284_inbyte()
/freebsd/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/contrib/ncurses/ncurses/tinfo/
H A Dread_entry.c705 int nibble; in decode_hex() local
707 for (nibble = 0; nibble < 2; ++nibble) { in decode_hex()
/freebsd/contrib/ldns/
H A Drdata.c428 uint8_t nibble; in ldns_rdf_address_reverse() local
489 nibble = (ldns_rdf_data(rd)[octet] & ( 0xf << (4 * (1 - in ldns_rdf_address_reverse()
495 (uint8_t)ldns_int_to_hexdigit((int)nibble); in ldns_rdf_address_reverse()
/freebsd/crypto/openssl/crypto/des/asm/
H A Ddes_enc.m41830 ! nibble 0
1847 ! nibble 1
1864 ! nibble 2
1881 ! nibble 3
1898 ! nibble 4
1915 ! nibble 5
1932 ! nibble 6
1949 ! nibble 7
/freebsd/usr.sbin/bhyve/
H A Dgdb.c502 hex_digit(uint8_t nibble) in hex_digit() argument
505 if (nibble <= 9) in hex_digit()
506 return (nibble + '0'); in hex_digit()
508 return (nibble + 'a' - 10); in hex_digit()
/freebsd/tools/tools/cxgbtool/
H A Dcxgbtool.c1073 uint8_t nibble = p[nibble_idx / 2]; in dump_proto_sram() local
1076 nibble >>= 4; in dump_proto_sram()
1078 nibble &= 0xf; in dump_proto_sram()
1079 printf("%x", nibble); in dump_proto_sram()
/freebsd/usr.bin/units/
H A Ddefinitions.units573 nibble 4 bit
574 nybble nibble
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dmsm8996pro.dtsi14 * nibble of supported hw, so speed bin 0 becomes 0x10, speed bin 1
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrMMA.td161 // Upper nibble of XO field for acc/non-acc version is 0x4/0x6.
223 // bits. Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
304 // Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
339 // Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
420 // Upper nibble are masked with 0x8, 0x4, 0xC for negating operands.
/freebsd/contrib/file/magic/Magdir/
H A Dcompress192 # There's only a magic nibble (4 bits); that nibble repeats every 33
/freebsd/crypto/openssl/apps/
H A Ds_client.c305 int nibble = 0; in hexdecode() local
321 if ((nibble ^= 1) == 0) { in hexdecode()
328 if (nibble != 0) { in hexdecode()
/freebsd/sys/dev/aic7xxx/
H A Daic79xx.reg3372 * (0-7 only) to the top nibble and retrieve the bit indexed by that value
/freebsd/crypto/heimdal/lib/roken/
H A DChangeLog271 in the lower nibble.
/freebsd/share/doc/IPv6/
H A DIMPLEMENTATION185 the ip6.arpa domain (with the nibble format) for IPv6 reverse
/freebsd/share/misc/
H A Dpci_vendors22921 # The right ID is 196d, but they got it nibble-swapped in 2202.
/freebsd/share/dict/
H A Dweb2124326 nibble