Home
last modified time | relevance | path

Searched refs:tabsize (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/usr.bin/indent/
H A Dio.c175 com_st++, target += opt.tabsize; in dump_line()
180 target = opt.tabsize * (1 + (target - 1) / opt.tabsize) + 1; in dump_line()
417 while ((tcur = opt.tabsize * (1 + (curr - 1) / opt.tabsize) + 1) <= target) { in pad_output()
466 cur = opt.tabsize * (1 + (cur - 1) / opt.tabsize) + 1; in count_spaces_until()
H A Dindent.c301 col = opt.tabsize * (1 + (col - 1) / opt.tabsize) + 1; in main()
1080 opt.max_col - opt.tabsize)) in main()
1296 if ((ps.ind_level * opt.ind_size) % opt.tabsize != 0) { in indent_declaration()
1297 pos += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1298 cur_dec_ind += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1303 CHECK_SIZE_CODE(cur_dec_ind / opt.tabsize); in indent_declaration()
1304 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
H A Dpr_comment.c148 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1; in pr_comment()
H A Dindent_globs.h216 int tabsize; /* the size of a tab */ member
H A Dargs.c168 {"ts", PRO_INT, 8, 0, &opt.tabsize},
/freebsd-13.1/contrib/ncurses/ncurses/base/
H A Dlib_insch.c60 int tabsize = ( in NCURSES_EXPORT() local
70 for (count = (tabsize - (win->_curx % tabsize)); count > 0; count--) { in NCURSES_EXPORT()
H A Dlib_addch.c420 int tabsize = 8; in waddch_nosync() local
457 tabsize = *ptrTabsize(sp); in waddch_nosync()
459 tabsize = TABSIZE; in waddch_nosync()
461 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize))); in waddch_nosync()
/freebsd-13.1/contrib/diff/src/
H A Dutil.c410 column += tabsize - column % tabsize; in lines_differ()
419 column2 += tabsize - column2 % tabsize; in lines_differ()
446 column += c1 == '\t' ? tabsize - column % tabsize : 1; in lines_differ()
553 size_t tab_size = tabsize; in output_1_line()
H A Dside.c51 size_t tab_size = tabsize; in tab_from_to()
85 size_t spaces = tabsize - in_position % tabsize; in print_half_line()
H A Ddiff.c580 if (tabsize != numval) in main()
582 if (tabsize) in main()
584 tabsize = numval; in main()
672 if (! tabsize) in main()
673 tabsize = 8; in main()
688 intmax_t t = expand_tabs ? 1 : tabsize; in main()
H A Dio.c290 repetitions = tabsize - column % tabsize; in find_and_hash_each_line()
360 repetitions = tabsize - column % tabsize; in find_and_hash_each_line()
H A Ddiff.h148 XTERN size_t tabsize; variable
/freebsd-13.1/contrib/ncurses/ncurses/widechar/
H A Dlib_add_wch.c305 int tabsize = 8; in wadd_wch_nosync() local
329 tabsize = *ptrTabsize(sp); in wadd_wch_nosync()
331 tabsize = TABSIZE; in wadd_wch_nosync()
333 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize))); in wadd_wch_nosync()
/freebsd-13.1/usr.bin/diff/
H A Ddiffreg.c278 padding = tabsize - (hw % tabsize); in diffreg()
279 if ((flags & D_EXPANDTABS) != 0 || (padding % tabsize == 0)) in diffreg()
1314 newcol = ((col/tabsize)+1)*tabsize; in fetch()
1322 if ((j + tabsize) > nc) { in fetch()
1328 col += tabsize - 1; in fetch()
1329 j += tabsize - 1; in fetch()
1704 i = tabsize - (nc % tabsize); in print_space()
1705 while (col >= tabsize) { in print_space()
1708 i = tabsize; in print_space()
H A Ddiff.h96 extern int tabsize, width;
H A Ddiff.c43 int tabsize = 8, width = 130; variable
292 tabsize = (int) strtonum(optarg, 1, INT_MAX, &errstr); in main()
/freebsd-13.1/sys/contrib/libfdt/
H A Dfdt.c233 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) in fdt_find_string_() argument
236 const char *last = strtab + tabsize - len; in fdt_find_string_()
H A Dlibfdt_internal.h67 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
/freebsd-13.1/usr.bin/diff/tests/
H A Ddiff_test.sh16 atf_test_case tabsize
206 diff -t --tabsize 1 A B
295 atf_add_test_case tabsize
/freebsd-13.1/stand/i386/libi386/
H A Dmultiboot.h129 multiboot_uint32_t tabsize; member
/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_sync.c1184 ipf_sync_flush_table(ipf_sync_softc_t *softs, int tabsize, synclist_t **table) in ipf_sync_flush_table() argument
1191 for (i = 0; i < tabsize; i++) { in ipf_sync_flush_table()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c290 my_tabsize = TCB->info.tabsize; in _nc_get_screensize()
H A Dtinfo_driver.c731 TCB->info.tabsize = VALID_NUMERIC(init_tabs) ? (int) init_tabs : 8; in drv_init()
/freebsd-13.1/contrib/diff/
H A DNEWS34 --tabsize=COLUMNS
H A DChangeLog109 (longopts): Set tabsize flag to 1.
320 New option --tabsize=COLUMNS.
429 * src/diff.c (longopts, main, usage): New option --tabsize=COLUMNS.
433 (tabsize): New decl.
446 (longopts, usage, main): New option --tabsize=COLUMNS.
451 New option --tabsize=COLUMNS.
457 (lines_differ, output_1_line): New option --tabsize=COLUMNS.

12