Searched refs:tabsize (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_insch.c60 int tabsize = ( local
70 for (count = (tabsize - (win->_curx % tabsize)); count > 0; count--) {
H A Dlib_addch.c434 int tabsize = 8; local
471 tabsize = *ptrTabsize(sp);
473 tabsize = TABSIZE;
475 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize)));
/freebsd-current/sys/contrib/libfdt/
H A Dlibfdt_internal.h67 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
H A Dfdt.c233 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) argument
236 const char *last = strtab + tabsize - len;
/freebsd-current/usr.bin/indent/
H A Dio.c167 com_st++, target += opt.tabsize;
172 target = opt.tabsize * (1 + (target - 1) / opt.tabsize) + 1;
409 while ((tcur = opt.tabsize * (1 + (curr - 1) / opt.tabsize) + 1) <= target) {
458 cur = opt.tabsize * (1 + (cur - 1) / opt.tabsize) + 1;
H A Dindent.c292 col = opt.tabsize * (1 + (col - 1) / opt.tabsize) + 1;
1071 opt.max_col - opt.tabsize))
1285 * get the tab math right for indentations that are not multiples of tabsize
1287 if ((ps.ind_level * opt.ind_size) % opt.tabsize != 0) {
1288 pos += (ps.ind_level * opt.ind_size) % opt.tabsize;
1289 cur_dec_ind += (ps.ind_level * opt.ind_size) % opt.tabsize;
1294 CHECK_SIZE_CODE(cur_dec_ind / opt.tabsize);
1295 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <
[all...]
H A Dpr_comment.c141 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1;
H A Dindent_globs.h215 int tabsize; /* the size of a tab */ member in struct:options
H A Dargs.c162 {"ts", PRO_INT, 8, 0, &opt.tabsize},
/freebsd-current/usr.bin/diff/
H A Ddiff.h115 extern int tabsize, width;
H A Ddiff.c44 int tabsize = 8, width = 130; variable
119 { "tabsize", required_argument, NULL, OPT_TSIZE },
347 tabsize = (int) strtonum(optarg, 1, INT_MAX, &errstr);
349 warnx("Invalid argument for tabsize");
620 " [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize]\n"
623 " [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize]\n"
626 " [--normal] [--strip-trailing-cr] [--tabsize] -D string file1 file2\n"
628 " [--no-ignore-case] [--normal] [--tabsize] [--strip-trailing-cr]\n"
631 " [--no-ignore-case] [--normal] [--tabsize] [-I pattern] [-L label]\n"
636 " [--suppress-common-lines] [--tabsize] [
[all...]
H A Ddiffreg.c305 } else if (width <= 3 || width <= tabsize) {
310 while (hw > 0 && roundup(hw + 3, tabsize) + hw > width)
312 if (width - (roundup(hw + 3, tabsize) + hw) < tabsize)
313 width = roundup(hw + 3, tabsize) + hw;
1328 newcol = roundup(col + 1, tabsize);
1726 while ((tabstop = roundup(col + 1, tabsize)) <= newcol) {
/freebsd-current/contrib/diff/src/
H A Dutil.c414 column += tabsize - column % tabsize;
423 column2 += tabsize - column2 % tabsize;
450 column += c1 == '\t' ? tabsize - column % tabsize : 1;
560 size_t tab_size = tabsize;
H A Dside.c51 size_t tab_size = tabsize;
85 size_t spaces = tabsize - in_position % tabsize;
H A Ddiff.h149 XTERN size_t tabsize;
148 XTERN size_t tabsize; variable
H A Dio.c294 repetitions = tabsize - column % tabsize;
364 repetitions = tabsize - column % tabsize;
H A Ddiff.c236 {"tabsize", 1, 0, TABSIZE_OPTION},
580 try_help ("invalid tabsize `%s'", optarg);
581 if (tabsize != numval)
583 if (tabsize)
584 fatal ("conflicting tabsize options");
585 tabsize = numval;
673 if (! tabsize)
674 tabsize = 8;
689 intmax_t t = expand_tabs ? 1 : tabsize;
919 N_("--tabsize
[all...]
/freebsd-current/contrib/ncurses/ncurses/widechar/
H A Dlib_add_wch.c305 int tabsize = 8; local
329 tabsize = *ptrTabsize(sp);
331 tabsize = TABSIZE;
333 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize)));
/freebsd-current/stand/i386/libi386/
H A Dmultiboot.h128 multiboot_uint32_t tabsize; member in struct:multiboot_aout_symbol_table
/freebsd-current/usr.bin/sdiff/
H A Dsdiff.c75 static int tabsize = 8; /* tab size */ variable
101 { "tabsize", required_argument, NULL, TSIZE_OPT },
137 "\t--tabsize NUM: change size of tabs (default 8.)",
304 tabsize = strtonum(optarg, 1, INT_MAX, &errstr);
306 errx(2, "tabsize is %s: %s", errstr, optarg);
530 if (*col > SIZE_MAX - tabsize)
534 new_col = (*col / tabsize + 1) * tabsize;
/freebsd-current/usr.bin/diff/tests/
H A Ddiff_test.sh17 atf_test_case tabsize
235 diff -t --tabsize 1 A B
384 atf_add_test_case tabsize
/freebsd-current/usr.bin/sdiff/tests/
H A Dsdiff_test.sh208 sdiff -t --tabsize 4 a b
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c290 my_tabsize = TCB->info.tabsize;
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dip_sync.c1172 /* Parameters: tabsize(I) - size of the array pointed to by table */
1180 ipf_sync_flush_table(ipf_sync_softc_t *softs, int tabsize, synclist_t **table) argument
1187 for (i = 0; i < tabsize; i++) {
/freebsd-current/contrib/ncurses/ncurses/win32con/
H A Dwin32_driver.c866 TCB->info.tabsize = 8;

Completed in 185 milliseconds

12