Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 389) sorted by relevance

12345678910>>...16

/dflybsd-src/tools/tools/locale/tools/
H A DUTF82encoding.pl43 my $hex = sprintf("%X", ord($l[$i]));
54 if (defined $cm{$hex}) {
55 print $cm{$hex};
59 $hex = sprintf("%X%X", ord($l[$i]), ord($l[$i + 1]));
60 if (defined $cm{$hex}) {
62 print $cm{$hex};
66 $hex = sprintf("%X%X%X",
68 if (defined $cm{$hex}) {
70 print $cm{$hex};
74 print "\n--$hex--\n";
/dflybsd-src/contrib/gdb-7/gdb/
H A Dauxv.c413 enum { dec, hex, str } flavor = hex; in fprint_target_auxv() enumerator
419 TAG (AT_NULL, _("End of vector"), hex); in fprint_target_auxv()
420 TAG (AT_IGNORE, _("Entry should be ignored"), hex); in fprint_target_auxv()
422 TAG (AT_PHDR, _("Program headers for program"), hex); in fprint_target_auxv()
426 TAG (AT_BASE, _("Base address of interpreter"), hex); in fprint_target_auxv()
427 TAG (AT_FLAGS, _("Flags"), hex); in fprint_target_auxv()
428 TAG (AT_ENTRY, _("Entry point of program"), hex); in fprint_target_auxv()
436 TAG (AT_HWCAP, _("Machine-dependent CPU capability hints"), hex); in fprint_target_auxv()
443 TAG (AT_RANDOM, _("Address of 16 random bytes"), hex); in fprint_target_auxv()
446 TAG (AT_SYSINFO, _("Special system info/entry points"), hex); in fprint_target_auxv()
[all …]
H A Dremote.h42 extern int hex2bin (const char *hex, gdb_byte *bin, int count);
44 extern int bin2hex (const gdb_byte *bin, char *hex, int count);
/dflybsd-src/contrib/tcpdump/
H A Dprint-esp.c362 static u_int hexdigit(netdissect_options *ndo, char hex) in hexdigit() argument
364 if (hex >= '0' && hex <= '9') in hexdigit()
365 return (hex - '0'); in hexdigit()
366 else if (hex >= 'A' && hex <= 'F') in hexdigit()
367 return (hex - 'A' + 10); in hexdigit()
368 else if (hex >= 'a' && hex <= 'f') in hexdigit()
369 return (hex - 'a' + 10); in hexdigit()
372 "invalid hex digit %c in espsecret\n", hex); in hexdigit()
390 char *hex) in espprint_decode_hex() argument
395 len = strlen(hex) / 2; in espprint_decode_hex()
[all …]
H A Dprint-ptp.c287 const u_char *bp, u_int *len, uint8_t hex) in print_field() argument
298 if (hex) in print_field()
307 if (hex) in print_field()
316 if (hex) in print_field()
325 if (hex) in print_field()
/dflybsd-src/crypto/libressl/crypto/ts/
H A Dts_lib.c79 char *hex; in TS_ASN1_INTEGER_print_bio() local
83 if ((hex = BN_bn2hex(&num_bn))) { in TS_ASN1_INTEGER_print_bio()
85 result = result && BIO_write(bio, hex, strlen(hex)) > 0; in TS_ASN1_INTEGER_print_bio()
86 free(hex); in TS_ASN1_INTEGER_print_bio()
/dflybsd-src/crypto/libressl/apps/openssl/
H A Drand.c67 int hex; member
82 .opt.flag = &rand_config.hex,
133 if (rand_config.hex && rand_config.base64) in rand_main()
165 if (rand_config.hex) { in rand_main()
173 if (rand_config.hex) in rand_main()
H A Dprime.c63 int hex; member
92 .opt.flag = &prime_config.hex,
165 s = prime_config.hex ? BN_bn2hex(bn) : BN_bn2dec(bn); in prime_main()
173 if (prime_config.hex) { in prime_main()
/dflybsd-src/contrib/binutils-2.27/binutils/
H A Ddwarf-mode.el118 (hex (match-string-no-properties 2)))
120 'die hex 'die-ref t)))
125 (let ((hex (match-string-no-properties 1))
129 'die hex 'die-ref nil))))))
/dflybsd-src/sys/cpu/x86_64/misc/
H A Dx86_64-gdbstub.c167 hex(char ch) in hex() function
211 xmitcsum = hex (getDebugChar () & 0x7f) << 4; in getpacket()
212 xmitcsum += hex (getDebugChar () & 0x7f); in getpacket()
340 ch = hex(*buf++) << 4; in hex2mem()
341 ch = ch + hex(*buf++); in hex2mem()
393 hexValue = hex(**ptr); in hexToInt()
423 hexValue = hex(**ptr); in hexToLong()
/dflybsd-src/contrib/gdb-7/gdb/stubs/
H A Dsparc-stub.c272 hex (unsigned char ch) in hex() function
325 xmitcsum = hex (ch) << 4; in getpacket()
327 xmitcsum += hex (ch); in getpacket()
430 ch = hex(*buf++) << 4; in hex2mem()
431 ch |= hex(*buf++); in hex2mem()
533 hexValue = hex(**ptr); in hexToInt()
H A Dm68k-stub.c518 hex (ch) in hex() function
572 xmitcsum = hex (ch) << 4; in getpacket()
574 xmitcsum += hex (ch); in getpacket()
679 ch = hex (*buf++) << 4;
680 ch = ch + hex (*buf++);
797 hexValue = hex (**ptr); in hexToInt()
H A Di386-stub.c439 hex (ch) in hex() function
493 xmitcsum = hex (ch) << 4; in getpacket()
495 xmitcsum += hex (ch); in getpacket()
641 ch = hex (*buf++) << 4;
642 ch = ch + hex (*buf++);
725 hexValue = hex (**ptr); in hexToInt()
H A Dsh-stub.c198 static int hex (char);
305 hex (char ch) in hex() function
343 ch = hex (*buf++) << 4; in hex2mem()
344 ch = ch + hex (*buf++); in hex2mem()
364 hexValue = hex (**ptr); in hexToInt()
422 xmitcsum = hex (ch) << 4; in getpacket()
424 xmitcsum += hex (ch); in getpacket()
/dflybsd-src/libexec/ftpd/
H A Dsite_md5.c42 static const char hex[]="0123456789abcdef"; in sitemd5() local
84 buf[2*i] = hex[digest[i] >> 4]; in sitemd5()
85 buf[2*i+1] = hex[digest[i] & 0x0f]; in sitemd5()
/dflybsd-src/contrib/wpa_supplicant/src/ap/
H A Ddpp_hostapd.c627 char hex[64 * 2 + 1]; in hostapd_dpp_handle_config_obj() local
629 wpa_snprintf_hex(hex, sizeof(hex), in hostapd_dpp_handle_config_obj()
633 hex); in hostapd_dpp_handle_config_obj()
635 char hex[PMK_LEN * 2 + 1]; in hostapd_dpp_handle_config_obj() local
637 wpa_snprintf_hex(hex, sizeof(hex), auth->psk, PMK_LEN); in hostapd_dpp_handle_config_obj()
639 hex); in hostapd_dpp_handle_config_obj()
642 char *hex; in hostapd_dpp_handle_config_obj() local
646 hex = os_malloc(hexlen); in hostapd_dpp_handle_config_obj()
647 if (hex) { in hostapd_dpp_handle_config_obj()
648 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
[all …]
/dflybsd-src/lib/librpcsvc/
H A Dxcrypt.c43 static char hex[16] = { variable
159 hexnum[i*2] = hex[val >> 4]; in bin2hex()
160 hexnum[i*2+1] = hex[val & 0xf]; in bin2hex()
/dflybsd-src/usr.sbin/keyserv/
H A Dsetkey.c441 bin2hex(unsigned char *bin, unsigned char *hex, int size) in bin2hex() argument
446 *hex++ = hexdigit(*bin >> 4); in bin2hex()
447 *hex++ = hexdigit(*bin++ & 0xf); in bin2hex()
466 hex2bin(unsigned char *hex, unsigned char *bin, int size) in hex2bin() argument
471 *bin = hexval(*hex++) << 4; in hex2bin()
472 *bin++ |= hexval(*hex++); in hex2bin()
/dflybsd-src/lib/libefivar/
H A Duefi-dplib.h577 char hex[3]; in StrHexToBytes() local
587 hex[0] = str[i]; in StrHexToBytes()
588 hex[1] = str[i + 1]; in StrHexToBytes()
589 hex[2] = '\0'; in StrHexToBytes()
590 buf[i / 2] = strtol(hex, NULL, 16); in StrHexToBytes()
/dflybsd-src/usr.sbin/uefisign/
H A Duefisign.c123 unsigned char *hex, *tmp, ch; in bin2hex() local
128 hex = malloc(hex_len); in bin2hex()
129 if (hex == NULL) in bin2hex()
132 tmp = hex; in bin2hex()
138 return (hex); in bin2hex()
/dflybsd-src/usr.sbin/mtree/
H A Dhash.c57 static const char hex[]="0123456789abcdef"; in dohash() local
154 buf[2*i] = hex[digest[i] >> 4]; in dohash()
155 buf[2*i+1] = hex[digest[i] & 0x0f]; in dohash()
/dflybsd-src/crypto/libressl/crypto/x509/
H A Dx509_obj.c80 static const char hex[17] = "0123456789ABCDEF"; in X509_NAME_oneline() local
160 *(p++) = hex[(n >> 4) & 0x0f]; in X509_NAME_oneline()
161 *(p++) = hex[n & 0x0f]; in X509_NAME_oneline()
/dflybsd-src/usr.sbin/installer/libinstaller/
H A Dfunctions.c202 hex_to_int(const char *hex, int *result) in hex_to_int() argument
207 if (strncmp(hex, "0x", 2) != 0) in hex_to_int()
210 for (i = 2; hex[i] != '\0'; i++) { in hex_to_int()
211 d = toupper(hex[i]); in hex_to_int()
/dflybsd-src/contrib/libedit/src/
H A Dparse.c182 const wchar_t hex[] = L"0123456789ABCDEF"; in parse__escape() local
189 h = wcschr(hex, *p++); in parse__escape()
193 c = (c << 4) | ((int)(h - hex)); in parse__escape()
/dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/
H A Dwpas_glue.c103 char *hex = os_malloc(hex_len); in wpa_ether_send() local
105 if (hex == NULL) in wpa_ether_send()
107 wpa_snprintf_hex(hex, hex_len, buf, len); in wpa_ether_send()
109 MAC2STR(dest), hex); in wpa_ether_send()
110 os_free(hex); in wpa_ether_send()
1170 char *hex; in wpa_supplicant_fils_hlp_rx() local
1174 hex = os_malloc(hexlen); in wpa_supplicant_fils_hlp_rx()
1175 if (!hex) in wpa_supplicant_fils_hlp_rx()
1177 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
1179 " frame=%s", MAC2STR(dst), MAC2STR(src), hex); in wpa_supplicant_fils_hlp_rx()
[all …]

12345678910>>...16