HomeSort by: relevance | last modified time | path
    Searched refs:nibble (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/lib/libbluetooth/
bluetooth.c 61 static int bt_hex_nibble (char nibble);
361 bt_hex_nibble(char nibble)
363 if ('0' <= nibble && nibble <= '9')
364 return (nibble - '0');
366 if ('a' <= nibble && nibble <= 'f')
367 return (nibble - 'a' + 0xa);
369 if ('A' <= nibble && nibble <= 'F'
    [all...]
  /src/external/gpl3/gcc.old/dist/libcody/
buffer.cc 129 char nibble = (c >> shift) & 0xf; local
130 nibble += S2C(u8"0");
131 if (nibble > S2C(u8"9"))
132 nibble += S2C(u8"a") - (S2C(u8"9") + 1);
133 buffer.push_back (nibble);
330 for (unsigned nibble = 0; nibble != 2; nibble++)
335 if (!nibble)
343 if (!nibble)
    [all...]
  /src/sys/dev/rasops/
rasops_putchar_width.h 77 #define SUBST_GLYPH1(index, nibble, off) \
79 int so = STAMP_SHIFT(fr[index], nibble) & STAMP_MASK; \
92 #define SUBST_GLYPH1(index, nibble, off) \
94 int so = STAMP_SHIFT(fr[index], nibble) & STAMP_MASK; \
112 #define SUBST_GLYPH1(index, nibble, off) \
114 int so = STAMP_SHIFT(fr[index], nibble) & STAMP_MASK; \
130 #define SUBST_GLYPH1(index, nibble, off) \
132 int so = STAMP_SHIFT(fr[index], nibble) & STAMP_MASK; \
  /src/external/bsd/openldap/dist/libraries/liblutil/
uuid.c 395 unsigned char nibble; local
410 nibble = (uuid[i] >> 4) & 0xF;
411 if ( nibble < 10 ) {
412 buf[(i<<1)+d] = nibble + '0';
414 buf[(i<<1)+d] = nibble - 10 + 'a';
417 nibble = (uuid[i]) & 0xF;
418 if ( nibble < 10 ) {
419 buf[(i<<1)+d+1] = nibble + '0';
421 buf[(i<<1)+d+1] = nibble - 10 + 'a';
  /src/sys/dev/pckbport/
alps.c 351 * Write nibble (4-bit) data
354 pms_alps_cm_write_nibble(pckbport_tag_t tag, pckbport_slot_t slot, uint8_t nibble)
362 sendparam = alps_v7_nibble_command_data_arr[nibble].sendparam;
363 receive= alps_v7_nibble_command_data_arr[nibble].receive;
364 cmd[0] = alps_v7_nibble_command_data_arr[nibble].command;
367 aprint_error("send nibble error: %d\n", res);
370 cmd[1] = alps_v7_nibble_command_data_arr[nibble].data;
372 aprint_error("send nibble error: %d\n", res);
376 aprint_error("send nibble error: %d\n", res);
390 uint8_t nibble; local
461 uint8_t nibble; local
655 uint8_t nibble; local
    [all...]
  /src/sys/arch/vax/vax/
emulate.S 384 subl2 %r1,%r9 # %r9 = "addition" of operands high nibble
389 addl2 %r0,%r1 # %r1 = carry + next (low) nibble of source
392 subl2 %r0,%r1 # %r1 -= next (low) nibble of destination
400 insv %r1,$0,$4,(%r3) # store result low nibble
403 addl2 %r0,%r9 # %r9 = carry + next (high) nibble of source
405 subl2 %r0,%r9 # %r9 -= next (high) nibble of destination
414 insv %r9,$4,$4,(%r3) # store result high nibble
423 addl2 %r0,%r1 # %r1 == carry += next (low) nibble
434 addl2 %r0,%r9 # %r9 == carry += next (high) nibble
468 extzv $0,$4,(%r3),%r0 # low nibble = (9 + carry) - low nibbl
    [all...]
  /src/external/gpl3/binutils/dist/opcodes/
z8k-dis.c 32 /* These are all indexed by nibble number (i.e only every other entry
38 /* Nibble number of first word not yet fetched. */
59 #define FETCH_DATA(info, nibble) \
60 ((nibble) < ((instr_data_s *) (info->private_data))->max_fetched \
61 ? 1 : fetch_data ((info), (nibble)))
64 fetch_data (struct disassemble_info *info, int nibble)
70 if ((nibble % 4) != 0)
75 nibble / 2,
87 for (i = 0; i < nibble;)
103 priv->max_fetched = nibble;
    [all...]
s390-mkopc.c 143 char nibble; member in struct:s390_cond_ext_format
265 print_error ("Mnemonic \"%s\": Conditional mask not at nibble boundary\n", mnemonic);
290 opcode[mask_start] = ext_table[i].nibble;
  /src/external/gpl3/binutils.old/dist/opcodes/
z8k-dis.c 32 /* These are all indexed by nibble number (i.e only every other entry
38 /* Nibble number of first word not yet fetched. */
59 #define FETCH_DATA(info, nibble) \
60 ((nibble) < ((instr_data_s *) (info->private_data))->max_fetched \
61 ? 1 : fetch_data ((info), (nibble)))
64 fetch_data (struct disassemble_info *info, int nibble)
70 if ((nibble % 4) != 0)
75 nibble / 2,
87 for (i = 0; i < nibble;)
103 priv->max_fetched = nibble;
    [all...]
s390-mkopc.c 143 char nibble; member in struct:s390_cond_ext_format
265 print_error ("Mnemonic \"%s\": Conditional mask not at nibble boundary\n", mnemonic);
290 opcode[mask_start] = ext_table[i].nibble;
  /src/external/gpl3/gcc.old/dist/libdecnumber/dpd/
decimal64.c 752 uInt nibble; /* work */ local
796 nibble=bcd & 0x00f;
797 if (nibble) out=(Unit)(out+nibble*DECPOWERS[cut]);
808 nibble=bcd & 0x00f;
809 if (nibble) out=(Unit)(out+nibble*DECPOWERS[cut]);
814 nibble=bcd & 0x00f;
815 if (nibble) out=(Unit)(out+nibble*DECPOWERS[cut])
    [all...]
  /src/external/gpl3/binutils/dist/libiberty/
rust-demangle.c 302 decode_lower_hex_nibble (char nibble)
304 if ('0' <= nibble && nibble <= '9')
305 return nibble - '0';
306 if ('a' <= nibble && nibble <= 'f')
307 return 0xa + (nibble - 'a');
1340 int nibble; local
1349 nibble = decode_lower_hex_nibble (ident.ascii[1 + i]);
1350 if (nibble < 0
    [all...]
  /src/external/gpl3/binutils.old/dist/libiberty/
rust-demangle.c 302 decode_lower_hex_nibble (char nibble)
304 if ('0' <= nibble && nibble <= '9')
305 return nibble - '0';
306 if ('a' <= nibble && nibble <= 'f')
307 return 0xa + (nibble - 'a');
1340 int nibble; local
1349 nibble = decode_lower_hex_nibble (ident.ascii[1 + i]);
1350 if (nibble < 0
    [all...]
  /src/external/gpl3/gcc.old/dist/libiberty/
rust-demangle.c 302 decode_lower_hex_nibble (char nibble)
304 if ('0' <= nibble && nibble <= '9')
305 return nibble - '0';
306 if ('a' <= nibble && nibble <= 'f')
307 return 0xa + (nibble - 'a');
1311 int nibble; local
1320 nibble = decode_lower_hex_nibble (ident.ascii[1 + i]);
1321 if (nibble < 0
    [all...]
  /src/sys/kern/
kgdb_stub.c 225 int nibble; local
227 while ((nibble = digit2i(*src)) >= 0) {
229 r += nibble;
  /src/sys/arch/mac68k/obio/
iwm.s 749 moveb %a0@,%d3 | Get first 6 bit nibble
765 moveb %a0@,%d3 | Get second 6 bit nibble
775 moveb %a0@,%d3 | Get third 6 bit nibble
814 moveb %a0@,%d3 | Get first 6 bit nibble
830 moveb %a0@,%d3 | Get second 6 bit nibble
842 moveb %a0@,%d3 | Get third 6 bit nibble
867 moveb %a0@,%d3 | Get first 6 bit nibble
879 moveb %a0@,%d3 | Get second 6 bit nibble
890 moveb %a0@,%d3 | Get third 6 bit nibble
1040 * missing 'AD' is made up by piping 0x0B through the nibble
    [all...]
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
floating_to_chars.cc 765 // Round up the least significant nibble.
767 // Check and adjust for overflow of the leading nibble. When the
768 // type has an implicit leading bit, then the leading nibble
780 // We rounded up the least significant nibble and the
801 const auto nibble = unsigned(effective_mantissa >> rounded_mantissa_bits); local
802 __glibcxx_assert(nibble <= 2);
803 leading_hexit = '0' + nibble;
808 const auto nibble = unsigned(effective_mantissa >> (rounded_mantissa_bits-4)); local
809 __glibcxx_assert(nibble < 16);
810 leading_hexit = "0123456789abcdef"[nibble];
853 const auto nibble = unsigned(effective_mantissa >> nibble_offset); local
    [all...]
  /src/external/bsd/ntp/dist/sntp/unity/
unity.c 212 _U_UINT nibble; local
219 nibble = (number >> (--nibbles << 2)) & 0x0000000F;
220 if (nibble <= 9)
222 UNITY_OUTPUT_CHAR((char)('0' + nibble));
226 UNITY_OUTPUT_CHAR((char)('A' - 10 + nibble));
  /src/games/adventure/
save.c 100 writeletter(unsigned char nibble)
104 assert(nibble < 16);
106 code = (16 * (random() % 6)) + nibble;
  /src/sys/arch/sgimips/hpc/
pi1ppc.c 570 * centronics mode and nibble mode. Modes determine both hardware AND software
593 /* Set nibble mode (virtual) */
1163 /* Read bytes in nibble mode */
1168 uint8_t nibble[2]; local
1197 /* Nibble-mode handshake transfer */
1206 /* Event 8 - peripheral writes the first nibble */
1213 /* read nibble */
1214 nibble[i] = pi1ppc_r_str(pi1ppc);
1216 /* Event 10 - ack, nibble received */
1232 *(pi1ppc->sc_inbstart) = ((nibble2char(nibble[1]) << 4) & 0xf0)
    [all...]
  /src/external/gpl3/gcc.old/dist/libgcc/config/avr/libf7/
libf7.c 2337 uint8_t f7_hex_digit (uint8_t nibble)
2339 nibble = (uint8_t) (nibble + '0');
2340 if (nibble > '9')
2341 nibble = (uint8_t) (nibble + ('a' - '0' - 10));
2342 return nibble;
  /src/external/gpl3/binutils.old/dist/gas/config/
tc-z8k.c 1035 int nibble; local
1047 for (nibble = 0; (c = *class_ptr++); nibble++)
1193 /* Copy from the nibble buffer into the frag. */
  /src/sys/arch/mac68k/mac68k/
pramasm.s 317 rolb #4,%d2 | get low nibble of PRAM loc ready
322 dbf %d1,fourbit | until we've done the low nibble
  /src/sys/dev/ic/
atppc.c 902 * centronics mode and nibble mode. Modes determine both hardware AND software
961 /* Set nibble mode: uses chipset standard mode */
1002 /* Set nibble mode (virtual) */
1610 /* Read bytes in nibble mode */
1615 u_int8_t nibble[2]; local
1638 /* Nibble-mode handshake transfer */
1647 /* Event 8 - peripheral writes the first nibble */
1654 /* read nibble */
1655 nibble[i] = atppc_r_str(atppc);
1657 /* Event 10 - ack, nibble received *
    [all...]
  /src/external/gpl3/binutils/dist/gas/config/
tc-h8300.c 1328 do_a_fix_imm (int offset, int nibble, struct h8_op *operand, int relaxmode, const struct h8_instruction *this_try)
1343 bytes[0] |= (operand->exp.X_add_number & 3) << (nibble ? 0 : 4);
1348 bytes[0] |= (operand->exp.X_add_number & 7) << (nibble ? 0 : 4);
1352 bytes[0] |= (operand->exp.X_add_number & 15) << (nibble ? 0 : 4);

Completed in 58 milliseconds

1 2