Searched refs:nibble (Results 1 - 13 of 13) sorted by relevance
/freebsd-10.1-release/contrib/gcclibs/libdecnumber/ |
H A D | decUtility.c | 236 uInt nibble; /* work */ local 295 /* nibble to handle [extras could overflow a Unit] */ 296 nibble = bcd & 0x000f; 297 if (nibble) 300 out = (Unit) (out + nibble * powers[cut]); 312 nibble = bcd & 0x00f0; 313 if (nibble) 315 nibble >>= 4; 317 out = (Unit) (out + nibble * powers[cut]); 327 nibble [all...] |
/freebsd-10.1-release/lib/libbluetooth/ |
H A D | bluetooth.c | 58 static int bt_hex_nibble (char nibble); 358 bt_hex_nibble(char nibble) argument 360 if ('0' <= nibble && nibble <= '9') 361 return (nibble - '0'); 363 if ('a' <= nibble && nibble <= 'f') 364 return (nibble - 'a' + 0xa); 366 if ('A' <= nibble && nibble < [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Utility/ |
H A D | StringExtractor.cpp | 291 uint8_t nibble = xdigit_to_sint (m_packet[m_index]); local 294 result |= nibble; 353 uint8_t nibble = xdigit_to_sint (m_packet[m_index]); local 356 result |= nibble; 386 // Consume ASCII hex nibble character pairs until we have decoded byte_size
|
/freebsd-10.1-release/usr.sbin/iscsid/ |
H A D | login.c | 384 int i, hex_len, nibble; local 409 nibble = login_hex2int(hex[i]); 410 if (nibble < 0) { 418 bin[bin_off] = nibble; 421 bin[bin_off] |= nibble << 4;
|
/freebsd-10.1-release/sys/dev/ppbus/ |
H A D | ppb_1284.c | 222 /* nibble mode is not supported */ 486 char nibble[2]; local 494 /* Event 8 - peripheral writes the first nibble */ 502 /* read nibble */ 503 nibble[i] = ppb_rstr(bus); 505 /* Event 10 - ack, nibble received */ 515 *buffer = ((nibble2char(nibble[1]) << 4) & 0xf0) | 516 (nibble2char(nibble[0]) & 0x0f); 653 * Normal nibble mode or request device id mode (see ppb_1284.h)
|
/freebsd-10.1-release/usr.sbin/ctld/ |
H A D | login.c | 285 int i, hex_len, nibble; local 310 nibble = login_hex2int(hex[i]); 311 if (nibble < 0) { 319 bin[bin_off] = nibble; 322 bin[bin_off] |= nibble << 4;
|
/freebsd-10.1-release/contrib/ntp/sntp/unity/ |
H A D | unity.c | 210 _U_UINT nibble; local 217 nibble = (number >> (--nibbles << 2)) & 0x0000000F; 218 if (nibble <= 9) 220 UNITY_OUTPUT_CHAR((char)('0' + nibble)); 224 UNITY_OUTPUT_CHAR((char)('A' - 10 + nibble));
|
/freebsd-10.1-release/contrib/ldns/ |
H A D | rdata.c | 413 uint8_t nibble; local 471 /* calculate nibble */ 473 /* extract nibble */ 474 nibble = (ldns_rdf_data(rd)[octet] & ( 0xf << (4 * (1 - 480 (uint8_t)ldns_int_to_hexdigit((int)nibble);
|
/freebsd-10.1-release/contrib/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 834 // Bit position, in the current word, of the next nibble to print. 846 unsigned int nibble = (word>>shiftcount) & 15; local 847 if (nibble < 10) 848 Out << (unsigned char)(nibble + '0'); 850 Out << (unsigned char)(nibble - 10 + 'A'); 876 unsigned int nibble = (word>>shiftcount) & 15; local 877 if (nibble < 10) 878 Out << (unsigned char)(nibble + '0'); 880 Out << (unsigned char)(nibble - 10 + 'A');
|
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | remote.c | 1160 static char *pack_nibble (char *buf, int nibble); 1257 int nibble; 1262 nibble = stubhex (*buff++); 1263 retval |= nibble; 1275 int nibble; 1278 while (ishex (*buff, &nibble)) 1282 retval |= nibble & 0x0f; 1296 pack_nibble (char *buf, int nibble) 1298 *buf++ = hexchars[(nibble & 0x0f)]; 1253 int nibble; local 1271 int nibble; local 1292 pack_nibble(char *buf, int nibble) argument
|
/freebsd-10.1-release/tools/tools/cxgbtool/ |
H A D | cxgbtool.c | 1075 uint8_t nibble = p[nibble_idx / 2]; local 1078 nibble >>= 4; 1080 nibble &= 0xf; 1081 printf("%x", nibble);
|
/freebsd-10.1-release/contrib/gcc/config/arm/ |
H A D | lib1funcs.asm | 667 @ bit in ip will not be in the bottom nibble, and we should not
|
H A D | ieee754-df.S | 881 @ Perform first substraction to align result to a nibble.
|
Completed in 210 milliseconds