Home
last modified time | relevance | path

Searched refs:nib (Results 1 – 2 of 2) sorted by relevance

/xen/tools/debugger/gdbsx/gx/
A Dgx_utils.c50 gx_tohex(int nib) in gx_tohex() argument
52 if (nib < 10) in gx_tohex()
53 return '0' + nib; in gx_tohex()
55 return 'a' + nib - 10; in gx_tohex()
62 int nib; in gx_convert_int_to_ascii() local
66 nib = ((ch & 0xf0) >> 4) & 0x0f; in gx_convert_int_to_ascii()
67 *to++ = gx_tohex(nib); in gx_convert_int_to_ascii()
68 nib = ch & 0x0f; in gx_convert_int_to_ascii()
69 *to++ = gx_tohex(nib); in gx_convert_int_to_ascii()
A Dgx_main.c375 int nib; in prepare_stop_reply() local
379 nib = ((sig & 0xf0) >> 4); in prepare_stop_reply()
380 *buf++ = gx_tohex(nib); in prepare_stop_reply()
381 nib = sig & 0x0f; in prepare_stop_reply()
382 *buf++ = gx_tohex(nib); in prepare_stop_reply()

Completed in 4 milliseconds