Home
last modified time | relevance | path

Searched refs:hexstr (Results 1 – 22 of 22) sorted by relevance

/netbsd/sys/arch/luna68k/stand/boot/
H A Dmachdep.c121 printf("pc = %s, ", hexstr(rp[PC], 8)); in regdump()
122 printf("ps = %s, ", hexstr(rp[PS], 4)); in regdump()
123 printf("sfc = %s, ", hexstr(getsfc(), 4)); in regdump()
124 printf("dfc = %s\n", hexstr(getdfc(), 4)); in regdump()
136 printf(" %s", hexstr(rp[i], 8)); in regdump()
139 printf(" %s", hexstr(rp[i+8], 8)); in regdump()
145 hexstr((int)(((int *)&rp) - 1), 8)); in regdump()
149 printf("\n\nUser stack (%s):", hexstr(rp[SP], 8)); in regdump()
167 printf("\n%s: ", hexstr((int)ptr, 6)); in dumpmem()
183 printf("%s", hexstr(val, 8)); in dumpmem()
[all …]
H A Dsamachdep.h146 char *hexstr(int, int);
/netbsd/sys/arch/m68k/m68k/
H A Dregdump.c56 static char *hexstr(int, int);
74 curlwp ? curlwp->l_lid : -1, hexstr(tf->tf_pc, 8)); in regdump()
75 printf("ps = %s, ", hexstr(tf->tf_sr, 4)); in regdump()
83 printf(" %s", hexstr(tf->tf_regs[i], 8)); in regdump()
86 printf(" %s", hexstr(tf->tf_regs[i+8], 8)); in regdump()
90 hexstr((int)(((int *)(void *)&tf)-1), 8)); in regdump()
94 hexstr(tf->tf_regs[SP], 8)); in regdump()
113 printf("\n%s: ", hexstr((int)ptr, 6)); in dumpmem()
124 printf("%s", hexstr(val, 8)); in dumpmem()
130 hexstr(int val, int len) in hexstr() function
/netbsd/sys/arch/hppa/stand/xxboot/
H A Dmain.c42 static char *hexstr(char *, unsigned);
156 hexstr(char *buf, unsigned val) in hexstr() function
190 print(hexstr(buf, interactive)); in ipl_main()
192 print(hexstr(buf, sptop)); in ipl_main()
194 print(hexstr(buf, psw)); in ipl_main()
198 print(hexstr(buf, (psw & 0x08000000) ? (unsigned) 0x64 : 0x32)); in ipl_main()
322 print(hexstr(buf, loadadr)); in load_file_ino()
/netbsd/sbin/ifconfig/
H A Dutil.c86 bool hexstr; in get_string() local
91 hexstr = hexok && val[0] == '0' && tolower((u_char)val[1]) == 'x'; in get_string()
92 if (hexstr) in get_string()
101 if (hexstr) { in get_string()
109 if (hexstr) in get_string()
115 if (hexstr) { in get_string()
/netbsd/sys/arch/powerpc/tools/chrpicon/chrpicontoppm/
H A Dchrpicontoppm.c168 char hexstr[3] = { 0, 0, 0 }; in CHRPI_getbitmap() local
200 hexstr[0] = *p++; in CHRPI_getbitmap()
201 hexstr[1] = *p++; in CHRPI_getbitmap()
203 img->pixels[r][c] = (chrpi_pixel)(strtoul(hexstr, NULL, 16)); in CHRPI_getbitmap()
/netbsd/crypto/external/bsd/openssl/dist/apps/
H A Dfipsinstall.c120 char *hexstr = NULL; in print_mac() local
122 hexstr = OPENSSL_buf2hexstr(mac, (long)len); in print_mac()
123 if (hexstr == NULL) in print_mac()
125 ret = BIO_printf(bio, "%s = %s\n", label, hexstr); in print_mac()
126 OPENSSL_free(hexstr); in print_mac()
H A Dts.c923 unsigned char *hexstr = OPENSSL_hexstr2buf(digest, &imprint_len); in create_verify_ctx() local
925 if (TS_VERIFY_CTX_set_imprint(ctx, hexstr, imprint_len) == NULL) { in create_verify_ctx()
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/ts/
H A Dts_verify_ctx.c71 unsigned char *hexstr, long len) in TS_VERIFY_CTX_set_imprint() argument
74 ctx->imprint = hexstr; in TS_VERIFY_CTX_set_imprint()
/netbsd/crypto/external/bsd/openssl/dist/crypto/ts/
H A Dts_verify_ctx.c71 unsigned char *hexstr, long len) in TS_VERIFY_CTX_set_imprint() argument
74 ctx->imprint = hexstr; in TS_VERIFY_CTX_set_imprint()
/netbsd/games/ching/printching/
H A Dprintching.c105 char hexstr[6+1]; /* buffer for reading lines in */ in main() local
109 hexptr = fgets(hexstr, 6+1, stdin); in main()
/netbsd/external/bsd/ntp/dist/util/
H A Dntp-keygen.c856 u_char hexstr[2 * MD5SIZE + 1]; in gen_md5() local
890 hexstr[2 * j] = hex[keystr[j] >> 4]; in gen_md5()
891 hexstr[2 * j + 1] = hex[keystr[j] & 0xf]; in gen_md5()
893 hexstr[2 * MD5SIZE] = '\0'; in gen_md5()
895 hexstr); in gen_md5()
/netbsd/external/historical/nawk/dist/
H A Dproto.h46 extern int hexstr(const uschar **);
H A Db.c305 int hexstr(const uschar **pp) /* find and eval hex string at pp, return new p */ in hexstr() function
348 c = hexstr(&p); /* this adds a null if number is invalid */ in quoted()
H A DFIXES998 fixed silly bug in hex parsing in hexstr().
/netbsd/sys/arch/cesfic/cesfic/
H A Dmachdep.c122 char *hexstr(int, int);
/netbsd/crypto/external/bsd/openssl.old/dist/apps/
H A Dts.c892 unsigned char *hexstr = OPENSSL_hexstr2buf(digest, &imprint_len); in create_verify_ctx() local
894 if (TS_VERIFY_CTX_set_imprint(ctx, hexstr, imprint_len) == NULL) { in create_verify_ctx()
/netbsd/crypto/external/bsd/openssl/dist/include/openssl/
H A Dts.h421 unsigned char *hexstr, long len);
/netbsd/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dts.h480 unsigned char *hexstr, long len);
/netbsd/external/bsd/unbound/dist/testcode/
H A Dtestpkts.c316 hexstr2bin(char *hexstr, int len, uint8_t *buf, size_t offset, size_t buf_len) in hexstr2bin() argument
329 c = hexstr[i]; in hexstr2bin()
/netbsd/external/gpl3/gdb/dist/gdbserver/
H A Dtracepoint.cc7009 char *hexstr = xmalloc (len * 2 + 1); in cstr_to_hexstr() local
7010 bin2hex ((gdb_byte *) str, hexstr, len); in cstr_to_hexstr()
7011 return hexstr; in cstr_to_hexstr()
/netbsd/external/gpl3/gdb.old/dist/gdbserver/
H A Dtracepoint.cc7009 char *hexstr = xmalloc (len * 2 + 1); in cstr_to_hexstr() local
7010 bin2hex ((gdb_byte *) str, hexstr, len); in cstr_to_hexstr()
7011 return hexstr; in cstr_to_hexstr()