Home
last modified time | relevance | path

Searched full:nibble (Results 1 – 25 of 105) sorted by relevance

12345

/freebsd/contrib/opencsd/decoder/source/stm/
H A Dtrc_pkt_proc_stm.cpp100 … m_proc_state = PROC_DATA; // read the header nibble, next if any has to be data in processData()
192 …savePacketByte(m_nibble_2nd << 4); // put the unused nibble back on to the data stack and pad … in outputPacket()
308 // 1 nibble opcodes
339 if(m_num_nibbles == 1) // 1st nibble - header - set type in stmPktM8()
352 if(m_num_nibbles == 1) // 1st nibble - header - set type in stmPktMERR()
367 if(m_num_nibbles == 1) // 1st nibble - header - set type in stmPktC8()
379 if(m_num_nibbles == 1) // 1st nibble - header - set type in stmPktD4()
403 if(m_num_nibbles == 1) // 1st nibble - header - set type in stmPktD8()
427 if(m_num_nibbles == 1) // 1st nibble - header - set type in stmPktD16()
451 if(m_num_nibbles == 1) // 1st nibble - header - set type in stmPktD32()
[all …]
/freebsd/crypto/openssl/crypto/ml_dsa/
H A Dml_dsa_sample.c32 typedef int (COEFF_FROM_NIBBLE_FUNC)(uint32_t nibble, uint32_t *out);
61 * @param nibble A value in the range 0..15
62 * @param out The returned value if the range (q-4)..0..4 if nibble is < 9
63 * @returns 1 nibble was in range, or 0 if the nibble was rejected.
65 static ossl_inline int coeff_from_nibble_4(uint32_t nibble, uint32_t *out) in coeff_from_nibble_4() argument
71 if (value_barrier_32(nibble < 9)) { in coeff_from_nibble_4()
72 *out = mod_sub(4, nibble); in coeff_from_nibble_4()
84 * @param nibble A value in the range 0..15
85 * @param out The returned value if the range (q-2)..0..2 if nibble is < 15
86 * @returns 1 nibble was in range, or 0 if the nibble was rejected.
[all …]
/freebsd/contrib/opencsd/decoder/include/opencsd/stm/
H A Dtrc_pkt_proc_stm.h91 // 1 nibble opcodes
110 // 2 nibble opcodes 0xFn
128 // 3 nibble opcodes 0xF0n
156 // read a nibble from the input data - may read a byte and set spare or return spare.
174 uint8_t m_nibble; //!< current nibble being processed.
175 uint8_t m_nibble_2nd; //!< 2nd unused nibble from a processed byte.
176 bool m_nibble_2nd_valid; //!< 2nd nibble is valid;
203 bool m_is_sync; //!< true if found sync at current nibble
206 void checkSyncNibble(); //!< check current nibble as part of sync.
227 // 2) there is still a nibble available from the last byte. in dataToProcess()
[all …]
/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/crypto/openssl/crypto/des/
H A Dspr.h12 /* nibble 0 */
31 /* nibble 1 */
50 /* nibble 2 */
69 /* nibble 3 */
88 /* nibble 4 */
107 /* nibble 5 */
126 /* nibble 6 */
145 /* nibble 7 */
/freebsd/sys/crypto/des/
H A Dspr.h63 /* nibble 0 */
81 /* nibble 1 */
99 /* nibble 2 */
117 /* nibble 3 */
135 /* nibble 4 */
153 /* nibble 5 */
171 /* nibble 6 */
189 /* nibble 7 */
/freebsd/contrib/bionic-x86_64-string/
H A Dssse3-strcmp-slm.S235 * need to do a nibble.
292 * Nibble avoids loads across page boundary. This is to avoid a potential
297 pcmpeqb %xmm3, %xmm0 /* check nibble for null char*/
350 * need to do a nibble.
410 pcmpeqb %xmm3, %xmm0 /* check nibble for null char */
460 * need to do a nibble.
520 pcmpeqb %xmm3, %xmm0 /* check nibble for null char */
570 * need to do a nibble.
630 pcmpeqb %xmm3, %xmm0 /* check nibble for null char */
680 * need to do a nibble.
[all …]
/freebsd/sys/dev/ppbus/
H A Dppb_1284.c221 /* nibble mode is not supported */ in ppb_peripheral_negociate()
479 * Read 1 byte in NIBBLE mode
484 char nibble[2]; in nibble_1284_inbyte() local
491 /* Event 8 - peripheral writes the first nibble */ in nibble_1284_inbyte()
499 /* read nibble */ in nibble_1284_inbyte()
500 nibble[i] = ppb_rstr(bus); in nibble_1284_inbyte()
502 /* Event 10 - ack, nibble received */ in nibble_1284_inbyte()
512 *buffer = ((nibble2char(nibble[1]) << 4) & 0xf0) | in nibble_1284_inbyte()
513 (nibble2char(nibble[0]) & 0x0f); in nibble_1284_inbyte()
522 * Read in IEEE1284 NIBBLE/BYTE mode
[all …]
/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/sys/dev/isci/scil/
H A Dscic_sds_remote_node_table.h148 * sets of three into a single nibble. When the STP RNi is allocated all
149 * of the bits in the nibble are cleared. This math results in a table size
157 * This field is the nibble selector for the above table. There are three
/freebsd/share/man/man4/
H A Dppbus.4104 bidirectional 8/4-bits mode, also called NIBBLE mode
125 The NIBBLE mode is the most common way to get reverse channel data from a
220 possible from forward idle states (nibble, byte, ecp...).
277 For example, most chipsets support NIBBLE mode as
/freebsd/contrib/arm-optimized-routines/string/aarch64/
H A Dstrchrnul-mte.S34 For each 16-byte chunk we calculate a 64-bit nibble mask value with four bits
36 by 4 instruction. Since the bits in the nibble mask reflect the order in
H A Dmemrchr.S38 For each 16-byte chunk we calculate a 64-bit nibble mask value with four bits
40 by 4 instruction. Since the bits in the nibble mask reflect the order in
H A Dmemchr-mte.S36 For each 16-byte chunk we calculate a 64-bit nibble mask value with four bits
38 by 4 instruction. Since the bits in the nibble mask reflect the order in
H A Dstrcpy.S48 For each 16-byte chunk we calculate a 64-bit nibble mask value with four bits
50 by 4 instruction. Since the bits in the nibble mask reflect the order in
/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/crypto/openssl/crypto/des/asm/
H A Ddes-586.pl345 # nibble 1
362 # nibble 2
379 # nibble 3
396 # nibble 4
413 # nibble 5
430 # nibble 6
447 # nibble 7
/freebsd/sys/dev/ppc/
H A Dppc.c99 "COMPATIBLE", "NIBBLE-only", "PS2-only", "PS2/NIBBLE", "EPP-only",
100 "EPP/NIBBLE", "EPP/PS2", "EPP/PS2/NIBBLE", "ECP-only",
101 "ECP/NIBBLE", "ECP/PS2", "ECP/PS2/NIBBLE", "ECP/EPP",
102 "ECP/EPP/NIBBLE", "ECP/EPP/PS2", "ECP/EPP/PS2/NIBBLE", 0
109 "COMPATIBLE", "NIBBLE", "PS/2", "PS/2", "EPP",
335 /* select COMPATIBLE/NIBBLE mode */ in ppc_generic_setmode()
381 /* select COMPATIBLE/NIBBLE mode */ in ppc_smclike_setmode()
575 printf(", NIBBLE"); in ppc_pc873xx_detect()
669 /* default to NIBBLE mode */ in ppc_pc873xx_detect()
673 printf(", NIBBLE"); in ppc_pc873xx_detect()
[all …]
/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/contrib/tcpdump/
H A Dslcompress.h51 * The top nibble of the first octet is the packet type. There are
62 * IP protocol version number (4) which normally appears in this nibble
/freebsd/contrib/ldns/
H A Drdata.c428 uint8_t nibble; in ldns_rdf_address_reverse() local
486 /* calculate nibble */ in ldns_rdf_address_reverse()
488 /* extract nibble */ in ldns_rdf_address_reverse()
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/sys/opencrypto/
H A Dgfmult.c34 /* reverse the bits of a nibble */
181 * XXX - nibble reverse words to save a shift? probably not as in gfmultword4()
182 * nibble reverse would take 20 ops (5 * 4) verse 16 in gfmultword4()
/freebsd/contrib/ntp/sntp/libevent/
H A Devent_tagging.c89 Integer = NNibbles Nibble* Padding?
91 and each Nibble is 4 bits worth of encoded integer, in big-endian
93 a final padding nibble with value 0 is appended.
111 * We encode integers by nibbles; the first nibble contains the number
/freebsd/contrib/libevent/
H A Devent_tagging.c89 Integer = NNibbles Nibble* Padding?
91 and each Nibble is 4 bits worth of encoded integer, in big-endian
93 a final padding nibble with value 0 is appended.
111 * We encode integers by nibbles; the first nibble contains the number

12345