| /freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/ |
| H A D | tst.condexpr.d | 47 hexval = (c >= '0' && c <= '9') ? c - '0': 52 /x == "zero" && hexval == 13/ 58 /x != "zero" || hexval != 13/
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_ra_svn/ |
| H A D | cram.c | 56 static svn_boolean_t hex_decode(unsigned char *hashval, const char *hexval) in hex_decode() argument 62 h1 = hex_to_int(hexval[2 * i]); in hex_decode() 63 h2 = hex_to_int(hexval[2 * i + 1]); in hex_decode() 71 static void hex_encode(char *hexval, const unsigned char *hashval) in hex_encode() argument 77 hexval[2 * i] = int_to_hex((hashval[i] >> 4) & 0xf); in hex_encode() 78 hexval[2 * i + 1] = int_to_hex(hashval[i] & 0xf); in hex_encode()
|
| /freebsd-12.1/lib/librpcsvc/ |
| H A D | xcrypt.c | 48 static char hexval( char ); 146 *binnum++ = 16 * hexval(hexnum[2*i]) + hexval(hexnum[2*i+1]); in hex2bin() 168 hexval(char c) in hexval() function
|
| /freebsd-12.1/contrib/ntp/libparse/ |
| H A D | clk_hopf6021.c | 119 static unsigned char hexval(unsigned char); 163 status = hexval(buffer[OFFS(O_FLAGS)]); in cvt_hopf6021() 164 weekday = hexval(buffer[OFFS(O_WDAY)]); in cvt_hopf6021() 245 hexval( in hexval() function
|
| H A D | clk_trimtaip.c | 64 #define hexval(x) (('0' <= (x) && (x) <= '9') ? (x) - '0' : \ macro 128 recv_csum = (hexval(buffer[OFFS(O_CHKSUM)]) << 4) | in cvt_trimtaip() 129 hexval(buffer[OFFS(O_CHKSUM)+1]); in cvt_trimtaip()
|
| /freebsd-12.1/contrib/smbfs/lib/smb/ |
| H A D | subr.c | 247 char *ep, hexval[3]; in smb_simpledecrypt() local 257 hexval[2] = 0; in smb_simpledecrypt() 260 hexval[0] = *src++; in smb_simpledecrypt() 261 hexval[1] = *src++; in smb_simpledecrypt() 262 ch = strtoul(hexval, &ep, 16); in smb_simpledecrypt()
|
| /freebsd-12.1/contrib/serf/auth/ |
| H A D | auth_digest.c | 77 char *hexval = apr_palloc(pool, (APR_MD5_DIGESTSIZE * 2) + 1); in hex_encode() local 79 hexval[2 * i] = int_to_hex((hashval[i] >> 4) & 0xf); in hex_encode() 80 hexval[2 * i + 1] = int_to_hex(hashval[i] & 0xf); in hex_encode() 82 hexval[APR_MD5_DIGESTSIZE * 2] = '\0'; in hex_encode() 83 return hexval; in hex_encode()
|
| /freebsd-12.1/usr.sbin/spi/ |
| H A D | spi.c | 81 static int hexval(char c); 412 ch = hexval(*(ppos++)); in interpret_command_bytes() 418 ch2 = hexval(*(ppos++)); in interpret_command_bytes() 512 hexval(char c) in hexval() function 580 ch2 = hexval(ch); in prep_write_buffer() 593 ch3 = hexval(ch); in prep_write_buffer()
|
| /freebsd-12.1/usr.sbin/keyserv/ |
| H A D | setkey.c | 461 hexval(dig) in hexval() function 484 *bin = hexval(*hex++) << 4; 485 *bin++ |= hexval(*hex++);
|
| /freebsd-12.1/contrib/bearssl/T0/ |
| H A D | kern.t0 | 59 hexval 67 : hexval ( char -- x ) 68 hexval-nf dup 0 < if "Not an hex digit: " puts . cr exitvm then ; 72 : hexval-nf ( char -- x )
|
| /freebsd-12.1/contrib/bearssl/tools/ |
| H A D | names.c | 770 hexval(int c) in hexval() function 807 d = hexval(c); in parse_size()
|
| /freebsd-12.1/contrib/byacc/ |
| H A D | reader.c | 1100 hexval(int c) in hexval() function 1173 n = hexval(c); in get_literal() 1179 i = hexval(c); in get_literal()
|
| /freebsd-12.1/contrib/binutils/gas/ |
| H A D | ChangeLog-0203 | 3285 (hexval): Add cast to fix signed/unsigned warning.
|
| H A D | ChangeLog-0001 | 1108 (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of
|