Home
last modified time | relevance | path

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

12

/freebsd/usr.bin/indent/
H A Dio.c167 com_st++, target += opt.tabsize; in dump_line()
172 target = opt.tabsize * (1 + (target - 1) / opt.tabsize) + 1; in dump_line()
409 while ((tcur = opt.tabsize * (1 + (curr - 1) / opt.tabsize) + 1) <= target) { in pad_output()
458 cur = opt.tabsize * (1 + (cur - 1) / opt.tabsize) + 1; in count_spaces_until()
H A Dindent.c292 col = opt.tabsize * (1 + (col - 1) / opt.tabsize) + 1; in main()
1071 opt.max_col - opt.tabsize)) in main()
1287 if ((ps.ind_level * opt.ind_size) % opt.tabsize != 0) { in indent_declaration()
1288 pos += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1289 cur_dec_ind += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1294 CHECK_SIZE_CODE(cur_dec_ind / opt.tabsize); in indent_declaration()
1295 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
H A Dpr_comment.c140 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1; in pr_comment()
H A Dindent_globs.h215 int tabsize; /* the size of a tab */ member
/freebsd/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/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.c443 int tabsize = 8; in waddch_nosync() local
480 tabsize = *ptrTabsize(sp); in waddch_nosync()
482 tabsize = TABSIZE; in waddch_nosync()
484 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize))); in waddch_nosync()
/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_add_wch.c311 int tabsize = 8; in wadd_wch_nosync() local
335 tabsize = *ptrTabsize(sp); in wadd_wch_nosync()
337 tabsize = TABSIZE; in wadd_wch_nosync()
339 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize))); in wadd_wch_nosync()
/freebsd/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/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); in main()
306 errx(2, "tabsize is %s: %s", errstr, optarg); in main()
530 if (*col > SIZE_MAX - tabsize) in printcol()
534 new_col = (*col / tabsize + 1) * tabsize; in printcol()
/freebsd/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/crypto/libecc/src/fp/
H A Dfp.c366 int fp_tabselect(fp_t out, u8 idx, fp_src_t *tab, u8 tabsize) in fp_tabselect() argument
374 MUST_HAVE(((tab != NULL) && (idx < tabsize)), ret, err); in fp_tabselect()
387 for (k = 0; k < tabsize; k++) { in fp_tabselect()
/freebsd/usr.bin/diff/
H A Ddiff.h115 extern int tabsize, width;
H A Ddiffreg.c305 } else if (width <= 3 || width <= tabsize) { in diffreg_stone()
310 while (hw > 0 && roundup(hw + 3, tabsize) + hw > width) in diffreg_stone()
312 if (width - (roundup(hw + 3, tabsize) + hw) < tabsize) in diffreg_stone()
313 width = roundup(hw + 3, tabsize) + hw; in diffreg_stone()
1331 newcol = roundup(col + 1, tabsize); in fetch()
1729 while ((tabstop = roundup(col + 1, tabsize)) <= newcol) { in print_space()
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); in main()
349 warnx("Invalid argument for tabsize"); in main()
619 " [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize]\n" in usage()
622 " [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize]\n" in usage()
625 " [--normal] [--strip-trailing-cr] [--tabsize] -D string file1 file2\n" in usage()
627 " [--no-ignore-case] [--normal] [--tabsize] [--strip-trailing-cr]\n" in usage()
630 " [--no-ignore-case] [--normal] [--tabsize] [-I pattern] [-L label]\n" in usage()
635 " [--suppress-common-lines] [--tabsize] [ in usage()
[all...]
/freebsd/crypto/libecc/src/nn/
H A Dnn.c577 int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize) in nn_tabselect() argument
584 MUST_HAVE(((tab != NULL) && (idx < tabsize)), ret, err); in nn_tabselect()
593 for (k = 0; k < tabsize; k++) { in nn_tabselect()
/freebsd/stand/i386/libi386/
H A Dmultiboot.h128 multiboot_uint32_t tabsize; member
/freebsd/crypto/libecc/include/libecc/nn/
H A Dnn.h94 ATTRIBUTE_WARN_UNUSED_RET int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize);
/freebsd/crypto/libecc/include/libecc/fp/
H A Dfp.h93 ATTRIBUTE_WARN_UNUSED_RET int fp_tabselect(fp_t out, u8 idx, fp_src_t *tab, u8 tabsize);
/freebsd/usr.bin/sdiff/tests/
H A Dsdiff_test.sh208 sdiff -t --tabsize 4 a b

12