Searched refs:ncols (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/smp/ |
D | smp_keys.cc | 96 int ncols = 32; /* num entries in one line */ in smp_debug_print_nbyte_big_endian() local 99 nrows = len % ncols ? len / ncols + 1 : len / ncols; in smp_debug_print_nbyte_big_endian() 101 for (int col = 0, x = 0; (ind < len) && (col < ncols); col++, ind++) { in smp_debug_print_nbyte_big_endian() 105 SMP_TRACE_DEBUG("[%03d]: %s", row * ncols, p_buf); in smp_debug_print_nbyte_big_endian()
|
/system/core/adb/ |
D | test_device.py | 1509 def console_screen(ncols=None, nrows=None): argument 1516 if ncols is None: 1517 ncols = info.dwSize.X 1532 new_info.dwSize = COORD(ncols, nrows) 1534 Left=0, Top=0, Right=(ncols - 1), 1541 hScreen, u'\0', ncols * nrows, COORD(0,0), nwritten) 1562 ncols = csbi.dwSize.X 1564 length = ncols * pos.Y + pos.X + 1 1569 lines = [buf[i:i+ncols].rstrip(u'\0') 1570 for i in range(0, n[0], ncols)]
|