/freebsd/tools/test/iconv/ref/ |
H A D | BIG5HKSCS-rev | 1 0x00 = 0x00 2 0x01 = 0x01 3 0x02 = 0x02 4 0x03 = 0x03 5 0x04 = 0x04 6 0x05 = 0x05 7 0x06 = 0x06 8 0x07 = 0x07 9 0x08 = 0x08 10 0x09 = 0x09 [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_eeprom_v1.c | 36 sum = 0; in v1EepromGet() 38 for (i = 0; i < 3; i++) { in v1EepromGet() 46 macaddr[2*i + 0] = eeval >> 8; in v1EepromGet() 47 macaddr[2*i + 1] = eeval & 0xff; in v1EepromGet() 49 if (sum == 0 || sum == 0xffff*3) { in v1EepromGet() 56 *(uint16_t *) val = ee->ee_regDomain[0]; in v1EepromGet() 66 HALASSERT(0); in v1EepromGet() 126 if (eeval != 0x5aa5) { in ath_hal_v1EepromAttach() 128 "%s: invalid EEPROM magic number 0x%x\n", __func__, eeval); in ath_hal_v1EepromAttach() 138 HALDEBUG(ah, HAL_DEBUG_ATTACH, "EEPROM protect 0x%x\n", protect); in ath_hal_v1EepromAttach() [all …]
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_conv.c | 71 * 0 - character disallowed in long file name. 80 0, 0, 0, 0, 0, 0, 0, 0, /* 00-07 */ 81 0, 0, 0, 0, 0, 0, 0, 0, /* 08-0f */ 82 0, 0, 0, 0, 0, 0, 0, 0, /* 10-17 */ 83 0, 0, 0, 0, 0, 0, 0, 0, /* 18-1f */ 84 2, 0x21, 0, 0x23, 0x24, 0x25, 0x26, 0x27, /* 20-27 */ 85 0x28, 0x29, 0, 1, 1, 0x2d, 2, 0, /* 28-2f */ 86 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* 30-37 */ 87 0x38, 0x39, 0, 1, 0, 1, 0, 0, /* 38-3f */ 88 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, /* 40-47 */ [all …]
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_utf8.c | 33 if (len <= 0) in UTF8_getc() 34 return 0; in UTF8_getc() 38 if ((*p & 0x80) == 0) { in UTF8_getc() 39 value = *p++ & 0x7f; in UTF8_getc() 41 } else if ((*p & 0xe0) == 0xc0) { in UTF8_getc() 44 if ((p[1] & 0xc0) != 0x80) in UTF8_getc() 46 value = (*p++ & 0x1f) << 6; in UTF8_getc() 47 value |= *p++ & 0x3f; in UTF8_getc() 48 if (value < 0x80) in UTF8_getc() 51 } else if ((*p & 0xf0) == 0xe0) { in UTF8_getc() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | uxtext_unquote.c | 29 # if 0 62 ** HEXPOINT = ( ( "0"/"1" ) %x31-39 ) / "10" / "20" / 73 ** ; HEXDIG excluding 0-7 75 ** ; HEXDIG excluding "0" 77 ** ; HEXDIG excluding "0" and "D" 79 # endif /* 0 */ 88 ** olen -- length of unquoted (must be > 0) 91 ** >0: length of "decoded" string 92 ** <0: error 107 return 0 - olen; \ [all …]
|
/freebsd/tools/tools/locale/tools/ |
H A D | convert_map.pl | 27 if ($ucs <= 0x7f) { 29 } elsif ($ucs <= 0x7ff) { 30 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 32 $utf8 = sprintf("\\x%02X", $ucs | 0xc0).$utf8; 34 } elsif ($ucs <= 0xffff) { 35 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 37 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 39 $utf8 = sprintf("\\x%02X", $ucs | 0xe0).$utf8; 41 } elsif ($ucs <= 0x1fffff) { 42 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; [all …]
|
/freebsd/sys/dev/hyperv/utilities/ |
H A D | unicode.h | 34 #define UNICODE_DECOMPOSE 0x01 35 #define UNICODE_PRECOMPOSE 0x02 36 #define UNICODE_UTF8_LATIN1_FALLBACK 0x03 51 #define IS_CONT(c) (((c)&0xc0) == 0x80) in utf8_to_utf16() 53 error = 0; in utf8_to_utf16() 55 spos = dpos = 0; in utf8_to_utf16() 57 if (s[spos] < 0x80) in utf8_to_utf16() 61 && s[spos]>=0xa0) { in utf8_to_utf16() 65 else if (s[spos] < 0xc0 || s[spos] >= 0xf5) { in utf8_to_utf16() 67 or lead byte for codepoint above 0x10ffff */ in utf8_to_utf16() [all …]
|
/freebsd/sys/dev/bxe/ |
H A D | 57712_init_values.c | 54 /* #define ATC_COMMON_START 0 */ 55 {OP_WR, 0x1100b8, 0x1}, 58 {OP_WR, 0x600dc, 0x1}, 59 {OP_WR, 0x60050, 0x180}, 60 {OP_SW, 0x61000, 0x1ff0000}, 61 {OP_IF_MODE_AND, 1, 0x8}, /* e2 */ 62 {OP_WR, 0x617fc, 0x3fe001}, 63 {OP_IF_MODE_AND, 1, 0x10}, /* e3 */ 64 {OP_SW, 0x617fc, 0x20101ff}, 65 {OP_IF_MODE_AND, 1, 0x8}, /* e2 */ [all …]
|
H A D | 57711_init_values.c | 55 {OP_WR, 0x600dc, 0x1}, 56 {OP_SW, 0x61000, 0x2000000}, 57 {OP_RD, 0x600d8, 0x0}, 58 {OP_SW, 0x60200, 0x30200}, 59 {OP_WR, 0x600dc, 0x0}, 62 {OP_RD, 0x600b8, 0x0}, 63 {OP_RD, 0x600c8, 0x0}, 64 {OP_WR, 0x6016c, 0x0}, 67 {OP_RD, 0x600bc, 0x0}, 68 {OP_RD, 0x600cc, 0x0}, [all …]
|
H A D | 57710_init_values.c | 55 {OP_WR, 0x600dc, 0x1}, 56 {OP_SW, 0x61000, 0x2000000}, 57 {OP_RD, 0x600d8, 0x0}, 58 {OP_SW, 0x60200, 0x30200}, 59 {OP_WR, 0x600dc, 0x0}, 62 {OP_WR, 0x60068, 0xb8}, 63 {OP_WR, 0x60078, 0x114}, 64 {OP_RD, 0x600b8, 0x0}, 65 {OP_RD, 0x600c8, 0x0}, 68 {OP_WR, 0x6006c, 0xb8}, [all …]
|
/freebsd/sys/crypto/des/ |
H A D | des_locl.h | 76 l1=l2=0; \ 89 #define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ 90 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \ 91 *((c)++)=(unsigned char)(((l)>>16L)&0xff), \ 92 *((c)++)=(unsigned char)(((l)>>24L)&0xff)) 103 #define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \ 104 *((c)++)=(unsigned char)(((l)>>16L)&0xff), \ 105 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \ 106 *((c)++)=(unsigned char)(((l) )&0xff)) 112 case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); \ [all …]
|
/freebsd/contrib/less/ |
H A D | charset.c | 33 public int utf_mode = 0; 162 if (s[0] == '-') in wchar_range_get() 185 while (s[0] != '\0') in ichardef_utf() 189 if (range.last == 0) in ichardef_utf() 214 case '\0': in ichardef_utf() 221 if (s[0] == ',') ++s; in ichardef_utf() 250 n = 0; in ichardef() 251 v = 0; in ichardef() 253 while (*s != '\0') in ichardef() [all...] |
/freebsd/contrib/file/magic/Magdir/ |
H A D | xenix | 14 0 string core core file (Xenix) 20 0 byte 0x80 27 >>1 uleshort >0 29 >>>3 ubyte >0 31 >>>>(1.s+3) ubyte >0x6D 33 >>>>>(1.s+3) ubyte <0xF2 8086 relocatable (Microsoft) 50 0 leshort 0xff65 Microsoft x.out 52 >0 byte x archive 66 0 leshort 0x206 67 >0x1c byte&0xc0 =0x40 Microsoft x.out little-endian [all …]
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_slcr.h | 43 #define ZY7_SCLR_SCL 0x0000 44 #define ZY7_SLCR_LOCK 0x0004 45 #define ZY7_SLCR_LOCK_MAGIC 0x767b 46 #define ZY7_SLCR_UNLOCK 0x0008 47 #define ZY7_SLCR_UNLOCK_MAGIC 0xdf0d 48 #define ZY7_SLCR_LOCKSTA 0x000c 51 #define ZY7_SLCR_ARM_PLL_CTRL 0x0100 52 #define ZY7_SLCR_DDR_PLL_CTRL 0x0104 53 #define ZY7_SLCR_IO_PLL_CTRL 0x0108 54 #define ZY7_SLCR_PLL_CTRL_RESET (1 << 0) [all …]
|
/freebsd/contrib/wpa/src/utils/ |
H A D | base64.c | 22 #define BASE64_PAD BIT(0) 49 line_len = 0; in base64_gen_encode() 51 *pos++ = table[(in[0] >> 2) & 0x3f]; in base64_gen_encode() 52 *pos++ = table[(((in[0] & 0x03) << 4) | (in[1] >> 4)) & 0x3f]; in base64_gen_encode() 53 *pos++ = table[(((in[1] & 0x0f) << 2) | (in[2] >> 6)) & 0x3f]; in base64_gen_encode() 54 *pos++ = table[in[2] & 0x3f]; in base64_gen_encode() 59 line_len = 0; in base64_gen_encode() 64 *pos++ = table[(in[0] >> 2) & 0x3f]; in base64_gen_encode() 66 *pos++ = table[((in[0] & 0x03) << 4) & 0x3f]; in base64_gen_encode() 70 *pos++ = table[(((in[0] & 0x03) << 4) | in base64_gen_encode() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/display/ |
H A D | solomon,ssd1307fb.yaml | 49 default: 0 70 default: 0 96 minimum: 0 223 #size-cells = <0>; 227 reg = <0x3c>; 234 reg = <0x3d>; 240 solomon,lookup-table = /bits/ 8 <0x3f 0x3f [all...] |
H A D | ssd1307fb.txt | 8 0x3c or 0x3d 10 specification [0]. Only required for the ssd1307. 32 - solomon,dclk-frq: Clock frequency 0 to 15, higher value means higher 41 [0]: Documentation/devicetree/bindings/pwm/pwm.txt 46 reg = <0x3c>; 53 reg = <0x3c>; 59 solomon,lookup-table = /bits/ 8 <0x3f 0x3f 0x3f 0x3f>;
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_fw.c | 39 0x03, 0x00, 0x40, 0x40, 0x05, 0x04, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 40 0xa8, 0x49, 0x1b, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 41 0x00, 0x00, 0x00, 0x00, 0xba, 0x8f, 0x63, 0x84, 0x2f, 0x5a, 0x19, 0xd4, 42 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 43 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 44 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 45 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 46 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 47 0xe0, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xf3, 0x03, 0x00, 48 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, [all …]
|
/freebsd/crypto/openssl/crypto/rc2/ |
H A D | rc2_cbc.c | 31 for (l -= 8; l >= 0; l -= 8) { in RC2_cbc_encrypt() 36 tin[0] = tin0; in RC2_cbc_encrypt() 39 tout0 = tin[0]; in RC2_cbc_encrypt() 48 tin[0] = tin0; in RC2_cbc_encrypt() 51 tout0 = tin[0]; in RC2_cbc_encrypt() 62 for (l -= 8; l >= 0; l -= 8) { in RC2_cbc_encrypt() 64 tin[0] = tin0; in RC2_cbc_encrypt() 68 tout0 = tin[0] ^ xor0; in RC2_cbc_encrypt() 77 tin[0] = tin0; in RC2_cbc_encrypt() 81 tout0 = tin[0] ^ xor0; in RC2_cbc_encrypt() [all …]
|
/freebsd/sys/dev/dialog/da9063/ |
H A D | da9063reg.h | 37 /* Page 0 */ 39 #define DA9063_PAGE_CON 0x00 40 #define DA9063_PAGE_CON_REG_PAGE_SHIFT 0 41 #define DA9063_PAGE_CON_REG_PAGE_MASK 0x07 42 #define DA9063_PAGE_CON_WRITE_MODE 0x40 43 #define DA9063_PAGE_CON_REVERT 0x80 47 #define DA9063_STATUS_A 0x01 48 #define DA9063_STATUS_A_NONKEY 0x01 49 #define DA9063_STATUS_A_WAKE 0x02 50 #define DA9063_STATUS_A_DVC_BUSY 0x04 [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | sign.c | 6 = { 0x42, 0x11, 0x51, 0xa4, 0x59, 0xfa, 0xea, 0xde, 0x3d, 0x24, 0x71, 7 0x15, 0xf9, 0x4a, 0xed, 0xae, 0x42, 0x31, 0x81, 0x24, 0x09, 0x5a, 8 0xfa, 0xbe, 0x4d, 0x14, 0x51, 0xa5, 0x59, 0xfa, 0xed, 0xee }; 18 …0x9d,0x61,0xb1,0x9d,0xef,0xfd,0x5a,0x60,0xba,0x84,0x4a,0xf4,0x92,0xec,0x2c,0xc4,0x44,0x49,0xc5,0x6… 19 …0x4c,0xcd,0x08,0x9b,0x28,0xff,0x96,0xda,0x9d,0xb6,0xc3,0x46,0xec,0x11,0x4e,0x0f,0x5b,0x8a,0x31,0x9… 20 …0xc5,0xaa,0x8d,0xf4,0x3f,0x9f,0x83,0x7b,0xed,0xb7,0x44,0x2f,0x31,0xdc,0xb7,0xb1,0x66,0xd3,0x85,0x3… 21 …0x0d,0x4a,0x05,0xb0,0x73,0x52,0xa5,0x43,0x6e,0x18,0x03,0x56,0xda,0x0a,0xe6,0xef,0xa0,0x34,0x5f,0xf… 22 …0x6d,0xf9,0x34,0x0c,0x13,0x8c,0xc1,0x88,0xb5,0xfe,0x44,0x64,0xeb,0xaa,0x3f,0x7f,0xc2,0x06,0xa2,0xd… 23 …0xb7,0x80,0x38,0x1a,0x65,0xed,0xf8,0xb7,0x8f,0x69,0x45,0xe8,0xdb,0xec,0x79,0x41,0xac,0x04,0x9f,0xd… 24 …0x78,0xae,0x9e,0xff,0xe6,0xf2,0x45,0xe9,0x24,0xa7,0xbe,0x63,0x04,0x11,0x46,0xeb,0xc6,0x70,0xdb,0xd… [all …]
|
/freebsd/stand/efi/include/ |
H A D | efiapi.h | 100 #define EFI_OPTIONAL_PTR 0x00000001 101 #define EFI_INTERNAL_FNC 0x00000002 // Pointer to internal runtime fnc 102 #define EFI_INTERNAL_PTR 0x00000004 // Pointer to internal runtime data 119 #define EVT_TIMER 0x80000000 120 #define EVT_RUNTIME 0x40000000 121 #define EVT_RUNTIME_CONTEXT 0x20000000 123 #define EVT_NOTIFY_WAIT 0x00000100 124 #define EVT_NOTIFY_SIGNAL 0x00000200 126 #define EVT_SIGNAL_EXIT_BOOT_SERVICES 0x00000201 127 #define EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE 0x60000202 [all …]
|
/freebsd/sys/geom/label/ |
H A D | g_label_gpt.c | 59 while (len > 0 && *str != 0) { in sbuf_nprintf_utf16() 62 if ((ch & 0xf800) == 0xd800) { in sbuf_nprintf_utf16() 63 if (len > 0) { in sbuf_nprintf_utf16() 68 c = 0xfffd; in sbuf_nprintf_utf16() 69 if ((ch & 0x400) == 0 && (c & 0xfc00) == 0xdc00) { in sbuf_nprintf_utf16() 70 ch = ((ch & 0x3ff) << 10) + (c & 0x3ff); in sbuf_nprintf_utf16() 71 ch += 0x10000; in sbuf_nprintf_utf16() 73 ch = 0xfffd; in sbuf_nprintf_utf16() 74 } else if (ch == 0xfffe) { /* BOM (U+FEFF) swapped. */ in sbuf_nprintf_utf16() 77 } else if (ch == 0xfeff) /* BOM (U+FEFF) unswapped. */ in sbuf_nprintf_utf16() [all …]
|
/freebsd/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_radio_2057.c | 81 { 0x0E, 0x20 }, { 0x31, 0x00 }, { 0x32, 0x00 }, { 0x33, 0x00 }, 82 { 0x35, 0x26 }, { 0x3C, 0xff }, { 0x3D, 0xff }, { 0x3E, 0xff }, 83 { 0x3F, 0xff }, { 0x62, 0x33 }, { 0x8A, 0xf0 }, { 0x8B, 0x10 }, 84 { 0x8C, 0xf0 }, { 0x91, 0x3f }, { 0x92, 0x36 }, { 0xA4, 0x8c }, 85 { 0xA8, 0x55 }, { 0xAF, 0x01 }, { 0x10F, 0xf0 }, { 0x110, 0x10 }, 86 { 0x111, 0xf0 }, { 0x116, 0x3f }, { 0x117, 0x36 }, { 0x129, 0x8c }, 87 { 0x12D, 0x55 }, { 0x134, 0x01 }, { 0x15E, 0x00 }, { 0x15F, 0x00 }, 88 { 0x160, 0x00 }, { 0x161, 0x00 }, { 0x162, 0x00 }, { 0x163, 0x00 }, 89 { 0x169, 0x02 }, { 0x16A, 0x00 }, { 0x16B, 0x00 }, { 0x16C, 0x00 }, 90 { 0x1A4, 0x00 }, { 0x1A5, 0x00 }, { 0x1A6, 0x00 }, { 0x1AA, 0x00 }, [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_name.c | 51 if (strcmp(s, name) != 0) in test_name() 57 return 0; in test_name() 66 return 0; in test_name_fail() 95 ret = strcmp(s, expected) != 0; in test_expand() 100 return 0; in test_expand() 129 "\xbb\x88\xce\x0d\xe3\x2f\x3f\x06\x96\xf0\xa2\x29\x50\x99\xae\xdb" 134 "\x43\x9b\x15\x5b\xb7\xae\x34\x91\xfe\xd4\x62\x26\x18\x46\x9a\x3f" 140 "\x0d\x3f\xa7\x1d\xba\xd3\x51\xc1\x0b\xa4\xda\xac\x38\xef\x55\x50" 155 "\x49\xd3\x87\xe4\x43\x82\xeb\x3f\xc9\xaa\xf5\xa8\xb5\xef\x55\x7c" 160 "\xe8\x24\x86\x26\xb8\xd8\x38\x38\xdf\x2a\x6b\xdd\x12\xcc\xc7\x3f" [all …]
|