Home
last modified time | relevance | path

Searched full:nibbles (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-src/contrib/ntp/sntp/libevent/
H A Devent_tagging.c90 where NNibbles is a 4-bit value encoding the number of nibbles-1,
92 order. If the total encoded integer size is an odd number of nibbles,
111 * We encode integers by nibbles; the first nibble contains the number
112 * of significant nibbles - 1; this allows us to encode up to 64-bit
122 int off = 1, nibbles = 0; \
136 nibbles = off - 2; \
138 /* Off - 1 is the number of encoded nibbles */ \
139 data[0] = (data[0] & 0x0f) | ((nibbles & 0x0f) << 4); \
323 int nibbles = 0; \
333 nibbles = ((data[0] & 0xf0) >> 4) + 1; \
[all …]
/freebsd-src/contrib/libevent/
H A Devent_tagging.c90 where NNibbles is a 4-bit value encoding the number of nibbles-1,
92 order. If the total encoded integer size is an odd number of nibbles,
111 * We encode integers by nibbles; the first nibble contains the number
112 * of significant nibbles - 1; this allows us to encode up to 64-bit
122 int off = 1, nibbles = 0; \
136 nibbles = off - 2; \
138 /* Off - 1 is the number of encoded nibbles */ \
139 data[0] = (data[0] & 0x0f) | ((nibbles & 0x0f) << 4); \
323 int nibbles = 0; \
333 nibbles = ((data[0] & 0xf0) >> 4) + 1; \
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/soundwire/
H A Dsoundwire-controller.yaml41 MFD is 4 nibbles
42 PID is 4 nibbles
43 CID is 2 nibbles
/freebsd-src/sys/contrib/libsodium/src/libsodium/sodium/
H A Dcodecs.c187 size_t nibbles; in sodium_bin2base64() local
192 nibbles = bin_len / 3; in sodium_bin2base64()
193 remainder = bin_len - 3 * nibbles; in sodium_bin2base64()
194 b64_len = nibbles * 4; in sodium_bin2base64()
/freebsd-src/contrib/opencsd/decoder/source/stm/
H A Dtrc_pkt_proc_stm.cpp382 m_num_data_nibbles = 2; // need 2 nibbles to complete data in stmPktD4()
406 m_num_data_nibbles = 3; // need 3 nibbles in total to complete data in stmPktD8()
769 // 2 nibbles - 0xFF - must be an async or error. in stmPktASync()
778 bCont = false; // stop reading nibbles in stmPktASync()
851 // if we do not have all the nibbles for the TS, get some... in stmExtractTS()
854 // extract the correct amount of nibbles for the ts value. in stmExtractTS()
868 // at this point we have the correct amount of nibbles, or have run out of data to process. in stmExtractTS()
899 // pass in number of nibbles needed to extract the value
/freebsd-src/contrib/opencsd/decoder/include/opencsd/stm/
H A Dtrc_pkt_proc_stm.h173 uint8_t m_num_nibbles; //!< number of nibbles in the current packet
177 uint8_t m_num_data_nibbles; //!< number of nibbles needed to acheive payload.
201 uint8_t m_num_F_nibbles; //!< count consecutive F nibbles.
H A Dtrc_pkt_types_stm.h117 …t D16; /**< payload for D16 data packet, or reserved opcode in bad packet header (1-3 nibbles) */
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringExtras.h206 /// \p LSB, that make up the nibbles of a hexadecimal digit. If \p MSB or \p LSB
207 /// do not correspond to proper nibbles of a hexadecimal digit, this method
220 /// \p LSB, that make up the nibbles of a hexadecimal digit.
237 // If the input string is not properly aligned on 2 nibbles we pad out the in tryGetFromHex()
251 // exactly half as many bytes as nibbles in the input. in tryGetFromHex()
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A DNativeFormatting.cpp141 unsigned Nibbles = (llvm::bit_width(N) + 3) / 4; in write_hex() local
148 std::max(static_cast<unsigned>(W), std::max(1u, Nibbles) + PrefixChars); in write_hex()
/freebsd-src/crypto/openssl/crypto/rsa/
H A Drsa_x931.c42 /* If no padding start and end nibbles are in one byte */ in RSA_padding_add_X931()
/freebsd-src/contrib/libevent/include/event2/
H A Dtag.h85 of significant nibbles - 1; this allows us to encode up to 64-bit
/freebsd-src/contrib/ntp/sntp/libevent/include/event2/
H A Dtag.h85 of significant nibbles - 1; this allows us to encode up to 64-bit
/freebsd-src/contrib/libpcap/
H A Dpcap-savefile.manfile.in67 If the magic number has the value 0xa1b23c4d (with the two nibbles of
/freebsd-src/contrib/llvm-project/compiler-rt/lib/ubsan_minimal/
H A Dubsan_minimal_handlers.cpp56 // print the address by nibbles in decorate_msg()
/freebsd-src/sys/dev/bxe/
H A Decore_mfw_req.h190 9 nibbles, the position of each nibble
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatProviders.h174 /// The default precision is the number of nibbles in a machine word, and in all
175 /// cases indicates the minimum number of nibbles to print.
/freebsd-src/sys/dev/usb/net/
H A Dif_axereg.h45 * the format: LDCC. L and D are both nibbles in the high byte. L represents
/freebsd-src/contrib/ntp/sntp/unity/
H A Dunity.c211 char nibbles = nibbles_to_print; in UnityPrintNumberHex() local
215 while (nibbles > 0) in UnityPrintNumberHex()
217 nibble = (number >> (--nibbles << 2)) & 0x0000000F; in UnityPrintNumberHex()
/freebsd-src/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp1097 std::string_view Nibbles = MangledName.substr(0, 2); in demangleCharLiteral()
1098 if (!isRebasedHexDigit(Nibbles[0]) || !isRebasedHexDigit(Nibbles[1])) in demangleCharLiteral()
1101 uint8_t C1 = rebasedHexDigitToNumber(Nibbles[0]); in demangleCharLiteral()
1102 uint8_t C2 = rebasedHexDigitToNumber(Nibbles[1]); in demangleCharLiteral()
1084 std::string_view Nibbles = MangledName.substr(0, 2); demangleCharLiteral() local
/freebsd-src/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h841 uint32_t version; // X.Y.Z is encoded in nibbles xxxx.yy.zz
842 uint32_t sdk; // X.Y.Z is encoded in nibbles xxxx.yy.zz
863 uint32_t minos; // X.Y.Z is encoded in nibbles xxxx.yy.zz
864 uint32_t sdk; // X.Y.Z is encoded in nibbles xxxx.yy.zz
/freebsd-src/sys/dev/pbio/
H A Dpbio.c315 * Handles the split C port nibbles and blocking
/freebsd-src/contrib/ldns/
H A Drdata.c481 /* some foo magic to reverse the nibbles ... */ in ldns_rdf_address_reverse()
/freebsd-src/sys/dev/bfe/
H A Dif_bfereg.h409 #define BFE_RX_FLAG_ODD 0x00000008 /* Frame has odd number of nibbles */
/freebsd-src/sys/dev/ixl/
H A Di40e_dcb.c635 /* Note that the FW creates the oper_prio_tc nibbles reversed in i40e_cee_to_dcb_v1_config()
716 /* Note that the FW creates the oper_prio_tc nibbles reversed in i40e_cee_to_dcb_config()
/freebsd-src/contrib/ntp/clockstuff/
H A Dchutest.c575 * Break out the code into the BCD nibbles. Only need to fiddle in chufilter()

12